Changes the protection edition bound to a server after you enable the pay-as-you-go billing method for host and container security.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdatePostPaidBindRel |
update |
*AssetBind
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BindAction |
array<object> |
No |
The binding action parameter. |
|
|
object |
No |
|||
| BindAll |
boolean |
No |
Specifies whether to bind all servers. Default value: false. Valid values:
|
true |
| FreeType |
string |
No |
The free quota type. |
|
| UuidList |
array |
No |
The list of server UUIDs. |
|
|
string |
No |
The UUID of the server. Note
You can call the DescribeCloudCenterInstances operation to obtain this parameter. |
82e29**f0816da |
|
| Version |
string |
No |
The protection edition of Security Center to bind. Valid values:
|
3 |
| AutoBind |
integer |
No |
Specifies whether to automatically bind new assets. Valid values:
|
1 |
| AutoBindVersion |
integer |
No |
The edition that is automatically bound when new assets are added. Valid values:
|
3 |
| UpdateIfNecessary |
boolean |
No |
Specifies whether to forcibly upgrade the edition. |
false |
| ProductCode |
string |
No |
The abbreviation of the cloud service. Valid values:
|
|
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Different requests must use different tokens. The token supports only ASCII characters and cannot exceed 64 characters in length. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| BindCount |
integer |
The number of servers that are successfully bound. |
2 |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F |
| ResultCode |
integer |
The status code of the binding result. Valid values:
|
0 |
Examples
Success response
JSON format
{
"BindCount": 2,
"RequestId": "09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F",
"ResultCode": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | 相同的 ClientToken 被用于不同的请求参数。 | |
| 409 | IdempotentRequestInProgress | 使用相同 ClientToken 的请求正在处理中。 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.