Home  >  Article  >  Operation and Maintenance  >  How to modify the properties or details of a disk

How to modify the properties or details of a disk

坏嘻嘻
坏嘻嘻Original
2018-09-20 16:04:023395browse

The content of this article is about how to modify the properties or details of a disk. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

ModifyDiskAttribute

Description

When you call this interface, you set the attribute that is not released with the instance (DeleteWithInstance=false). Once the ECS instance mounted on the disk is under security control and the lock status of "LockReason" : "security" is marked in OperationLocks, when the instance is released, the DeleteWithInstance attribute of the disk will be ignored and released at the same time.

Request parameters

How to modify the properties or details of a disk

How to modify the properties or details of a disk

## Return parameters

are all public return parameters. See Public Parameters

Example

Request Example

https://ecs.aliyuncs.com/?Action=ModifyDiskAttribute
&DiskId=d-23jbf2v5m
&DiskName=MyDiskName
&<公共请求参数>

Return Example

XML format

<ModifyDiskAttributeResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</ModifyDiskAttributeResponse>

JSON format

{
    "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

How to modify the properties or details of a disk

The above is the detailed content of How to modify the properties or details of a disk. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn