AssociateResources
Integrates cloud services with Global Accelerator.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:AssociateResources |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceleratorId |
string |
Yes |
The ID of the Global Accelerator instance. |
ga-bp1odcab8tmno0hdq**** |
| AssociatedResourceType |
string |
Yes |
The resource type of the associated resource. Valid values:
|
WAF |
| AssociatedResourceId |
string |
No |
The ID of the associated resource. |
waf_xx |
| AssociatedResourceRegionId |
string |
Yes |
The region of the associated resource. |
cn-hangzhou |
| AssociatedMode |
string |
No |
The association mode. Valid values:
Valid values:
|
Associated |
| RegionId |
string |
No |
The region ID of the basic Global Accelerator instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run on the request. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| AcceleratorId |
string |
The ID of the Global Accelerator instance. |
ga-bp1odcab8tmno0hdq**** |
| AssociatedResourceId |
string |
The ID of the associated resource. |
waf_xx |
| RequestId |
string |
Id of the request |
DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6 |
Examples
Success response
JSON format
{
"AcceleratorId": "ga-bp1odcab8tmno0hdq****",
"AssociatedResourceId": "waf_xx",
"RequestId": "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | StateError.Accelerator | accelerator state %s is illegal | The GA instance is in an invalid state %s. |
| 400 | NotExist.Accelerator | accelerator %s is not exist | The GA instance %s does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.