public class DetachKeyPairRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
instanceIds
The IDs of instances from which you want to unbind the SSH key pair.
|
String |
keyPairName
The name of the SSH key pair.
|
Long |
ownerId |
String |
regionId
The region ID of the SSH key pair.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
DetachKeyPairRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DetachKeyPairRequest |
build(Map<String,?> map) |
String |
getInstanceIds() |
String |
getKeyPairName() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
DetachKeyPairRequest |
setInstanceIds(String instanceIds) |
DetachKeyPairRequest |
setKeyPairName(String keyPairName) |
DetachKeyPairRequest |
setOwnerId(Long ownerId) |
DetachKeyPairRequest |
setRegionId(String regionId) |
DetachKeyPairRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
DetachKeyPairRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="InstanceIds") public String instanceIds
The IDs of instances from which you want to unbind the SSH key pair. The value can be a JSON array that consists of up to 50 instance IDs. Separate multiple instance IDs with commas (,).
This parameter is required.
example:["i-bp1d6tsvznfghy7y****", "i-bp1ippxbaql9zet7****", … "i-bp1ib7bcz07l****"]
@NameInMap(value="KeyPairName") public String keyPairName
The name of the SSH key pair.
This parameter is required.
example:testKeyPairName
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the SSH key pair. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static DetachKeyPairRequest build(Map<String,?> map) throws Exception
Exception
public DetachKeyPairRequest setInstanceIds(String instanceIds)
public String getInstanceIds()
public DetachKeyPairRequest setKeyPairName(String keyPairName)
public String getKeyPairName()
public DetachKeyPairRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DetachKeyPairRequest setRegionId(String regionId)
public String getRegionId()
public DetachKeyPairRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DetachKeyPairRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.