Domain name for API request: teo.intl.tencentcloudapi.com.
Modify acceleration domain name information
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyAccelerationDomain. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| ZoneId | Yes | String | Zone ID of the acceleration domain name. |
| DomainName | Yes | String | Acceleration domain name. |
| OriginInfo | No | OriginInfo | Origin server information. |
| OriginProtocol | No | String | Origin-pull protocol. Valid values: |
| HttpOriginPort | No | Integer | HTTP origin-pull port. Value range: 1–65535. This parameter is valid only when OriginProtocol is FOLLOW or HTTP. If not specified, the original configuration is retained. |
| HttpsOriginPort | No | Integer | HTTPS origin-pull port. Value range: 1-65535. This parameter is valid only when OriginProtocol is FOLLOW or HTTPS. If not specified, the original configuration is retained. |
| IPv6Status | No | String | IPv6 status. Valid values: |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyAccelerationDomains
<Common request parameters>
{
"DomainName":"qq.com",
"ZoneId":"zone-225qgrnvbi9w",
"OriginInfo":{
"OriginType":"ip_domain",
"Origin":"qq.com"
}
}
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyAccelerationDomain
<Common request parameters>
{
"DomainName": "example.com",
"ZoneId": "zone-225qgrnvbi9w",
"OriginInfo": {
"OriginType": "ip_domain",
"Origin": "qq.com",
"BackupOrigin": ""
}
}
{
"Response": {
"RequestId": "5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| InternalError.ConfigLocked | The configuration has been locked. Unlock it and retry. |
| InternalError.SystemError | Internal error. System error. |
| InvalidParameter.ConflictHostOrigin | The origin server cannot be the same as the domain name. |
| InvalidParameter.InvalidAwsRegion | Fill in the region correctly as a private network access parameter for third-party object storage. |
| InvalidParameter.InvalidAwsSecretKey | Invalid third-party object storage. |
| InvalidParameter.InvalidClientIpOrigin | Invalid origin server for subregional origin-pull. |
| InvalidParameter.InvalidHttps | Invalid HTTPS. |
| InvalidParameter.InvalidOrigin | Invalid origin server. |
| InvalidParameter.InvalidOriginIp | Private IP addresses or loopback addresses are not supported as the origin server address. |
| InvalidParameter.InvalidPrivateAccessParams | Fill in AccessKeyId and SecretAccessKey as private network access parameters for third-party object storage. |
| InvalidParameter.InvalidRangeOriginPull | Invalid range-based origin pull. |
| InvalidParameter.InvalidStandardDebugClientIp | Invalid client ip or ip range. |
| InvalidParameter.InvalidWebSocketTimeout | Invalid WebSocket. |
| InvalidParameter.OriginIsInnerIp | The origin server uses a private IP. |
| InvalidParameter.SpaceNotBindOrigin | Shield Space is not bound to an origin server. Please bind an origin server first and try again. |
| InvalidParameter.ZoneIsGrayPublishing | Site is upgrading. Changes are not currently supported. Try again later. |
| InvalidParameterValue.ConflictRecord | Conflicts with an added record. |
| InvalidParameterValue.DomainNotMatchZone | The domain name in the input parameters does not match the site parameter. Correct it and try again. |
| InvalidParameterValue.InvalidDomainStatus | Accelerated domain name status does not meet requirements. |
| InvalidParameterValue.SiteFailoverNotSupportHostOriginTypeVod | Origin server failover does not support VOD origin servers. |
| OperationDenied.DomainNoICP | The domain name has not obtained an ICP Filing. |
| OperationDenied.ResourceLockedTemporary | Currently there are parallel request operations that repel each other. Please try again later. |
| OperationDenied.VersionControlIsGraying | A test version is in use. Publish the test version to the production environment or roll back the test version and try again. |
| ResourceInUse | The resource is occupied. |
| ResourceInUse.DnsRecord | That domain name is being parsed. If you need to enable acceleration, please go to the DNS record page to enable acceleration. |
| ResourceUnavailable.DomainNotFound | The requested acceleration domain name does not exist. Correct it and try again. |
| UnauthorizedOperation.CamUnauthorized | Unauthorized Cam operation. |
| UnauthorizedOperation.NoPermission | The sub-account does not have operation permissions. Add the required permissions and try again. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários