DescribeLoadBalancerHTTPSListenerAttribute
View the HTTPS listener configuration.
Operation description
You must have a Classic Load Balancer. For instructions, see CreateLoadBalancer.
You must have an HTTPS listener. For instructions, 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 instance. | cn-hangzhou |
LoadBalancerId | string | Yes | The ID of the Classic Load Balancer instance. | lb-bp1mxu5r8lau**** |
ListenerPort | integer | Yes | The frontend port of the instance. Valid values: 1 to 65535. | 80 |
Response elements
Element | Type | Description | Example |
object | |||
AclType | string | The type of the access control list (ACL). Valid values:
If you enable a whitelist for a listener but do not add any IP address to the access control group, the listener forwards all requests.
If you enable a blacklist for a listener but do not add any IP address to the access control group, the listener forwards all requests. Note This parameter is required if the AclStatus parameter is set to on. | white |
XForwardedFor_ClientCertClientVerify | string | Indicates whether the
| off |
CACertificateId | string | The ID of the CA certificate. | 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 applies only when the HealthCheck parameter is set to on. | 8080 |
BackendServerPort | integer | The port used by backend servers. | 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 timeout for a connection, in seconds. Valid values: 1 to 60. Default value: 15. If a connection is idle for longer than the timeout period, the load balancer closes it. A new connection is established when the next request arrives. | 23 |
ListenerPort | integer | The frontend port used by the load balancer instance. | 80 |
HealthCheckURI | string | The URI for health checks. | /test/index.html |
XForwardedFor_SLBPORT | string | Indicates whether the
| off |
StickySessionType | string | The cookie handling method. 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 health checks. Valid values: head and get. Note This parameter is returned only if the HealthCheck parameter is set to on. | get |
TLSCipherPolicy | string | The TLS security policy. This parameter can be set only for a guaranteed-performance instance. Each security policy defines the supported TLS protocol versions and cipher suites.
| tls_cipher_policy_1_0 |
Status | string | The status of the listener. Valid values:
| stopped |
VServerGroupId | string | The ID of the associated server group. | rsp-cige6j5e******** |
XForwardedFor_ClientSrcPort | string | Indicates whether the
| off |
Cookie | string | The cookie configured on the backend server. | testCookie |
Gzip | string | Indicates whether to enable
| on |
EnableHttp2 | string | Indicates whether to enable
| off |
Bandwidth | integer | The peak bandwidth for the listener. Unit: Mbit/s. | 10 |
Description | string | The description of the listener. | HTTPS_443 |
HealthCheckTimeout | integer | The response timeout for a health check, in seconds. | 3 |
AclStatus | string | Indicates whether to enable access control. Valid values:
| off |
UnhealthyThreshold | integer | The number of consecutive failed health checks required to declare a backend server unhealthy. | 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 codes indicating a successful health check. | http_2xx,http_3xx |
RequestTimeout | integer | The request timeout, in seconds. Valid values: 1 to 180. Default value: 60. If a backend server fails to respond within this period, the load balancer returns an HTTP 504 error to the client. | 43 |
HealthCheckInterval | integer | The interval between consecutive health checks, in seconds. | 5 |
ServerCertificateId | string | The ID of the server certificate. | idkp-123-cn-test-0** |
AclId | string | The ID of the access control group associated with the listener. Note This parameter is required if the AclStatus parameter is set to on. | acl-a2do9e413e0spzasx**** |
XForwardedFor_ClientCertIssuerDN | string | Indicates whether the
| off |
HealthyThreshold | integer | The number of consecutive successful health checks required to declare a backend server healthy. | 4 |
XForwardedFor_SLBIP | string | Indicates whether the
| on |
StickySession | string | Indicates whether session persistence is enabled. Valid values:
| on |
HealthCheck | string | Indicates whether health checks are enabled. Valid values:
| on |
| AclIds | object | ||
| AclId | array | The IDs of the access control groups associated with the listener. | |
| Rules | object | ||
| Rule | array<object> | The list of forwarding rules. | |
object | The list of forwarding rules. | ||
VServerGroupId | string | The ID of the destination server group specified in the forwarding rule. | rsp-cige6j5e******** |
Url | string | The request 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> | A list of additional domain names. | |
object | A 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 ID of the Classic Load Balancer (CLB) instance. | lb-bp1mxu5r8lau**** |
| Tags | object | ||
| Tag | array<object> | The list of tags. | |
object | The list of tags. | ||
TagKey | string | The tag key of the listener. | TestKey |
TagValue | string | The tag value of the listener. | 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.