Queries the detailed information about a vServer group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DescribeVServerGroupAttribute |
get |
*loadbalancer
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Classic Load Balancer (CLB) instance. |
cn-hangzhou |
| VServerGroupId |
string |
Yes |
The ID of the vServer group. |
rsp-cige6**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| VServerGroupId |
string |
The ID of the vServer group. |
rsp-cige6**** |
| VServerGroupName |
string |
The name of the vServer group. |
Group1 |
| RequestId |
string |
The request ID. |
9DEC9C28-AB05-4DDF-9A78-6B****** |
| LoadBalancerId |
string |
The ID of the CLB instance. |
lb-jfakd**** |
| BackendServers |
object |
||
| BackendServer |
array<object> |
The backend servers. |
|
|
object |
|||
| Type |
string |
The type of backend server. Valid values:
|
ecs |
| Weight |
integer |
The weight of the backend server. |
100 |
| Description |
string |
The description of the server group. Note
This parameter is not returned if the Description parameter is not specified in the request. |
The description of the server group. |
| ServerIp |
string |
The IP address of the backend server. |
192.XX.XX.11 |
| Port |
integer |
The port that is used by the backend server. |
90 |
| ServerId |
string |
The ID of the backend server. |
vm-233 |
| CreateTime |
string |
The time when the CLB instance was created. The time follows the |
2022-08-31T02:49:05Z |
| Tags |
object |
||
| Tag |
array<object> |
The tags of the backend server. |
|
|
object |
The tags. |
||
| TagKey |
string |
The tag key. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 64 characters in length, and cannot contain |
TestKey |
| TagValue |
string |
The tag value. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length, and cannot contain |
TestValue |
Examples
Success response
JSON format
{
"VServerGroupId": "rsp-cige6****",
"VServerGroupName": "Group1",
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B******",
"LoadBalancerId": "lb-jfakd****",
"BackendServers": {
"BackendServer": [
{
"Type": "ecs",
"Weight": 100,
"Description": "The description of the server group.",
"ServerIp": "192.XX.XX.11",
"Port": 90,
"ServerId": "vm-233"
}
]
},
"CreateTime": "2022-08-31T02:49:05Z",
"Tags": {
"Tag": [
{
"TagKey": "TestKey",
"TagValue": "TestValue"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | LocationServiceTimeout | Location service connection timeout. Please try again later. | |
| 403 | UnauthorizedRegion | The specified region of is not authorized. | The specified region of is not authorized. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.