All Products
Search
Document Center

Resource Management:UpdateAssociatedTransferSetting

Last Updated:Jun 05, 2024

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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RuleSettingsobject []No

The settings of the transfer rules.

StatusstringYes

The status of the Transfer Associated Resources feature. Valid values:

  • Enable: enabled
  • Disable: disabled
Enable
MasterServicestringNo

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
MasterResourceTypestringNo

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
AssociatedServicestringNo

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
AssociatedResourceTypestringNo

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

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

7B8A4E7D-6CFF-471D-84DF-195A7A241ECB

Examples

Sample success responses

JSONformat

{
  "RequestId": "7B8A4E7D-6CFF-471D-84DF-195A7A241ECB"
}

Error codes

HTTP status codeError codeError message
400UnsupportedOperation.UpdateAssociatedTransferRuleSettingUpdating associated transfer rule setting before open associated transfer is not supported.
404EntityNotExists.AssociatedTransferRuleThe associated transfer rule does not EXIST.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-01-29The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 404
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: EnableExistingResourcesTransfer