Domain name for API request: gaap.tencentcloudapi.com.
This API (DescribeRuleRealServers) is used to query forwarding rules-related origin server information, including information of origin servers that can be bound and have been bound.
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 parameter. The value used for this API: DescribeRuleRealServers. |
Version | Yes | String | Common parameter. The value used for this API: 2018-05-29. |
Region | No | String | Common parameter. This parameter is not required for this API. |
RuleId | Yes | String | Forwarding rule ID |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Quantity of origin servers that can be bound |
RealServerSet | Array of RealServer | Information list of origin servers that can be bound |
BindRealServerTotalCount | Integer | Quantity of bound origin servers |
BindRealServerSet | Array of BindRealServer | Bound origin server information list |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
Query the origin server information of forwarding rules.
https://gaap.tencentcloudapi.com/?Action=DescribeRuleRealServers
&RuleId=rule-hh5xg2yd
&<Common request parameters>
{
"Response": {
"TotalCount": 2,
"RealServerSet": [
{
"ProjectId": 0,
"RealServerId": "rs-04v3s12c",
"RealServerName": "",
"RealServerIP": "4.4.4.4"
},
{
"ProjectId": 0,
"RealServerId": "rs-04v3s12t",
"RealServerName": "",
"RealServerIP": "119.28.69.101"
}
],
"BindRealServerTotalCount": 2,
"RequestId": "aca97028-559f-4cfb-9c33-3fc2baed13b8",
"BindRealServerSet": [
{
"RealServerStatus": 1,
"RealServerPort": 234,
"RealServerId": "rs-04v3s12c",
"DownIPList": [],
"RealServerWeight": 1,
"RealServerIP": "4.4.4.4"
},
{
"RealServerStatus": 1,
"RealServerPort": 424,
"RealServerId": "rs-10vtt5en",
"DownIPList": [],
"RealServerWeight": 1,
"RealServerIP": "5.5.5.6"
}
]
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
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 |
---|---|
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Incorrect parameter value. |
MissingParameter | Missing parameter. |
ResourceNotFound | The resource does not exist. |
Was this page helpful?