Updates the settings of the Transfer Associated Resources feature.
Operation description
For information about the resources that support the Transfer Associated Resources feature, see Use the Transfer Associated Resources feature.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RuleSettings | object [] | No | The settings of the transfer rules. | |
Status | string | Yes | The status of the Transfer Associated Resources feature. Valid values:
| Enable |
MasterService | string | No | The service code of the primary resource. You can obtain the service code from the Service code column in Services that work with Resource Group. | ecs |
MasterResourceType | string | No | The type of the primary resource. You can obtain the resource type from the Resource type column in Services that work with Resource Group. | instance |
AssociatedService | string | No | The service code of the associated resource. You can obtain the service code from the Service code column in Services that work with Resource Group. | ecs |
AssociatedResourceType | string | No | The type of the associated resource. You can obtain the resource type from the Resource type column in Services that work with Resource Group. | disk |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7B8A4E7D-6CFF-471D-84DF-195A7A241ECB"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | UnsupportedOperation.UpdateAssociatedTransferRuleSetting | Updating associated transfer rule setting before open associated transfer is not supported. |
404 | EntityNotExists.AssociatedTransferRule | The associated transfer rule does not EXIST. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024-01-29 | The Error code has changed. The request parameters of the API has changed | see changesets | ||||||||||
|