All Products
Search
Document Center

Global Accelerator:DissociateAdditionalCertificatesFromListener

Last Updated:Jul 31, 2024

Disassociates an additional certificate from an HTTPS listener.

Operation description

Description

  • DissociateAdditionalCertificatesFromListener is an asynchronous operation. After you send a request, the system returns a request ID, but this operation is still being performed in the system background. You can call the DescribeListener operation to query the state of an HTTPS listener.

    • If the listener is in the updating state, it indicates that the additional certificate is being dissociated from the listener. In this case, you can perform only query operations.
    • If the listener is in the active state, it indicates that the additional certificate is dissociated from the listener.
  • The DissociateAdditionalCertificatesFromListener operation cannot be repeatedly called for the same Global Accelerator (GA) instance with a specific period of time.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ga:DissociateAdditionalCertificatesFromListenerupdate
  • Listener
    acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region where the GA instance is deployed. Set the value to cn-hangzhou.

cn-hangzhou
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must make sure that it is unique among all requests. ClientToken can contain only ASCII characters.

Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
123e4567-e89b-12d3-a456-426655440000
AcceleratorIdstringYes

The ID of the GA instance.

ga-bp1odcab8tmno0hdq****
ListenerIdstringYes

The ID of the listener.

lsr-bp1bpn0kn908w4nbw****
DomainsarrayYes

The domain name associated with the additional certificate.

You can specify up to 10 domain names in each request.

stringYes

The domain name associated with the additional certificate.

You can specify up to 10 domain names in each request.

example.com

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

6FEA0CF3-D3B9-43E5-A304-D217037876A8

Examples

Sample success responses

JSONformat

{
  "RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8"
}

Error codes

HTTP status codeError codeError messageDescription
400AlreadyInBandwidthPackage.AcceleratorThe accelerated instance is already in the bandwidth package.The accelerated instance is already in the bandwidth package.
400BandwidthIllegal.BandwidthPackageThe bandwidth of the basic bandwidth package must be lower than or equal to the bandwidth of the cross-domain bandwidth package.The bandwidth of the basic bandwidth package must be lower than or equal to the bandwidth of the cross-domain bandwidth package.
400BindExist.AcceleratorThe accelerated instance is already bound to a bandwidth package.The GA instance is already associated with a bandwidth plan.
400BindExist.BandwidthPackageThe bandwidth package is already bound.The bandwidth plan is already associated.
400BindExist.EndPointGroupThe endpoint group %s contains binding.The endpoint group contains binding.
400EndPointGroupTypeIllegal.EndpointGroupThe endpoint group type is illegal.The endpoint group type is illegal.
400EndPointRequestProtocolIllegal.EndpointGroupThe endpoint group request protocol is illegal.The endpoint group request protocol is illegal.
400Exist.EndpointGroupThe endpoint group already exists.The endpoint group already exists.
400Exist.ForwardingRuleThe forwarding rule already exists.The forwarding rule already exists.
400Exist.IpSetThe IpSet already exists.The acceleration region already exists.
400Exist.ListenerThe listener already exists.The listener already exists.
400Exist.VirtualEndpointGroupA virtual endpoint group already exists.A virtual endpoint group already exists.
400GaSpecExceeded.IpSetThe number of IpSet exceeds the specification of the GA instance.The number of accelerated IP addresses has reached the upper limit supported by the GA instance.
400GreaterThanGa.IpSetBandwidthThe total bandwidth for IpSet exceeds the total bandwidth of the GA instance.The total bandwidth for IpSet exceeds the total bandwidth of the GA instance.
400IllegalBandwidth.IpSetThe bandwidth of IpSet is invalid.The bandwidth of IpSet is invalid.
400IllegalParameter.BandwidthTypeThe parameter BandwidthType is illegal.The GA instance bound to the basic bandwidth plan has non-EIP type endpoints. You cannot set the bandwidth type to standard acceleration bandwidth.
400IllegalParameter.SpecThe specified Spec is invalid.The specified Spec is invalid.
400IllegalParameter.TypeThe specified Type is invalid.The specified Type is invalid.
400MissingParameter.BandwidthTypeYou must specify BandwidthType.You must specify BandwidthType.
400NoPermission.EnableHealthCheckYou do not have permission to enable health check.The current account does not have the permissions to enable health checks.
400NoPermission.GaDdosRoleSessionYou are not authorized to perform the operation.The user does not have permissions to create service linked roles. Contact the Alibaba Cloud account owner or the permission administrator to grant the current user AliyunGlobalAccelerationFullAccess or create custom permission policies for service linked role. The following content describes the detailed information about custom permission policies: ServiceName: ddos.ga.aliyuncs.com. Service linked role name: AliyunServiceRoleForGaAntiDDos. Permission: ram:CreateServiceLinkedRole.
400NoPermission.VpcEndpointYou are not authorized to perform the operation.The user does not have permissions to create service linked roles. Contact the Alibaba Cloud account owner or the permission administrator to grant the current user AliyunGlobalAccelerationFullAccess or create custom permission policies for service linked role. The following content describes the detailed information about custom permission policies: ServiceName: vpcendpoint.ga.aliyuncs.com. Service linked role name: AliyunServiceRoleForGaVpc. Endpoint Permission: ram:CreateServiceLinkedRole.
400NotActive.IpSetThe state of IpSet is not active.The accelerated IP address is in an unstable state.
400NotActive.ListenerThe state of the listener is not active.The listener is unstable.
400NotExist.AcceleratorThe accelerated instance does not exist.The GA instance does not exist.
400NotExist.BandwidthPackageThe bandwidth package does not exist.The bandwidth package does not exist.
400NotExist.BasicBandwidthPackageYou must specify the basic bandwidth package.You must specify the basic bandwidth package.
400NotExist.BusinessRegionThe business region does not exist.The business region does not exist.
400NotExist.EndPointGroupThe endpoint group does not exist.The endpoint group does not exist.
400NotExist.IpSetThe IpSet does not exist.The acceleration region does not exist.
400NotExist.IpSetsThe IpSet does not exist.The acceleration region does not exist.
400NotExist.ListenerThe listener does not exist.The listener does not exist.
400NotExist.ListenerPortThe listening port %s does not exist.The listening port does not exist.
400NotInBandwidthPackage.AcceleratorThe accelerated instance is not in the bandwidth package.The GA instance is not associated with a bandwidth plan.
400PortConflict.ListenerThe listener port configuration is in conflict.The listener port configurations are in conflict.
400PortRangeIllegal.CountThe hugePort listener only supports one port range.The mass port listener (port number greater than 300) only supports one port range.
400PortRangeIllegal.ListenerThe specified listener port range is invalid.The specified listener port range is invalid.
400PortRanges.MustOneThe portRanges must be one for HTTPS and HTTP type listener.Only one port is supported for HTTPS and HTTP type listeners.
400ProtocalIllegal.ListenerThe specified listener protocol is invalid.The specified listener protocol is invalid.
400QuotaExceeded.EndPointThe maximum number of endpoints is exceeded.The maximum number of endpoints is exceeded.
400QuotaExceeded.ForwardingRuleThe number of forwarding rule exceeds the limit.The number of forwarding rule exceeds the limit.
400QuotaExceeded.ListenerThe maximum number of listeners is exceeded.The maximum number of listeners is exceeded.
400QuotaExceeded.ListenerPortThe maximum number of listener ports is exceeded.The maximum number of listener ports is exceeded.
400QuotaExceeded.PortOverrideThe number of port override exceeds the limit.The number of port override exceeds the limit.
400QuotaExceeded.RuleConditionConfigThe number of path and host exceeds the limit.-
400RegionRepeat.IpSetOnly one IpSet can be created in an accelerated region.An acceleration region supports only one accelerated IP address.
400Repeat.IpSetsThe configuration of IpSet is duplicated.Duplicate accelerated IP addresses exist.
400RepeatPathAndHost.ForwardingRuleThe path and host %s are duplicated.The path and host are duplicated.
400StateError.AcceleratorThe state of the accelerated instance is invalid.The status of the GA instance is invalid.
400StateError.BandwidthPackageThe state of bandwidth package is invalid.The bandwidth plan is in an invalid state.
400StateError.BandwidthPackageBindThe state of binding for the bandwidth package is invalid.The association status of the bandwidth plan is invalid.
400StateError.EndPointGroupThe specified state of endpoint group is invalid.The endpoint group is in an invalid state.
400StateError.ForwardingRuleThe forwarding rule state %s is illegal.The forwarding rule state is illegal.
400StateError.IpSetThe state of IpSet is invalid.The acceleration region is in an invalid state.
400TooManySpareIp.AcceleratorToo many SpareIp accepted under the same AcceleratorToo many spare IP addresses are accepted under the same accelerator.
400UpgradeError.BandwidthPackageThe bandwidth package configurations should be either all upgrades or all downgrades.You cannot upgrade and downgrade a bandwidth plan at the same time. You can only upgrade or downgrade the bandwidth plan.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history