Home > Article > Operation and Maintenance > How to modify the properties or details of a disk
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
## Return parameters
are all public return parameters. See Public ParametersExample
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.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!