Queries TLS policies.
Debugging
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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
slb:ListTLSCipherPolicies | list |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the Classic Load Balancer (CLB) instance is deployed. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
TLSCipherPolicyId | string | Yes | The ID of the TLS policy. | tls-bp17elso1h323r**** |
Name | string | No | The name of the TLS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter. | TLSPolicy-test**** |
IncludeListener | boolean | No | Specifies whether to return the information about the associated listeners. Valid values:
| false |
NextToken | string | No | The token that is used for the next query. Valid values:
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
MaxItems | integer | No | The maximum number of TLS policies to be queried in this call. Valid values: 1 to 100. If you do not set this parameter, the default value 20 is used. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"TotalCount": 1000,
"IsTruncated": false,
"TLSCipherPolicies": [
{
"Status": "normal",
"InstanceId": "tls-bp17elso1h323r****",
"Name": "TLSPolicy-test****",
"CreateTime": 1608273800000,
"RelateListeners": [
{
"Port": 80,
"Protocol": "HTTPS",
"LoadBalancerId": "lb-bp1b6c719dfa08ex****"
}
],
"TLSVersions": [
"TLSv1.0"
],
"Ciphers": [
"ECDHE-ECDSA-AES128-SHA"
]
}
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | QueryTokenInvalid | The specified token is invalid. |
400 | QueryTokenNotExist | The specified token is not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|