Skip to content

VSwitchProps

Properties for defining a VSwitch.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-vswitch

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ens;
new VSwitchProps {
    object CidrBlock,
    object EnsRegionId,
    object NetworkId,
    object Description = null,
    object VSwitchName = null
};

Properties

Name Type Description
CidrBlock object Property cidrBlock: The CIDR block of the vSwitch.
EnsRegionId object Property ensRegionId: The ID of the edge node.
NetworkId object Property networkId: The ID of the network to which the vSwitch that you want to create belongs.
Description object Property description: The description of the vSwitch.
VSwitchName object Property vSwitchName: The name of the vSwitch.

CidrBlockRequired

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

Property cidrBlock: The CIDR block of the vSwitch.

Take note of the following limits: The subnet mask must be 16 to 29 bits in length. The CIDR block of the vSwitch must fall within the CIDR block of the VPC to which the vSwitch belongs. The CIDR block of the vSwitch cannot be the same as the destination CIDR block in a route entry of the VPC. However, it can be a subset of the destination CIDR block.


EnsRegionIdRequired

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

Property ensRegionId: The ID of the edge node.


NetworkIdRequired

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

Property networkId: The ID of the network to which the vSwitch that you want to create belongs.


DescriptionOptional

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

Property description: The description of the vSwitch.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.


VSwitchNameOptional

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

Property vSwitchName: The name of the vSwitch.

The name must meet the following requirements: The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.