All Products
Search
Document Center

Resource Management:UpdateAssociatedTransferSetting

Last Updated:Dec 15, 2025

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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RuleSettingsarray<object>No

The settings of transfer rules.

objectNo

The settings of transfer rules.

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
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
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
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
StatusstringYes

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

  • Enable: enabled
  • Disable: disabled
Enable
EnableExistingResourcesTransferstringNo

Specifies whether to enable the Transfer Existing Associated Resources feature. Valid values:

  • false
  • true
false

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

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 changedView Change Details