หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา

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 Quota Usage

Function

This API is used to query the current quotas and used quotas of resources related to a load balancer in a specific project.

Calling Method

For details, see Calling APIs.

URI

GET /v3/{project_id}/elb/quotas/details

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

quota_key

No

Array of strings

Specifies the resource type. The value can be loadbalancer, listener, ipgroup, pool, member, healthmonitor, l7policy, certificate, security_policy, listeners_per_loadbalancer, listeners_per_pool, members_per_pool, condition_per_policy, ipgroup_bindings, ipgroup_max_length, ipgroups_per_listener, pools_per_l7policy, or l7policies_per_listener.

Multiple values can be queried in the format of quota_key=xxx&quota_key=xxx.

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the token used for IAM authentication.

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

request_id

String

Specifies the request ID.

Note: The value is automatically generated.

quotas

Array of QuotaInfo objects

Specifies the resource quotas.

Table 5 QuotaInfo

Parameter

Type

Description

quota_key

String

Specifies the resource type. The value can be loadbalancer, listener, ipgroup, pool, member, healthmonitor, l7policy, certificate, security_policy, listeners_per_loadbalancer, listeners_per_pool, members_per_pool, condition_per_policy, ipgroup_bindings, ipgroup_max_length, ipgroups_per_listener, pools_per_l7policy, or l7policies_per_listener.

quota_limit

Integer

Specifies the total quota.

Value options:

  • If the value is greater than or equal to 0, it indicates the current quota.

  • -1 indicates that the quota is not limited.

used

Integer

Specifies the used quota.

unit

String

Specifies the quota unit.

The value can only be count.

Example Requests

Querying the quota of a specific ELB resource type

https://{ELB_Endpoint}/v3/06b9dc6cbf80d5952f18c0181a2f4654/elb/quotas/details?quota_key=members_per_pool&quota_key=loadbalancer

Example Responses

Status code: 200

Successful request.

{
  "request_id" : "a396ad8e282d69d1afec6d437fe93c2d",
  "quotas" : [ {
    "quota_key" : "members_per_pool",
    "used" : 992,
    "quota_limit" : 1000,
    "unit" : "count"
  }, {
    "quota_key" : "security_policy",
    "used" : 11,
    "quota_limit" : 50,
    "unit" : "count"
  }, {
    "quota_key" : "ipgroup_max_length",
    "used" : 3,
    "quota_limit" : 300,
    "unit" : "count"
  }, {
    "quota_key" : "listener",
    "used" : 803,
    "quota_limit" : 1500,
    "unit" : "count"
  }, {
    "quota_key" : "pool",
    "used" : 1009,
    "quota_limit" : 5000,
    "unit" : "count"
  }, {
    "quota_key" : "certificate",
    "used" : 608,
    "quota_limit" : -1,
    "unit" : "count"
  }, {
    "quota_key" : "loadbalancer",
    "used" : 752,
    "quota_limit" : 100000,
    "unit" : "count"
  }, {
    "quota_key" : "ipgroup",
    "used" : 11,
    "quota_limit" : 1000,
    "unit" : "count"
  }, {
    "quota_key" : "ipgroup_bindings",
    "used" : 2,
    "quota_limit" : 50,
    "unit" : "count"
  }, {
    "quota_key" : "member",
    "used" : 3022,
    "quota_limit" : 10000,
    "unit" : "count"
  }, {
    "quota_key" : "listeners_per_loadbalancer",
    "used" : 0,
    "quota_limit" : 50,
    "unit" : "count"
  }, {
    "quota_key" : "l7policy",
    "used" : 148,
    "quota_limit" : 2000,
    "unit" : "count"
  }, {
    "quota_key" : "healthmonitor",
    "used" : 762,
    "quota_limit" : -1,
    "unit" : "count"
  }, {
    "quota_key" : "ipgroups_per_listener",
    "used" : 5,
    "quota_limit" : 10,
    "unit" : "count"
  }, {
    "quota_key" : "pools_per_l7policy",
    "used" : 5,
    "quota_limit" : 100,
    "unit" : "count"
  }, {
    "quota_key" : "l7policies_per_listener",
    "used" : 5,
    "quota_limit" : 100,
    "unit" : "count"
  } ]
}

Status Codes

Status Code

Description

200

Successful request.

Error Codes

See Error Codes.

เราใช้คุกกี้เพื่อปรับปรุงไซต์และประสบการณ์การใช้ของคุณ การเรียกดูเว็บไซต์ของเราต่อแสดงว่าคุณยอมรับนโยบายคุกกี้ของเรา เรียนรู้เพิ่มเติม

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback