检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Key Operations Recorded by CTS APIG operations that can be recorded by CTS Viewing CTS Traces in the Trace List Parent topic: Shared Gateway (for Existing Users)
Gateway Response Displayed if APIG fails to process an API request. APIG provides a set of default responses and also allows you to create gateway responses with custom status codes and content, on the API Groups page. The response content must be in JSON format.
Publishing an API Access the shared gateway console. In the navigation pane, choose API Publishing > APIs. Publish an API. You can use one of the following methods: Click Publish in the row containing the API you want to publish.
Procedure Access the shared gateway console. In the navigation pane, choose API Publishing > APIs. Debug an API. You can use one of the following methods: In the Operation column of the API you want to debug, choose More > Debug.
Procedure Access the shared gateway console. In the navigation pane, choose API Publishing > APIs. Delete the API. You can use one of the following methods: In the Operation column of the API you want to delete, choose More > Delete.
Procedure Access the shared gateway console. In the navigation pane, choose API Publishing > Environments. In the Operation column of the environment you want to delete, click Delete. You can delete an environment only if no APIs have been published in the environment.
Procedure Access the shared gateway console. In the navigation pane, choose API Calling > Apps. Delete an app. You can use one of the following methods: In the Operation column of the app you want to delete, click Delete.
Procedure Access the shared gateway console. In the navigation pane, choose API Publishing > APIs. Click the name of the target API. On the Dashboard tab page, click View Metric to access the Cloud Eye console. Then create an alarm rule. For details, see Creating an Alarm Rule.
Procedure Access the shared gateway console. In the navigation pane, choose API Publishing > APIs. Click Import API. Set the parameters listed in Table 1.
Procedure Access the shared gateway console. Click Export API. Set the parameters listed in Table 1. Figure 1 Exporting APIs Table 1 Parameters for exporting APIs Parameter Description API Group Select the API group from which APIs will be exported.
Restrictions VPC 1, VPC 2, and the VPC CIDR block of your gateway cannot overlap. For details about the VPC CIDR block planning of the gateway, see Table 2. Parent topic: Exposing Backend Services Across VPCs Using a Dedicated Gateway
Parent topic: Routing gRPC Service Requests Using a Dedicated Gateway
Gateway Response Select a response to be displayed if the gateway fails to process an API request. The default gateway response is default. Matching Select Prefix match. Authentication Mode API authentication mode. Select None. (None: Not recommended for actual services.
Configuring One-Way or Two-Way Authentication Between the Dedicated Gateway and Client Scenario If the API frontend supports HTTPS, you need to add an SSL certificate for the independent domain name bound to the API group.
Parent topic: Calling Different Backend Services Using a Dedicated Gateway
Gateway Response Select a response to be displayed if the gateway fails to process an API request. The default gateway response is default. Authentication Mode API authentication mode. Select Custom. Custom Authorizer Select the custom authorizer created in Prerequisites.
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.
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.
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. env_id Yes String Environment 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.