public class DescribeVSwitchesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeVSwitchesRequest.DescribeVSwitchesRequestTag |
限定符和类型 | 字段和说明 |
---|---|
Boolean |
dryRun
Specifies whether to perform a dry run, without performing the actual request.
|
Boolean |
enableIpv6
Specifies whether to query vSwitches with IPv6 enabled in the region.
|
Boolean |
isDefault
Specifies whether to query the default vSwitches in the specified region.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
The page number.
|
Integer |
pageSize
The number of entries per page.
|
String |
regionId
The region ID of the vSwitch.
|
String |
resourceGroupId
The ID of the resource group to which the vSwitch belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
routeTableId
The ID of the route table.
|
List<DescribeVSwitchesRequest.DescribeVSwitchesRequestTag> |
tag
The tags.
|
String |
vpcId
The ID of the virtual private cloud (VPC) to which the vSwitches belong.
|
String |
vSwitchId
The ID of the vSwitch that you want to query.
|
String |
vSwitchName
The vSwitch name.
|
Long |
vSwitchOwnerId
The ID of the Alibaba Cloud account to which the vSwitch belongs.
|
String |
zoneId
The ID of the zone to which the vSwitches belong.
|
构造器和说明 |
---|
DescribeVSwitchesRequest() |
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.true
@NameInMap(value="EnableIpv6") public Boolean enableIpv6
Specifies whether to query vSwitches with IPv6 enabled in the region. Valid values:
If you do not set this parameter, the system queries all vSwitches in the specified region by default.
example:false
if can be null:true
@NameInMap(value="IsDefault") public Boolean isDefault
Specifies whether to query the default vSwitches in the specified region. Valid values:
If you do not set this parameter, the system queries all vSwitches in the specified region by default.
example:true
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The page number. Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries per page. Maximum value: 50. Default value: 10.
example:10
@NameInMap(value="RegionId") public String regionId
The region ID of the vSwitch. You can call the DescribeRegions operation to query the most recent region list.
example:You must set at least one of RegionId and VpcId.
cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the vSwitch belongs.
example:rg-bp67acfmxazb4ph****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RouteTableId") public String routeTableId
The ID of the route table.
example:vtb-bp145q7glnuzdvzu2****
@NameInMap(value="Tag") public List<DescribeVSwitchesRequest.DescribeVSwitchesRequestTag> tag
The tags.
@NameInMap(value="VSwitchId") public String vSwitchId
The ID of the vSwitch that you want to query.
example:vsw-23dscddcffvf3****
@NameInMap(value="VSwitchName") public String vSwitchName
The vSwitch name.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
vSwitch
@NameInMap(value="VSwitchOwnerId") public Long vSwitchOwnerId
The ID of the Alibaba Cloud account to which the vSwitch belongs.
example:2546073170691****
@NameInMap(value="VpcId") public String vpcId
The ID of the virtual private cloud (VPC) to which the vSwitches belong.
example:You must set at least one of RegionId and VpcId.
vpc-25cdvfeq58pl****
@NameInMap(value="ZoneId") public String zoneId
The ID of the zone to which the vSwitches belong. You can call the DescribeZones operation to query the most recent zone list.
example:cn-hangzhou-d
public static DescribeVSwitchesRequest build(Map<String,?> map) throws Exception
Exception
public DescribeVSwitchesRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public DescribeVSwitchesRequest setEnableIpv6(Boolean enableIpv6)
public Boolean getEnableIpv6()
public DescribeVSwitchesRequest setIsDefault(Boolean isDefault)
public Boolean getIsDefault()
public DescribeVSwitchesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeVSwitchesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeVSwitchesRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeVSwitchesRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeVSwitchesRequest setRegionId(String regionId)
public String getRegionId()
public DescribeVSwitchesRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeVSwitchesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeVSwitchesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeVSwitchesRequest setRouteTableId(String routeTableId)
public String getRouteTableId()
public DescribeVSwitchesRequest setTag(List<DescribeVSwitchesRequest.DescribeVSwitchesRequestTag> tag)
public List<DescribeVSwitchesRequest.DescribeVSwitchesRequestTag> getTag()
public DescribeVSwitchesRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
public DescribeVSwitchesRequest setVSwitchName(String vSwitchName)
public String getVSwitchName()
public DescribeVSwitchesRequest setVSwitchOwnerId(Long vSwitchOwnerId)
public Long getVSwitchOwnerId()
public DescribeVSwitchesRequest setVpcId(String vpcId)
public String getVpcId()
public DescribeVSwitchesRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2024. All rights reserved.