CreateAutoSnapshotPolicy
最后更新于
最后更新于
POST /api/v2/zec HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: CreateAutoSnapshotPolicy
<Common Request Params>
Request:
{
"zoneId": "asia-east-1a",
"autoSnapshotPolicyName": "week3-policy",
"repeatWeekDays": [
3
],
"hours": [
0
],
"retentionDays": 10
}
Response:
{
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
"response": {
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
"autoSnapshotPolicyId": "<autoSnapshotPolicyId>"
}
}