public class CancelAutoSnapshotPolicyRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
diskIds
The IDs of the disks for which you want to disable the automatic snapshot policy.
|
Long |
ownerId
RAM用户的虚拟账号ID。
|
String |
regionId
The region ID of the automatic snapshot policy and the disks.
|
String |
resourceOwnerAccount
资源主账号的账号名称。
|
Long |
resourceOwnerId
资源主账号的ID,亦即UID。
|
构造器和说明 |
---|
CancelAutoSnapshotPolicyRequest() |
限定符和类型 | 方法和说明 |
---|---|
static CancelAutoSnapshotPolicyRequest |
build(Map<String,?> map) |
String |
getDiskIds() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
CancelAutoSnapshotPolicyRequest |
setDiskIds(String diskIds) |
CancelAutoSnapshotPolicyRequest |
setOwnerId(Long ownerId) |
CancelAutoSnapshotPolicyRequest |
setRegionId(String regionId) |
CancelAutoSnapshotPolicyRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
CancelAutoSnapshotPolicyRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="OwnerId") public Long ownerId
RAM用户的虚拟账号ID。
example:155780923770
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
资源主账号的账号名称。
example:ECSforCloud
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
资源主账号的ID,亦即UID。
example:155780923770
@NameInMap(value="diskIds") public String diskIds
The IDs of the disks for which you want to disable the automatic snapshot policy. To disable the automatic snapshot policy for multiple disks, you can set this parameter to a JSON array that consists of multiple disk IDs, such as ["dxxxxxxxxx", "dyyyyyyyyy", … "dzzzzzzzzz"]. Separate the disk IDs with commas (,).
This parameter is required.
example:["d-bp14k9cxvr5uzy54****", "d-bp1dtj8v7x6u08iw****", "d-bp1c0tyj9tfli2r8****"]
@NameInMap(value="regionId") public String regionId
The region ID of the automatic snapshot policy and the disks. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
public static CancelAutoSnapshotPolicyRequest build(Map<String,?> map) throws Exception
Exception
public CancelAutoSnapshotPolicyRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CancelAutoSnapshotPolicyRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CancelAutoSnapshotPolicyRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CancelAutoSnapshotPolicyRequest setDiskIds(String diskIds)
public String getDiskIds()
public CancelAutoSnapshotPolicyRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.