VSwitchProps
Properties for defining a VSwitch.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
Initializer
import com.aliyun.ros.cdk.ecs.VSwitchProps;
VSwitchProps.builder()
.cidrBlock(java.lang.String)
.cidrBlock(IResolvable)
.vpcId(java.lang.String)
.vpcId(IResolvable)
.zoneId(java.lang.String)
.zoneId(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .ipv6CidrBlock(java.lang.Number)
// .ipv6CidrBlock(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .vpcIpv6CidrBlock(java.lang.String)
// .vpcIpv6CidrBlock(IResolvable)
// .vSwitchName(java.lang.String)
// .vSwitchName(IResolvable)
// .zoneType(java.lang.String)
// .zoneType(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
cidrBlock |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block. |
vpcId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcId: VPC id to create vswtich. |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: The availability zone in which the VSwitch will be created. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Description of the VSwitch, [2, 256] characters. |
ipv6CidrBlock |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ipv6CidrBlock: The IPv6 network segment of the switch supports the last 8 bits of the VPC IPv6 network segment. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to vswitch. |
vpcIpv6CidrBlock |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC. |
vSwitchName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vSwitchName: Display name of the vSwitch instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. |
zoneType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneType: The type of the zones to be queried. |
cidrBlockRequired
public java.lang.Object getCidrBlock();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block.
vpcIdRequired
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: VPC id to create vswtich.
zoneIdRequired
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: The availability zone in which the VSwitch will be created.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Description of the VSwitch, [2, 256] characters.
Do not fill or empty, the default is empty.
ipv6CidrBlockOptional
public java.lang.Object getIpv6CidrBlock();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ipv6CidrBlock: The IPv6 network segment of the switch supports the last 8 bits of the VPC IPv6 network segment.
Value: 0-255 (decimal). The IPv6 segment mask of the switch defaults to 64 bits.
tagsOptional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to vswitch.
Max support 20 tags to add during create vswitch. Each tag with two properties Key and Value, and Key is required.
vpcIpv6CidrBlockOptional
public java.lang.Object getVpcIpv6CidrBlock();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC.
vSwitchNameOptional
public java.lang.Object getVSwitchName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchName: Display name of the vSwitch instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
zoneTypeOptional
public java.lang.Object getZoneType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneType: The type of the zones to be queried.
Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.