- CreateSnapshotService
Overview
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is CreateSnapshotService . | Yes |
PublicKey | string | The user's public key can be obtained from Console (opens in a new tab) | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Region | string | Yes | |
Zone | string | Yes | |
ProjectId | string | No | |
VDiskId | string | Yes | |
ChargeType | string | No | |
Quantity | int | No | |
Tag | string | No | |
BackupMode | string | No | |
Journal | int | No | |
Hour | int | No | |
Day | int | No | |
CouponId | string | No |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
SnapshotServiceId | string | Yes | |
Status | string | No |
Example
Request Example
https://api.surfercloud.com/?Action=CreateSnapshotService
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=zJuzzWFf
&VDiskId=KWofBuYG
&Quantity=9
&ChargeType=DBszwtFT
&CouponId=CCpkbTeg
&CouponId=xFISNPEZ
&Tag=DjjJMPup
&Form=1
&Journal=3
&Hour=1
&Day=9
&Form=3
&Journal=9
&Hour=2
&Day=5
&UHostQuantity=6.71152
Response Example
{
"Action": "CreateSnapshotServiceResponse",
"RetCode": 0,
"ServiceID": "uHcWVAVa",
"Status": "awQmvrLq"
}