- Acceleration areas and regions
- Resource groups
- Tags
- Purchase order information
- Bandwidth plans
- EIP line types and transmission network types
- GA instances
- Acceleration regions
- Listeners
- Endpoint groups (intelligent routing listeners)
- Endpoint groups (custom routing listeners)
- Endpoint group mapping configurations (custom routing listeners)
- Endpoints (custom routing listeners)
- Traffic policies for endpoints (custom routing listeners)
- Port mappings (custom routing listeners)
- Forwarding rules
- Network access control lists (ACLs)
- Origin probing
- Domain names
- Basic GA instances
- Acceleration regions (basic GA instances)
- Accelerated IP addresses (basic GA instances)
- Endpoint groups of basic GA instances
- Endpoints (basic GA instances)
- Associating accelerated IP addresses with endpoints (basic GA instances)
- Others

Operation Description
When you call this operation, take note of the following items:
-
CreateListener is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the DescribeListener operation to query the status of the task.
- If the listener is in the init state, the listener is being created. In this state, you can perform only query operations.
- If the listener is in the active state, the listener is created.
-
You cannot repeatedly call the CreateListener operation for the same GA instance within the specified period of time.
Request Parameters
Field Name | Field Details |
---|---|
RegionIdstring | The ID of the region where the GA instance is deployed. Set the value to cn-hangzhou. Example:cn-hangzhou |
ClientTokenstring | The client token that is used to ensure the idempotence of the request.View Details... Example:123e4567-e89b-12d3-a456-426655440000 |
AcceleratorIdstring | The ID of the GA instance. Example:ga-bp1odcab8tmno0hdq****Reference Value Source: ListAccelerators CreateAccelerator UpdateAcceleratorAutoRenewAttribute |
Namestring | The name of the listener.View Details... Example:Listener |
Descriptionstring | The description of the listener.View Details... Example:Listener |
ClientAffinitystring | Specifies whether to enable client affinity for the listener.View Details... Example:SOURCE_IP |
Protocolstring | The network transmission protocol that you want to use for the listener. Valid values:View Details... Example:tcp |
PortRangesarray<object> | The listener ports. Valid values: 1 to 65499. The maximum number of ports that can be configured depends on the routing type and protocol of the listener. For more information, see Listener overview. Count of Children <= 100 |
Certificatesarray<object> | The SSL certificates. Count of Children <= 10 |
XForwardedForConfigobject | The |
SecurityPolicyIdstring | The ID of the security policy. Valid values:View Details... Example:tls_cipher_policy_1_0Reference Value Source: ListSystemSecurityPolicies |
Typestring | The routing type of the listener. Valid values:View Details... Example:StandardReference Value Source: ListIspTypes |
EndpointGroupConfigurationsarray<object> | The endpoint groups that are associated with the intelligent routing listener.View Details... |
CustomRoutingEndpointGroupConfigurationsarray<object> | The endpoint group that is associated with the custom routing listener.View Details... |
IdleTimeoutinteger<int32> | The timeout period of idle connections. Unit: seconds.View Details... Example:900 |
RequestTimeoutinteger<int32> | The timeout period for HTTP or HTTPS requests. Unit: seconds.View Details... Example:15 |
HttpVersionstring | The maximum version of the HTTP protocol. Valid values:View Details... Example:http2 |
Response Parameters
Field Name | Field Details |
---|---|
RequestIdstring | The ID of the request. Example:04F0F334-1335-436C-A1D7-6C044FE73368 |
ListenerIdstring | The ID of the listener. Example:lsr-bp1bpn0kn908w4nbw**** |