DescribeLoadBalancerHTTPSListenerAttribute
Queries the configuration of an HTTPS listener.
Operation description
You have created a Classic Load Balancer (CLB) instance. For more information, see CreateLoadBalancer.
You have created an HTTPS listener. For more information, see CreateLoadBalancerHTTPSListener.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DescribeLoadBalancerHTTPSListenerAttribute |
get |
*loadbalancer
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the Classic Load Balancer (CLB) instance. |
cn-hangzhou |
| LoadBalancerId |
string |
Yes |
The ID of the Classic Load Balancer (CLB) instance. |
lb-bp1mxu5r8lau**** |
| ListenerPort |
integer |
Yes |
The frontend port used by the instance. Valid values: 1 to 65535. |
80 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AclType |
string |
The type of access control. Valid values:
If a whitelist is enabled but no IP address is added to the access control policy group, the SLB listener forwards all requests.
If a blacklist is enabled but no IP address is added to the access control policy group, the SLB listener forwards all requests. Note
This parameter is required when the value of AclStatus is on. |
white |
| XForwardedFor_ClientCertClientVerify |
string |
Indicates whether the
|
off |
| CACertificateId |
string |
The CA certificate ID. |
idkp-234-cn-test-0** |
| RequestId |
string |
The request ID. |
365F4154-92F6-4AE4-92F8-7FF3******** |
| HealthCheckConnectPort |
integer |
The port used for health checks. Note
This parameter takes effect only when HealthCheck is set to on. |
8080 |
| BackendServerPort |
integer |
The backend port used by the instance. |
8080 |
| CookieTimeout |
integer |
The cookie timeout period. |
500 |
| HealthCheckDomain |
string |
The domain name used for health checks. |
www.test.com |
| XForwardedFor |
string |
Indicates whether the
|
on |
| XForwardedFor_ClientCertFingerprint |
string |
Indicates whether the
|
off |
| IdleTimeout |
integer |
The idle connection timeout period. Valid values: 1 to 60. Default value: 15. Unit: seconds. If no access request is received within the specified timeout period, Server Load Balancer temporarily breaks the current connection and waits until the next request arrives to establish a new connection. |
23 |
| ListenerPort |
integer |
The frontend port used by the instance. |
80 |
| HealthCheckURI |
string |
The URI used for health checks. |
/test/index.html |
| XForwardedFor_SLBPORT |
string |
Indicates whether the
|
off |
| StickySessionType |
string |
The method used to handle cookies. Valid values: insert and server.
|
insert |
| Scheduler |
string |
The scheduling algorithm. Valid values: wrr and rr.
|
wrr |
| XForwardedFor_proto |
string |
Indicates whether the
|
on |
| HealthCheckMethod |
string |
The health check method used for HTTP-type health checks on the listener. Valid values: head and get. Note
This parameter is returned only when HealthCheck is set to on. |
get |
| TLSCipherPolicy |
string |
The TLSCipherPolicy parameter can be specified only for guaranteed-performance instances. Each policy defines a security policy. A security policy contains the TLS protocol versions and encryption algorithm suites available for HTTPS.
|
tls_cipher_policy_1_0 |
| Status |
string |
The status of the listener. Valid values:
|
stopped |
| VServerGroupId |
string |
The ID of the associated vServer group. |
rsp-cige6j5e******** |
| XForwardedFor_ClientSrcPort |
string |
Indicates whether the
|
off |
| Cookie |
string |
The cookie configured on the server. |
testCookie |
| Gzip |
string |
Indicates whether
|
on |
| EnableHttp2 |
string |
Indicates whether
|
off |
| Bandwidth |
integer |
The peak bandwidth of the listener. Unit: Mbit/s. |
10 |
| Description |
string |
The custom listener name. |
HTTPS_443 |
| HealthCheckTimeout |
integer |
The maximum timeout period for each health check response. Unit: seconds. |
3 |
| AclStatus |
string |
Indicates whether access control is enabled. Valid values:
|
off |
| UnhealthyThreshold |
integer |
The unhealthy health check threshold. |
4 |
| XForwardedFor_SLBID |
string |
Indicates whether the
|
on |
| XForwardedFor_ClientCertSubjectDN |
string |
Indicates whether the
|
off |
| SecurityStatus |
string |
Indicates whether the listener is in a secure state. Valid values:
|
on |
| HealthCheckHttpCode |
string |
The HTTP status code that indicates a healthy health check. |
http_2xx,http_3xx |
| RequestTimeout |
integer |
The request timeout period. Valid values: 1 to 180. Default value: 60. Unit: seconds. If no response is received from the backend server within the specified timeout period, Server Load Balancer stops waiting and returns an HTTP 504 error code to the client. |
43 |
| HealthCheckInterval |
integer |
The interval between two consecutive health checks. Unit: seconds. |
5 |
| ServerCertificateId |
string |
The ID of the server certificate. |
idkp-123-cn-test-0** |
| AclId |
string |
The ID of the access control policy group associated with the listener. Note
This parameter is required when the value of AclStatus is on. |
acl-a2do9e413e0spzasx**** |
| XForwardedFor_ClientCertIssuerDN |
string |
Indicates whether the
|
off |
| HealthyThreshold |
integer |
The healthy health check threshold. |
4 |
| XForwardedFor_SLBIP |
string |
Indicates whether the
|
on |
| StickySession |
string |
Indicates whether session persistence is enabled. Valid values:
|
on |
| HealthCheck |
string |
Indicates whether health check is enabled. Valid values:
|
on |
| AclIds |
object |
||
| AclId |
array |
The ID of the access control policy group associated with the listener. |
|
| Rules |
object |
||
| Rule |
array<object> |
The list of forwarding rules configured for the listener. |
|
|
object |
The list of forwarding rules configured for the listener. |
||
| VServerGroupId |
string |
The ID of the destination vServer group of the forwarding rule. |
rsp-cige6j5e******** |
| Url |
string |
The access path. |
/example |
| Domain |
string |
The domain name. |
www.example.com |
| RuleName |
string |
The name of the forwarding rule. |
example |
| RuleId |
string |
The ID of the forwarding rule. |
23 |
| DomainExtensions |
object |
||
| DomainExtension |
array<object> |
The list of additional domain names. |
|
|
object |
The list of additional domain names. |
||
| ServerCertificateId |
string |
The ID of the certificate associated with the domain name. |
13344444**** |
| Domain |
string |
The domain name. |
www.example.com |
| DomainExtensionId |
string |
The ID of the additional domain name. |
12 |
| LoadBalancerId |
string |
The Classic Load Balancer (CLB) instance ID. |
lb-bp1mxu5r8lau**** |
| Tags |
object |
||
| Tag |
array<object> |
The list of tags. |
|
|
object |
The list of tags. |
||
| TagKey |
string |
The tag key of the listener. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with |
TestKey |
| TagValue |
string |
The tag value of the listener. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with |
TestValue |
Examples
Success response
JSON format
{
"AclType": "white",
"XForwardedFor_ClientCertClientVerify": "off",
"CACertificateId": "idkp-234-cn-test-0**",
"RequestId": "365F4154-92F6-4AE4-92F8-7FF3********",
"HealthCheckConnectPort": 8080,
"BackendServerPort": 8080,
"CookieTimeout": 500,
"HealthCheckDomain": "www.test.com",
"XForwardedFor": "on",
"XForwardedFor_ClientCertFingerprint": "off",
"IdleTimeout": 23,
"ListenerPort": 80,
"HealthCheckURI": "/test/index.html",
"XForwardedFor_SLBPORT": "off",
"StickySessionType": "insert",
"Scheduler": "wrr",
"XForwardedFor_proto": "on",
"HealthCheckMethod": "get",
"TLSCipherPolicy": "tls_cipher_policy_1_0",
"Status": "stopped",
"VServerGroupId": "rsp-cige6j5e********",
"XForwardedFor_ClientSrcPort": "off",
"Cookie": "testCookie",
"Gzip": "on",
"EnableHttp2": "off",
"Bandwidth": 10,
"Description": "HTTPS_443",
"HealthCheckTimeout": 3,
"AclStatus": "off",
"UnhealthyThreshold": 4,
"XForwardedFor_SLBID": "on",
"XForwardedFor_ClientCertSubjectDN": "off",
"SecurityStatus": "on",
"HealthCheckHttpCode": "http_2xx,http_3xx",
"RequestTimeout": 43,
"HealthCheckInterval": 5,
"ServerCertificateId": "idkp-123-cn-test-0**",
"AclId": "acl-a2do9e413e0spzasx****",
"XForwardedFor_ClientCertIssuerDN": "off",
"HealthyThreshold": 4,
"XForwardedFor_SLBIP": "on",
"StickySession": "on",
"HealthCheck": "on",
"AclIds": {
"AclId": [
""
]
},
"Rules": {
"Rule": [
{
"VServerGroupId": "rsp-cige6j5e********",
"Url": "/example",
"Domain": "www.example.com",
"RuleName": "example",
"RuleId": "23"
}
]
},
"DomainExtensions": {
"DomainExtension": [
{
"ServerCertificateId": "13344444****",
"Domain": "www.example.com",
"DomainExtensionId": "12"
}
]
},
"LoadBalancerId": "lb-bp1mxu5r8lau****",
"Tags": {
"Tag": [
{
"TagKey": "TestKey",
"TagValue": "TestValue"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.