检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
For example, the resource-path of the API used to create an API group (dedicated gateway) is /v2/{project_id}/apigw/instances/{instance_id}/api-groups. {project_id} indicates a project ID and {instance_id} indicates a gateway ID.
None Operation Guide Exposing an API 04:21 How to expose an API Configuring a Request Throttling Policy 01:30 How to Configure a Request Throttling Policy Calling an API (Signature Authentication) 01:59 How to Call an API (Signature Authentication) Calling an API (Simple Authentication
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > API Policies. On the SSL Certificates tab, click Create SSL Certificate. Configure the certificate according to the following table.
Table 1 Supported actions Permission API Action Dependencies IAM Project Enterprise Project Creating a dedicated gateway POST /v2/{project_id}/apigw/instances apig:instances:create - √ √ Deleting a dedicated gateway DELETE /v2/{project_id}/apigw/instances/{instance_id} apig:instances
If your gateway does not support this policy, submit a service ticket to upgrade the gateway to the latest version.
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > API Groups. Click a group name and click Export. Or choose API Management > APIs, and click Export APIs. Set the parameters according to the following table.
Select a gateway at the top of the navigation pane. In the navigation pane, choose API Management > Credentials. Click the name of the target credential. In the Credential Quota Policies area, click Bind. Specify the policy type. Existing policy: Select a policy.
Gateway Response Select a response to be displayed if the gateway fails to process an API request. Default: default. Matching Select Prefix match. Authentication Mode API authentication mode. Select None. (None: Not recommended for actual services.
To change this limit of dedicated gateways, go to the Gateway Information page, click the Parameters tab, and modify the ratelimit_api_limits parameter. Parent topic: Calling APIs
If your gateway does not support request throttling 2.0, contact technical support. Parent topic: Using Request Throttling 2.0 for Fine-grained Request Throttling
Select a dedicated gateway at the top of the navigation pane. Choose API Management > API Groups. Click a group name to go to the Group Information page. On the APIs tab, select the target API and click Publish Latest Version.
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > Credentials. Click the name of the target credential. Under AppCodes, click Add AppCode. Configure the AppCode in the dialog box based on the following table.
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > API Policies. Click the Orchestration Rules tab. Click Create Rule and configure the parameters based on the following table.
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > API Policies. On the Policies tab, click Create Policy. On the Select Policy Type page, select Request Throttling in the Traditional Policy area.
If the gateway supports the authorizer_context_support_num_bool feature, the key value can be a number or a Boolean value. The context field contains custom user data. After successful authentication, the user data is mapped to the backend parameters.
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > API Policies. On the Policies tab, click Create Policy. On the Select Policy Type page, select Signature Key in the Traditional Policy area.
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > Credentials. Click Create Credential and configure parameters based on the following table.
It can be key-value pairs, but the key value cannot be a JSON object or an array.If the gateway supports the authorizer_context_support_num_bool feature, the key value can be a number or a Boolean value. The context field contains custom user data.
Users with this permission can use all functions of the dedicated gateways, and shared gateway on the old console.
Select a dedicated gateway at the top of the navigation pane. In the navigation pane, choose API Management > API Policies. On the Policies tab, click Create Policy. On the Select Policy Type page, select Access Control in the Traditional Policy area.