Skip to content

VSwitchesProps

Properties for defining a VSwitches.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new VSwitchesProps {
    object DhcpOptionsSetId = null,
    object IsDefault = null,
    object RefreshOptions = null,
    object ResourceGroupId = null,
    object RouteTableId = null,
    object VpcId = null,
    object VSwitchIds = null,
    object VSwitchName = null,
    object VSwitchOwnerId = null
};

Properties

Name Type Description
DhcpOptionsSetId object Property dhcpOptionsSetId: The ID of the DHCP options set.
IsDefault object Property isDefault: Specifies whether to query the default VPC in the specified region.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId object Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.
RouteTableId object Property routeTableId: The ID of the route table.
VpcId object Property vpcId: The ID of the VPC to which the vSwitch belongs.
VSwitchIds object Property vSwitchIds: The list of The vSwitch IDs.
VSwitchName object Property vSwitchName: The name of the vSwitch.
VSwitchOwnerId object Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs.

DhcpOptionsSetIdOptional

public object DhcpOptionsSetId { get; set; }
  • Type: object

Property dhcpOptionsSetId: The ID of the DHCP options set.


IsDefaultOptional

public object IsDefault { get; set; }
  • Type: object

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 object RefreshOptions { get; set; }
  • Type: object

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 object ResourceGroupId { get; set; }
  • Type: object

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


RouteTableIdOptional

public object RouteTableId { get; set; }
  • Type: object

Property routeTableId: The ID of the route table.


VpcIdOptional

public object VpcId { get; set; }
  • Type: object

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


VSwitchIdsOptional

public object VSwitchIds { get; set; }
  • Type: object

Property vSwitchIds: The list of The vSwitch IDs.

You can specify up to 20 vSwitch IDs.


VSwitchNameOptional

public object VSwitchName { get; set; }
  • Type: object

Property vSwitchName: The name of the vSwitch.


VSwitchOwnerIdOptional

public object VSwitchOwnerId { get; set; }
  • Type: object

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