Skip to content

VSwitchesProps

Properties for defining a VSwitches.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vswitches

Initializer

import com.aliyun.ros.cdk.vpc.datasource.VSwitchesProps;
VSwitchesProps.builder()
//  .dhcpOptionsSetId(java.lang.String)
//  .dhcpOptionsSetId(IResolvable)
//  .isDefault(java.lang.Boolean)
//  .isDefault(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .routeTableId(java.lang.String)
//  .routeTableId(IResolvable)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
//  .vSwitchIds(IResolvable)
//  .vSwitchIds(java.util.List<java.lang.String)
//  .vSwitchIds(IResolvable>)
//  .vSwitchName(java.lang.String)
//  .vSwitchName(IResolvable)
//  .vSwitchOwnerId(java.lang.String)
//  .vSwitchOwnerId(IResolvable)
    .build();

Properties

Name Type Description
dhcpOptionsSetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dhcpOptionsSetId: The ID of the DHCP options set.
isDefault java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property isDefault: Specifies whether to query the default VPC in the specified region.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.
routeTableId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeTableId: The ID of the route table.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the VPC to which the vSwitch belongs.
vSwitchIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property vSwitchIds: The list of The vSwitch IDs.
vSwitchName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchName: The name of the vSwitch.
vSwitchOwnerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs.

dhcpOptionsSetIdOptional

public java.lang.Object getDhcpOptionsSetId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dhcpOptionsSetId: The ID of the DHCP options set.


isDefaultOptional

public java.lang.Object getIsDefault();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property isDefault: Specifies whether to query the default VPC in the specified region.

Valid values: true(default): queries all VPCs in the specified region. false: does not query the default VPC.


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.


routeTableIdOptional

public java.lang.Object getRouteTableId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property routeTableId: The ID of the route table.


vpcIdOptional

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The ID of the VPC to which the vSwitch belongs.


vSwitchIdsOptional

public java.lang.Object getVSwitchIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property vSwitchIds: The list of The vSwitch IDs.

You can specify up to 20 vSwitch IDs.


vSwitchNameOptional

public java.lang.Object getVSwitchName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchName: The name of the vSwitch.


vSwitchOwnerIdOptional

public java.lang.Object getVSwitchOwnerId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs.