public class DescribeKeyPairsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeKeyPairsRequest.DescribeKeyPairsRequestTag |
限定符和类型 | 字段和说明 |
---|---|
Boolean |
includePublicKey
Specifies whether to include PublicKey in the response.
|
String |
keyPairFingerPrint
The fingerprint of the key pair.
|
String |
keyPairName
The name of the key pair.
|
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 key pair.
|
String |
resourceGroupId
The ID of the resource group.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<DescribeKeyPairsRequest.DescribeKeyPairsRequestTag> |
tag
The tags.
|
构造器和说明 |
---|
DescribeKeyPairsRequest() |
@NameInMap(value="IncludePublicKey") public Boolean includePublicKey
Specifies whether to include PublicKey in the response. Default value: false.
example:false
@NameInMap(value="KeyPairFingerPrint") public String keyPairFingerPrint
The fingerprint of the key pair. The message-digest algorithm 5 (MD5) is used based on the public key fingerprint format defined in RFC 4716. For more information, see RFC 4716.
example:ABC1234567
@NameInMap(value="KeyPairName") public String keyPairName
The name of the key pair. You can use the asterisk (\*) symbol as a wildcard in regular expressions to perform a fuzzy search for key pairs. Sample patterns:
*SshKey
: queries key pairs whose names end with SshKey, including the key pair named SshKey.SshKey*
: queries key pairs whose names start with SshKey, including the key pair named SshKey.*SshKey*
: queries key pairs whose names include SshKey, including the key pair named SshKey.SshKey
: queries the key pair named SshKey.SshKey
@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.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page. Maximum value: 50.
Default value: 10.
example:10
@NameInMap(value="RegionId") public String regionId
The region ID of the key pair. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group. If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.
example:Resources in the default resource group are displayed in the response regardless of how this parameter is set.
rg-amnhr7u7c7hj****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<DescribeKeyPairsRequest.DescribeKeyPairsRequestTag> tag
The tags.
public static DescribeKeyPairsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeKeyPairsRequest setIncludePublicKey(Boolean includePublicKey)
public Boolean getIncludePublicKey()
public DescribeKeyPairsRequest setKeyPairFingerPrint(String keyPairFingerPrint)
public String getKeyPairFingerPrint()
public DescribeKeyPairsRequest setKeyPairName(String keyPairName)
public String getKeyPairName()
public DescribeKeyPairsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeKeyPairsRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeKeyPairsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeKeyPairsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeKeyPairsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeKeyPairsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeKeyPairsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeKeyPairsRequest setTag(List<DescribeKeyPairsRequest.DescribeKeyPairsRequestTag> tag)
public List<DescribeKeyPairsRequest.DescribeKeyPairsRequestTag> getTag()
Copyright © 2024. All rights reserved.