Preload the SDG.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:PreloadRegionSDG |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SDGId |
string |
Yes |
The ID of the SDG for which data is preloaded. |
sdg-xxxx |
| DestinationRegionIds |
array |
Yes |
The IDs of the destination nodes. |
|
|
string |
No |
The ID of the destination node. |
cn-foshan-4 |
|
| Namespaces |
array |
No |
An array that consists of queried namespaces. |
|
|
string |
No |
The namespace. |
'default' |
|
| RedundantNum |
integer |
Yes |
The number of redundant replicas to support rapid deployment. |
2 |
| DiskType |
string |
No |
The disk type of the shared disk to be created:
Note
|
rbd |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C0003E8B-B930-4F59-ADC0-0E209A9012A8 |
| Data |
object |
The returned data object. |
|
| Message |
string |
The message returned. |
success |
| Result |
object |
The execution result of the synchronization request. |
|
| FailedCount |
integer |
The number of failed tasks. |
0 |
| FailedItems |
array<object> |
Details about the failed tasks. |
|
|
object |
Details about the failed task. |
||
| ErrorMessage |
string |
The error message that is returned. |
region not found |
| DestinationRegionId |
string |
The ID of the destination node. |
cn-hangzhou-xxx |
| SuccessCount |
integer |
The number of successful tasks. |
1 |
| Success |
boolean |
Indicates whether all tasks are successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8",
"Data": {
"Message": "success",
"Result": {
"FailedCount": 0,
"FailedItems": [
{
"ErrorMessage": "region not found",
"DestinationRegionId": "cn-hangzhou-xxx"
}
],
"SuccessCount": 1
},
"Success": true
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Interface.Call.Error | The interface call error | |
| 400 | Interface.Call.Failed | %s. | Request failed |
| 400 | Parameter.Invalid | The parameter is invalid. Please check your parameters and try it again. | The parameter is invalid. |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.