Mengkueri detail instans Gateway Load Balancer (GWLB).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gwlb:GetLoadBalancerAttribute |
get |
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| LoadBalancerId |
string |
Yes |
ID instans GWLB. |
gwlb-9njtjmqt7zfcqm**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| AddressIpVersion |
string |
The protocol version. Valid values:
|
IPv4 |
| CreateTime |
string |
The time when the resource was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2024-07-08T10:12:58Z |
| LoadBalancerBusinessStatus |
string |
The business status of the GWLB instance. Valid values:
|
Normal |
| LoadBalancerId |
string |
The GWLB instance ID. |
gwlb-9njtjmqt7zfcqm**** |
| LoadBalancerName |
string |
The GWLB instance name. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter. |
gwlb |
| LoadBalancerStatus |
string |
The GWLB instance status. Valid values:
|
Active |
| RequestId |
string |
The request ID. |
B6DC5DDC-9560-59BF-80FA-ED1E5CB417DF |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmx7pmxcy**** |
| Tags |
array<object> |
The tags. |
|
|
object |
The information about the tag. |
||
| Key |
string |
The tag key. The tag key cannot be an empty string. The tag key can be up to 128 characters in length. The tag key cannot start with |
testTagKey |
| Value |
string |
The tag value. The tag value can be up to 256 characters in length and cannot contain |
testTagValue |
| VpcId |
string |
The VPC ID. |
vpc-k1aajsbwbaq4todet**** |
| ZoneMappings |
array<object> |
The mappings between zones and vSwitches. You must specify at least one zone. You can specify at most 20 zones. If the region supports two or more zones, specify at least two zones. |
|
|
array<object> |
The information about the zones and vSwitches. |
||
| LoadBalancerAddresses |
array<object> |
The GWLB instance addresses. |
|
|
object |
The details about the GWLB instance addresses. |
||
| EniId |
string |
The ID of the elastic network interface (ENI) used by the GWLB instance. |
eni-bp1iahwz3rzgvltz**** |
| PrivateIpv4Address |
string |
The private IPv4 address. |
192.168.XX.XX |
| VSwitchId |
string |
The vSwitch in the zone. You can specify only one vSwitch (subnet) in each zone of a GWLB instance. |
vsw-uf6v8l7d2f1k53xrl**** |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-j |
| TrafficMode |
string |
Traffic processing mode. Valid values:
|
LoadBalance |
Contoh
Respons sukses
JSONformat
{
"AddressIpVersion": "IPv4",
"CreateTime": "2024-07-08T10:12:58Z",
"LoadBalancerBusinessStatus": "Normal",
"LoadBalancerId": "gwlb-9njtjmqt7zfcqm****",
"LoadBalancerName": "gwlb",
"LoadBalancerStatus": "Active",
"RequestId": "B6DC5DDC-9560-59BF-80FA-ED1E5CB417DF",
"ResourceGroupId": "rg-acfmx7pmxcy****",
"Tags": [
{
"Key": "testTagKey",
"Value": "testTagValue"
}
],
"VpcId": "vpc-k1aajsbwbaq4todet****",
"ZoneMappings": [
{
"LoadBalancerAddresses": [
{
"EniId": "eni-bp1iahwz3rzgvltz****",
"PrivateIpv4Address": "192.168.XX.XX"
}
],
"VSwitchId": "vsw-uf6v8l7d2f1k53xrl****",
"ZoneId": "cn-hangzhou-j"
}
],
"TrafficMode": "LoadBalance"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.LoadBalancer | The specified resource of %s is not found. | |
| 400 | MissingParam.LoadBalancerId | The param of LoadBalancerId is missing. | Load balancing ID parameter missing |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.