docs
api
Cloud Disk(UDisk)
CloneUDiskUDataArk

Create UDisk from UDataArk backup - CloneUDiskUDataArk

Overview

Create UDisk from UDataArk backup

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is CloneUDiskUDataArk.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ZonestringAvailability Zone. See Availability Zone ListYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
NamestringInstance NameYes
UDiskIdstringSource disk id to be clonedYes
SnapshotTimeintSpecify the backup time point cloned from UDataArkYes
CommentstringDisk AnnotationNo
ChargeTypestringYearly, Monthly, Dynamic, Postpay Default: DynamicNo
QuantityintPurchase Duration Default: 1No
UDataArkModestring[Data Ark Access Has Been Disabled] Do you want to enable Data Ark? Yes: Enable, No: Disable, Default value: NoNo
SnapshotServicestringEnable snapshot service (Enabling snapshot service allows free activation of UDataArk). Yes: Enable, No: Do not enable, Default value: NoNo
SizeintThe size of the new cloned UDisk, unit: GB. The specified Size must be greater than or equal to the source disk Size, if it's less than the source disk Size or this parameter is not specified, the new disk will be cloned according to the source disk Size. Ordinary data disk: range [1~8000]; SSD data disk: range [1~8000]; RSSD data disk: range [1~32000]; High-efficiency data disk: range [1~32000].No
TagstringBusiness Group Default: DefaultNo
RdmaClusterIdstringRDMA cluster id. Specifies the corresponding RDMA cluster to which the RSSD cloud disk is cloned.No
HostIdstringHost Instance ID. The cloned cloud disk can be directly mounted to this host.No
BackupModestringSnapshot Service Backup Strategy. The basic package is activated by default, 'Base': Basic Edition, 'Ultimate': Flagship Edition, 'Custom': Custom Backup Chain.No
JournalintWhen BackupMode is set to Custom, settings are made based on multiples of 12 hours in seconds, such as 12, 24, 36, 48.No
HourintWhen BackupMode is set to Custom, settings are made on a 24-hour basis and multiplied, such as 24, 48, 72, 96.No
DayintWhen BackupMode is set to Custom, settings are made based on a multiple of 5 days, such as 5, 10, 15, 20, 25, 30.No
CouponIdstringID of the voucher usedNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
UDiskIdarray[string]Create UDisk IdYes

Example

Request Example

https://api.surfercloud.com/?Action=CloneUDiskUDataArk
&Region=cn-east
&Zone=cn-east-01
&UDiskId=F207B59C-BA54-4455-9CF1-996DB5A7CD22
&Name=xxx
&SnapshotTime=1473646985
&Tag=PgHINlLb
&SnapshotService=SbsKvZHb
&RdmaClusterId=fOAYalof
&HostId=qMNVFVUO
&BackupMode=dBoEybTD
&Journal=9
&Hour=2
&Day=9

Response Example

{
  "Action": "CloneUDiskUDataArkResponse",
  "RetCode": 0,
  "UDiskId": "ebi2"
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved
  • Contact our sales to help your business.
  • Contact our sales to help your business.