Copies a shared data group (SDG) across nodes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:CopySDG |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SDGId |
string |
Yes |
The ID of the SDG that you want to copy. |
sdg-xxx |
| DestinationRegionIds |
array |
Yes |
The destination nodes. |
|
|
string |
No |
The ID of the destination node. |
cn-foshan-4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
XXX-XXX-XXX |
| Data |
object |
The returned data object. |
|
| Message |
string |
The response message. Success is returned for a successful request. |
success |
| Result |
object |
The execution result of the synchronization request. |
|
| FailedCount |
integer |
The number of failed nodes. |
0 |
| FailedItems |
array<object> |
Details of failed nodes. |
|
|
object |
|||
| ErrorMessage |
string |
The error message. |
region not found |
| DestinationRegionId |
string |
The ID of the destination node. |
cn-hangzhou-xxx |
| SuccessCount |
integer |
The number of successful nodes. |
1 |
| Success |
boolean |
Indicates whether all tasks are successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "XXX-XXX-XXX",
"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.