VSwitchesProps
Properties for defining a VSwitches
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vswitches
Initializer
import { datasource } from '@alicloud/ros-cdk-vpc'
const vSwitchesProps: datasource.VSwitchesProps = { ... }
Properties
Name | Type | Description |
---|---|---|
dhcpOptionsSetId |
string | @alicloud/ros-cdk-core.IResolvable |
Property dhcpOptionsSetId: The ID of the DHCP options set. |
isDefault |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property isDefault: Specifies whether to query the default VPC in the specified region. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs. |
routeTableId |
string | @alicloud/ros-cdk-core.IResolvable |
Property routeTableId: The ID of the route table. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The ID of the VPC to which the vSwitch belongs. |
vSwitchIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property vSwitchIds: The list of The vSwitch IDs. |
vSwitchName |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchName: The name of the vSwitch. |
vSwitchOwnerId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs. |
dhcpOptionsSetId
Optional
public readonly dhcpOptionsSetId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dhcpOptionsSetId: The ID of the DHCP options set.
isDefault
Optional
public readonly isDefault: boolean | IResolvable;
- Type: boolean | @alicloud/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.
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/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.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.
routeTableId
Optional
public readonly routeTableId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property routeTableId: The ID of the route table.
vpcId
Optional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the VPC to which the vSwitch belongs.
vSwitchIds
Optional
public readonly vSwitchIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property vSwitchIds: The list of The vSwitch IDs.
You can specify up to 20 vSwitch IDs.
vSwitchName
Optional
public readonly vSwitchName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchName: The name of the vSwitch.
vSwitchOwnerId
Optional
public readonly vSwitchOwnerId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs.