All Products
Search
Document Center

Security Center:UpdatePostPaidBindRel

Last Updated:May 22, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Change Postpaid Asset Authorization Version

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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:UpdatePostPaidBindRelupdate
*AssetBind
acs:yundun-sas:{#regionId}:{#accountId}:assetbind/{#Uuid}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
BindActionarray<object>No

Parameters for the binding action.

objectNo
UuidListarrayNo

List of specified server UUIDs.

stringNo

Specified server UUID.

Note You can call the DescribeCloudCenterInstances API to obtain this parameter.
82e29**f0816da
VersionstringNo

The Cloud Security Center protection version that needs to be bound. Values:

  • 1: Basic Edition
  • 3: Enterprise Edition
  • 5: Advanced Edition
  • 6: Antivirus Edition
  • 7: Container Edition
3
BindAllbooleanNo

Whether to bind all. Default is false. Values:

  • true: Yes
  • false: No
true
AutoBindintegerNo

Enable automatic binding for new assets. Values:

  • 0: Off
  • 1: On
1
AutoBindVersionintegerNo

Version to automatically bind when adding new assets. Values:

  • 1: Basic Edition
  • 3: Enterprise Edition
  • 5: Advanced Edition
  • 6: Antivirus Edition
  • 7: Container Edition
3

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of this request, a unique identifier generated by Alibaba Cloud for this request, which can be used for troubleshooting and problem localization.

09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F
ResultCodeinteger

Binding result status code. Values:

  • 0: Success
  • 1: Parameter error
  • 2: Insufficient server authorization count
  • 3: Insufficient server core authorization
  • 4: Postpaid not enabled
  • 5: Service suspended due to arrears
  • 6: Serverless protection not enabled
  • 7: Pay-as-you-go service for host and container security not enabled
  • -1: Binding exception
0
BindCountlong

Number of servers successfully bound

2

Examples

Sample success responses

JSONformat

{
  "RequestId": "09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F",
  "ResultCode": 0,
  "BindCount": 2
}

Error codes

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