The API Gateway resource pack feature was launched at 23:59:59 on October 12, 2020. Resource packs are available through free tiers, purchases, and promotional campaigns.
API Gateway supports multiple billing modes. This document describes the resource pack (prepaid) mode. A resource pack is a fixed pack consisting of one or more billable items. After you obtain a resource pack of certain specifications, the resource usage can be deducted from the resource pack during the validity period of the resource pack. Currently, API Gateway resource packs are available through free tiers, purchases, and promotional campaigns.
The following table classifies resource packs by type:
|Resource Pack Type||Description||Deduction and Settlement|
|Call count pack||Deducts call fees||By hour|
|Outbound traffic pack||Deducts public network outbound traffic fees||By hour|
The following table classifies resource packs by source:
|Resource Pack Source||Description|
|Free tier||A resource pack is obtained free of charge after API Gateway is activated and is used to deduct the free tier usage. Unused resources do not accumulate to the next month, and refunds are not supported. For more information, please see Free Tier.|
|Operating campaign||A resource pack is purchased in the operating campaigns of API Gateway at a price lower than that of the postpaid mode. Resources in the resource pack are valid for a long time within the validity period. Refunds are supported if the conditions are met.|
The classification of resource packs by region is as follows:
Only the all regions type is supported. Resource packs are applicable to all public cloud regions in the Chinese mainland and Hong Kong (China) and outside China.
A month in the validity period of a resource pack is equal to 30 days.
Assume that you obtain a call count pack that will be valid for 3 months on October 12, 2020. This resource pack provides 5 million calls and is available in all regions.
From October 15 to October 31, 3 million calls and 10 GB of public network outbound traffic are used in the API Gateway in Guangzhou, and 0.5 million calls and 3 GB of public network outbound traffic are used in the API Gateway in Hong Kong (China). The following table describes the effective scope of this resource pack:
|Generated Billable Item||Whether the Resource Pack Is Effective|
|Fees for 3 million calls in Guangzhou||Yes. The fees for 3 million calls will be deducted from the resource pack|
|Fees for 10 GB of public network outbound traffic in Guangzhou||No. The resource pack cannot be used to deduct fees for public network outbound traffic. The fees will be charged on a pay-as-you-go basis|
|Fees for 0.5 million calls in Hong Kong (China)||Yes. The fees for 0.5 million calls will be deducted from the resource pack|
|Fees for 3 GB of public network outbound traffic in Hong Kong (China)||No. The resource pack cannot be used to deduct fees for public network outbound traffic. The fees will be charged on a pay-as-you-go basis|
API Gateway supports self-service refund for resource packs. You can perform self-service resource termination/return in the API Gateway console. The system will automatically refund your money and terminate/return cloud resources.