Mengambil informasi detail mengenai kelompok vServer.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DescribeVServerGroupAttribute |
get |
*loadbalancer
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah dari instans Classic Load Balancer (CLB). |
cn-hangzhou |
| VServerGroupId |
string |
Yes |
ID kelompok vServer. |
rsp-cige6**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| VServerGroupId |
string |
ID kelompok vServer. |
rsp-cige6**** |
| VServerGroupName |
string |
Nama kelompok vServer. |
Group1 |
| RequestId |
string |
ID permintaan. |
9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C |
| LoadBalancerId |
string |
ID instans CLB. |
lb-jfakd**** |
| BackendServers |
object |
||
| BackendServer |
array<object> |
Server backend. |
|
|
object |
|||
| Type |
string |
Tipe server backend. Nilai yang valid:
|
ecs |
| Weight |
integer |
Bobot server backend. |
100 |
| Description |
string |
Deskripsi kelompok server. Catatan
Parameter ini tidak dikembalikan jika parameter Description tidak ditentukan dalam permintaan. |
Server Group Description |
| ServerIp |
string |
Alamat IP server backend. |
192.XX.XX.11 |
| Port |
integer |
Port yang digunakan oleh server backend. |
90 |
| ServerId |
string |
ID server backend. |
vm-233 |
| CreateTime |
string |
Waktu saat instans CLB dibuat. Waktu mengikuti format |
2022-08-31T02:49:05Z |
| Tags |
object |
||
| Tag |
array<object> |
Tag server backend. |
|
|
object |
Tag. |
||
| TagKey |
string |
Kunci tag. Nilai N yang valid: 1 hingga 20. Kunci tag tidak boleh berupa string kosong. Panjang kunci tag maksimal 64 karakter, dan tidak boleh mengandung |
TestKey |
| TagValue |
string |
Nilai tag. Nilai N yang valid: 1 hingga 20. Nilai tag boleh berupa string kosong. Panjang nilai tag maksimal 128 karakter, dan tidak boleh mengandung |
TestValue |
Contoh
Respons sukses
JSONformat
{
"VServerGroupId": "rsp-cige6****",
"VServerGroupName": "Group1",
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B******",
"LoadBalancerId": "lb-jfakd****",
"BackendServers": {
"BackendServer": [
{
"Type": "ecs",
"Weight": 100,
"Description": "服务器组描述。",
"ServerIp": "192.XX.XX.11",
"Port": 90,
"ServerId": "vm-233"
}
]
},
"CreateTime": "2022-08-31T02:49:05Z",
"Tags": {
"Tag": [
{
"TagKey": "TestKey",
"TagValue": "TestValue"
}
]
}
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.