Queries the TLS security policies that are supported by HTTPS listeners.
Operation description
When you create an HTTPS listener, you can select a TLS security policy. Call this operation to query the supported TLS system security policies.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListSystemSecurityPolicies |
list |
*SystemSecurityPolicy
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the Global Accelerator (GA) instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Valid values: 1 to 100. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
A9B4E54C-9CCD-4002-91A9-D38C6C209192 |
| TotalCount |
integer |
The total number of entries returned. |
2 |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| SecurityPolicies |
array<object> |
The list of TLS security policies. |
|
|
object |
|||
| SecurityPolicyId |
string |
The ID of the TLS security policy. |
tls_cipher_policy_1_1 |
| TlsVersions |
array |
The supported TLS versions. Valid values: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3. |
|
|
string |
The supported TLS versions. Valid values: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3. |
["TLSv1.0","TLSv1.2"] |
|
| Ciphers |
array |
The supported cipher suites. The value of this parameter is determined by the value of TLSVersions. The specified cipher suites must be supported by at least one value of TLSVersions. For example, if you set TLSVersions to TLSv1.3, you must specify cipher suites that are supported by TLSv1.3.
|
|
|
string |
The supported cipher suites. The value of this parameter is determined by the value of TLSVersions. The specified cipher suites must be supported by at least one value of TLSVersions. For example, if you set TLSVersions to TLSv1.3, you must specify cipher suites that are supported by TLSv1.3.
|
["ECDHE-ECDSA-AES128-SHA","ECDHE-RSA-AES128-GCM-SHA256"] |
Examples
Success response
JSON format
{
"RequestId": "A9B4E54C-9CCD-4002-91A9-D38C6C209192",
"TotalCount": 2,
"PageSize": 10,
"PageNumber": 1,
"SecurityPolicies": [
{
"SecurityPolicyId": "tls_cipher_policy_1_1",
"TlsVersions": [
"[\"TLSv1.0\",\"TLSv1.2\"]"
],
"Ciphers": [
"[\"ECDHE-ECDSA-AES128-SHA\",\"ECDHE-RSA-AES128-GCM-SHA256\"]"
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | No permissions. | No permissions. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.