Calls the CreateDomain operation to create a domain name and associate it with a Global Accelerator (GA) instance.
Operation description
Global Accelerator provides a China Ministry of Industry and Information Technology (MIIT) ICP filing exemption service for accelerated domain names on Alibaba Cloud. You only need to associate an accelerated domain name that has completed ICP filing with a Global Accelerator instance. Global Accelerator then exempts the accelerated domain name and all subdomains under its primary domain name from Alibaba Cloud ICP filing requirements.
This operation adds an accelerated domain name to associate it with a Global Accelerator instance. Before you invoke this operation, take note of the following items:
If the accelerated domain name is deployed in the Chinese mainland, ICP filing must be completed.
The same accelerated domain name cannot be associated with the same Global Accelerator instance more than once.
The CreateDomain operation does not support concurrently adding accelerated domain names within the same account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:CreateDomain |
create |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the Global Accelerator instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| AcceleratorIds |
array |
Yes |
The Global Accelerator instance ID. You can specify up to 50 GA instance IDs. |
|
|
string |
Yes |
The Global Accelerator instance ID. You can specify up to 50 GA instance IDs. |
ga-bp1odcab8tmno0hdq**** |
|
| Domain |
string |
Yes |
The accelerated domain name to add. Only primary domain names are supported, such as |
example.com |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoIcpRecord.Domain | %s has not been put on ICP record. | %s has not been put on ICP record |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.