Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Querying the Status Tree of a Load Balancer

Updated on 2022-01-25 GMT+08:00

Function

This API is used to query the status tree of a load balancer. You can use this API to query details about the associated listeners, backend server groups, backend servers, health checks, forwarding policies, and forwarding rules, helping you understand the topology of resources associated with the load balancer.

URI

GET /v2/{project_id}/elb/loadbalancers/{loadbalancer_id}/statuses

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

loadbalancer_id

Yes

String

Specifies the load balancer ID.

Request

None

Response

Table 2 Parameter description

Parameter

Type

Description

statuses

Object

Specifies the status tree of a load balancer. For details, see Table 3.

Table 3 statuses parameter description

Parameter

Type

Description

loadbalancer

Object

Specifies the load balancer. For details, see Table 4.

Table 4 loadbalancer parameter description

Parameter

Type

Description

id

String

Specifies the load balancer ID.

name

String

Specifies the load balancer name.

The value contains a maximum of 255 characters.

listeners

Array

Lists the listeners added to the load balancer. For details of this parameter, see Table 5.

pools

Array

Lists the backend server groups associated with the load balancer. For details of this parameter, see Table 6.

operating_status

String

  • Specifies the operating status of the load balancer.
  • The value can be ONLINE, OFFLINE, DEGRADED, DISABLED, or NO_MONITOR.
  • This parameter is reserved. The default value is ONLINE.
  • The value contains a maximum of 16 characters.

provisioning_status

String

  • Specifies the provisioning status of the load balancer.
  • The value can be ACTIVE, PENDING_CREATE, or ERROR.
  • This parameter is reserved. The default value is ACTIVE.
  • The value contains a maximum of 16 characters.
Table 5 listeners parameter description

Parameter

Type

Description

id

String

Specifies the listener ID.

name

String

Specifies the listener name.

l7policies

Array

Lists associated forwarding policies. For details of this parameter, see Table 9.

pools

Array

Lists the backend server groups associated with the listener. For details of this parameter, see Table 6.

operating_status

String

  • Specifies the operating status of the listener.
  • The value can be ONLINE, OFFLINE, DEGRADED, DISABLED, or NO_MONITOR.
  • This parameter is reserved. The default value is ONLINE.

provisioning_status

String

  • Specifies the provisioning status of the listener.
  • The value can be ACTIVE, PENDING_CREATE, or ERROR.
  • This parameter is reserved. The default value is ACTIVE.
Table 6 pools parameter description

Parameter

Type

Description

id

String

Specifies the ID of the backend server group.

name

String

Specifies the name of the backend server group.

healthmonitor

Object

Provides health check details of the backend server group. For details of this parameter, see Table 7.

members

Array

Lists the members contained in the backend server group. For details of this parameter, see Table 8.

operating_status

String

  • Specifies the operating status of the backend server group.
  • The value can be ONLINE, OFFLINE, DEGRADED, DISABLED, or NO_MONITOR.
  • This parameter is reserved. The default value is ONLINE.

provisioning_status

String

  • Specifies the provisioning status of the backend server group.
  • The value can be ACTIVE, PENDING_CREATE, or ERROR.
  • This parameter is reserved. The default value is ACTIVE.
Table 7 healthmonitor parameter description

Parameter

Type

Description

id

String

Specifies the health check ID.

name

String

Specifies the health check name.

type

String

  • Specifies the health check protocol.
  • The value can be UDP_CONNECT, TCP, or HTTP.

provisioning_status

String

  • Specifies the provisioning status of the health check.
  • The value can be ACTIVE, PENDING_CREATE, or ERROR.
  • This parameter is reserved. The default value is ACTIVE.
Table 8 members parameter description

Parameter

Type

Description

id

String

Specifies the backend server ID.

address

String

Specifies the private IP address of the backend server,

for example, 192.168.3.11.

protocol_port

Integer

  • Specifies the port used by the backend server.
  • The port number ranges from 0 to 65535.

operating_status

String

  • Specifies the health check result of the backend server.
  • The value can be ONLINE, OFFLINE, DEGRADED, DISABLED, or NO_MONITOR. ONLINE: The backend server is healthy. OFFLINE: The backend server is unhealthy. DISABLED: The backend server does not exist. NO_MONITOR: The health check is disabled.

provisioning_status

String

  • Specifies the provisioning status of the backend server.
  • The value can be ACTIVE, PENDING_CREATE, or ERROR.
  • This parameter is reserved. The default value is ACTIVE.
Table 9 l7policies parameter description

Parameter

Type

Description

id

String

Specifies the forwarding policy ID.

name

String

Specifies the forwarding policy name.

rules

Array

Lists the forwarding rules of the forwarding policy. For details of this parameter, see Table 10.

action

String

  • Specifies whether requests are forwarded to another backend server group or redirected to another HTTPS listener.
  • The value can be REDIRECT_TO_POOL or REDIRECT_TO_LISTENER. REDIRECT_TO_POOL: Requests are forwarded to another backend server group. REDIRECT_TO_LISTENER: Requests are redirected to an HTTPS listener.

provisioning_status

String

  • Specifies the provisioning status of the forwarding policy.
  • The value can be ACTIVE, PENDING_CREATE, or ERROR.
  • This parameter is reserved. The default value is ACTIVE.
Table 10 rules parameter description

Parameter

Type

Description

id

String

Specifies the forwarding rule ID.

type

String

  • Specifies the match type of a forwarding rule.
  • The value can be PATH or HOST_NAME. PATH: matches the path in the request. HOST_NAME: matches the domain name in the request.

provisioning_status

String

  • Specifies the provisioning status of the forwarding rule.
  • The value can be ACTIVE, PENDING_CREATE, or ERROR.
  • This parameter is reserved. The default value is ACTIVE.

Example Request

  • Example request
    GET https://{Endpoint}/v2/145483a5107745e9b3d80f956713e6a3/elb/loadbalancers/38278031-cfca-44be-81be-a412f618773b/statuses

Example Response

  • Example response
    {
        "statuses": {
            "loadbalancer": {
                "name": "lb-jy",
                "provisioning_status": "ACTIVE",
                "listeners": [
                    {
                        "name": "listener-jy-1",
                        "provisioning_status": "ACTIVE",
                        "pools": [
                            {
                                "name": "pool-jy-1",
                                "provisioning_status": "ACTIVE",
                                "healthmonitor": {
                                    "type": "TCP",
                                    "id": "7422b51a-0ed2-4702-9429-4f88349276c6",
                                    "name": "",
                                    "provisioning_status": "ACTIVE"
                                },
                                "members": [
                                    {
                                        "protocol_port": 80,
                                        "address": "192.168.44.11",
                                        "id": "7bbf7151-0dce-4087-b316-06c7fa17b894",
                                        "operating_status": "ONLINE",
                                        "provisioning_status": "ACTIVE"
                                    }
                                ],
                                "id": "c54b3286-2349-4c5c-ade1-e6bb0b26ad18",
                                "operating_status": "ONLINE"
                            }
                        ],
                        "l7policies": [],
                        "id": "eb84c5b4-9bc5-4bee-939d-3900fb05dc7b",
                        "operating_status": "ONLINE"
                    }
                ],
                "pools": [
                    {
                        "name": "pool-jy-1",
                        "provisioning_status": "ACTIVE",
                        "healthmonitor": {
                            "type": "TCP",
                            "id": "7422b51a-0ed2-4702-9429-4f88349276c6",
                            "name": "",
                            "provisioning_status": "ACTIVE"
                        },
                        "members": [
                            {
                                "protocol_port": 80,
                                "address": "192.168.44.11",
                                "id": "7bbf7151-0dce-4087-b316-06c7fa17b894",
                                "operating_status": "ONLINE",
                                "provisioning_status": "ACTIVE"
                            }
                        ],
                        "id": "c54b3286-2349-4c5c-ade1-e6bb0b26ad18",
                        "operating_status": "ONLINE"
                    }
                ],
                "id": "38278031-cfca-44be-81be-a412f618773b",
                "operating_status": "ONLINE"
            }
        }
    }

Status Code

For details, see HTTP Status Codes of Load Balancers.

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback