public class StartInstanceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
Boolean |
initLocalDisk
Specifies whether to restore the instance to its initial health state.
|
String |
instanceId
The ID of the instance that you want to start.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
StartInstanceRequest() |
限定符和类型 | 方法和说明 |
---|---|
static StartInstanceRequest |
build(Map<String,?> map) |
Boolean |
getDryRun() |
Boolean |
getInitLocalDisk() |
String |
getInstanceId() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
StartInstanceRequest |
setDryRun(Boolean dryRun) |
StartInstanceRequest |
setInitLocalDisk(Boolean initLocalDisk) |
StartInstanceRequest |
setInstanceId(String instanceId) |
StartInstanceRequest |
setOwnerAccount(String ownerAccount) |
StartInstanceRequest |
setOwnerId(Long ownerId) |
StartInstanceRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
StartInstanceRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
Default value: false.
example:true
@NameInMap(value="InitLocalDisk") public Boolean initLocalDisk
Specifies whether to restore the instance to its initial health state. This parameter is applicable to instances that are equipped with local disks, such as d1, i1, and i2 instances. If a local disk of a d1, i1, or i2 instance fails, you can use this parameter to specify whether to restore the instance to its initial health state on startup. Valid values:
Default value: false.
example:true
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance that you want to start.
This parameter is required.
example:i-bp67acfmxazb4p****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static StartInstanceRequest build(Map<String,?> map) throws Exception
Exception
public StartInstanceRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public StartInstanceRequest setInitLocalDisk(Boolean initLocalDisk)
public Boolean getInitLocalDisk()
public StartInstanceRequest setInstanceId(String instanceId)
public String getInstanceId()
public StartInstanceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public StartInstanceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public StartInstanceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public StartInstanceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.