Domain name for API request: alb.intl.tencentcloudapi.com.
Query the relationship between a security policy and the HTTPS listeners that refer to it. Before deleting or modifying a security policy, it is advisable to call this API to confirm the impact.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeSecurityPolicyRelations. |
| Version | Yes | String | Common Params. The value used for this API: 2025-10-30. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| SecurityPolicyIds.N | Yes | Array of String | Security policy ID list. ID format: tls- followed by 8 alphanumeric characters. |
| Parameter Name | Type | Description |
|---|---|---|
| SecurityPolicyRelations | Array of SecurityPolicyRelations | Listener list associated with a security policy. Return the HTTPS listener information associated with each security policy. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: alb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSecurityPolicyRelations
<Common request parameters>
{
"SecurityPolicyIds": [
"tls-t2ckydug"
]
}
{
"Response": {
"SecurityPolicyRelations": [
{
"SecurityPolicyId": "tls-t2ckydug",
"RelatedListeners": [
{
"LoadBalancerId": "alb-f8q2xk9m",
"ListenerId": "lst-d9p3k7wa",
"ListenerProtocol": "HTTPS",
"ListenerPort": 443
}
]
}
],
"RequestId": "3b848733-70e5-4558-ae39-4b9938eb7609"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| MissingParameter | Parameters are missing. |
| OperationDenied | Operation denied. |
| RegionError | Region error |
| RequestLimitExceeded | Number of requests exceeds the frequency limit. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| UnauthorizedOperation | Unauthorized operation. |
| UnknownParameter | Unknown parameter error. |
| UnsupportedOperation | The operation is not supported. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan