public class DeleteInstanceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
force
Specifies whether to forcefully release the instance in the **Running** (`Running`) state.
|
String |
instanceId
The ID of the instance that you want to release.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Boolean |
terminateSubscription
Specifies whether to release the expired subscription instance.
|
构造器和说明 |
---|
DeleteInstanceRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DeleteInstanceRequest |
build(Map<String,?> map) |
Boolean |
getForce() |
String |
getInstanceId() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
Boolean |
getTerminateSubscription() |
DeleteInstanceRequest |
setForce(Boolean force) |
DeleteInstanceRequest |
setInstanceId(String instanceId) |
DeleteInstanceRequest |
setOwnerAccount(String ownerAccount) |
DeleteInstanceRequest |
setOwnerId(Long ownerId) |
DeleteInstanceRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
DeleteInstanceRequest |
setResourceOwnerId(Long resourceOwnerId) |
DeleteInstanceRequest |
setTerminateSubscription(Boolean terminateSubscription) |
@NameInMap(value="Force") public Boolean force
Specifies whether to forcefully release the instance in the **Running** (`Running`) state. Valid values:
* true: forcefully releases the instance in the **Running** (`Running`) state. When the Force parameter is set to true, this operation is equivalent to the power-off operation. Temporary data in the memory and storage of the instance is erased and cannot be restored.
* false: normally releases the instance. This value is valid only for instances in the **Stopped** (`Stopped`) state.
Default value: false.
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance that you want to release.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="TerminateSubscription") public Boolean terminateSubscription
Specifies whether to release the expired subscription instance.
Default value: false.
public static DeleteInstanceRequest build(Map<String,?> map) throws Exception
Exception
public DeleteInstanceRequest setForce(Boolean force)
public Boolean getForce()
public DeleteInstanceRequest setInstanceId(String instanceId)
public String getInstanceId()
public DeleteInstanceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DeleteInstanceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DeleteInstanceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DeleteInstanceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DeleteInstanceRequest setTerminateSubscription(Boolean terminateSubscription)
public Boolean getTerminateSubscription()
Copyright © 2023. All rights reserved.