ModifySnapshotAttribute
Description
call ModifySnapshotAttribute modify the name or description of 1 snapshot.
Request Method
POST
Request Path
/apsara/route/Ecs/ModifySnapshotAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
SnapshotId | BODY | string | Yes | s-923FE2B*** | snapshot ID. |
Description | BODY | string | No | NewSnapshotDescription-EcsGuideTest | description of the snapshot. 2 to 256 English or Chinese characters in length and cannot start with http:// or https. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
SnapshotName | BODY | string | No | NewSnapshotName-EcsGuideTest | the display name of the snapshot. The length is 2~128 English or Chinese characters. It must start with a letter or Chinese, and cannot start with http:// or https. It can contain numbers, colons (:), underscores (_), or hyphens (-). cannot start with auto to prevent name conflicts with automatic snapshots. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}