AttachAssetGroupToInstance
Associates an asset with an Anti-DDoS Origin instance of a paid edition.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-antiddosbag:AttachAssetGroupToInstance |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region in which the instance resides. Note
You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| InstanceId |
string |
Yes |
The ID of the instance to query. Note
You can call the DescribeInstanceList operation to query the IDs of all Anti-DDoS Origin instances of paid editions. |
ddosbgp-cn-n6w1r7nz**** |
| AssetGroupList |
array<object> |
Yes |
The information about the asset to be associated. |
|
|
object |
No |
|||
| Name |
string |
Yes |
The ID of the asset that you want to add. If the asset is a Web Application Firewall (WAF) instance, specify the ID of the WAF instance. |
waf-test-001 |
| Type |
string |
Yes |
The type of the asset. |
waf |
| Region |
string |
Yes |
The region ID of the asset. |
cn-hangzhou |
| MemberUid |
string |
No |
The UID of the member to which the asset belongs. |
1743970208320*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
52B49F64-5A36-5CE0-BD00-765792C26AA9 |
Examples
Success response
JSON format
{
"RequestId": "52B49F64-5A36-5CE0-BD00-765792C26AA9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.