public class AssociateVpcCidrBlockRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
ipamPoolId
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
String |
IPv6CidrBlock
The IPv6 CIDR block to be added.
|
String |
ipv6Isp
The type of the IPv6 CIDR block.
|
String |
ipVersion
The version of the IP address.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the VPC to which you want to add a secondary CIDR block.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
secondaryCidrBlock
The IPv4 CIDR block to be added.
|
Integer |
secondaryCidrMask |
String |
vpcId
The ID of the VPC to which you want to add a secondary CIDR block.
|
构造器和说明 |
---|
AssociateVpcCidrBlockRequest() |
@NameInMap(value="IPv6CidrBlock") public String IPv6CidrBlock
The IPv6 CIDR block to be added.
example:You must and can specify only one of SecondaryCidrBlock and Ipv6CidrBlock.
2408:XXXX:0:6a::/56
@NameInMap(value="IpVersion") public String ipVersion
The version of the IP address. Valid values:
IPV4
@NameInMap(value="IpamPoolId") public String ipamPoolId
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
example:ipam-pool-sycmt3p2a9v63i****
@NameInMap(value="Ipv6Isp") public String ipv6Isp
The type of the IPv6 CIDR block. Valid values:
example:If your Alibaba Cloud account is allowed to activate single-ISP bandwidth, you can set this parameter to ChinaTelecom, ChinaUnicom, or ChinaMobile.
BGP
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the VPC to which you want to add a secondary CIDR block.
You can call the DescribeRegions operation to query the region ID.
This parameter is required.
example:ch-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecondaryCidrBlock") public String secondaryCidrBlock
The IPv4 CIDR block to be added. Take note of the following requirements:
The CIDR block must meet the following requirements:
example:You must and can specify only one of SecondaryCidrBlock and Ipv6CidrBlock.
192.168.0.0/16
@NameInMap(value="SecondaryCidrMask") public Integer secondaryCidrMask
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC to which you want to add a secondary CIDR block.
This parameter is required.
example:vpc-o6wrloqsdqc9io3mg****
public static AssociateVpcCidrBlockRequest build(Map<String,?> map) throws Exception
Exception
public AssociateVpcCidrBlockRequest setIPv6CidrBlock(String IPv6CidrBlock)
public String getIPv6CidrBlock()
public AssociateVpcCidrBlockRequest setIpVersion(String ipVersion)
public String getIpVersion()
public AssociateVpcCidrBlockRequest setIpamPoolId(String ipamPoolId)
public String getIpamPoolId()
public AssociateVpcCidrBlockRequest setIpv6Isp(String ipv6Isp)
public String getIpv6Isp()
public AssociateVpcCidrBlockRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AssociateVpcCidrBlockRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AssociateVpcCidrBlockRequest setRegionId(String regionId)
public String getRegionId()
public AssociateVpcCidrBlockRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AssociateVpcCidrBlockRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AssociateVpcCidrBlockRequest setSecondaryCidrBlock(String secondaryCidrBlock)
public String getSecondaryCidrBlock()
public AssociateVpcCidrBlockRequest setSecondaryCidrMask(Integer secondaryCidrMask)
public Integer getSecondaryCidrMask()
public AssociateVpcCidrBlockRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.