Skip to main content

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

NameLocationTypeRequiredSample valueDescription
SnapshotIdBODYstringYess-923FE2B***snapshot ID.
DescriptionBODYstringNoNewSnapshotDescription-EcsGuideTestdescription of the snapshot. 2 to 256 English or Chinese characters in length and cannot start with http:// or https.
regionIdBODYstringYesNo sample value for this parameter.region id
SnapshotNameBODYstringNoNewSnapshotName-EcsGuideTestthe 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.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}