调用 UpdateSnapshot 接口修改快照属性。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
SnapshotId | String | 是 | snap-1a1b8ef4**** | 需要修改的快照 ID。 |
SnapshotName | String | 否 | testmodify | 快照名称。命名规范如下:
|
Description | String | 否 | test | 快照描述信息,长度为 0~120 个字符。 |
无。
POST /?Action=UpdateSnapshot&Version=2022-01-01 HTTP/1.1 Host: filenas.volcengineapi.com Authorization: HMAC-SHA256 Credential=AKLTOGJhY2E1NTdkZGFmNDg0Yjk0ZDFiNjE5Y2NjZjI****/20230907/cn-beijing/filenas/request, SignedHeaders=host;x-date;x-content-sha256;content-type, Signature=7f1119a75111535b1d6e7929700f22e1474af0fb4fe26c59f5ac5cdba0cc**** Content-Type: application/json; charset=utf-8 X-Content-Sha256: 567112abe45bd6a09504fd244237f14c0ba120491da0d35097afd54d87bd**** X-Date: 20230907T124910Z { "SnapshotId" : "snap-1a1b8ef4****", "SnapshotName" : "testmodify" }
{ "ResponseMetadata": { "RequestId": "2022111611084401017424912606EA3174", "Action": "UpdateSnapshot", "Version": "2022-01-01", "Service": "FileNAS", "Region": "cn-beijing" }, "Result": null }