public class DescribeSecurityGroupsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeSecurityGroupsRequest.DescribeSecurityGroupsRequestTag |
限定符和类型 | 字段和说明 |
---|---|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
Boolean |
fuzzyQuery
> This parameter is no longer used.
|
Boolean |
isQueryEcsCount
> This parameter is no longer used.
|
Integer |
maxResults
The maximum number of entries to return on each page.
|
String |
networkType
The network type of the security group.
|
String |
nextToken
The pagination token that is used in the next request to retrieve a new page of results.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
The number of the page to return.
|
Integer |
pageSize
The number of entries to return on each page.
|
String |
regionId
The region ID of the security groups.
|
String |
resourceGroupId
The ID of the resource group to which the security groups belong.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
securityGroupId
The ID of the security group.
|
String |
securityGroupIds
The IDs of security groups.
|
String |
securityGroupName
The name of the security group.
|
String |
securityGroupType
The type of the security group.
|
List<DescribeSecurityGroupsRequest.DescribeSecurityGroupsRequestTag> |
tag
The tags of the security group.
|
String |
vpcId
The ID of the virtual private cloud (VPC) to which the security groups belong.
|
构造器和说明 |
---|
DescribeSecurityGroupsRequest() |
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Valid values:
* true: performs a dry run. The system checks the AccessKey pair, the permissions of the RAM user, and the required parameters. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
* false: performs a dry run and sends the request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
Default value: false.
@NameInMap(value="FuzzyQuery") public Boolean fuzzyQuery
> This parameter is no longer used.
@NameInMap(value="IsQueryEcsCount") public Boolean isQueryEcsCount
> This parameter is no longer used.
@NameInMap(value="MaxResults") public Integer maxResults
The maximum number of entries to return on each page. If you specify the MaxResults parameter, the `MaxResults` and `NextToken` parameters are used for a paged query.
Maximum value: 100.
Default value: 10.
@NameInMap(value="NetworkType") public String networkType
The network type of the security group. Valid values:
* vpc: virtual private cloud (VPC)
* classic: classic network
@NameInMap(value="NextToken") public String nextToken
The pagination token that is used in the next request to retrieve a new page of results. Set this parameter to the NextToken value that is returned when you called the DescribeInstanceTypes operation last time. You do not need to specify this parameter for the first request.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The number of the page to return.
Pages start from page 1.
Default value: 1.
> This parameter will be removed in the future. We recommend that you use the NextToken and MaxResults parameters for a paged query.
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page.
Maximum value: 50.
Default value: 10.
> This parameter will be removed in the future. We recommend that you use the NextToken and MaxResults parameters for a paged query.
@NameInMap(value="RegionId") public String regionId
The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the security groups belong. When you use this parameter to filter resources, the number of resources in the specified resource group cannot exceed 1,000. You can call the [ListResourceGroups](~~158855~~) operation to query the most recent resource group list.
> Resources in the default resource group are displayed in the response regardless of how you specify this parameter.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecurityGroupId") public String securityGroupId
The ID of the security group.
@NameInMap(value="SecurityGroupIds") public String securityGroupIds
The IDs of security groups. The value is a JSON array that consists of up to 100 security group IDs. Separate the IDs with commas (,).
@NameInMap(value="SecurityGroupName") public String securityGroupName
The name of the security group.
@NameInMap(value="SecurityGroupType") public String securityGroupType
The type of the security group. Valid values:
* normal: basic security group
* enterprise: advanced security group
> If you do not specify this parameter, basic and advanced security groups are queried.
@NameInMap(value="Tag") public List<DescribeSecurityGroupsRequest.DescribeSecurityGroupsRequestTag> tag
The tags of the security group.
@NameInMap(value="VpcId") public String vpcId
The ID of the virtual private cloud (VPC) to which the security groups belong.
public static DescribeSecurityGroupsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeSecurityGroupsRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public DescribeSecurityGroupsRequest setFuzzyQuery(Boolean fuzzyQuery)
public Boolean getFuzzyQuery()
public DescribeSecurityGroupsRequest setIsQueryEcsCount(Boolean isQueryEcsCount)
public Boolean getIsQueryEcsCount()
public DescribeSecurityGroupsRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public DescribeSecurityGroupsRequest setNetworkType(String networkType)
public String getNetworkType()
public DescribeSecurityGroupsRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeSecurityGroupsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeSecurityGroupsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeSecurityGroupsRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeSecurityGroupsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeSecurityGroupsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeSecurityGroupsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeSecurityGroupsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeSecurityGroupsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeSecurityGroupsRequest setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public DescribeSecurityGroupsRequest setSecurityGroupIds(String securityGroupIds)
public String getSecurityGroupIds()
public DescribeSecurityGroupsRequest setSecurityGroupName(String securityGroupName)
public String getSecurityGroupName()
public DescribeSecurityGroupsRequest setSecurityGroupType(String securityGroupType)
public String getSecurityGroupType()
public DescribeSecurityGroupsRequest setTag(List<DescribeSecurityGroupsRequest.DescribeSecurityGroupsRequestTag> tag)
public List<DescribeSecurityGroupsRequest.DescribeSecurityGroupsRequestTag> getTag()
public DescribeSecurityGroupsRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2023. All rights reserved.