检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Exposing Backend Services Across VPCs Using a Dedicated Gateway Introduction Resource Planning General Procedure Implementation Procedure Parent topic: API Openness
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console.
Creating an Access Control Policy Function This API is used to create an access control policy to allow or deny API access from certain IP addresses or domains. The acl_value value of a domain is a tenant name rather than a domain name (such as www.exampleDomain.com). URI The following
Modifying an Access Control Policy Function This API is used to modify a specified access control policy. Only attributes acl_name, acl_type, and acl_value can be modified. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method
Deleting an Access Control Policy Function This API is used to delete a specified access control policy. Access control policies bound to APIs cannot be deleted. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI
Querying the List of Purchased APIs Function This API is used to query the list of purchased APIs. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI Request Method URI GET /v1.0/apigw/purchases/apis[?page_size
Deleting a Certificate Bound to a Domain Name Function This API is used to delete a certificate that is no longer needed or has expired. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI Request Method URI DELETE
Querying the List of APIs Not Bound to an App Function This API is used to query the list of self-developed APIs that have not been bound to an app in a specified environment. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request
Querying the List of APIs Bound to an App Function This API is used to query the list of APIs that have been bound to a specified app. Only APIs that an app has been authorized to access in an environment can be queried. URI The following table lists the HTTP/HTTPS request method
Querying the List of Apps Bound to an API Function This API is used to query the list of apps that have been bound to a specified API. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI Request Method URI GET /
Creating a Request Throttling Policy Function After an API goes online, the system attaches a request throttling policy to it by default. The API provider can change the request throttling policy based on the service capabilities and load of the API. A request throttling policy restricts
Modifying a Request Throttling Policy Function This API is used to modify the detailed information of a request throttling policy. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI Request Method URI PUT /v1.0
Deleting a Request Throttling Policy Function This API is used to delete a request throttling policy and all binding relationships between the policy and APIs. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI
Binding a Request Throttling Policy Function The request throttling policy bound to an API will control all access to the API. If the number of API calls within a specified period reaches the limit, subsequent access will be rejected, protecting the backend API from abnormal traffic
Unbinding a Request Throttling Policy Function This API is used to unbind a request throttling policy from an API. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI Request Method URI DELETE /v1.0/apigw/throttle-bindings
Viewing CTS Traces in the Trace List Scenarios After you enable Cloud Trace Service (CTS) and the management tracker is created, CTS starts recording operations on cloud resources. After a data tracker is created, CTS starts recording operations on data in Object Storage Service (
APIG operations that can be recorded by CTS Enabling CTS If you want to collect, record, or query operation logs for APIG in common scenarios such as security analysis, audit, and problem locating, enable Cloud Trace Service (CTS). CTS provides the following functions: Recording audit
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. acl_bindings_id Yes String Binding record ID.
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. throttle_binding_id Yes String ID of a request throttling policy binding record.
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. Table 2 Query Parameters Parameter Mandatory Type Description action Yes String The value must be delete.