Skip to content

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.

dhcpOptionsSetIdOptional

public readonly dhcpOptionsSetId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dhcpOptionsSetId: The ID of the DHCP options set.


isDefaultOptional

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.


refreshOptionsOptional

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.


resourceGroupIdOptional

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.


routeTableIdOptional

public readonly routeTableId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property routeTableId: The ID of the route table.


vpcIdOptional

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


vSwitchIdsOptional

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.


vSwitchNameOptional

public readonly vSwitchName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vSwitchName: The name of the vSwitch.


vSwitchOwnerIdOptional

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.