diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/quotas/2020-05-10 | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/quotas/2020-05-10')
| -rw-r--r-- | data/en_us/quotas/2020-05-10/api-docs.php | 6145 |
1 files changed, 6145 insertions, 0 deletions
diff --git a/data/en_us/quotas/2020-05-10/api-docs.php b/data/en_us/quotas/2020-05-10/api-docs.php new file mode 100644 index 0000000..5123a10 --- /dev/null +++ b/data/en_us/quotas/2020-05-10/api-docs.php @@ -0,0 +1,6145 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'quotas', + 'version' => '2020-05-10', + ], + 'directories' => [ + [ + 'id' => 277504, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetProductQuota', + 'GetProductQuotaDimension', + 'ListProductDimensionGroups', + 'ListProductQuotaDimensions', + 'ListProductQuotas', + 'ListProducts', + 'ListDependentQuotas', + ], + ], + [ + 'id' => 277512, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateQuotaAlarm', + 'DeleteQuotaAlarm', + 'UpdateQuotaAlarm', + 'ListQuotaAlarms', + 'GetQuotaAlarm', + 'ListAlarmHistories', + ], + ], + [ + 'id' => 277519, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateQuotaApplication', + 'GetQuotaApplication', + 'ListQuotaApplications', + 'GetQuotaApplicationApproval', + 'RemindQuotaApplicationApproval', + ], + ], + [ + 'id' => 277525, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetQuotaTemplateServiceStatus', + 'ModifyQuotaTemplateServiceStatus', + 'CreateTemplateQuotaItem', + 'ModifyTemplateQuotaItem', + 'ListQuotaApplicationTemplates', + 'DeleteTemplateQuotaItem', + 'CreateQuotaApplicationsForTemplate', + 'ListQuotaApplicationsDetailForTemplate', + 'ListQuotaApplicationsForTemplate', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetProductQuota' => [ + 'summary' => 'Queries the details of a quota of a cloud service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440555~~) operation and check the value of `ProductCode` in the response.'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'ecs', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n" + ."\n" + .'> To query a quota ID of an Alibaba Cloud service, call the [ListProductQuotas](~~440554~~) operation and check the value of `QuotaActionCode` in the response.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'q_security-groups', + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> This parameter is required for cloud services that support dimensions. You must specify both `Dimensions.N.Key` and `Dimensions.N.Value`. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. The following cloud services support dimensions: ECS whose service code is ecs, Enterprise Distributed Application Service (EDAS) whose service code is edas, ECS Quotas by Instance Type whose service code is ecs-spec, and Auto Scaling whose service code is ess.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> This parameter is required for cloud services that support dimensions. You must specify both `Dimensions.N.Key` and `Dimensions.N.Value`. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. The following cloud services support dimensions: ECS whose service code is ecs, EDAS whose service code is edas, ECS Quotas by Instance Type whose service code is ecs-spec, and Auto Scaling whose service code is ess.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'example' => '{\\"regionId\\":\\"cn-beijing\\"}', + 'maxItems' => 10, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Quota' => [ + 'description' => 'The details of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'Adjustable' => [ + 'description' => 'Indicates whether the quota is adjustable. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'ApplicableRange' => [ + 'description' => 'The range of the quota value that can be requested for the quota item.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The range of the quota value that can be requested for the quota item. Example: `[802,10000]`.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '802', + ], + ], + 'ApplicableType' => [ + 'description' => 'The type of the adjustable value. Valid values:'."\n" + ."\n" + .'* continuous'."\n" + .'* discontinuous'."\n", + 'type' => 'string', + 'example' => 'continuous', + ], + 'ApplyReasonTips' => [ + 'description' => 'The reason for submitting a quota increase request.'."\n", + 'type' => 'string', + 'example' => 'The business xxx is expected to grow by 50%.'."\n", + ], + 'Consumable' => [ + 'description' => 'Indicates whether the system shows the used value of the quota. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Dimensions' => [ + 'description' => 'The quota dimensions. Format: `{"regionId":"Region"}`.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'EffectiveTime' => [ + 'description' => 'The start time of the validity period of the quota. Specify the value in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-28T06:06:00Z', + ], + 'ExpireTime' => [ + 'description' => 'The end time of the validity period of the quota. Specify the value in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-29T06:06:00Z', + ], + 'GlobalQuota' => [ + 'description' => 'Indicates whether the quota is a global quota. Valid values:'."\n" + ."\n" + .'* true: The quota is shared in all regions.'."\n" + .'* false: The quota is independently used in a region.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Period' => [ + 'description' => 'The calculation cycle of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'PeriodUnit' => [ + 'description' => 'The unit of the calculation cycle of the quota. Valid values:'."\n" + ."\n" + .'* second'."\n" + .'* minute'."\n" + .'* hour'."\n" + .'* day'."\n" + .'* week'."\n", + 'type' => 'string', + 'example' => 'Day', + ], + 'PeriodValue' => [ + 'description' => 'The value of the calculation cycle of the quota.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'QuotaActionCode' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'example' => 'q_security-groups', + ], + 'QuotaArn' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the quota.'."\n", + 'type' => 'string', + 'example' => 'acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/', + ], + 'QuotaCategory' => [ + 'description' => 'The type of the quota. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: whitelist quota'."\n", + 'type' => 'string', + 'example' => 'CommonQuota', + ], + 'QuotaDescription' => [ + 'description' => 'The description of the quota.'."\n", + 'type' => 'string', + 'example' => 'The maximum number of security groups that can be owned by the current account'."\n", + ], + 'QuotaItems' => [ + 'description' => 'The details of the quota.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The category of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'Quota' => [ + 'description' => 'The value of the quota.'."\n", + 'type' => 'string', + 'example' => '801', + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the quota.'."\n" + ."\n" + .'> The unit of each quota is unique. For example, the quota whose ID is `q_cbdch3` represents the maximum number of ACK clusters. The unit of this quota is clusters. The quota whose ID is `q_security-groups` represents the maximum number of security groups. The unit of this quota is security groups.'."\n", + 'type' => 'string', + 'example' => 'Count'."\n", + ], + 'Type' => [ + 'description' => 'The category of the quota. Valid values:'."\n" + ."\n" + .'* BaseQuota: base quota.'."\n" + .'* ReservedQuota: reserved quota.'."\n", + 'type' => 'string', + 'example' => 'BaseQuota', + ], + 'Usage' => [ + 'description' => 'The used quota.'."\n", + 'type' => 'string', + 'example' => '26', + ], + ], + ], + ], + 'QuotaName' => [ + 'description' => 'The name of the quota.'."\n", + 'type' => 'string', + 'example' => 'Maximum Number of Security Groups'."\n", + ], + 'QuotaType' => [ + 'description' => 'The type of the quota. Valid values:'."\n" + ."\n" + .'* privilege'."\n" + .'* normal'."\n", + 'type' => 'string', + 'example' => 'normal', + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the quota.'."\n" + ."\n" + .'> The unit of each quota is unique. For example, the quota whose ID is `q_cbdch3` represents the maximum number of Container Service for Kubernetes (ACK) clusters. The unit of this quota is clusters. The quota whose ID is `q_security-groups` represents the maximum number of security groups. The unit of this quota is security groups.'."\n", + 'type' => 'string', + 'example' => 'Count'."\n", + ], + 'SupportedRange' => [ + 'description' => 'The range of the quota value.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The range of the quota value that can be requested for the current quota item. When you configure a quota template, you can use the range as a reference.'."\n" + ."\n" + .'* If the value of the ApplicableType parameter is continuous and the value of the ApplicableRange parameter is \\[802,1000], the quota value ranges from 802 to 1,000.'."\n" + .'* If the value of the ApplicableType parameter is discontinuous and the value of the ApplicableRange parameter is \\[10,20,50,100], the quota value is 10, 20, 50, or 100.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '[802,1000]', + ], + ], + 'TotalQuota' => [ + 'description' => 'The value of the quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '801', + ], + 'TotalUsage' => [ + 'description' => 'The used quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '26', + ], + 'UnadjustableDetail' => [ + 'description' => 'The reason why the quota is not adjustable. Valid values:'."\n" + ."\n" + .'* nonactivated: The service is not activated.'."\n" + .'* applicationProcess: The application is being processed.'."\n" + .'* limitReached: The quota limit is reached.'."\n" + .'* supportTicketRequired: The quota can be increased only by submitting a ticket.'."\n", + 'type' => 'string', + 'example' => 'limitReached', + ], + 'UsageMetric' => [ + 'description' => 'The monitoring information of the quota in CloudMonitor.'."\n" + ."\n" + .'> If this parameter is empty, no monitoring data of the quota exists in CloudMonitor.'."\n", + 'type' => 'object', + 'properties' => [ + 'MetricDimensions' => [ + 'description' => 'The monitoring dimensions.'."\n" + ."\n" + .'The value is a collection of `key:value` pairs. Example: `{"productCode":"***","metricKey":"***","regionId":"***","label":"***"}`.'."\n", + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'The value of the monitoring dimension.'."\n", + 'example' => 'ecs', + ], + ], + 'MetricName' => [ + 'description' => 'The monitoring metric.'."\n", + 'type' => 'string', + 'example' => 'Usage', + ], + 'MetricNamespace' => [ + 'description' => 'The monitoring namespace.'."\n", + 'type' => 'string', + 'example' => 'acs_quotas_flowcontrol', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Quota\\": {\\n \\"Adjustable\\": true,\\n \\"ApplicableRange\\": [\\n 802\\n ],\\n \\"ApplicableType\\": \\"continuous\\",\\n \\"ApplyReasonTips\\": \\"The business xxx is expected to grow by 50%.\\",\\n \\"Consumable\\": true,\\n \\"Dimensions\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"EffectiveTime\\": \\"2022-09-28T06:06:00Z\\",\\n \\"ExpireTime\\": \\"2022-09-29T06:06:00Z\\",\\n \\"GlobalQuota\\": true,\\n \\"Period\\": {\\n \\"PeriodUnit\\": \\"day\\",\\n \\"PeriodValue\\": 1\\n },\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"q_security-groups\\",\\n \\"QuotaArn\\": \\"acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/\\",\\n \\"QuotaCategory\\": \\"CommonQuota\\",\\n \\"QuotaDescription\\": \\"The maximum number of security groups that can be owned by the current account.\\",\\n \\"QuotaItems\\": [\\n {\\n \\"Quota\\": \\"801\\",\\n \\"QuotaUnit\\": \\"Count\\",\\n \\"Type\\": \\"BaseQuota\\",\\n \\"Usage\\": \\"26\\"\\n }\\n ],\\n \\"QuotaName\\": \\"Maximum Number of Security Groups\\",\\n \\"QuotaType\\": \\"normal\\",\\n \\"QuotaUnit\\": \\"Count\\",\\n \\"SupportedRange\\": [\\n 0\\n ],\\n \\"TotalQuota\\": 801,\\n \\"TotalUsage\\": 26,\\n \\"UnadjustableDetail\\": \\"limitReached\\",\\n \\"UsageMetric\\": {\\n \\"MetricDimensions\\": {\\n \\"key\\": \\"ecs\\"\\n },\\n \\"MetricName\\": \\"Usage\\",\\n \\"MetricNamespace\\": \\"acs_quotas_flowcontrol\\"\\n }\\n },\\n \\"RequestId\\": \\"8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3\\"\\n}","errorExample":""},{"type":"xml","example":"<GetProductQuotaResponse>\\r\\n\\t<RequestId>8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3</RequestId>\\r\\n\\t<Quota>\\r\\n\\t\\t<QuotaDescription>当前账户可拥有的安全组的最大数量</QuotaDescription>\\r\\n\\t\\t<Consumable>true</Consumable>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<TotalUsage>26</TotalUsage>\\r\\n\\t\\t<Dimensions>\\r\\n\\t\\t\\t<regionId>cn-hangzhou</regionId>\\r\\n\\t\\t</Dimensions>\\r\\n\\t\\t<Adjustable>true</Adjustable>\\r\\n\\t\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\r\\n\\t\\t<QuotaName>安全组总数量上限</QuotaName>\\r\\n\\t\\t<QuotaArn>acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/</QuotaArn>\\r\\n\\t\\t<TotalQuota>801</TotalQuota>\\r\\n\\t\\t<ApplicableType>continuous</ApplicableType>\\r\\n\\t\\t<ApplicableRange>802</ApplicableRange>\\r\\n\\t\\t<ApplicableRange>10000</ApplicableRange>\\r\\n\\t</Quota>\\r\\n</GetProductQuotaResponse>\\t","errorExample":""}]', + 'title' => 'GetProductQuota', + 'description' => 'In this example, the operation is called to query the details of a quota whose ID is `q_security-groups` and whose name is Maximum Number of Security Groups. This quota belongs to Elastic Compute Service (ECS). The query result shows the details of the quota. The details include the name, ID, description, quota value, used quota, unit, and dimension of the quota. In this example, the quota name is `Maximum Number of Security Groups`. The quota ID is `q_security-groups`. The description is `The maximum number of security groups that can be created for the current account`. The quota value is `801`. The used quota is `26`. The quota unit is `Number of security groups`. The quota dimension is `{"regionId":"cn-hangzhou"}`.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetProductQuotaDimension' => [ + 'summary' => 'Queries the details of a quota dimension that is supported by an Alibaba Cloud service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasF0DSPH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> For more information, see [Alibaba Cloud services that support Quota Center](~~182368~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ecs-spec', + ], + ], + [ + 'name' => 'DimensionKey', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The key of the quota dimension.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + ], + [ + 'name' => 'DependentDimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The information about quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the quota dimension on which the quota dimension that you want to query is dependent.'."\n" + ."\n" + .'> The value range of N varies based on the number of quota dimensions that are supported by the specified Alibaba Cloud service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the quota dimension on which the quota dimension that you want to query is dependent.'."\n" + ."\n" + .'> The value range of N varies based on the number of quota dimensions that are supported by the specified Alibaba Cloud service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The details of the quota dimension supported by the Alibaba Cloud service.'."\n", + 'type' => 'object', + 'properties' => [ + 'QuotaDimension' => [ + 'description' => 'The details of the quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'DependentDimensions' => [ + 'description' => 'The quota dimensions on which the quota dimension that you want to query is dependent.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimensions on which the quota dimension that you want to query is dependent.'."\n", + 'type' => 'string', + 'example' => 'regionId', + ], + ], + 'DimensionKey' => [ + 'description' => 'The key of the quota dimension. Valid values:'."\n" + ."\n" + .'* regionId: the region ID.'."\n" + .'* zoneId: the zone ID.'."\n" + .'* chargeType: the billing method.'."\n" + .'* networkType: the network type.'."\n", + 'type' => 'string', + 'example' => 'regionId', + ], + 'DimensionValueDetail' => [ + 'description' => 'The details of the quota dimension value.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the quota dimension value.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the quota dimension.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'Value' => [ + 'description' => 'The value of the quota dimension.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + 'DimensionValues' => [ + 'description' => 'The values of the quota dimension.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The values of the quota dimension.'."\n", + 'type' => 'string', + 'example' => '["cn-shenzhen", "cn-beijing", "cn-hangzhou"]', + ], + ], + 'Name' => [ + 'description' => 'The name of the quota dimension.'."\n", + 'type' => 'string', + 'example' => 'region', + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '1FA5F0E2-368E-4BA4-A8D0-6060FC6BB8F3', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"QuotaDimension\\": {\\n \\"DependentDimensions\\": [\\n \\"regionId\\"\\n ],\\n \\"DimensionKey\\": \\"zoneId\\",\\n \\"DimensionValueDetail\\": [\\n {\\n \\"Name\\": \\"cn-hangzhou-b\\",\\n \\"Value\\": \\"cn-hangzhou-b\\"\\n }\\n ],\\n \\"DimensionValues\\": [\\n \\"[\\\\\\"cn-hangzhou-b\\\\\\", \\\\\\"cn-hangzhou-e\\\\\\", \\\\\\"cn-hangzhou-f\\\\\\", \\\\\\"cn-hangzhou-g\\\\\\", \\\\\\"cn-hangzhou-h\\\\\\", \\\\\\"cn-hangzhou-i\\\\\\", \\\\\\"cn-hangzhou-j\\\\\\", \\\\\\"cn-hangzhou-k\\\\\\"]\\"\\n ],\\n \\"Name\\": \\"Zone\\"\\n },\\n \\"RequestId\\": \\"1FA5F0E2-368E-4BA4-A8D0-6060FC6BB8F3\\"\\n}","errorExample":""},{"type":"xml","example":"<GetProductQuotaDimensionResponse>\\r\\n\\t<RequestId>1FA5F0E2-368E-4BA4-A8D0-6060FC6BB8F3</RequestId>\\r\\n\\t<QuotaDimension>\\r\\n\\t\\t<DimensionKey>regionId</DimensionKey>\\r\\n\\t\\t<DimensionValues>cn-shenzhen</DimensionValues>\\r\\n\\t\\t<DimensionValues>cn-beijing</DimensionValues>\\r\\n\\t\\t<DimensionValues>cn-hangzhou</DimensionValues>\\r\\n\\t\\t<DimensionValueDetail>\\r\\n\\t\\t\\t<Value>cn-shenzhen</Value>\\r\\n\\t\\t\\t<Name>cn-shenzhen</Name>\\r\\n\\t\\t</DimensionValueDetail>\\r\\n\\t\\t<DimensionValueDetail>\\r\\n\\t\\t\\t<Value>cn-beijing</Value>\\r\\n\\t\\t\\t<Name>cn-beijing</Name>\\r\\n\\t\\t</DimensionValueDetail>\\r\\n\\t\\t<DimensionValueDetail>\\r\\n\\t\\t\\t<Value>cn-hangzhou</Value>\\r\\n\\t\\t\\t<Name>cn-hangzhou</Name>\\r\\n\\t\\t</DimensionValueDetail>\\r\\n\\t\\t<Name>region</Name>\\r\\n\\t</QuotaDimension>\\r\\n</GetProductQuotaDimensionResponse>\\t","errorExample":""}]', + 'title' => 'GetProductQuotaDimension', + 'description' => 'In this example, the operation is called to query the details of a quota dimension whose key is `regionId`. The quota dimension belongs to Elastic Compute Service (ECS) Quotas by Instance Type whose service code is ecs-spec. The following query results are returned:'."\n" + ."\n" + .'* The values of the quota dimension include `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.'."\n" + .'* The name of the quota dimension is `region`.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListProductDimensionGroups' => [ + 'summary' => 'Queries the dimension groups of an Alibaba Cloud service.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of records that can be returned for the query. Valid values: 1 to 200. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'example' => '30', + 'default' => '30', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service code.'."\n" + ."\n" + .'> For more information, see [Alibaba Cloud services that support Quota Center](~~182368~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'oss', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The information about dimension groups.'."\n", + 'type' => 'object', + 'properties' => [ + 'DimensionGroups' => [ + 'description' => 'The dimension groups.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The code information about the dimension group.'."\n", + 'type' => 'object', + 'properties' => [ + 'DimensionKeys' => [ + 'description' => 'The key of the dimension group.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The key of the dimension group.'."\n", + 'type' => 'string', + 'example' => 'chargeType', + ], + ], + 'GroupCode' => [ + 'description' => 'The code of the dimension group.'."\n", + 'type' => 'string', + 'example' => 'oss_wf1ngqmd7q', + ], + 'GroupName' => [ + 'description' => 'The name of the dimension group.'."\n", + 'type' => 'string', + 'example' => 'OSS_Group', + ], + 'ProductCode' => [ + 'description' => 'The service code.'."\n", + 'type' => 'string', + 'example' => 'oss', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => 'The maximum number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position at which the query ends. An empty value indicates that all data is returned.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '057D210F-F2FC-5329-A536-26C16628BB09', + ], + 'TotalCount' => [ + 'description' => 'The total number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DimensionGroups\\": [\\n {\\n \\"DimensionKeys\\": [\\n \\"regionId\\"\\n ],\\n \\"GroupCode\\": \\"entconsole_zjzp4d****\\",\\n \\"GroupName\\": \\"Resource sharing\\",\\n \\"ProductCode\\": \\"entconsole\\"\\n }\\n ],\\n \\"MaxResults\\": 3,\\n \\"NextToken\\": \\"21\\",\\n \\"RequestId\\": \\"057D210F-F2FC-5329-A536-26C16628BB09\\",\\n \\"TotalCount\\": 3\\n}","errorExample":""},{"type":"xml","example":"<ListProductDimensionGroupsResponse>\\r\\n\\t<DimensionGroups>\\r\\n\\t\\t<GroupName>OSS_Group</GroupName>\\r\\n\\t\\t<ProductCode>oss</ProductCode>\\r\\n\\t\\t<GroupCode>oss_wf1ngqmd7q</GroupCode>\\r\\n\\t\\t<DimensionKeys>chargeType</DimensionKeys>\\r\\n\\t</DimensionGroups>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<RequestId>057D210F-F2FC-5329-A536-26C16628BB09</RequestId>\\r\\n\\t<MaxResults>1</MaxResults>\\r\\n</ListProductDimensionGroupsResponse>\\t","errorExample":""}]', + 'title' => 'ListProductDimensionGroups', + 'description' => 'This topic provides an example on how to call the ListProductDimensionGroups operation to query the dimension groups of Object Storage Service (OSS). In this example, a dimension group is returned. The group name is `OSS_Group`, the group code is `oss_wf1ngqmd7q`, and the group key is `chargeType`.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListProductQuotaDimensions' => [ + 'summary' => 'Queries the quota dimensions that are supported by the specified Alibaba Cloud service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of records that can be returned for the query.'."\n" + ."\n" + .'Valid values: 1 to 200. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'example' => '30', + 'default' => '30', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> For more information, see [Alibaba Cloud services that support Quota Center](~~182368~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the quota. Valid values:'."\n" + ."\n" + .'* FlowControl: API rate limit.'."\n" + .'* CommonQuota: general quota. This is the default value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CommonQuota', + 'enum' => [ + 'FlowControl', + 'CommonQuota', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'None.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The maximum number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position at which the query ends. An empty value indicates that all data is returned.'."\n", + 'type' => 'string', + 'example' => '10', + ], + 'QuotaDimensions' => [ + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DependentDimensions' => [ + 'description' => 'The quota dimensions on which the quota dimension that you want to query is dependent.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimension on which the quota dimension that you want to query is dependent.'."\n", + 'type' => 'string', + 'example' => 'regionId', + ], + ], + 'DimensionKey' => [ + 'description' => 'The key of the quota dimension. Valid values:'."\n" + ."\n" + .'* regionId: the region ID.'."\n" + .'* zoneId: the zone ID.'."\n" + .'* chargeType: the billing method.'."\n" + .'* networkType: the network type.'."\n", + 'type' => 'string', + 'example' => 'zoneId', + ], + 'DimensionValueDetail' => [ + 'description' => 'The details about the dimension value.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DependentDimensions' => [ + 'description' => 'The quota dimensions on which the quota dimension that you want to query is dependent.', + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimensions on which the quota dimension that you want to query is dependent.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the quota dimension on which the quota dimension that you want to query is dependent.', + 'type' => 'string', + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the quota dimension on which the quota dimension that you want to query is dependent.', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + 'Name' => [ + 'description' => 'The name of the quota dimension.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'Value' => [ + 'description' => 'The value of the quota dimension.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + 'DimensionValues' => [ + 'description' => 'The dimension values.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The dimension values.'."\n", + 'type' => 'string', + 'example' => '["cn-shenzhen", "cn-beijing", "cn-hangzhou"]', + ], + ], + 'Name' => [ + 'description' => 'The name of the quota dimension.'."\n", + 'type' => 'string', + 'example' => 'Zone'."\n", + ], + 'Requisite' => [ + 'description' => 'Indicates whether the quota dimension is required when you query quota dimensions. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '7ED584FB-ECBF-4A2A-969D-F54D25EFABF9', + ], + 'TotalCount' => [ + 'description' => 'The total number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MaxResults\\": 5,\\n \\"NextToken\\": \\"84\\",\\n \\"QuotaDimensions\\": [\\n {\\n \\"DependentDimensions\\": [\\n \\"regionId\\"\\n ],\\n \\"DimensionKey\\": \\"zoneId\\",\\n \\"DimensionValueDetail\\": [\\n {\\n \\"DependentDimensions\\": [\\n {\\n \\"Key\\": \\"regionId\\",\\n \\"Value\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"Name\\": \\"cn-hangzhou-b\\",\\n \\"Value\\": \\"cn-hangzhou-b\\\\n\\"\\n }\\n ],\\n \\"DimensionValues\\": [\\n \\"[\\\\\\"cn-hangzhou-b\\\\\\", \\\\\\"cn-hangzhou-e\\\\\\", \\\\\\"cn-hangzhou-f\\\\\\", \\\\\\"cn-hangzhou-g\\\\\\", \\\\\\"cn-hangzhou-h\\\\\\", \\\\\\"cn-hangzhou-i\\\\\\", \\\\\\"cn-hangzhou-j\\\\\\", \\\\\\"cn-hangzhou-k\\\\\\"]\\"\\n ],\\n \\"Name\\": \\"Zone\\",\\n \\"Requisite\\": false\\n }\\n ],\\n \\"RequestId\\": \\"7ED584FB-ECBF-4A2A-969D-F54D25EFABF9\\",\\n \\"TotalCount\\": 5\\n}","errorExample":""},{"type":"xml","example":"<ListProductQuotaDimensionsResponse>\\n<QuotaDimensions>\\n <DimensionKey>regionId</DimensionKey>\\n <DimensionValues>cn-shenzhen</DimensionValues>\\n <DimensionValues>cn-beijing</DimensionValues>\\n <DimensionValues>cn-wulanchabu</DimensionValues>\\n <DimensionValues>ap-south-1</DimensionValues>\\n <DimensionValues>eu-west-1</DimensionValues>\\n <DimensionValues>ap-northeast-1</DimensionValues>\\n <DimensionValues>me-east-1</DimensionValues>\\n <DimensionValues>cn-chengdu</DimensionValues>\\n <DimensionValues>cn-qingdao</DimensionValues>\\n <DimensionValues>cn-shanghai</DimensionValues>\\n <DimensionValues>cn-guangzhou</DimensionValues>\\n <DimensionValues>cn-hongkong</DimensionValues>\\n <DimensionValues>ap-southeast-1</DimensionValues>\\n <DimensionValues>cn-heyuan</DimensionValues>\\n <DimensionValues>ap-southeast-2</DimensionValues>\\n <DimensionValues>ap-southeast-3</DimensionValues>\\n <DimensionValues>eu-central-1</DimensionValues>\\n <DimensionValues>cn-huhehaote</DimensionValues>\\n <DimensionValues>ap-southeast-5</DimensionValues>\\n <DimensionValues>us-east-1</DimensionValues>\\n <DimensionValues>cn-zhangjiakou</DimensionValues>\\n <DimensionValues>us-west-1</DimensionValues>\\n <DimensionValues>cn-hangzhou</DimensionValues>\\n <Name>region</Name>\\n <Requisite>false</Requisite>\\n</QuotaDimensions>\\n<QuotaDimensions>\\n <DimensionKey>zoneId</DimensionKey>\\n <Name>可用区ID</Name>\\n <Requisite>false</Requisite>\\n <DependentDimensions>regionId</DependentDimensions>\\n</QuotaDimensions>\\n<QuotaDimensions>\\n <DimensionKey>chargeType</DimensionKey>\\n <DimensionValues>Spot</DimensionValues>\\n <DimensionValues>PostPaid</DimensionValues>\\n <DimensionValues>PrePaid</DimensionValues>\\n <Name>付费类型</Name>\\n <Requisite>false</Requisite>\\n</QuotaDimensions>\\n<QuotaDimensions>\\n <DimensionKey>networkType</DimensionKey>\\n <DimensionValues>classic</DimensionValues>\\n <DimensionValues>vpc</DimensionValues>\\n <Name>网络类型</Name>\\n <Requisite>false</Requisite>\\n</QuotaDimensions>\\n<TotalCount>4</TotalCount>\\n<RequestId>7ED584FB-ECBF-4A2A-969D-F54D25EFABF9</RequestId>\\n<MaxResults>4</MaxResults>\\n</ListProductQuotaDimensionsResponse>","errorExample":""}]', + 'title' => 'ListProductQuotaDimensions', + 'description' => 'In this example, the operation is called to query the quota dimensions that are supported by Elastic Compute Service (ECS). The query results show all the quota dimensions that are supported by ECS.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListProductQuotas' => [ + 'summary' => 'Queries the quotas of a specific Alibaba Cloud service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n" + ."\n" + .'* You do not need to specify this parameter for the first and last requests.'."\n" + .'* You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of records that can be returned for the query.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440555~~) operation and check the value of the `ProductCode` parameter.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ecs-spec', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.g5.2xlarge', + ], + ], + [ + 'name' => 'KeyWord', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The keyword that you want to use to search for the quotas.'."\n" + ."\n" + .'> This parameter is available only for quotas that belong to ECS Quotas by Instance Type. The keyword is used to match the values of `QuotaName` and `QuotaActionCode`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs-spec', + ], + ], + [ + 'name' => 'SortField', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The field based on which you want to sort the returned records.'."\n" + ."\n" + .'> This parameter is available only for quotas that belong to ECS Quotas by Instance Type. You can leave this parameter empty.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* TOTAL: sorts the returned records based on the total quota.'."\n" + .'* TIME: sorts the returned records based on the time when the quota was last modified.'."\n" + .'* RESERVED: sorts the returned records based on the reserved quota.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'TOTAL' => '', + 'TIME' => '', + 'RESERVED' => '', + ], + 'example' => 'TIME', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The order in which you want to sort the returned records.'."\n" + ."\n" + .'> This parameter is available only for quotas that belong to ECS Quotas by Instance Type. You can leave this parameter empty.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Descending'."\n" + .'* Ascending'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Descending' => '', + 'Ascending' => '', + ], + 'example' => 'Ascending', + 'enum' => [ + 'Ascending', + 'Descending', + ], + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the quota.'."\n" + ."\n" + .'Default value: CommonQuota.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: privilege'."\n" + .'* CommonQuota: general quota'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'FlowControl' => '', + 'WhiteListLabel' => '', + 'CommonQuota' => '', + ], + 'example' => 'FlowControl', + 'enum' => [ + 'CommonQuota', + 'FlowControl', + 'WhiteListLabel', + ], + ], + ], + [ + 'name' => 'GroupCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The code of the dimension group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'entconsole_w1j3msbo2g', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NextToken' => [ + 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n" + ."\n" + .'* If NextToken is empty, no next page exists.'."\n" + .'* If a value of NextToken is returned, the value indicates the token that is used for the next query.'."\n", + 'type' => 'string', + 'example' => 'AAAAAd98/tlL5GF2aM7UMKQGM8LZesIPr0CbfxASQvHV/pwcmVKNfdBbW8OPld3NvG9Cy8+dNcyFzyUttQA3IONfBhRGpXFyiVoTgK+dupBsP2mX', + ], + 'Quotas' => [ + 'description' => 'The details of the quotas.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'Adjustable' => [ + 'description' => 'Indicates whether the quota is adjustable.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'ApplicableRange' => [ + 'description' => 'The range of the quota value that can be requested for the quota item.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The range of the quota value that can be requested for the current quota item.'."\n" + ."\n" + .'The range excludes the existing quota values of the current Alibaba Cloud account. When you request a quota, you can use the range as a reference. Example: `[1010,10000]`.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '[802,10000]', + ], + ], + 'ApplicableType' => [ + 'description' => 'The type of the adjustable value.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* continuous'."\n" + .'* discontinuous'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'continuous' => '', + 'discontinuous' => '', + ], + 'example' => 'discontinuous', + ], + 'ApplyReasonTips' => [ + 'description' => 'The reason for submitting a quota increase request.'."\n", + 'type' => 'string', + 'example' => 'The business xxx is expected to grow by 50%.'."\n", + ], + 'Consumable' => [ + 'description' => 'Indicates whether the system shows the used value of the quota.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Dimensions' => [ + 'description' => 'The quota dimension. Format: `{"regionId":"Region"}`.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'EffectiveTime' => [ + 'description' => 'The start time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-28T06:07:00Z', + ], + 'ExpireTime' => [ + 'description' => 'The end time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-29T06:07:00Z', + ], + 'GlobalQuota' => [ + 'description' => 'Indicates whether the quota is a global quota.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true: The quota is shared in all regions.'."\n" + .'* false: The quota is independently used in a region.'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Period' => [ + 'description' => 'The calculation cycle of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'PeriodUnit' => [ + 'description' => 'The unit of the calculation cycle.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* week'."\n" + .'* hour'."\n" + .'* day'."\n" + .'* second'."\n" + .'* minute'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'week' => '', + 'hour' => '', + 'day' => '', + 'second' => '', + 'minute' => '', + ], + 'example' => 'day', + ], + 'PeriodValue' => [ + 'description' => 'The value of the calculation cycle.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs-spec', + ], + 'QuotaActionCode' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'example' => 'ecs.g5.2xlarge', + ], + 'QuotaArn' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the quota.'."\n", + 'type' => 'string', + 'example' => 'acs:quotas:cn-hangzhou:107992689699****:quota/ecs/ecs.g5.2xlarge/postpaid/vpc/cn-hangzhou/instancetype/cn-hangzhou-i', + ], + 'QuotaCategory' => [ + 'description' => 'The type of the quota.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: whitelist quota'."\n" + .'* CommonQuota: general quota'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'FlowControl' => '', + 'WhiteListLabel' => '', + 'CommonQuota' => '', + ], + 'example' => 'CommonQuota', + ], + 'QuotaDescription' => [ + 'description' => 'The description of the quota.'."\n", + 'type' => 'string', + 'example' => 'ecs.g5.2xlarge', + ], + 'QuotaItems' => [ + 'description' => 'The details of the quotas.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'Quota' => [ + 'description' => 'The value of the quota.'."\n", + 'type' => 'string', + 'example' => '10', + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the quota.'."\n", + 'type' => 'string', + 'example' => 'AMOUNT', + ], + 'Type' => [ + 'description' => 'The category of the quota.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* BaseQuota: base quota'."\n" + .'* ReservedQuota: reserved quota'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'BaseQuota' => '', + 'ReservedQuota' => '', + ], + 'example' => 'BaseQuota', + ], + 'Usage' => [ + 'description' => 'The quota usage.'."\n", + 'type' => 'string', + 'example' => '1', + ], + ], + ], + ], + 'QuotaName' => [ + 'description' => 'The name of the quota.'."\n", + 'type' => 'string', + 'example' => 'ecs.g5.2xlarge', + ], + 'QuotaType' => [ + 'description' => 'The type of the quota.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* normal'."\n" + .'* privilege'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'normal' => '', + 'privilege' => '', + ], + 'example' => 'privilege', + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the quota.'."\n", + 'type' => 'string', + 'example' => 'AMOUNT', + ], + 'SupportedRange' => [ + 'description' => 'The range of the quota value that can be requested for the current quota item. When you configure a quota template, you can use the range as a reference.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The range of the quota value that can be requested for the current quota item. When you configure a quota template, you can use the range as a reference.'."\n" + ."\n" + .'* If the value of ApplicableType is continuous and the value of ApplicableRange is \\[1009,10000], the quota value ranges from 1009 to 10000.'."\n" + .'* If the value of ApplicableType is discontinuous and the value of ApplicableRange is \\[10,20,50,100], the quota value is 10, 20, 50, or 100.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '[802,1000]', + ], + ], + 'TotalQuota' => [ + 'description' => 'The value of the quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '200', + ], + 'TotalUsage' => [ + 'description' => 'The quota usage.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'UnadjustableDetail' => [ + 'description' => 'The reason why the quota is not adjustable.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* limitReached: The quota limit is reached.'."\n" + .'* nonactivated: The service is not activated.'."\n" + .'* applicationProcess: The application is being processed.'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'limitReached' => '', + 'nonactivated' => '', + 'applicationProcess' => '', + ], + 'example' => 'applicationProcess', + ], + 'UsageMetric' => [ + 'description' => 'The monitoring information of the quota in CloudMonitor.'."\n" + ."\n" + .'> If this parameter is empty, no monitoring data of the quota exists in CloudMonitor.'."\n", + 'type' => 'object', + 'properties' => [ + 'MetricDimensions' => [ + 'description' => 'The monitoring dimensions.'."\n" + ."\n" + .'The value is a collection of `key:value` pairs. Example: `{"productCode":"***","metricKey":"***","regionId":"***","label":"***"}`.'."\n", + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => 'ecs', + 'description' => 'The value of the monitoring dimension.'."\n", + ], + ], + 'MetricName' => [ + 'description' => 'The monitoring metric.'."\n", + 'type' => 'string', + 'example' => 'Usage', + ], + 'MetricNamespace' => [ + 'description' => 'The monitoring namespace.'."\n", + 'type' => 'string', + 'example' => 'acs_quotas_flowcontrol', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D0131FD5-5397-44FE-BF5A-4B7165B813CC', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidSortOrder', + 'errorMessage' => 'Invalid SortOrder', + ], + [ + 'errorCode' => 'INVALID.MAX.RESULTS', + 'errorMessage' => 'The maxResults parameter is invalid. Use an integer ranging from 1 to 100.', + ], + [ + 'errorCode' => 'DIMENSIONGROUP.NOT.FOUND', + 'errorMessage' => 'Dimension group does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MaxResults\\": 1,\\n \\"NextToken\\": \\"AAAAAd****\\",\\n \\"Quotas\\": [\\n {\\n \\"Adjustable\\": true,\\n \\"ApplicableRange\\": [\\n 0\\n ],\\n \\"ApplicableType\\": \\"discontinuous\\",\\n \\"ApplyReasonTips\\": \\"The business xxx is expected to grow by 50%.\\",\\n \\"Consumable\\": true,\\n \\"Dimensions\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"EffectiveTime\\": \\"2022-09-28T06:07:00Z\\",\\n \\"ExpireTime\\": \\"2022-09-29T06:07:00Z\\",\\n \\"GlobalQuota\\": true,\\n \\"Period\\": {\\n \\"PeriodUnit\\": \\"day\\",\\n \\"PeriodValue\\": 0\\n },\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"q_security-groups\\",\\n \\"QuotaArn\\": \\"acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups\\",\\n \\"QuotaCategory\\": \\"CommonQuota\\",\\n \\"QuotaDescription\\": \\"The maximum number of security groups that can be owned by the current account.\\",\\n \\"QuotaItems\\": [\\n {\\n \\"Quota\\": \\"1009\\",\\n \\"QuotaUnit\\": \\"Count\\",\\n \\"Type\\": \\"BaseQuota\\",\\n \\"Usage\\": \\"1009\\"\\n }\\n ],\\n \\"QuotaName\\": \\"ecs.g5.2xlarge\\",\\n \\"QuotaType\\": \\"privilege\\",\\n \\"QuotaUnit\\": \\"AMOUNT\\",\\n \\"SupportedRange\\": [\\n 0\\n ],\\n \\"TotalQuota\\": 200,\\n \\"TotalUsage\\": 1009,\\n \\"UnadjustableDetail\\": \\"applicationProcess\\",\\n \\"UsageMetric\\": {\\n \\"MetricDimensions\\": {\\n \\"key\\": \\"ecs\\"\\n },\\n \\"MetricName\\": \\"Usage\\",\\n \\"MetricNamespace\\": \\"acs_quotas_flowcontrol\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"D0131FD5-5397-44FE-BF5A-4B7165B813CC\\",\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListProductQuotasResponse>\\n <TotalCount>4</TotalCount>\\n <RequestId>F3A3568B-B01E-4EA7-B3DD-0699B4D319F9</RequestId>\\n <NextToken>AAAAAd98/tlL5GF2aM7UMKQGM8LZesIPr0CbfxASQvHV/pwcmVKNfdBbW8OPld3NvG9Cy8+dNcyFzyUttQA3IONfBhRGpXFyiVoTgK+dupBsP2mX</NextToken>\\n <Quotas>\\n <QuotaDescription>ecs.g5.2xlarge</QuotaDescription>\\n <Consumable>true</Consumable>\\n <TotalUsage>3</TotalUsage>\\n <ProductCode>ecs-spec</ProductCode>\\n <Dimensions>\\n <regionId>cn-hangzhou</regionId>\\n <chargeType>PostPaid</chargeType>\\n <zoneId>cn-hangzhou-i</zoneId>\\n <networkType>vpc</networkType>\\n <resourceType>InstanceType</resourceType>\\n </Dimensions>\\n <QuotaUnit>AMOUNT</QuotaUnit>\\n <Period/>\\n <Adjustable>true</Adjustable>\\n <QuotaActionCode>ecs.g5.2xlarge</QuotaActionCode>\\n <QuotaName>ecs.g5.2xlarge</QuotaName>\\n <QuotaItems>\\n <Usage>0</Usage>\\n <Type>ReservedQuota</Type>\\n <Quota>0</Quota>\\n </QuotaItems>\\n <QuotaItems>\\n <Usage>0</Usage>\\n <Type>BaseQuota</Type>\\n <Quota>0</Quota>\\n </QuotaItems>\\n <QuotaArn>acs:quotas:cn-hangzhou:107992689699****:quota/ecs/ecs.g5.2xlarge/postpaid/vpc/cn-hangzhou/instancetype/cn-hangzhou-i</QuotaArn>\\n <TotalQuota>160</TotalQuota>\\n <ApplicableType>continuous</ApplicableType>\\n </Quotas>\\n <MaxResults>1</MaxResults>\\n</ListProductQuotasResponse>","errorExample":""}]', + 'title' => 'ListProductQuotas', + 'description' => 'In this example, the operation is called to query the quotas whose instance type is `ecs.g5.2xlarge`. The quotas belong to Elastic Compute Service (ECS) Quotas by Instance Type. The query result includes the name, ID, unit, dimensions, and cycle of each quota.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListProducts' => [ + 'summary' => 'Queries the Alibaba Cloud services that support Quota Center.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '4', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of entries to return.'."\n" + ."\n" + .'Valid values: 1 to 200. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'example' => '4', + 'default' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The maximum number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position at which the query ends. An empty value indicates that all data is returned.'."\n", + 'type' => 'string', + 'example' => '4', + ], + 'ProductInfo' => [ + 'description' => 'The information about the Alibaba Cloud services.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CommonQuotaSupport' => [ + 'title' => '通用配额是否支持', + 'description' => 'Indicates whether the Alibaba Cloud service supports general quotas. Valid values:'."\n" + ."\n" + .'* support: The Alibaba Cloud service supports general quotas.'."\n" + .'* unsupport: The Alibaba Cloud service does not support general quotas.'."\n", + 'type' => 'string', + 'example' => 'support', + ], + 'Dynamic' => [ + 'description' => '> This parameter is discontinued and is not recommended.'."\n" + ."\n" + .'Indicates whether the Alibaba Cloud service supports dynamic quota adjustment. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'FlowControlSupport' => [ + 'title' => '是否支持流程', + 'description' => 'Indicates whether the Alibaba Cloud service supports API rate limits. Valid values:'."\n" + ."\n" + .'* support: The Alibaba Cloud service supports API rate limits.'."\n" + .'* unsupport: The Alibaba Cloud service does not support API rate limits.'."\n", + 'type' => 'string', + 'example' => 'unsupport', + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'ProductName' => [ + 'description' => 'The name of the Alibaba Cloud service.'."\n", + 'type' => 'string', + 'example' => 'Elastic Compute Service (ECS)'."\n", + ], + 'ProductNameEn' => [ + 'description' => 'The English name of the Alibaba Cloud service.'."\n", + 'type' => 'string', + 'example' => 'Elastic Compute Service', + ], + 'SecondCategoryId' => [ + 'description' => 'The ID of the service category.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'SecondCategoryName' => [ + 'description' => 'The name of the service category.'."\n", + 'type' => 'string', + 'example' => 'Elastic Compute'."\n", + ], + 'SecondCategoryNameEn' => [ + 'description' => 'The English name of the service category.'."\n", + 'type' => 'string', + 'example' => 'Elastic Compute', + ], + 'WhiteListLabelQuotaSupport' => [ + 'description' => 'Indicates whether the Alibaba Cloud service supports whitelist quotas. Valid values:'."\n" + ."\n" + .'* support: The Alibaba Cloud service supports whitelist quotas.'."\n" + .'* unsupport: The Alibaba Cloud service does not support whitelist quotas.'."\n", + 'type' => 'string', + 'example' => 'support', + ], + ], + 'description' => '', + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '1DA9C136-11BC-4C39-ADC6-B86276128072', + ], + 'TotalCount' => [ + 'description' => 'The total number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MaxResults\\": 4,\\n \\"NextToken\\": \\"4\\",\\n \\"ProductInfo\\": [\\n {\\n \\"CommonQuotaSupport\\": \\"support\\",\\n \\"Dynamic\\": true,\\n \\"FlowControlSupport\\": \\"unsupport\\",\\n \\"ProductCode\\": \\"ecs\\",\\n \\"ProductName\\": \\"Elastic Compute Service (ECS)\\",\\n \\"ProductNameEn\\": \\"Elastic Compute Service\\",\\n \\"SecondCategoryId\\": 5,\\n \\"SecondCategoryName\\": \\"Elastic Compute\\",\\n \\"SecondCategoryNameEn\\": \\"Elastic Compute\\",\\n \\"WhiteListLabelQuotaSupport\\": \\"support\\"\\n }\\n ],\\n \\"RequestId\\": \\"1DA9C136-11BC-4C39-ADC6-B86276128072\\",\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListProductsResponse>\\r\\n\\t<ProductInfo>\\r\\n\\t\\t<SecondCategoryNameEn>Elastic Compute</SecondCategoryNameEn>\\r\\n\\t\\t<Dynamic>true</Dynamic>\\r\\n\\t\\t<CommonQuotaSupport>support</CommonQuotaSupport>\\r\\n\\t\\t<ProductName>云服务器ECS</ProductName>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<SecondCategoryName>弹性计算</SecondCategoryName>\\r\\n\\t\\t<FlowControlSupport>unsupport</FlowControlSupport>\\r\\n\\t\\t<SecondCategoryId>5</SecondCategoryId>\\r\\n\\t\\t<ProductNameEn>Elastic Compute Service</ProductNameEn>\\r\\n\\t</ProductInfo>\\r\\n\\t<ProductInfo>\\r\\n\\t\\t<SecondCategoryNameEn>Elastic Compute</SecondCategoryNameEn>\\r\\n\\t\\t<Dynamic>true</Dynamic>\\r\\n\\t\\t<CommonQuotaSupport>support</CommonQuotaSupport>\\r\\n\\t\\t<ProductName>云服务器ECS规格配额</ProductName>\\r\\n\\t\\t<ProductCode>ecs-spec</ProductCode>\\r\\n\\t\\t<SecondCategoryName>弹性计算</SecondCategoryName>\\r\\n\\t\\t<FlowControlSupport>unsupport</FlowControlSupport>\\r\\n\\t\\t<SecondCategoryId>5</SecondCategoryId>\\r\\n\\t\\t<ProductNameEn>Ecs Quotas by Instance Type</ProductNameEn>\\r\\n\\t</ProductInfo>\\r\\n\\t<ProductInfo>\\r\\n\\t\\t<SecondCategoryNameEn>Elastic Compute</SecondCategoryNameEn>\\r\\n\\t\\t<Dynamic>true</Dynamic>\\r\\n\\t\\t<CommonQuotaSupport>support</CommonQuotaSupport>\\r\\n\\t\\t<ProductName>弹性伸缩</ProductName>\\r\\n\\t\\t<ProductCode>ess</ProductCode>\\r\\n\\t\\t<SecondCategoryName>弹性计算</SecondCategoryName>\\r\\n\\t\\t<FlowControlSupport>unsupport</FlowControlSupport>\\r\\n\\t\\t<SecondCategoryId>5</SecondCategoryId>\\r\\n\\t\\t<ProductNameEn>Auto Scaling</ProductNameEn>\\r\\n\\t</ProductInfo>\\r\\n\\t<ProductInfo>\\r\\n\\t\\t<SecondCategoryNameEn>Security Management</SecondCategoryNameEn>\\r\\n\\t\\t<Dynamic>true</Dynamic>\\r\\n\\t\\t<CommonQuotaSupport>support</CommonQuotaSupport>\\r\\n\\t\\t<ProductName>操作审计</ProductName>\\r\\n\\t\\t<ProductCode>actiontrail</ProductCode>\\r\\n\\t\\t<SecondCategoryName>安全管理</SecondCategoryName>\\r\\n\\t\\t<FlowControlSupport>unsupport</FlowControlSupport>\\r\\n\\t\\t<SecondCategoryId>21</SecondCategoryId>\\r\\n\\t\\t<ProductNameEn>ActionTrail</ProductNameEn>\\r\\n\\t</ProductInfo>\\r\\n\\t<TotalCount>22</TotalCount>\\r\\n\\t<RequestId>16AD05A1-10E4-4048-AD9D-03BC6B9D5CDA</RequestId>\\r\\n\\t<NextToken>4</NextToken>\\r\\n\\t<MaxResults>4</MaxResults>\\r\\n</ListProductsResponse>\\t","errorExample":""}]', + 'title' => 'ListProducts', + 'description' => 'The services in the query result are the same as the services listed in [Alibaba Cloud services that support Quota Center](~~182368~~).'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListDependentQuotas' => [ + 'summary' => 'Queries the quotas on which a specified quota depends.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> For more information, see [Alibaba Cloud services that support Quota Center](~~182368~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'csk', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'q_i5uzm3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'None.'."\n", + 'type' => 'object', + 'properties' => [ + 'Quotas' => [ + 'description' => 'The quotas on which the specified quota depends.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Dimensions' => [ + 'description' => 'The dimensions of the quotas on which the specified quota depends.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DependentDimension' => [ + 'description' => 'The dimensions of the quotas on which the specified quota depends.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The dimensions of the quotas on which the specified quota depends.'."\n", + 'type' => 'string', + 'example' => 'regionId', + ], + ], + 'DimensionKey' => [ + 'description' => 'The key of the quota dimension.'."\n", + 'type' => 'string', + 'example' => 'regionId', + ], + 'DimensionValues' => [ + 'description' => 'The dimension values.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The dimension values.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'QuotaActionCode' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'example' => 'q_elastic-network-interfaces', + ], + 'Scale' => [ + 'description' => 'The relationship percentage between the specified quota and the quotas on which the specified quota depends.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '50', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '920D8A47-26BB-49FA-A09F-F98D7DAA55F3', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Quotas\\": [\\n {\\n \\"Dimensions\\": [\\n {\\n \\"DependentDimension\\": [\\n \\"[]\\"\\n ],\\n \\"DimensionKey\\": \\"[]\\",\\n \\"DimensionValues\\": [\\n \\"[]\\"\\n ]\\n }\\n ],\\n \\"ProductCode\\": \\"ram\\",\\n \\"QuotaActionCode\\": \\"q_laxtn4\\",\\n \\"Scale\\": 100\\n }\\n ],\\n \\"RequestId\\": \\"920D8A47-26BB-49FA-A09F-F98D7DAA55F3\\"\\n}","errorExample":""},{"type":"xml","example":"<ListDependentQuotasResponse>\\r\\n\\t<RequestId>B871952D-ACA9-4641-B21A-713B08A5270A</RequestId>\\r\\n\\t<Quotas>\\r\\n\\t\\t<QuotaActionCode>q_fh20b0</QuotaActionCode>\\r\\n\\t\\t<ProductCode>slb</ProductCode>\\r\\n\\t</Quotas>\\r\\n\\t<Quotas>\\r\\n\\t\\t<QuotaActionCode>q_3mmbsp</QuotaActionCode>\\r\\n\\t\\t<ProductCode>slb</ProductCode>\\r\\n\\t</Quotas>\\r\\n\\t<Quotas>\\r\\n\\t\\t<QuotaActionCode>q_elastic-network-interfaces</QuotaActionCode>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<Dimensions>\\r\\n\\t\\t\\t<DimensionKey>regionId</DimensionKey>\\r\\n\\t\\t\\t<DimensionValues>cn-shenzhen</DimensionValues>\\r\\n\\t\\t\\t<DimensionValues>cn-beijing</DimensionValues>\\r\\n\\t\\t\\t<DimensionValues>cn-hangzhou</DimensionValues>\\r\\n\\t\\t</Dimensions>\\r\\n\\t</Quotas>\\r\\n</ListDependentQuotasResponse>\\t","errorExample":""}]', + 'title' => 'ListDependentQuotas', + 'description' => 'In this example, the operation is called to query the quotas on which a Container Service for Kubernetes (ACK) quota whose ID is `q_i5uzm3` depends. This quota is the maximum number of nodes that can be created in an ACK cluster. The query result indicates that the specified quota depends on the following three quotas:'."\n" + ."\n" + .'* An Elastic Compute Service (ECS) quota whose ID is `q_elastic-network-interfaces`. This quota is the maximum number of ENIs (Secondary ENIs) that can be owned by an Alibaba Cloud account. The quota is available in the following regions: `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.'."\n" + .'* A Server Load Balancer (SLB) quota whose ID is `q_fh20b0`. This quota is the number of servers that can be attached to the backend of an SLB instance.'."\n" + .'* An SLB quota whose ID is `q_3mmbsp`. This quota is the number of SLB instances that can be owned by an Alibaba Cloud account.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateQuotaAlarm' => [ + 'summary' => 'Creates a quota alert.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC3VMZU', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, check the `ProductCode` parameter that is described in [ListProductQuotas](~~440554~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'config', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n" + ."\n" + .'> To obtain the quota ID of an Alibaba Cloud service, call the [ListProductQuotas](~~440554~~) operation and check the value of `QuotaActionCode` in the response.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'q_hvnoqv', + ], + ], + [ + 'name' => 'AlarmName', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Quota alarm name', + 'type' => 'string', + 'required' => true, + 'example' => 'q_344t4 alarm', + ], + ], + [ + 'name' => 'ThresholdType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the quota alert. Valid values:'."\n" + ."\n" + .'* used (default): The alert is created for the used quota.'."\n" + .'* usable: The alert is created for the available quota.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'used', + 'default' => 'used', + 'enum' => [ + 'used', + 'usable', + ], + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The numerical value of the quota alarm threshold. Value settings:'."\n" + .'- When `ThresholdType` is set to `used`, an alarm notification will be sent if the used amount of the quota is greater than or equal to the preset value. The quota alarm threshold must be greater than the used amount of the quota.'."\n" + .'- When `ThresholdType` is set to `usable`, an alarm notification will be sent if the remaining available amount of the quota is less than or equal to the preset value. The quota alarm threshold must be less than the remaining available amount of the quota.'."\n" + .'> One of this parameter and ThresholdPercent must be set.', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'minimum' => '1', + 'example' => '150', + ], + ], + [ + 'name' => 'ThresholdPercent', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The percentage of the quota alert threshold. Values:'."\n" + .'- When `ThresholdType` is set to `used`, you will receive an alert notification if the used amount of the quota is greater than or equal to the preset percentage. The value range is (50%, 100%].'."\n" + .'- When `ThresholdType` is set to `usable`, you will receive an alert notification if the remaining available amount of the quota is less than or equal to the preset percentage. The value range is (0%, 50%].'."\n" + .'> One of this parameter and Threshold must be set.', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'maximum' => '100', + 'minimum' => '50', + 'example' => '50', + ], + ], + [ + 'name' => 'WebHook', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota center sends alert information to the specified public URL address via a POST request using the HTTP protocol.', + 'type' => 'string', + 'required' => false, + 'example' => 'https://alert.aliyun.com/callback', + ], + ], + [ + 'name' => 'QuotaDimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The quota dimensions. A quota item is uniquely identified by the values of `Dimensions` and `QuotaActionCode`.'."\n" + ."\n" + .'> This parameter is required for specific Alibaba Cloud services. You can call the [ListProductQuotaDimensions](~~440553~~) operation to query the quota dimensions that are supported by an Alibaba Cloud service. The value of `Requisite` in the response indicates whether a dimension is required.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'N/A.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> You must configure `Dimensions.N.Key` and `Dimensions.N.Value` at the same time. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. You can call the [ListProductQuotaDimensions](~~440553~~) operation to query the dimensions that are supported by an Alibaba Cloud service. The number of items in the returned array is N.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> You must configure `Dimensions.N.Key` and `Dimensions.N.Value` at the same time. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. You can call the [ListProductQuotaDimensions](~~440553~~) operation to query the dimensions that are supported by an Alibaba Cloud service. The number of items in the returned array is N.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'OriginalContext', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AlarmId' => [ + 'description' => 'Alarm ID.', + 'type' => 'string', + 'example' => '18b3be23-b7b0-4d45-91bc-d0c331aa****', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'BD219E2B-E687-45EE-B5F3-61FB730551B1', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'QUOTA.UNSUPPORT.ALARM', + 'errorMessage' => 'This quota does not support creating alarm', + ], + [ + 'errorCode' => 'ALARM.NAME.REPEAT', + 'errorMessage' => 'The warning name must be unique.', + ], + [ + 'errorCode' => 'QUOTA.ALARM.MAX', + 'errorMessage' => 'Quota alarm have reached the upper limit of 100', + ], + [ + 'errorCode' => 'UNSUPPORTED.ALARM.TYPE', + 'errorMessage' => 'Unified alarm does not support alarm types for used quantity alarms, and does not support numerical threshold types of quota alarms.', + ], + [ + 'errorCode' => 'THRESHOLD.ILLEGAL', + 'errorMessage' => 'The alarm Threshold or ThresholdPercent is either empty or ThresholdPercent not in (0,100].', + ], + [ + 'errorCode' => 'QUOTA.OFFLINE', + 'errorMessage' => 'The quota has been offline.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AlarmId\\": \\"18b3be23-b7b0-4d45-91bc-d0c331aa****\\",\\n \\"RequestId\\": \\"BD219E2B-E687-45EE-B5F3-61FB730551B1\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateQuotaAlarmResponse>\\n\\t\\t<AlarmId>a2efa7fc-832f-47bb-8054-39e28012****</AlarmId>\\n\\t\\t<RequestId>88BAD9A9-0C47-4139-8531-08CB333F3384</RequestId>\\n</CreateQuotaAlarmResponse>","errorExample":""}]', + 'title' => 'CreateQuotaAlarm', + 'description' => 'The quota alerting feature has been upgraded and this API operation will be deprecated. If you want to create a quota alert of the new version, call CloudMonitor API operations. For more information, see [Use API operations to manage new quota alert rules](~~2863234~~).'."\n", + 'requestParamsDescription' => 'The ID of the request.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'translator' => 'machine', + ], + 'DeleteQuotaAlarm' => [ + 'summary' => 'Deletes a quota alert.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC3VMZU', + ], + ], + 'parameters' => [ + [ + 'name' => 'AlarmId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the quota alert.'."\n" + ."\n" + .'> You can call the [ListQuotaAlarms](~~440561~~) operation to obtain the ID of a quota alert.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '6b512ab7-da3a-4142-b529-2b2a9294****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'A95C65B3-7CF4-469E-B1D5-1CA0628A6411', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'RAM.PERMISSION.DENIED', + 'errorMessage' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + [ + 'errorCode' => 'ALARM.NOT.FOUND', + 'errorMessage' => 'The AlarmId provided does not exist in our records.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A95C65B3-7CF4-469E-B1D5-1CA0628A6411\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteQuotaAlarmResponse>\\r\\n<RequestId>A95C65B3-7CF4-469E-B1D5-1CA0628A6411</RequestId>\\r\\n</DeleteQuotaAlarmResponse>","errorExample":""}]', + 'title' => 'DeleteQuotaAlarm', + 'description' => '* The quota alerting feature has been upgraded and this API operation will be deprecated. You can call this operation only to delete a quota alert rule of the old version. If you want to delete a quota alert rule of the new version, call the CloudMonitor API operation [DeleteMetricRules](~~2513295~~) or [DeleteMetricRuleTargets](~~2513294~~). For more information about how to call API operations to manage quota alert rules of the new version, see [Manage quota alerts of the new version by calling API operations](~~2863234~~).'."\n" + .'* In this example, the API operation is called to delete a quota alert rule whose ID is `6b512ab7-da3a-4142-b529-2b2a9294****`.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [API Reference](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UpdateQuotaAlarm' => [ + 'summary' => 'Modifies a quota alert rule.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC3VMZU', + ], + ], + 'parameters' => [ + [ + 'name' => 'AlarmId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the quota alert.'."\n" + ."\n" + .'> You can call the [ListQuotaAlarms](~~440561~~) operation to obtain the ID of a quota alert.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'a2efa7fc-832f-47bb-8054-39e28012****', + ], + ], + [ + 'name' => 'AlarmName', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The name of the quota alert.'."\n" + ."\n" + .'> You can call the [ListQuotaAlarms](~~440561~~) operation to obtain the name of a quota alert.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'rules'."\n", + ], + ], + [ + 'name' => 'ThresholdType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the quota alert. Valid values:'."\n" + ."\n" + .'* used (default): The alert is created for the used quota.'."\n" + .'* usable: The alert is created for the available quota.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'usable', + 'default' => 'used', + 'enum' => [ + 'used', + 'usable', + ], + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The numeric value of the alert threshold. Valid values:'."\n" + ."\n" + .'* If you set the `ThresholdType` parameter to `used`, you will receive an alert notification when the used quota is greater than or equal to the preset alert threshold. The alert threshold must be greater than the current used quota.'."\n" + .'* If you set the `ThresholdType` parameter to `usable`, you will receive an alert notification when the available quota is less than or equal to the preset alert threshold. The alert threshold must be less than the current available quota.'."\n" + ."\n" + .'> You must set one of the Threshold and ThresholdPercent parameters.'."\n", + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'minimum' => '1', + 'example' => '160', + ], + ], + [ + 'name' => 'ThresholdPercent', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The percentage of the alert threshold. Valid values:'."\n" + ."\n" + .'* If you set `ThresholdType` to `used`, you receive an alert notification when the used quota is greater than or equal to the preset percentage of the alert threshold. Value range: (50%, 100%].'."\n" + .'* If you set `ThresholdType` to `usable`, you receive an alert notification when the available quota is less than or equal to the preset percentage of the alert threshold. Value range: (0%, 50%].'."\n" + ."\n" + .'> You must set one of Threshold and ThresholdPercent.'."\n", + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'maximum' => '100', + 'minimum' => '50', + 'example' => '51', + ], + ], + [ + 'name' => 'WebHook', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The webhook URL. Quota Center sends alert notifications to the specified URL by using HTTP POST requests.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'https://alert.aliyun.com/callback', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'A95C65B3-7CF4-469E-B1D5-1CA0628A6411', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'RAM.PERMISSION.DENIED', + 'errorMessage' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + [ + 'errorCode' => 'UNSUPPORTED.ALARM.TYPE', + 'errorMessage' => 'Unified alarm does not support alarm types for used quantity alarms, and does not support numerical threshold types of quota alarms.', + ], + [ + 'errorCode' => 'THRESHOLD.ILLEGAL', + 'errorMessage' => 'The alarm Threshold or ThresholdPercent is either empty or ThresholdPercent not in (0,100].', + ], + [ + 'errorCode' => 'ALARM.NAME.REPEAT', + 'errorMessage' => 'The warning name must be unique.', + ], + [ + 'errorCode' => 'ALARM.NOT.FOUND', + 'errorMessage' => 'The AlarmId provided does not exist in our records.', + ], + [ + 'errorCode' => 'THRESHOLD.MAx.ILLEGAL', + 'errorMessage' => 'The quota warning threshold cannot be greater than the current quota.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A95C65B3-7CF4-469E-B1D5-1CA0628A6411\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateQuotaAlarmResponse>\\r\\n\\t<RequestId>2542826A-B67E-42C7-B1CB-2F5B52CDE9A8</RequestId>\\r\\n</UpdateQuotaAlarmResponse>","errorExample":""}]', + 'title' => 'UpdateQuotaAlarm', + 'description' => '* The quota alerting feature has been upgraded and this API operation will be deprecated. If you want to modify the information about a specific quota alert rule of the new version, call the CloudMonitor API operation [PutResourceMetricRules](~~2513316~~) or [PutMetricRuleTargets](~~2513302~~). For more information about how to call API operations to manage quota alert rules of the new version, see [Manage quota alerts of the new version by calling API operations](~~2863234~~).'."\n" + .'* In this example, the API operation is called to modify the information about a quota alert rule whose ID is `a2efa7fc-832f-47bb-8054-39e28012****` and whose name is `rules`. The alert threshold is changed from `150` to `160`.'."\n", + 'extraInfo' => ' ', + ], + 'ListQuotaAlarms' => [ + 'summary' => 'Queries quota alerts.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC3VMZU', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query.'."\n" + ."\n" + .'> An empty value indicates that the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of records that you want to return for the query.'."\n" + ."\n" + .'Valid values: 1 to 200. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'example' => '20', + 'default' => '20', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440554~~) operation and check the value of `ProductCode` in the response.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'AlarmName', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The name of the alert.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rules'."\n", + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* To obtain the quota ID of a cloud service, call the [ListProductQuotas](~~440554~~) operation and check the value of `QuotaActionCode` in the response.'."\n" + ."\n" + .'* If you specify this parameter, you must specify `ProductCode`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'q_hvnoqv', + ], + ], + [ + 'name' => 'QuotaDimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The maximum number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position at which the query ends.'."\n" + ."\n" + .'> An empty value indicates that all data is returned.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'QuotaAlarms' => [ + 'description' => 'The details about the quota alert rules.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details about the quota alert rule.'."\n", + 'type' => 'object', + 'properties' => [ + 'AlarmId' => [ + 'description' => 'The ID of the alert.'."\n", + 'type' => 'string', + 'example' => 'a2efa7fc-832f-47bb-8054-39e28012****', + ], + 'AlarmName' => [ + 'description' => 'The name of the alert event.'."\n", + 'type' => 'string', + 'example' => 'rules'."\n", + ], + 'CreateTime' => [ + 'description' => 'The time when the quota alert was created.'."\n", + 'type' => 'string', + 'example' => '2020-11-27T07:23:34Z', + ], + 'ExceedThreshold' => [ + 'description' => 'Indicates whether the alert threshold was reached. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'NotifyChannels' => [ + 'description' => 'The alert notification methods.', + 'type' => 'array', + 'items' => [ + 'description' => 'The alert notification methods. Valid values:'."\n" + ."\n" + .'* sms '."\n" + .'* email', + 'type' => 'string', + 'example' => 'sms', + ], + ], + 'NotifyTarget' => [ + 'description' => 'The alert contact.'."\n" + ."\n" + .'> Valid value: accountContact. Only the account contact is supported.'."\n", + 'type' => 'string', + 'example' => 'accountContact', + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'config', + ], + 'QuotaActionCode' => [ + 'description' => 'The ID of the quota.'."\n", + 'type' => 'string', + 'example' => 'q_hvnoqv', + ], + 'QuotaDimensions' => [ + 'description' => 'The quota dimensions.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'QuotaUsage' => [ + 'description' => 'The used quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '73', + ], + 'QuotaValue' => [ + 'description' => 'The value of the quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '200', + ], + 'Threshold' => [ + 'description' => 'The numeric value of the alert threshold.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '160', + ], + 'ThresholdPercent' => [ + 'description' => 'The percentage of the alert threshold.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '80', + ], + 'ThresholdType' => [ + 'description' => 'The type of the quota alert. Valid values:'."\n" + ."\n" + .'* used: The alert is created for the used quota.'."\n" + .'* usable: The alert is created for the available quota.'."\n", + 'type' => 'string', + 'example' => 'used', + ], + 'WebHook' => [ + 'description' => 'The webhook URL.'."\n", + 'type' => 'string', + 'example' => 'https://www.aliyun.com/webhook', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '87F3B755-3BD2-4C76-B36A-93247002918C', + ], + 'TotalCount' => [ + 'description' => 'The total number of quota alerts.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MaxResults\\": 1,\\n \\"NextToken\\": \\"1\\",\\n \\"QuotaAlarms\\": [\\n {\\n \\"AlarmId\\": \\"a2efa7fc-832f-47bb-8054-39e28012****\\",\\n \\"AlarmName\\": \\"q_hvnoqv alarm\\",\\n \\"CreateTime\\": \\"2020-11-27T07:23:34Z\\",\\n \\"ExceedThreshold\\": false,\\n \\"NotifyChannels\\": [\\n \\"sms\\"\\n ],\\n \\"NotifyTarget\\": \\"accountContact\\",\\n \\"ProductCode\\": \\"config\\",\\n \\"QuotaActionCode\\": \\"q_hvnoqv\\",\\n \\"QuotaDimensions\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"QuotaUsage\\": 73,\\n \\"QuotaValue\\": 200,\\n \\"Threshold\\": 160,\\n \\"ThresholdPercent\\": 80,\\n \\"ThresholdType\\": \\"used\\",\\n \\"WebHook\\": \\"https://www.aliyun.com/webhook\\"\\n }\\n ],\\n \\"RequestId\\": \\"87F3B755-3BD2-4C76-B36A-93247002918C\\",\\n \\"TotalCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<ListQuotaAlarmsResponse>\\r\\n\\t<TotalCount>2</TotalCount>\\r\\n\\t<QuotaAlarms>\\r\\n\\t\\t<AlarmId>a2efa7fc-832f-47bb-8054-39e28012****</AlarmId>\\r\\n\\t\\t<QuotaActionCode>q_hvnoqv</QuotaActionCode>\\r\\n\\t\\t<NotifyChannels>sms</NotifyChannels>\\r\\n\\t\\t<QuotaValue>200</QuotaValue>\\r\\n\\t\\t<QuotaDimensions/>\\r\\n\\t\\t<AlarmName>规则创建数量告警</AlarmName>\\r\\n\\t\\t<ProductCode>config</ProductCode>\\r\\n\\t\\t<NotifyTarget>accountContact</NotifyTarget>\\r\\n\\t\\t<CreateTime>2020-11-27T07:23:34Z</CreateTime>\\r\\n\\t\\t<QuotaUsage>73</QuotaUsage>\\r\\n\\t\\t<ExceedThreshold>false</ExceedThreshold>\\r\\n\\t\\t<Threshold>160</Threshold>\\r\\n\\t</QuotaAlarms>\\r\\n\\t<QuotaAlarms>\\r\\n\\t\\t<AlarmId>3f42ae59-edd0-44ad-aed1-b7aa36ff****</AlarmId>\\r\\n\\t\\t<QuotaActionCode>q_elastic-network-interfaces</QuotaActionCode>\\r\\n\\t\\t<NotifyChannels>sms</NotifyChannels>\\r\\n\\t\\t<NotifyChannels>email</NotifyChannels>\\r\\n\\t\\t<QuotaValue>50000</QuotaValue>\\r\\n\\t\\t<QuotaDimensions>\\r\\n\\t\\t\\t<regionId>cn-hangzhou</regionId>\\r\\n\\t\\t</QuotaDimensions>\\r\\n\\t\\t<AlarmName>test123</AlarmName>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<NotifyTarget>accountContact</NotifyTarget>\\r\\n\\t\\t<CreateTime>2020-11-27T06:51:35Z</CreateTime>\\r\\n\\t\\t<QuotaUsage>1</QuotaUsage>\\r\\n\\t\\t<ExceedThreshold>false</ExceedThreshold>\\r\\n\\t\\t<Threshold>5</Threshold>\\r\\n\\t</QuotaAlarms>\\r\\n\\t<RequestId>87F3B755-3BD2-4C76-B36A-93247002918C</RequestId>\\r\\n\\t<MaxResults>2</MaxResults>\\r\\n</ListQuotaAlarmsResponse>\\t","errorExample":""}]', + 'title' => 'ListQuotaAlarms', + 'description' => 'The quota alerting feature has been upgraded and this API operation will be deprecated. You can call this operation only to query quota alert rules of the old version. If you want to query quota alert rules of the new version, call the CloudMonitor API operation [DescribeMetricRuleList](~~2513291~~). For more information about how to call API operations to manage quota alert rules of the new version, see [Manage quota alerts of the new version by calling API operations](~~2863234~~).'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetQuotaAlarm' => [ + 'summary' => 'In this example, the operation is called to query the details of a quota alert. The details of the alert are returned. The query results include the alert ID, alert name, alert contact, and time when the quota alert was created.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC3VMZU', + ], + ], + 'parameters' => [ + [ + 'name' => 'AlarmId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the quota alert.'."\n" + ."\n" + .'For more information about how to query the ID of a quota alert, see [ListQuotaAlarms](~~184348~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '78d7e436-4b25-4897-84b5-d7b656bb****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'QuotaAlarm' => [ + 'description' => 'The details of the quota alert.'."\n", + 'type' => 'object', + 'properties' => [ + 'AlarmId' => [ + 'description' => 'The ID of the quota alert.'."\n", + 'type' => 'string', + 'example' => '78d7e436-4b25-4897-84b5-d7b656bb****', + ], + 'AlarmName' => [ + 'description' => 'The name of the quota alert.'."\n", + 'type' => 'string', + 'example' => 'tf-testacccn-hangzhouquotasquotaalarm81611', + ], + 'CreateTime' => [ + 'description' => 'The time when the quota alert was created.'."\n", + 'type' => 'string', + 'example' => '2021-01-21T03:47:28Z', + ], + 'NotifyChannels' => [ + 'description' => 'The alert notification methods.', + 'type' => 'array', + 'items' => [ + 'description' => 'The notification methods of the quota alert. Valid values:'."\n" + ."\n" + .'* sms: SMS messages'."\n" + .'* email: emails', + 'type' => 'string', + 'example' => '["sms", "email"]', + ], + ], + 'NotifyTarget' => [ + 'description' => 'The alert contact.'."\n", + 'type' => 'string', + 'example' => 'accountContact', + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'QuotaActionCode' => [ + 'description' => 'The ID of the quota.'."\n", + 'type' => 'string', + 'example' => 'q_security-groups', + ], + 'QuotaDimension' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'QuotaUsage' => [ + 'description' => 'The used quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '28', + ], + 'QuotaValue' => [ + 'description' => 'The quota value.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '804', + ], + 'Threshold' => [ + 'description' => 'The numeric value of the alert threshold.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '29', + ], + 'ThresholdPercent' => [ + 'description' => 'The percentage of the alert threshold.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '50', + ], + 'ThresholdType' => [ + 'description' => 'The type of the quota alert. Valid values:'."\n" + ."\n" + .'* used: The alert is created for the used quota.'."\n" + .'* usable: The alert is created for the available quota.'."\n", + 'type' => 'string', + 'example' => 'used', + ], + 'Webhook' => [ + 'description' => 'The webhook URL. Quota Center sends alert notifications to the specified URL by using HTTP POST requests.', + 'type' => 'string', + 'example' => 'https://alert.aliyun.com/callback', + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '81B9D511-F3DD-43B1-9A81-1795DDB52ADF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'RAM.PERMISSION.DENIED', + 'errorMessage' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + [ + 'errorCode' => 'ALARM.NOT.FOUND', + 'errorMessage' => 'The AlarmId provided does not exist in our records.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"QuotaAlarm\\": {\\n \\"AlarmId\\": \\"78d7e436-4b25-4897-84b5-d7b656bb****\\",\\n \\"AlarmName\\": \\"q_security-groups alarm\\",\\n \\"CreateTime\\": \\"2021-01-21T03:47:28Z\\",\\n \\"NotifyChannels\\": [\\n \\"[\\\\\\"sms\\\\\\", \\\\\\"email\\\\\\"]\\"\\n ],\\n \\"NotifyTarget\\": \\"accountContact\\",\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"q_security-groups\\",\\n \\"QuotaDimension\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"QuotaUsage\\": 28,\\n \\"QuotaValue\\": 804,\\n \\"Threshold\\": 29,\\n \\"ThresholdPercent\\": 50,\\n \\"ThresholdType\\": \\"used\\",\\n \\"Webhook\\": \\"https://alert.aliyun.com/callback\\"\\n },\\n \\"RequestId\\": \\"81B9D511-F3DD-43B1-9A81-1795DDB52ADF\\"\\n}","errorExample":""},{"type":"xml","example":"<GetQuotaAlarmResponse>\\r\\n\\t<RequestId>81B9D511-F3DD-43B1-9A81-1795DDB52ADF</RequestId>\\r\\n\\t<QuotaAlarm>\\r\\n\\t\\t<AlarmId>78d7e436-4b25-4897-84b5-d7b656bb****</AlarmId>\\r\\n\\t\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\r\\n\\t\\t<NotifyChannels>sms</NotifyChannels>\\r\\n\\t\\t<NotifyChannels>email</NotifyChannels>\\r\\n\\t\\t<QuotaValue>804</QuotaValue>\\r\\n\\t\\t<AlarmName> 安全组总数量上限</AlarmName>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<NotifyTarget>accountContact</NotifyTarget>\\r\\n\\t\\t<CreateTime>2021-01-21T03:47:28Z</CreateTime>\\r\\n\\t\\t<QuotaDimension>\\r\\n\\t\\t\\t<regionId>cn-hangzhou</regionId>\\r\\n\\t\\t</QuotaDimension>\\r\\n\\t\\t<QuotaUsage>28</QuotaUsage>\\r\\n\\t\\t<Threshold>29</Threshold>\\r\\n <ThresholdType>used</ThresholdType>\\r\\n\\t</QuotaAlarm>\\r\\n</GetQuotaAlarmResponse>\\t","errorExample":""}]', + 'title' => 'GetQuotaAlarm', + 'description' => '* The quota alerting feature has been upgraded and this API operation will be deprecated. You can call this operation only to query the details about the quota alert rules of the old version. If you want to query the details about the quota alert rules of the new version, call CloudMonitor API operations. For more information, see [Use API operations to manage new quota alert rules](~~2863234~~).'."\n" + .'* In this example, the operation is called to query the details of a quota alert rule whose ID is `78d7e436-4b25-4897-84b5-d7b656bb****`. The details of the alert rule are returned. The query result includes the alert ID, alert name, alert contact, and the time when the quota alert rule was created.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListAlarmHistories' => [ + 'summary' => 'Queries the alert records.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC3VMZU', + ], + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of records that can be returned for the query.'."\n" + ."\n" + .'Valid values: 1 to 200. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The keyword that is used for the query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Quantity'."\n", + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The beginning of the time range to query.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '20201020', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The end of the time range to query.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '20201024', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> For more information, see [Alibaba Cloud services that support Quota Center](~~182368~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'AlarmId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the alert.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '18b3be23-b7b0-4d45-91bc-d0c331aa****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'None.'."\n", + 'type' => 'object', + 'properties' => [ + 'AlarmHistories' => [ + 'description' => 'The details of the quota alert records.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AlarmName' => [ + 'description' => 'The name of the quota alert.'."\n", + 'type' => 'string', + 'example' => 'security_groups'."\n", + ], + 'CreateTime' => [ + 'description' => 'The time when the quota alert rule was created.'."\n", + 'type' => 'string', + 'example' => '2021-01-24T09:20:09Z', + ], + 'NotifyChannels' => [ + 'description' => 'The notification methods of the quota alert.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The notification methods of the quota alert. Valid values:'."\n" + ."\n" + .'* sms: text messages'."\n" + .'* email: emails'."\n", + 'type' => 'string', + 'example' => '["sms", "email"]', + ], + ], + 'NotifyTarget' => [ + 'description' => 'The quota alert contact.'."\n", + 'type' => 'string', + 'example' => 'accountContact', + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'QuotaActionCode' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'example' => 'q_security-groups', + ], + 'QuotaUsage' => [ + 'description' => 'The used quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '31', + ], + 'Threshold' => [ + 'description' => 'The threshold to trigger quota alerts.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '29', + ], + 'ThresholdPercent' => [ + 'description' => 'The percentage of the quota alert threshold.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '80', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => 'The maximum number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position at which the query ends. An empty value indicates that all data is returned.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CB38DDF9-B1E0-48C1-9966-19C443C2841E', + ], + 'TotalCount' => [ + 'description' => 'The total number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidStartTime', + 'errorMessage' => 'Invalid StartTime', + ], + [ + 'errorCode' => 'InvalidEndTime', + 'errorMessage' => 'Invalid EndTime', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AlarmHistories\\": [\\n {\\n \\"AlarmName\\": \\"q_security-groups alarm\\",\\n \\"CreateTime\\": \\"2021-01-24T09:20:09Z\\",\\n \\"NotifyChannels\\": [\\n \\"[\\\\\\"sms\\\\\\", \\\\\\"email\\\\\\"]\\"\\n ],\\n \\"NotifyTarget\\": \\"accountContact\\",\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"q_security-groups\\",\\n \\"QuotaUsage\\": 31,\\n \\"Threshold\\": 29,\\n \\"ThresholdPercent\\": 80\\n }\\n ],\\n \\"MaxResults\\": 4,\\n \\"NextToken\\": \\"1\\",\\n \\"RequestId\\": \\"CB38DDF9-B1E0-48C1-9966-19C443C2841E\\",\\n \\"TotalCount\\": 4\\n}","errorExample":""},{"type":"xml","example":"<ListAlarmHistoriesResponse>\\r\\n\\t<TotalCount>4</TotalCount>\\r\\n\\t<RequestId>CB38DDF9-B1E0-48C1-9966-19C443C2841E</RequestId>\\r\\n\\t<MaxResults>4</MaxResults>\\r\\n\\t<AlarmHistories>\\r\\n\\t\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\r\\n\\t\\t<NotifyChannels>sms</NotifyChannels>\\r\\n\\t\\t<NotifyChannels>email</NotifyChannels>\\r\\n\\t\\t<AlarmName>安全组总数量上限</AlarmName>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<NotifyTarget>accountContact</NotifyTarget>\\r\\n\\t\\t<CreateTime>2021-01-24T09:20:09Z</CreateTime>\\r\\n\\t\\t<QuotaUsage>31</QuotaUsage>\\r\\n\\t\\t<Threshold>29</Threshold>\\r\\n\\t</AlarmHistories>\\r\\n\\t<AlarmHistories>\\r\\n\\t\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\r\\n\\t\\t<NotifyChannels>sms</NotifyChannels>\\r\\n\\t\\t<NotifyChannels>email</NotifyChannels>\\r\\n\\t\\t<AlarmName>安全组总数量上限</AlarmName>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<NotifyTarget>accountContact</NotifyTarget>\\r\\n\\t\\t<CreateTime>2021-01-23T09:20:07Z</CreateTime>\\r\\n\\t\\t<QuotaUsage>31</QuotaUsage>\\r\\n\\t\\t<Threshold>29</Threshold>\\r\\n\\t</AlarmHistories>\\r\\n\\t<AlarmHistories>\\r\\n\\t\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\r\\n\\t\\t<NotifyChannels>sms</NotifyChannels>\\r\\n\\t\\t<NotifyChannels>email</NotifyChannels>\\r\\n\\t\\t<AlarmName>安全组总数量上限</AlarmName>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<NotifyTarget>accountContact</NotifyTarget>\\r\\n\\t\\t<CreateTime>2021-01-22T09:10:08Z</CreateTime>\\r\\n\\t\\t<QuotaUsage>30</QuotaUsage>\\r\\n\\t\\t<Threshold>29</Threshold>\\r\\n\\t</AlarmHistories>\\r\\n\\t<AlarmHistories>\\r\\n\\t\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\r\\n\\t\\t<NotifyChannels>sms</NotifyChannels>\\r\\n\\t\\t<NotifyChannels>email</NotifyChannels>\\r\\n\\t\\t<AlarmName>安全组总数量上限</AlarmName>\\r\\n\\t\\t<ProductCode>ecs</ProductCode>\\r\\n\\t\\t<NotifyTarget>accountContact</NotifyTarget>\\r\\n\\t\\t<CreateTime>2021-01-21T09:10:08Z</CreateTime>\\r\\n\\t\\t<QuotaUsage>29</QuotaUsage>\\r\\n\\t\\t<Threshold>29</Threshold>\\r\\n\\t</AlarmHistories>\\r\\n</ListAlarmHistoriesResponse>\\t","errorExample":""}]', + 'title' => 'ListAlarmHistories', + 'description' => 'The quota alerting feature has been upgraded and this API operation will be deprecated. You can call this operation only to query the historical records of quota alert rules of the old version. If you want to query the historical records of quota alert rules of the new version, call the CloudMonitor API operation [DescribeAlertLogCount](~~2513275~~) or [DescribeAlertLogList](~~2513276~~). For more information about how to call API operations to manage quota alert rules of the new version, see [Manage quota alerts of the new version by calling API operations](~~2863234~~).'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateQuotaApplication' => [ + 'summary' => 'Submits an application to increase a quota.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasF0DSPH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, check the `ProductCode` parameter that is described in [ListProductQuotas](~~440554~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n" + ."\n" + .'> To query the quota ID of an Alibaba Cloud service, check the `QuotaActionCode` parameter that is described in [ListProductQuotas](~~440554~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'q_security-groups', + ], + ], + [ + 'name' => 'DesireValue', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The requested value of the quota.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* You can specify the DesireValue parameter based on the values of the `TotalUsage` and `ApplicableRange` parameters that are returned by the [ListProductQuotas](~~440554~~) operation.'."\n" + ."\n" + .'* Applications are reviewed by the technical support team of each Alibaba Cloud service. To increase the success rate of your application, you must specify a reasonable quota value and detailed reasons when you submit an application to increase the value of the quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'example' => '804', + ], + ], + [ + 'name' => 'Reason', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The reason for the application.'."\n" + ."\n" + .'> Applications are reviewed by the technical support team of each Alibaba Cloud service. To increase the success rate of your application, you must specify a reasonable quota value and detailed reasons when you submit an application to increase the value of the quota.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Scale Out'."\n", + ], + ], + [ + 'name' => 'NoticeType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Specifies whether to send a notification about the application result. Valid values:'."\n" + ."\n" + .'* 0 (default): no'."\n" + .'* 3: sends a notification.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + 'default' => '0', + 'enum' => [ + '0', + '1', + '2', + '3', + ], + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The quota dimensions. A quota item is uniquely determined by the values of Dimensions and QuotaActionCode.'."\n" + ."\n" + .'> Some dimensions are required. You can call the [ListProductQuotaDimensions](~~ListProductQuotaDimensions~~) operation to query the quota dimensions that are supported by an Alibaba Cloud service. The value of `Requisite` in the response indicates whether a dimension is required.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> You must configure `Dimensions.N.Key` and `Dimensions.N.Value` at the same time. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. You can call the [ListProductQuotaDimensions](~~ListProductQuotaDimensions~~) operation to query the dimensions that are supported by an Alibaba Cloud service. The number of elements in the returned array is N.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> You must configure `Dimensions.N.Key` and `Dimensions.N.Value` at the same time. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. You can call the [ListProductQuotaDimensions](~~ListProductQuotaDimensions~~) operation to query the dimensions that are supported by an Alibaba Cloud service. The number of elements in the returned array is N.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the quota. Valid values:'."\n" + ."\n" + .'Default value: CommonQuota.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: whitelist quota'."\n" + .'* CommonQuota: general quota'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'FlowControl' => '', + 'WhiteListLabel' => '', + 'CommonQuota' => '', + ], + 'example' => 'CommonQuota', + 'enum' => [ + 'CommonQuota', + 'FlowControl', + 'WhiteListLabel', + ], + ], + ], + [ + 'name' => 'AuditMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '> This parameter is deprecated and is not recommended.'."\n" + ."\n" + .'The mode in which you want the application to be reviewed.'."\n" + ."\n" + .'Valid values: '."\n" + .'* Async'."\n" + .'* Sync', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Async' => '', + 'Sync' => '', + ], + 'example' => 'Sync', + 'default' => 'Async', + 'enum' => [ + 'Async', + 'Sync', + ], + ], + ], + [ + 'name' => 'EnvLanguage', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The language of the quota alert notification.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* en: English'."\n" + .'* zh: Chinese'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'en' => '', + 'zh' => '', + ], + 'example' => 'zh', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The start time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel.'."\n" + ."\n" + .'> If you do not specify a start time, the default start time is the time when the quota application is submitted.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-20T09:25:56Z', + ], + ], + [ + 'name' => 'EffectiveTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The end time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel.'."\n" + ."\n" + .'> If you do not specify an end time, the default end time is 99 years after the quota application is submitted.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-19T09:25:56Z', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => 'The ID of the application.'."\n", + 'type' => 'string', + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****', + ], + 'ApplyTime' => [ + 'description' => 'The time when the application was submitted.'."\n", + 'type' => 'string', + 'example' => '2021-01-19T09:25:56Z', + ], + 'ApproveValue' => [ + 'description' => 'The quota value that is approved.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '804', + ], + 'AuditReason' => [ + 'description' => 'The result of the application.'."\n", + 'type' => 'string', + 'example' => 'Agree'."\n", + ], + 'DesireValue' => [ + 'description' => 'The requested value of the quota.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + 'Dimension' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'EffectiveTime' => [ + 'description' => 'The time when the new quota value takes effect.'."\n", + 'type' => 'string', + 'example' => '2021-01-19T09:25:56Z', + ], + 'ExpireTime' => [ + 'description' => 'The time when the new quota expires.'."\n", + 'type' => 'string', + 'example' => '2021-01-20T09:25:56Z', + ], + 'NoticeType' => [ + 'description' => 'Indicates whether the notification about the application result is sent. Valid values:'."\n" + ."\n" + .'* 0: The notification is not sent.'."\n" + .'* 3: The notification is sent.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [ + '', + 3 => '', + ], + 'example' => '3', + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs-spec', + ], + 'QuotaActionCode' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'example' => 'ecs.c5.large', + ], + 'QuotaArn' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the quota.'."\n", + 'type' => 'string', + 'example' => 'acs:quotas:cn-hangzhou:*:quota/ecs/ecs.m2.medium/prepaid/classic/instancetype/cn-hangzhou-b', + ], + 'QuotaDescription' => [ + 'description' => 'The description of the quota.'."\n", + 'type' => 'string', + 'example' => 'ecs.c5.large', + ], + 'QuotaName' => [ + 'description' => 'The name of the quota.'."\n", + 'type' => 'string', + 'example' => 'ecs.c5.large', + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the quota.'."\n", + 'type' => 'string', + 'example' => 'AMOUNT', + ], + 'Reason' => [ + 'description' => 'The reason for the application.'."\n", + 'type' => 'string', + 'example' => 'Scale Out'."\n", + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + 'Status' => [ + 'description' => 'The approval state of the quota increase application.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Cancel: The application is canceled.'."\n" + .'* Agree: The application is approved.'."\n" + .'* Process: The application is in review.'."\n" + .'* Disagree: The application is rejected.'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Cancel' => '', + 'Agree' => '', + 'Process' => '', + 'Disagree' => '', + ], + 'example' => 'Process', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ACQUIRE.LOCK.FAIL', + 'errorMessage' => 'The request is too frequent. Please try again later.', + ], + [ + 'errorCode' => 'InvalidNoticeType', + 'errorMessage' => 'Invalid NoticeType', + ], + [ + 'errorCode' => 'InvalidDesireValue', + 'errorMessage' => 'Invalid DesireValue', + ], + [ + 'errorCode' => 'QUOTA.NOT.ADJUSTABLE', + 'errorMessage' => 'Quota is not adjustable', + ], + [ + 'errorCode' => 'QUOTA.NOT.FOUND', + 'errorMessage' => 'The quota does not exist.', + ], + [ + 'errorCode' => 'QUOTA.APPLICATION.PROCESS', + 'errorMessage' => 'The quota adjustment application is being processed. Please try again later.', + ], + [ + 'errorCode' => 'QUOTA.DESIREVALUE.ILLEGAL', + 'errorMessage' => 'The applied quota value is invalid.', + ], + [ + 'errorCode' => 'QUOTA.APPLICATION.TIME.ERROE', + 'errorMessage' => 'ExpireTime cannot be earlier than the current time or EffectiveTime.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ApplicationId\\": \\"d314d6ae-867d-484c-9009-3d421a80****\\",\\n \\"ApplyTime\\": \\"2021-01-19T09:25:56Z\\",\\n \\"ApproveValue\\": 804,\\n \\"AuditReason\\": \\"Agree\\",\\n \\"DesireValue\\": 804,\\n \\"Dimension\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"EffectiveTime\\": \\"2021-01-19T09:25:56Z\\",\\n \\"ExpireTime\\": \\"2021-01-20T09:25:56Z\\",\\n \\"NoticeType\\": 3,\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"q_security-groups\\",\\n \\"QuotaArn\\": \\"acs:quotas::141339776561****:quota/ecs/q_security-groups\\",\\n \\"QuotaDescription\\": \\"The maximum number of security groups that can be owned by the current account.\\",\\n \\"QuotaName\\": \\"Maximum Number of Security Groups\\",\\n \\"QuotaUnit\\": \\"AMOUNT\\",\\n \\"Reason\\": \\"Scale Out\\",\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\",\\n \\"Status\\": \\"Process\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateQuotaApplicationResponse>\\n\\t<Status>Process</Status>\\n\\t<ApplyTime>2021-11-11T03:24:39Z</ApplyTime>\\n\\t<QuotaDescription>当前账户可拥有的安全组的最大数量</QuotaDescription>\\n\\t<RequestId>D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053</RequestId>\\n\\t<ProductCode>ecs</ProductCode>\\n\\t<Dimension>\\n\\t\\t<regionId>cn-hangzhou</regionId>\\n\\t</Dimension>\\n\\t<ApproveValue>1007</ApproveValue>\\n\\t<Reason>扩容</Reason>\\n\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\n\\t<QuotaName>安全组总数量上限</QuotaName>\\n\\t<QuotaArn>acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/</QuotaArn>\\n\\t<NoticeType>0</NoticeType>\\n\\t<ApplicationId>d314d6ae-867d-484c-9009-3d421a80****</ApplicationId>\\n\\t<DesireValue>804</DesireValue>\\n</CreateQuotaApplicationResponse>\\t","errorExample":""}]', + 'title' => 'CreateQuotaApplication', + 'description' => 'In this example, the operation is called to submit an application to increase the value of a quota whose ID is `q_security-groups` and whose name is Maximum Number of Security Groups. The quota belongs to Elastic Compute Service (ECS). The expected value of the quota is `804`, the application reason is `Scale Out`, and the ID of the region to which the quota belongs is `cn-hangzhou`.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetQuotaApplication' => [ + 'summary' => 'Queries the details about a specified application that is submitted to increase a quota.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotas29QQRO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ApplicationId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the application.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'QuotaApplication' => [ + 'description' => 'The details of the quota application.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => 'The ID of the application.'."\n", + 'type' => 'string', + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****', + ], + 'ApplyTime' => [ + 'description' => 'The time when the application was submitted.'."\n", + 'type' => 'string', + 'example' => '2021-01-19T09:25:56Z', + ], + 'ApproveValue' => [ + 'description' => 'The approved quota value.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'AuditReason' => [ + 'description' => 'The result of the application.'."\n", + 'type' => 'string', + 'example' => 'Agree'."\n", + ], + 'DesireValue' => [ + 'description' => 'The expected value of the quota.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '804', + ], + 'Dimension' => [ + 'description' => 'The dimension.'."\n" + ."\n" + .'Format: `{"regionId":"Region"}`.'."\n", + 'type' => 'object', + 'example' => '["cn-shanghai","cn-hangzhou"]', + ], + 'EffectiveTime' => [ + 'description' => 'The time when the new quota value takes effect.'."\n", + 'type' => 'string', + 'example' => '2021-01-19 15:30:00', + ], + 'ExpireTime' => [ + 'description' => 'The time when the new quota expires.'."\n", + 'type' => 'string', + 'example' => '2023-06-29 15:30:00', + ], + 'NoticeType' => [ + 'description' => 'The method of that is used to send alert notifications. Valid values:'."\n" + ."\n" + .'* 0: Quota Center does not send a notification.'."\n" + .'* 1: Quota Center sends an email notification.'."\n" + .'* 2: Quota Center sends an SMS notification.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'QuotaActionCode' => [ + 'description' => 'The ID of the quota.'."\n", + 'type' => 'string', + 'example' => 'q_security-groups', + ], + 'QuotaArn' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the quota.'."\n", + 'type' => 'string', + 'example' => 'acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/', + ], + 'QuotaDescription' => [ + 'description' => 'The description of the quota.'."\n", + 'type' => 'string', + 'example' => 'The maximum number of security groups that can be owned by the current account'."\n", + ], + 'QuotaName' => [ + 'description' => 'The name of the quota.'."\n", + 'type' => 'string', + 'example' => 'Maximum Number of Security Groups'."\n", + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the new quota value.'."\n", + 'type' => 'string', + 'example' => 'Count'."\n", + ], + 'Reason' => [ + 'description' => 'The reason for the application.'."\n", + 'type' => 'string', + 'example' => 'Scale Out'."\n", + ], + 'Status' => [ + 'description' => 'The status of the application. Valid values:'."\n" + ."\n" + .'* Disagree: The application is rejected.'."\n" + .'* Agree: The application is approved.'."\n" + .'* Process: The application is being reviewed.'."\n" + .'* Cancel: The application is closed.'."\n", + 'type' => 'string', + 'example' => 'Agree', + ], + 'QuotaCategory' => [ + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota.'."\n" + .'* FlowControl: API rate limit.'."\n" + .'* WhiteListLabel: whitelist quota.'."\n", + 'type' => 'string', + 'example' => 'CommonQuota', + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '7BBD1D37-094C-4485-8B7D-64682F82BC18', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'QUOTA.APPLICATION.NOT.FOUND', + 'errorMessage' => 'Quota application does not exist', + ], + [ + 'errorCode' => 'RAM.PERMISSION.DENIED', + 'errorMessage' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"QuotaApplication\\": {\\n \\"ApplicationId\\": \\"d314d6ae-867d-484c-9009-3d421a80****\\",\\n \\"ApplyTime\\": \\"2021-01-19T09:25:56Z\\",\\n \\"ApproveValue\\": 10,\\n \\"AuditReason\\": \\"Agree\\",\\n \\"DesireValue\\": 804,\\n \\"Dimension\\": [\\n \\"cn-shanghai\\",\\n \\"cn-hangzhou\\"\\n ],\\n \\"EffectiveTime\\": \\"2021-01-19 15:30:00\\",\\n \\"ExpireTime\\": \\"2023-06-29 15:30:00\\",\\n \\"NoticeType\\": 0,\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"q_security-groups\\",\\n \\"QuotaArn\\": \\"acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/\\",\\n \\"QuotaDescription\\": \\"The maximum number of security groups that can be owned by the current account.\\",\\n \\"QuotaName\\": \\"Maximum Number of Security Groups\\",\\n \\"QuotaUnit\\": \\"AMOUNT\\",\\n \\"Reason\\": \\"Scale Out\\",\\n \\"Status\\": \\"Agree\\",\\n \\"QuotaCategory\\": \\"CommonQuota\\"\\n },\\n \\"RequestId\\": \\"7BBD1D37-094C-4485-8B7D-64682F82BC18\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateQuotaApplicationResponse>\\r\\n\\t<Status>Process</Status>\\r\\n\\t<ApplyTime>2021-11-11T03:24:39Z</ApplyTime>\\r\\n\\t<QuotaDescription>当前账户可拥有的安全组的最大数量</QuotaDescription>\\r\\n\\t<RequestId>D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053</RequestId>\\r\\n\\t<ProductCode>ecs</ProductCode>\\r\\n\\t<Dimension>\\r\\n\\t\\t<regionId>cn-hangzhou</regionId>\\r\\n\\t</Dimension>\\r\\n\\t<ApproveValue>1007</ApproveValue>\\r\\n\\t<Reason>扩容</Reason>\\r\\n\\t<QuotaActionCode>q_security-groups</QuotaActionCode>\\r\\n\\t<QuotaName>安全组总数量上限</QuotaName>\\r\\n\\t<QuotaArn>acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/</QuotaArn>\\r\\n\\t<NoticeType>0</NoticeType>\\r\\n\\t<ApplicationId>d314d6ae-867d-484c-9009-3d421a80****</ApplicationId>\\r\\n\\t<DesireValue>804</DesireValue>\\r\\n</CreateQuotaApplicationResponse>\\t","errorExample":""}]', + 'title' => 'GetQuotaApplication', + 'description' => 'In this example, the operation is called to query the details about an application whose ID is `d314d6ae-867d-484c-9009-3d421a80****`. The query result shows the details about the application. The details include the application ID, application time, expected quota value, and application result.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListQuotaApplications' => [ + 'summary' => 'Queries the details of an application that is submitted to increase a quota.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotas29QQRO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of entries to return.'."\n" + ."\n" + .'Valid values: 1 to 200. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'example' => '1', + 'default' => '20', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'csk', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the quota.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'q_i5uzm3', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The approval state of the quota increase application. Valid values:'."\n" + ."\n" + .'* Disagree: The application is rejected.'."\n" + .'* Agree: The application is approved.'."\n" + .'* Process: The application is in review.'."\n" + .'* Cancel: The application is canceled.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Agree', + 'enum' => [ + 'Agree', + 'Disagree', + 'Process', + 'Cancel', + ], + ], + ], + [ + 'name' => 'KeyWord', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The keyword that you want to use to search for the application.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Cluster'."\n", + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: whitelist quota'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CommonQuota', + 'enum' => [ + 'CommonQuota', + 'FlowControl', + 'WhiteListLabel', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The maximum number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position at which the query ends. An empty value indicates that all data is returned.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'QuotaApplications' => [ + 'description' => 'The details of the quota increase applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a quota increase application.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => 'The ID of the application.'."\n", + 'type' => 'string', + 'example' => 'b926571d-cc09-4711-b547-58a615f0****', + ], + 'ApplyTime' => [ + 'description' => 'The time when the application was submitted.'."\n", + 'type' => 'string', + 'example' => '2021-01-15T09:13:53Z', + ], + 'ApproveValue' => [ + 'description' => 'The quota value that is approved.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '101', + ], + 'AuditReason' => [ + 'description' => 'The result of the application.'."\n", + 'type' => 'string', + 'example' => 'Agree'."\n", + ], + 'Comment' => [ + 'description' => 'The remarks of the application.'."\n", + 'type' => 'string', + 'example' => 'test', + ], + 'DesireValue' => [ + 'description' => 'The quota value that is approved.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '101', + ], + 'Dimension' => [ + 'description' => 'The dimension of the application.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'EffectiveTime' => [ + 'description' => 'The time when the application took effect.'."\n", + 'type' => 'string', + 'example' => '2021-01-15T11:46:25Z', + ], + 'ExpireTime' => [ + 'description' => 'The time when the application expired.'."\n", + 'type' => 'string', + 'example' => '2021-01-17T11:46:25Z', + ], + 'NoticeType' => [ + 'description' => 'Indicates whether Quota Center sends a notification about the application result. Valid values:'."\n" + ."\n" + .'* 0: A notification about the application result is not sent.'."\n" + .'* 3: A notification about the application result is sent.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'Period' => [ + 'description' => 'The calculation cycle of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'PeriodUnit' => [ + 'description' => 'The unit of the calculation cycle. Valid values:'."\n" + ."\n" + .'* second'."\n" + .'* minute'."\n" + .'* hour'."\n" + .'* day'."\n" + .'* week'."\n", + 'type' => 'string', + 'example' => 'second', + ], + 'PeriodValue' => [ + 'description' => 'The value of the calculation cycle.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'csk', + ], + 'QuotaActionCode' => [ + 'description' => 'The ID of the quota.'."\n", + 'type' => 'string', + 'example' => 'q_i5uzm3', + ], + 'QuotaArn' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the quota.'."\n", + 'type' => 'string', + 'example' => 'acs:quotas:*:120886317861****:quota/csk/q_i5uzm3', + ], + 'QuotaCategory' => [ + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota (default): general quota.'."\n" + .'* WhiteListLabel: whitelist quota.'."\n" + .'* FlowControl: API rate limit.'."\n", + 'type' => 'string', + 'example' => 'CommonQuota', + ], + 'QuotaDescription' => [ + 'description' => 'The description of the quota.'."\n", + 'type' => 'string', + 'example' => 'The maximum number of nodes in a cluster'."\n", + ], + 'QuotaName' => [ + 'description' => 'The name of the quota.'."\n", + 'type' => 'string', + 'example' => 'Maximum Number of Nodes'."\n", + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the new quota value.'."\n", + 'type' => 'string', + 'example' => 'Node', + ], + 'Reason' => [ + 'description' => 'The reason for the application.'."\n", + 'type' => 'string', + 'example' => 'Business expansion'."\n", + ], + 'Status' => [ + 'description' => 'The status of the application. Valid values:'."\n" + ."\n" + .'* Disagree: The application is rejected.'."\n" + .'* Agree: The application is approved.'."\n" + .'* Process: The application is being reviewed.'."\n" + .'* Cancel: The application is canceled.'."\n", + 'type' => 'string', + 'example' => 'Agree', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '730925FB-0BD0-40AC-AF3A-A6C6E9716879', + ], + 'TotalCount' => [ + 'description' => 'The total number of applications.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidStatus', + 'errorMessage' => 'Invalid Status', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MaxResults\\": 1,\\n \\"NextToken\\": \\"1\\",\\n \\"QuotaApplications\\": [\\n {\\n \\"ApplicationId\\": \\"b926571d-cc09-4711-b547-58a615f0****\\",\\n \\"ApplyTime\\": \\"2021-01-15T09:13:53Z\\",\\n \\"ApproveValue\\": 101,\\n \\"AuditReason\\": \\"Agree\\",\\n \\"Comment\\": \\"test\\",\\n \\"DesireValue\\": 101,\\n \\"Dimension\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"EffectiveTime\\": \\"2021-01-15T11:46:25Z\\",\\n \\"ExpireTime\\": \\"2021-01-17T11:46:25Z\\",\\n \\"NoticeType\\": 3,\\n \\"Period\\": {\\n \\"PeriodUnit\\": \\"second\\",\\n \\"PeriodValue\\": 1\\n },\\n \\"ProductCode\\": \\"csk\\",\\n \\"QuotaActionCode\\": \\"q_i5uzm3\\",\\n \\"QuotaArn\\": \\"acs:quotas:*:120886317861****:quota/csk/q_i5uzm3\\",\\n \\"QuotaCategory\\": \\"CommonQuota\\",\\n \\"QuotaDescription\\": \\"The maximum number of nodes in a cluster.\\",\\n \\"QuotaName\\": \\"Maximum Number of Nodes\\",\\n \\"QuotaUnit\\": \\"Node\\",\\n \\"Reason\\": \\"Business expansion\\",\\n \\"Status\\": \\"Agree\\"\\n }\\n ],\\n \\"RequestId\\": \\"730925FB-0BD0-40AC-AF3A-A6C6E9716879\\",\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListQuotaApplicationsResponse>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<QuotaApplications>\\r\\n\\t\\t<Status>Agree</Status>\\r\\n\\t\\t<ApplyTime>2021-01-15T09:13:53Z</ApplyTime>\\r\\n\\t\\t<QuotaDescription>集群最大节点数</QuotaDescription>\\r\\n\\t\\t<ProductCode>csk</ProductCode>\\r\\n\\t\\t<AuditReason>同意</AuditReason>\\r\\n\\t\\t<QuotaUnit>Node</QuotaUnit>\\r\\n\\t\\t<Period />\\r\\n\\t\\t<Dimension>{\\\\\\"regionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\"}</Dimension>\\r\\n\\t\\t<ApproveValue>101</ApproveValue>\\r\\n\\t\\t<Reason>业务扩张</Reason>\\r\\n\\t\\t<QuotaActionCode>q_i5uzm3</QuotaActionCode>\\r\\n\\t\\t<QuotaName>集群最大节点数</QuotaName>\\r\\n\\t\\t<QuotaArn>acs:quotas:*:120886317861****:quota/csk/q_i5uzm3</QuotaArn>\\r\\n\\t\\t<NoticeType>3</NoticeType>\\r\\n\\t\\t<ApplicationId>b926571d-cc09-4711-b547-58a615f0****</ApplicationId>\\r\\n\\t\\t<DesireValue>101</DesireValue>\\r\\n\\t</QuotaApplications>\\r\\n\\t<RequestId>730925FB-0BD0-40AC-AF3A-A6C6E9716879</RequestId>\\r\\n\\t<MaxResults>1</MaxResults>\\r\\n</ListQuotaApplicationsResponse>\\t","errorExample":""}]', + 'title' => 'ListQuotaApplications', + 'description' => 'In this example, the operation is called to query the details of an application that is submitted to increase a quota whose ID is `q_i5uzm3` and whose name is Maximum Number of Nodes. This quota belongs to Container Service for Kubernetes (ACK). The query result shows the details of the application. The details include the application ID, application time, requested quota, and application result. In this example, the application ID is `b926571d-cc09-4711-b547-58a615f0****`. The application time is `2021-01-15T09:13:53Z`. The expected quota value is `101`. The application result is `Agree`.'."\n", + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~171299~~).'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetQuotaApplicationApproval' => [ + 'summary' => 'Queries the information about quota application approval, such as the average amount of time required for approval, whether approval reminders are supported, and the interval between two consecutive approval reminders.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApplicationId', + 'in' => 'formData', + 'schema' => [ + 'title' => '申请单 id', + 'description' => 'The quota application ID.'."\n" + ."\n" + .'For more information about how to obtain the ID of a quota application, see [ListQuotaApplications](~~440568~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'd314d6ae-867d-484c-9009-3d42****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopResultDTO<QuotaApplicationApprovalVO>', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'AllowRetry' => [ + 'description' => 'Indicates whether retries are allowed. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'DynamicCode' => [ + 'description' => 'The dynamic error code.'."\n", + 'type' => 'string', + 'example' => 'PARAMETER.ILLEGALL', + ], + 'DynamicMessage' => [ + 'description' => 'The dynamic error message.'."\n", + 'type' => 'string', + 'example' => 'Parameter[%s] is required.', + ], + 'ErrorArgs' => [ + 'description' => 'The parameters whose values are invalid.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter whose value is invalid.'."\n", + 'type' => 'any', + 'example' => 'ApplicationId', + ], + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'RAM.PERMISSION.DENIED', + ], + 'ErrorMsg' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Module' => [ + 'description' => 'The information about quota application approval.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApprovalHours' => [ + 'description' => 'The average amount of time required to approve quota applications. Unit: hour.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '24', + ], + 'ReminderIntervalHours' => [ + 'description' => 'The interval between two consecutive approval reminders. Unit: hour.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '24', + ], + 'SupportReminder' => [ + 'title' => '是否支持审批提醒', + 'description' => 'Indicates whether approval reminders are supported for quota applications. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'UnsupportReminderReason' => [ + 'description' => 'The reason why approval reminders are not supported for quota applications.'."\n", + 'type' => 'string', + 'example' => 'can only be remind once within the interval', + ], + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '7ED584FB-ECBF-4A2A-969D-F54D25EFABF9', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'True', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'QUOTA.APPLICATION.NOT.FOUND', + 'errorMessage' => 'Quota application does not exist', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AllowRetry\\": false,\\n \\"DynamicCode\\": \\"PARAMETER.ILLEGALL\\",\\n \\"DynamicMessage\\": \\"Parameter[%s] is required.\\",\\n \\"ErrorArgs\\": [\\n \\"ApplicationId\\"\\n ],\\n \\"ErrorCode\\": \\"RAM.PERMISSION.DENIED\\",\\n \\"ErrorMsg\\": \\"You are not authorized to do this action or the API input parameter is invalid.\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Module\\": {\\n \\"ApprovalHours\\": 24,\\n \\"ReminderIntervalHours\\": 24,\\n \\"SupportReminder\\": false,\\n \\"UnsupportReminderReason\\": \\"can only be remind once within the interval\\"\\n },\\n \\"RequestId\\": \\"7ED584FB-ECBF-4A2A-969D-F54D25EFABF9\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetQuotaApplicationApproval', + 'description' => '### [](#)Prerequisites'."\n" + ."\n" + .'Make sure that you have created an application for quota increase. For more information, see [CreateQuotaApplication](~~440566~~).'."\n", + ], + 'RemindQuotaApplicationApproval' => [ + 'summary' => 'Reminds the approver of a quota application to review the application. This operation is applicable to quota applications that support the approval reminding feature.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ApplicationId', + 'in' => 'formData', + 'schema' => [ + 'title' => '申请单 id', + 'description' => 'The quota application ID.'."\n" + ."\n" + .'For more information about how to obtain the ID of a quota application, see [ListQuotaApplications](~~440568~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '219f1ff6-6205-495f-bda7-90d2fe945e****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopResultDTO<String>', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'AllowRetry' => [ + 'description' => 'Indicates whether retries are allowed. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'DynamicCode' => [ + 'description' => 'The dynamic error code.'."\n", + 'type' => 'string', + 'example' => 'PARAMETER.ILLEGALL', + ], + 'DynamicMessage' => [ + 'description' => 'The dynamic error message.'."\n", + 'type' => 'string', + 'example' => 'Parameter[%s] is required.', + ], + 'ErrorArgs' => [ + 'description' => 'The parameters whose values are invalid.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter whose value is invalid.'."\n", + 'type' => 'any', + 'example' => 'ApplicationId', + ], + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'RAM.PERMISSION.DENIED'."\n", + ], + 'ErrorMsg' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Module' => [ + 'description' => 'The quota application ID.'."\n", + 'type' => 'string', + 'example' => '219f1ff6-6205-495f-bda7-90d2fe945e****', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'QUOTA.APPLICATION.NOT.FOUND', + 'errorMessage' => 'Quota application does not exist', + ], + [ + 'errorCode' => 'REMIND.APPLICATION.LIMIT', + 'errorMessage' => 'Quota application do not support reminders or reminder interval exceeds the limit.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AllowRetry\\": false,\\n \\"DynamicCode\\": \\"PARAMETER.ILLEGALL\\",\\n \\"DynamicMessage\\": \\"Parameter[%s] is required.\\",\\n \\"ErrorArgs\\": [\\n \\"ApplicationId\\"\\n ],\\n \\"ErrorCode\\": \\"RAM.PERMISSION.DENIED\\\\n\\",\\n \\"ErrorMsg\\": \\"You are not authorized to do this action or the API input parameter is invalid.\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Module\\": \\"219f1ff6-6205-495f-bda7-90d2fe945e****\\",\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'RemindQuotaApplicationApproval', + 'description' => '> You can call this operation to enable the approval reminder feature for quota applications that support this feature. To check whether this feature is supported, you can view the value of `SupportReminder` in the GetQuotaApplicationApproval operation. If the value of SupportReminder is `true`, this feature is supported.'."\n", + ], + 'GetQuotaTemplateServiceStatus' => [ + 'summary' => 'Queries the status of a quota template.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'ResourceDirectoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the resource directory.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rd-pG****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + 'TemplateServiceStatus' => [ + 'description' => 'The status of the quota template.'."\n", + 'type' => 'object', + 'properties' => [ + 'ResourceDirectoryId' => [ + 'description' => 'The ID of the resource directory.'."\n", + 'type' => 'string', + 'example' => 'rd-pG****', + ], + 'ServiceStatus' => [ + 'description' => 'The status of the quota template. Valid values:'."\n" + ."\n" + .'* \\-1: The quota template is disabled.'."\n" + .'* 1: The quota template is enabled.'."\n" + .'* 0: No quota template is specified.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TEMPLATE.RDID.INVALID', + 'errorMessage' => 'RdId invalid', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\",\\n \\"TemplateServiceStatus\\": {\\n \\"ResourceDirectoryId\\": \\"rd-pG****\\",\\n \\"ServiceStatus\\": 1\\n }\\n}","type":"json"}]', + 'title' => 'GetQuotaTemplateServiceStatus', + 'description' => 'By default, the value of `ServiceStatus` is `0`, which indicates that no quota template is specified. If you want to use a quota template, make sure that the quota template is enabled. In this case, the value of `ServiceStatus` is `1`.'."\n", + ], + 'ModifyQuotaTemplateServiceStatus' => [ + 'summary' => 'Changes the status of a quota template. By default, the quota template is not configured. If the management account of a resource directory uses a quota template for the first time, you must enable the quota template. Only the management account of a resource directory can change the status of quota templates.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC0TSBQ', + ], + ], + 'parameters' => [ + [ + 'name' => 'ServiceStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The status of the quota template. Valid values:'."\n" + ."\n" + .'* \\-1: The quota template is disabled.'."\n" + .'* 1: The quota template is enabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + 'TemplateServiceStatus' => [ + 'description' => 'The status of the quota template.'."\n", + 'type' => 'object', + 'properties' => [ + 'ResourceDirectoryId' => [ + 'description' => 'The ID of the resource directory.'."\n", + 'type' => 'string', + 'example' => 'rd-pG****', + ], + 'ServiceStatus' => [ + 'description' => 'The status of the quota template. Valid values:'."\n" + ."\n" + .'* \\-1: The quota template is disabled.'."\n" + .'* 1: The quota template is enabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TEMPLATE.NOT.RD.MA', + 'errorMessage' => 'The requested account is not the MA master account of RD and does not have permission to operate quota templates.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\",\\n \\"TemplateServiceStatus\\": {\\n \\"ResourceDirectoryId\\": \\"rd-pG****\\",\\n \\"ServiceStatus\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyQuotaTemplateServiceStatusResponse>\\n <RequestId>D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053</RequestId>\\n <TemplateServiceStatus>\\n <ServiceStatus>1</ServiceStatus>\\n <ResourceDirectoryId>rd-pG****</ResourceDirectoryId>\\n </TemplateServiceStatus>\\n</ModifyQuotaTemplateServiceStatusResponse>","errorExample":""}]', + 'title' => 'ModifyQuotaTemplateServiceStatus', + 'description' => '### [](#)Prerequisites'."\n" + ."\n" + .'A resource directory is enabled. For more information, see [EnableResourceDirectory](~~604185~~).'."\n" + ."\n" + .'### [](#)Usage notes'."\n" + ."\n" + .'If the `ServiceStatus` parameter is set to `0` or `-1`, you can call this operation to set the parameter to `1`. Then, you can call the [CreateTemplateQuotaItem](~~450615~~) operation to create a quota template.'."\n", + ], + 'CreateTemplateQuotaItem' => [ + 'summary' => 'Creates a quota template by using the management account of a resource directory. After you create a quota template, if a member is added to the resource directory, the quota template automatically submits a quota increase request for the member. The quota values for existing members remain unchanged. You can use a quota template to apply for increases on multiple quotas at the same time. This automated approach improves the efficiency of quota management across your organization. Only the management account of a resource directory can create quota templates.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasVP27J0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '云服务名称缩写。', + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440555~~) operation and check the value of `ProductCode` in the response.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '配额ID。', + 'description' => 'The quota ID.'."\n" + ."\n" + .'> To obtain the quota ID of an Alibaba Cloud service, call the [ListProductQuotas](~~440554~~) operation and check the value of `QuotaActionCode` in the response.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'q_security-groups', + ], + ], + [ + 'name' => 'DesireValue', + 'in' => 'formData', + 'schema' => [ + 'title' => '配额申请的值。', + 'description' => 'The requested value of the quota.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* You can specify DesireValue based on the values of `TotalUsage` and `ApplicableRange` in the response to the [ListProductQuotas](~~440554~~) operation.'."\n" + ."\n" + .'* Applications are reviewed by the technical support team for each cloud service. To increase the success rate of your application, specify a reasonable quota value and a detailed reason.'."\n", + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'example' => '804', + ], + ], + [ + 'name' => 'NoticeType', + 'in' => 'formData', + 'schema' => [ + 'title' => '配额申请结果是否发送通知', + 'description' => 'Specifies whether to send a notification about the application result. Valid values:'."\n" + ."\n" + .'* 0 (default value): no'."\n" + .'* 3: yes'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '配额维度。', + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The quota dimension.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'EnvLanguage', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The language of the quota alert notification. Valid values:'."\n" + ."\n" + .'* zh (default value): Chinese'."\n" + .'* en: English'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'EffectiveTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The start time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel.'."\n" + ."\n" + .'> If you leave this parameter empty, the quota takes effect immediately.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-19T09:25:56Z', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The end time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel.'."\n" + ."\n" + .'> If you leave this parameter empty, no end time is specified.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-20T09:25:56Z', + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* WhiteListLabel: privilege'."\n" + .'* FlowControl: API rate limit'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CommonQuota', + 'enum' => [ + 'CommonQuota', + 'WhiteListLabel', + 'FlowControl', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'None.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'The ID of the quota template.'."\n", + 'type' => 'string', + 'example' => '1****', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TEMPLATE.NOT.RD.MA', + 'errorMessage' => 'The requested account is not the MA master account of RD and does not have permission to operate quota templates.', + ], + [ + 'errorCode' => 'QUOTA.DESIREVALUE.ILLEGAL', + 'errorMessage' => 'DesirValue less than or equal to the current quota value, or that is not within the adjustable range.', + ], + [ + 'errorCode' => 'QUOTA.NOT.ADJUSTABLE', + 'errorMessage' => 'Quota is not adjustable', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"1****\\",\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateTemplateQuotaItemResponse>\\n <RequestId>D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053</RequestId>\\n <Id>1****</Id>\\n</CreateTemplateQuotaItemResponse>","errorExample":""}]', + 'title' => 'CreateTemplateQuotaItem', + 'description' => '### [](#)Usage notes'."\n" + ."\n" + .'You must set the `ServiceStatus` parameter to `1`. This ensures that the quota template is enabled.'."\n" + ."\n" + .'You can call the [GetQuotaTemplateServiceStatus](~~450407~~) operation to query the status of a quota template. If the value of the `ServiceStatus` parameter in the response is `0` or `-1`, you must call the [ModifyQuotaTemplateServiceStatus](~~450406~~) operation to modify the value to `1`. A value of 0 indicates that the quota template is not configured. A value of -1 indicates that the quota template is disabled. A value of 1 indicates that the quota template is enabled.'."\n" + ."\n" + .'### [](#)'."\n" + ."\n" + .'After you create a quota template, you can call the [ListQuotaApplicationsForTemplate](~~2584864~~) operation to view the approval result. If the value of the `Status` parameter in the response is `Agree`, the quota template is approved.'."\n", + ], + 'ModifyTemplateQuotaItem' => [ + 'summary' => 'Modifies a quota template by using the management account of a resource directory. After you modify a quota template, the modification takes effect only for the members that are added to the resource directory by the management account. The quota values for existing members remain unchanged. Only the management account of a resource directory can be used to modify quota templates.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC0TSBQ', + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1****', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'q_security-groups', + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'DesireValue', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '804', + ], + ], + [ + 'name' => 'NoticeType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'EnvLanguage', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'EffectiveTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-19T09:25:56Z', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-20T09:25:56Z', + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CommonQuota', + 'enum' => [ + 'WhiteListLabel', + 'CommonQuota', + 'FlowControl', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1****', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TEMPLATE.NOT.FOUND', + 'errorMessage' => 'Quota template does not exist.', + ], + [ + 'errorCode' => 'UNSUPPORT.UPDATE.PRODUCTCODE.QUOTACODE', + 'errorMessage' => 'Modification of product name, quota code and dimension data is not supported', + ], + [ + 'errorCode' => 'RAM.PERMISSION.DENIED', + 'errorMessage' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + [ + 'errorCode' => 'TEMPLATE.NOT.RD.MA', + 'errorMessage' => 'The requested account is not the MA master account of RD and does not have permission to operate quota templates.', + ], + [ + 'errorCode' => 'QUOTA.DESIREVALUE.ILLEGAL', + 'errorMessage' => 'DesirValue less than or equal to the current quota value, or that is not within the adjustable range.', + ], + [ + 'errorCode' => 'UNSUPPORT.UPDATE.DIMENSIONS', + 'errorMessage' => 'The Quota dimension don\'t support be modified when you update quota template.', + ], + [ + 'errorCode' => 'TEMPLATE.ITEM.NOT.FOUND', + 'errorMessage' => 'Quota template item does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"1****\\",\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyTemplateQuotaItemResponse>\\n <RequestId>D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053</RequestId>\\n <Id>1****</Id>\\n</ModifyTemplateQuotaItemResponse>","errorExample":""}]', + 'title' => 'ModifyTemplateQuotaItem', + ], + 'ListQuotaApplicationTemplates' => [ + 'summary' => 'Queries quota templates by using the management account of a resource directory.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC0TSBQ', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品名称', + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440555~~) operation and check the value of `ProductCode` in the response.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '配额维度', + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the array object.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* You must specify both Key and Value for each quota dimension.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* You must specify both Key and Value for each quota dimension.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '配额操作code', + 'description' => 'The ID of the quota.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'q_security-groups', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '模版配额项ID', + 'description' => 'The ID of the quota item.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大记录条数', + 'description' => 'The maximum number of records that can be returned for the query. Valid values: 1 to 100. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query.'."\n" + ."\n" + .'> If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota.'."\n" + .'* WhiteListLabel: whitelist quota.'."\n" + .'* FlowControl: API rate limit.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CommonQuota', + 'enum' => [ + 'CommonQuota', + 'WhiteListLabel', + 'FlowControl', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'None.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The maximum number of records returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position at which the query ends.'."\n" + ."\n" + .'> An empty value indicates that all data is returned.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'QuotaApplicationTemplates' => [ + 'description' => 'The information about quota templates.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about a quota template.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicableRange' => [ + 'description' => 'None.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The range of the quota value that can be requested for the quota item.'."\n" + ."\n" + .'> This parameter is deprecated. For more information about the range, see the value of `SupportedRange` in the response of the [GetProductQuota](~~GetProductQuota~~) or [ListProductQuotas](~~ListProductQuotas~~) operation.'."\n" + ."\n" + .'* If the value of `ApplicableType` is `continuous` and the value of this parameter is `[802,1000]`, the range contains all integers from 802 to 1000.'."\n" + .'* If the value of `ApplicableType` is `discontinuous` and the value of this parameter is `[10,20,50,100]`, the range contains only 10,20,50, and 100.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '[802,1000]', + ], + ], + 'ApplicableType' => [ + 'description' => 'The type of the adjustable value. Valid values:'."\n" + ."\n" + .'* continuous'."\n" + .'* discontinuous'."\n", + 'type' => 'string', + 'example' => 'continuous', + ], + 'DesireValue' => [ + 'description' => 'The requested value of the quota.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '802', + ], + 'Dimensions' => [ + 'description' => 'The quota dimensions.'."\n" + ."\n" + .'Format: {"regionId":"Region"}.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'EffectiveTime' => [ + 'description' => 'The start time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-28T06:07:00Z', + ], + 'EnvLanguage' => [ + 'description' => 'The language of the quota alert notification. Valid values:'."\n" + ."\n" + .'* zh: Chinese'."\n" + .'* en: English'."\n", + 'type' => 'string', + 'example' => 'zh', + ], + 'ExpireTime' => [ + 'description' => 'The end time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-29T06:07:00Z', + ], + 'Id' => [ + 'description' => 'The ID of the quota template.'."\n", + 'type' => 'string', + 'example' => '1****', + ], + 'NoticeType' => [ + 'description' => 'Indicates whether Quota Center sends a notification about the application result. Valid values:'."\n" + ."\n" + .'* 0: no'."\n" + .'* 3: yes'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Period' => [ + 'description' => 'The calculation cycle of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'PeriodUnit' => [ + 'description' => 'The unit of the calculation cycle. Valid values:'."\n" + ."\n" + .'* second'."\n" + .'* minute'."\n" + .'* hour'."\n" + .'* day'."\n" + .'* week'."\n", + 'type' => 'string', + 'example' => 'day', + ], + 'PeriodValue' => [ + 'description' => 'The value of the calculation cycle.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'QuotaActionCode' => [ + 'description' => 'The ID of the quota.'."\n", + 'type' => 'string', + 'example' => 'q_security-groups', + ], + 'QuotaCategory' => [ + 'description' => 'The type of the quota. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: privilege'."\n", + 'type' => 'string', + 'example' => 'CommonQuota', + ], + 'QuotaDescription' => [ + 'description' => 'The description of the quota.'."\n", + 'type' => 'string', + 'example' => 'The maximum number of security groups that can be created by the current account.'."\n", + ], + 'QuotaName' => [ + 'description' => 'The name of the quota.'."\n", + 'type' => 'string', + 'example' => 'Maximum Number of Security Groups'."\n", + ], + ], + ], + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + 'TotalCount' => [ + 'description' => 'The total number of records returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '40', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TEMPLATE.ITEM.NOT.FOUND', + 'errorMessage' => 'Quota template item does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MaxResults\\": 30,\\n \\"NextToken\\": \\"1\\",\\n \\"QuotaApplicationTemplates\\": [\\n {\\n \\"ApplicableRange\\": [\\n 0\\n ],\\n \\"ApplicableType\\": \\"continuous\\",\\n \\"DesireValue\\": 802,\\n \\"Dimensions\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"EffectiveTime\\": \\"2022-09-28T06:07:00Z\\",\\n \\"EnvLanguage\\": \\"zh\\",\\n \\"ExpireTime\\": \\"2022-09-29T06:07:00Z\\",\\n \\"Id\\": \\"1****\\",\\n \\"NoticeType\\": 0,\\n \\"Period\\": {\\n \\"PeriodUnit\\": \\"day\\",\\n \\"PeriodValue\\": 1\\n },\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"q_security-groups\\",\\n \\"QuotaCategory\\": \\"CommonQuota\\",\\n \\"QuotaDescription\\": \\"The maximum number of security groups that can be created by the current account.\\\\n\\",\\n \\"QuotaName\\": \\"Maximum Number of Security Groups\\\\n\\"\\n }\\n ],\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\",\\n \\"TotalCount\\": 40\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListQuotaApplicationTemplates', + ], + 'DeleteTemplateQuotaItem' => [ + 'summary' => 'Deletes a quota template by using the management account of a resource directory. After you delete a quota template, if a member is added to the resource directory, the quota template no longer automatically submits a quota increase request for the member. Only the management account of a resource directory can delete quota templates.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasC0TSBQ', + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '配额项ID', + 'description' => 'The ID of the quota template.'."\n" + ."\n" + .'You can call the [ListQuotaApplicationTemplates](~~450403~~) operation to obtain the ID of a quota template.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '1****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'The ID of the quota template.'."\n", + 'type' => 'string', + 'example' => '1****', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'RAM.PERMISSION.DENIED', + 'errorMessage' => 'You are not authorized to do this action or the API input parameter is invalid.', + ], + [ + 'errorCode' => 'TEMPLATE.NOT.RD.MA', + 'errorMessage' => 'The requested account is not the MA master account of RD and does not have permission to operate quota templates.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"1****\\",\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteTemplateQuotaItemResponse>\\n <RequestId>D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053</RequestId>\\n <Id>1****</Id>\\n</DeleteTemplateQuotaItemResponse>","errorExample":""}]', + 'title' => 'DeleteTemplateQuotaItem', + ], + 'CreateQuotaApplicationsForTemplate' => [ + 'summary' => 'Submits a quota increase application. After you add a quota item to a quota template, the system automatically submits quota applications only for new members of the resource directory. The quota values for existing members remain unchanged. If you want to increase the quota values of existing members, you can submit a quota application for the members by applying quota templates to the members. Only the management account of a resource directory can create multiple quota applications at a time.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotasRRW33P', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'title' => 'CommonQuota, FlowControl, WhiteListLabel', + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: privilege'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'CommonQuota', + 'enum' => [ + 'CommonQuota', + 'FlowControl', + 'WhiteListLabel', + ], + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品code', + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440555~~) operation and check the value of `ProductCode` in the response.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ecs-spec', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'title' => 'quota的code', + 'description' => 'The quota ID.'."\n" + ."\n" + .'> To query the quota ID of an Alibaba Cloud service, call the [ListProductQuotas](~~440554~~) and check the value of `QuotaActionCode` in the response.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ecs.g5.2xlarge', + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '配额维度', + 'description' => 'The quota dimensions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionId', + ], + 'Value' => [ + 'description' => 'The value of the dimension.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.'."\n" + ."\n" + .'* This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + [ + 'name' => 'DesireValue', + 'in' => 'formData', + 'schema' => [ + 'title' => '申请的配额量', + 'description' => 'The requested value of the quota.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* You can specify DesireValue based on the values of `TotalUsage` and `ApplicableRange` in the response to the [ListProductQuotas](~~440554~~) operation.'."\n" + ."\n" + .'* Applications are reviewed by the technical support team of each Alibaba Cloud service. To increase the success rate of your application, specify a reasonable quota value and a detailed reason.'."\n", + 'type' => 'number', + 'format' => 'double', + 'required' => true, + 'example' => '12', + ], + ], + [ + 'name' => 'Reason', + 'in' => 'formData', + 'schema' => [ + 'title' => '申请理由', + 'description' => 'The reason for the quota application.'."\n" + ."\n" + .'> Applications are reviewed by the technical support team of each Alibaba Cloud service. To increase the success rate of your application, you must specify a reasonable quota value and detailed reasons when you submit the application.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Scale Out', + ], + ], + [ + 'name' => 'NoticeType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Specifies whether to send a notification about the application result. Valid values:'."\n" + ."\n" + .'* 0 (default): no'."\n" + .'* 3: yes'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'EnvLanguage', + 'in' => 'formData', + 'schema' => [ + 'title' => '环境 语种,如', + 'description' => 'The language of the notification about the application result. Valid values:'."\n" + ."\n" + .'* zh (default): Chinese'."\n" + .'* en: English'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'EffectiveTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '生效时间', + 'description' => 'The start time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel.'."\n" + ."\n" + .'> If you do not specify a start time, the value is the time when the quota application is submitted.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-19T09:25:56Z', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '过期时间(UTC 格式)', + 'description' => 'The end time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel.'."\n" + ."\n" + .'> If you do not specify an end time, the value is 99 years after the start time of the validity period.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-20T09:25:56Z', + ], + ], + [ + 'name' => 'AliyunUids', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '批量调整账号', + 'description' => 'The Alibaba Cloud accounts that correspond to the resource directory members for which the quotas are applied.'."\n" + ."\n" + .'> You can submit a quota increase application for a maximum of 50 members at a time. For more information about the members of a resource directory, see [ListAccounts](~~604207~~).'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The Alibaba Cloud account that corresponds to the resource directory member for which the quotas are applied.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '135048337611****'."\n", + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopResultDTO<String>', + 'description' => 'The request result.'."\n", + 'type' => 'object', + 'properties' => [ + 'AliyunUids' => [ + 'description' => 'The Alibaba Cloud accounts for which the quotas are applied.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The Alibaba Cloud account for which the quotas are applied.'."\n", + 'type' => 'string', + 'example' => '135048337611****', + ], + ], + 'BatchQuotaApplicationId' => [ + 'description' => 'The ID of the quota application batch.'."\n", + 'type' => 'string', + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****', + ], + 'FailResults' => [ + 'description' => 'The Alibaba Cloud accounts of the members in a resource directory whose quota increase request is rejected, and the reason for the rejection.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AliyunUid' => [ + 'description' => 'The Alibaba Cloud account of the members in a resource directory whose quota increase request is rejected.'."\n", + 'type' => 'string', + 'example' => '135048337611****', + ], + 'Reason' => [ + 'description' => 'The reason for the rejection.'."\n", + 'type' => 'string', + 'example' => 'The quota adjustment application is being processed. Please try again later.', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'QUOTA.APPLICATION.TIME.ERROE', + 'errorMessage' => 'ExpireTime cannot be earlier than the current time or EffectiveTime.', + ], + [ + 'errorCode' => 'TEMPLATE.NOT.RD.MA', + 'errorMessage' => 'The requested account is not the MA master account of RD and does not have permission to operate quota templates.', + ], + [ + 'errorCode' => 'QUOTA.APPLICATION.PROCESS', + 'errorMessage' => 'The quota adjustment application is being processed. Please try again later.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AliyunUids\\": [\\n \\"135048337611****\\"\\n ],\\n \\"BatchQuotaApplicationId\\": \\"d314d6ae-867d-484c-9009-3d421a80****\\",\\n \\"FailResults\\": [\\n {\\n \\"AliyunUid\\": \\"135048337611****\\",\\n \\"Reason\\": \\"The quota adjustment application is being processed. Please try again later.\\"\\n }\\n ],\\n \\"RequestId\\": \\"8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3\\"\\n}","type":"json"}]', + 'title' => 'CreateQuotaApplicationsForTemplate', + 'description' => '### [](#)QPS limit'."\n" + ."\n" + .'You can add a maximum of 10 quota items to a quota template at a time.'."\n", + ], + 'ListQuotaApplicationsDetailForTemplate' => [ + 'summary' => 'Queries the details of a quota increase application for member accounts in a resource directory.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotas29QQRO', + ], + ], + 'parameters' => [ + [ + 'name' => 'AliyunUid', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The Alibaba Cloud account that is used to submit the quota increase application.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '135048337611****', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440555~~) operation and check the value of `ProductCode` in the response.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.c5.large', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'title' => 'Agree, Disagree, Process, Cancel', + 'description' => 'The approval state of the quota increase application. Valid values:'."\n" + ."\n" + .'* Disagree: The application is rejected.'."\n" + .'* Agree: The application is approved.'."\n" + .'* Process: The application is in review.'."\n" + .'* Cancel: The application is canceled.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Agree', + ], + ], + [ + 'name' => 'BatchQuotaApplicationId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the quota application batch.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****'."\n", + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'title' => 'CommonQuota, FlowControl, WhiteListLabel', + 'description' => 'The type of the quota. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: privilege'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CommonQuota', + 'enum' => [ + 'CommonQuota', + 'FlowControl', + 'WhiteListLabel', + ], + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query.'."\n" + ."\n" + .'> An empty value indicates that the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '4', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of records that can be returned for the query.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ResultList<QuotaBatchApplicationVo>', + 'description' => 'The details of the quota increase application.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The maximum number of records that can be returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position from which you want to start the query.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'QuotaApplications' => [ + 'description' => 'The details of the quota increase application.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the quota increase application.', + 'type' => 'object', + 'properties' => [ + 'AliyunUid' => [ + 'description' => 'The ID of the Alibaba Cloud account.'."\n", + 'type' => 'string', + 'example' => '175376458581****', + ], + 'ApplicationId' => [ + 'description' => 'The ID of the quota increase application.'."\n", + 'type' => 'string', + 'example' => 'b926571d-cc09-4711-b547-58a615f0****', + ], + 'ApplyTime' => [ + 'description' => 'The time when the quota increase application was submitted. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2021-01-15T09:13:53Z', + ], + 'ApproveValue' => [ + 'description' => 'The quota value that is approved.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '101', + ], + 'AuditReason' => [ + 'description' => 'The approval result of the quota increase application.'."\n", + 'type' => 'string', + 'example' => 'Agree', + ], + 'BatchQuotaApplicationId' => [ + 'description' => 'The ID of the quota application batch.'."\n", + 'type' => 'string', + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****', + ], + 'DesireValue' => [ + 'description' => 'The requested value of the quota.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '60', + ], + 'EffectiveTime' => [ + 'description' => 'The start time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2021-01-15T11:46:25Z', + ], + 'EnvLanguage' => [ + 'description' => 'The language of the quota alert notification. Valid values:'."\n" + ."\n" + .'* zh: Chinese'."\n" + .'* en: English'."\n", + 'type' => 'string', + 'example' => 'zh', + ], + 'ExpireTime' => [ + 'description' => 'The end time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2021-01-17T11:46:25Z', + ], + 'NoticeType' => [ + 'description' => 'Indicates whether Quota Center sends a notification about the application result. Valid values:'."\n" + ."\n" + .'* 0: no'."\n" + .'* 3: yes'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'Period' => [ + 'description' => 'The calculation cycle of the quota.'."\n", + 'type' => 'object', + 'properties' => [ + 'PeriodUnit' => [ + 'title' => '配额计算周期单位', + 'description' => 'The unit of the calculation cycle of the quota.'."\n", + 'type' => 'string', + 'example' => 'second', + ], + 'PeriodValue' => [ + 'title' => '配额计算周期值', + 'description' => 'The value of the calculation cycle of the quota.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'QuotaActionCode' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'example' => 'ecs.n1.large', + ], + 'QuotaArn' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the quota.'."\n", + 'type' => 'string', + 'example' => 'acs:quotas:*:120886317861****:quota/csk/q_i5uzm3', + ], + 'QuotaCategory' => [ + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota (default): general quota'."\n" + .'* WhiteListLabel: privilege'."\n" + .'* FlowControl: API rate limit'."\n", + 'type' => 'string', + 'example' => 'CommonQuota', + ], + 'QuotaDescription' => [ + 'description' => 'The description of the quota.'."\n", + 'type' => 'string', + 'example' => 'The maximum number of nodes in a cluster', + ], + 'QuotaDimension' => [ + 'description' => 'The quota dimensions.'."\n", + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{"regionId":"cn-hangzhou"}', + 'description' => 'The quota dimension.'."\n" + ."\n" + .'Format: `{"regionId":"cn-hangzhou"}`.'."\n", + ], + ], + 'QuotaName' => [ + 'description' => 'The quota name.'."\n", + 'type' => 'string', + 'example' => 'Maximum Number of Nodes', + ], + 'QuotaUnit' => [ + 'description' => 'The unit of the quota.'."\n", + 'type' => 'string', + 'example' => 'GiB', + ], + 'Reason' => [ + 'description' => 'The reason for the quota increase application.'."\n", + 'type' => 'string', + 'example' => 'Business expansion', + ], + 'Status' => [ + 'description' => 'The approval status of the quota increase application. Valid values:'."\n" + ."\n" + .'* Disagree: The application is rejected.'."\n" + .'* Agree: The application is approved.'."\n" + .'* Process: The application is pending approval.'."\n" + .'* Cancel: The application is canceled.'."\n", + 'type' => 'string', + 'example' => 'Agree', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + 'TotalCount' => [ + 'description' => 'The total number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '9', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TEMPLATE.NOT.RD.MA', + 'errorMessage' => 'The requested account is not the MA master account of RD and does not have permission to operate quota templates.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxResults\\": 30,\\n \\"NextToken\\": \\"1\\",\\n \\"QuotaApplications\\": [\\n {\\n \\"AliyunUid\\": \\"175376458581****\\",\\n \\"ApplicationId\\": \\"b926571d-cc09-4711-b547-58a615f0****\\",\\n \\"ApplyTime\\": \\"2021-01-15T09:13:53Z\\",\\n \\"ApproveValue\\": 101,\\n \\"AuditReason\\": \\"Agree\\",\\n \\"BatchQuotaApplicationId\\": \\"d314d6ae-867d-484c-9009-3d421a80****\\",\\n \\"DesireValue\\": 60,\\n \\"EffectiveTime\\": \\"2021-01-15T11:46:25Z\\",\\n \\"EnvLanguage\\": \\"zh\\",\\n \\"ExpireTime\\": \\"2021-01-17T11:46:25Z\\",\\n \\"NoticeType\\": 3,\\n \\"Period\\": {\\n \\"PeriodUnit\\": \\"second\\",\\n \\"PeriodValue\\": 1\\n },\\n \\"ProductCode\\": \\"ecs\\",\\n \\"QuotaActionCode\\": \\"ecs.n1.large\\",\\n \\"QuotaArn\\": \\"acs:quotas:*:120886317861****:quota/csk/q_i5uzm3\\",\\n \\"QuotaCategory\\": \\"CommonQuota\\",\\n \\"QuotaDescription\\": \\"The maximum number of nodes in a cluster\\",\\n \\"QuotaDimension\\": {\\n \\"key\\": \\"{\\\\\\"regionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\"}\\"\\n },\\n \\"QuotaName\\": \\"Maximum Number of Nodes\\",\\n \\"QuotaUnit\\": \\"GiB\\",\\n \\"Reason\\": \\"Maximum Number of Nodes\\",\\n \\"Status\\": \\"Agree\\"\\n }\\n ],\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\",\\n \\"TotalCount\\": 9\\n}","type":"json"}]', + 'title' => 'ListQuotaApplicationsDetailForTemplate', + ], + 'ListQuotaApplicationsForTemplate' => [ + 'summary' => 'Queries the application records of a quota template that is used to apply for quotas for member accounts.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREquotas29QQRO', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n" + ."\n" + .'> To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](~~440555~~) operation and check the value of `ProductCode` in the response.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs-spec', + ], + ], + [ + 'name' => 'QuotaActionCode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.g5.2xlarge', + ], + ], + [ + 'name' => 'BatchQuotaApplicationId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the quota application batch.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****', + ], + ], + [ + 'name' => 'QuotaCategory', + 'in' => 'formData', + 'schema' => [ + 'title' => 'CommonQuota, FlowControl, WhiteListLabel', + 'description' => 'The type of the quota. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: privilege'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CommonQuota', + 'enum' => [ + 'CommonQuota', + 'FlowControl', + 'WhiteListLabel', + ], + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The token that marks the position from which you want to start the query.'."\n" + ."\n" + .'> An empty value indicates that the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '4', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The maximum number of entries to return for a single request.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 30.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + ], + [ + 'name' => 'ApplyStartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The UTC time when the quota application starts.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2023-05-22T16:00:00Z'."\n", + ], + ], + [ + 'name' => 'ApplyEndTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The UTC time when the quota application ends.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2023-05-22T16:00:00Z'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopResultDTO<ResultList<QuotaBatchApplicationVo>>', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxResults' => [ + 'description' => 'The maximum number of records that can be returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'NextToken' => [ + 'description' => 'The token that marks the position from which you want to start the query.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'QuotaBatchApplications' => [ + 'description' => 'The queried quota application records.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AliyunUids' => [ + 'description' => 'The Alibaba Cloud accounts that correspond to the resource directory members for which the quotas are applied.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The Alibaba Cloud account that corresponds to the resource directory member for which the quotas are applied.'."\n", + 'type' => 'string', + 'example' => '14468026070****', + ], + ], + 'ApplyTime' => [ + 'description' => 'The time when the quota increase application was submitted. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-23T02:38:18Z', + ], + 'AuditStatusVos' => [ + 'description' => 'The number of applications in different approval states.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Count' => [ + 'description' => 'The number of approval tickets.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Status' => [ + 'title' => 'Agree, Disagree, Process, Cancel', + 'description' => 'The approval state of the quota increase application. Valid values:'."\n" + ."\n" + .'* Disagree: The application is rejected.'."\n" + .'* Agree: The application is approved.'."\n" + .'* Process: The application is in review.'."\n" + .'* Cancel: The application is canceled.'."\n", + 'type' => 'string', + 'example' => 'Agree', + ], + ], + ], + ], + 'BatchQuotaApplicationId' => [ + 'description' => 'The ID of the quota application batch.'."\n", + 'type' => 'string', + 'example' => 'd314d6ae-867d-484c-9009-3d421a80****', + ], + 'DesireValue' => [ + 'description' => 'The requested value of the quota.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '105', + ], + 'Dimensions' => [ + 'description' => 'The quota dimensions.'."\n" + ."\n" + .'Format example: {"regionId":"cn-hangzhou"}.'."\n", + 'type' => 'object', + 'example' => '{"regionId":"cn-hangzhou"}', + ], + 'EffectiveTime' => [ + 'description' => 'The start time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2023-05-22T16:00:00Z', + ], + 'ExpireTime' => [ + 'description' => 'The end time of the validity period of the quota. The value is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2024-05-14T02:08:56Z', + ], + 'ProductCode' => [ + 'description' => 'The abbreviation of the Alibaba Cloud service name.'."\n", + 'type' => 'string', + 'example' => 'vpc', + ], + 'QuotaActionCode' => [ + 'description' => 'The quota ID.'."\n", + 'type' => 'string', + 'example' => 'q_fhoz4k', + ], + 'QuotaCategory' => [ + 'description' => 'The quota type. Valid values:'."\n" + ."\n" + .'* CommonQuota: general quota'."\n" + .'* FlowControl: API rate limit'."\n" + .'* WhiteListLabel: privilege'."\n", + 'type' => 'string', + 'example' => 'CommonQuota', + ], + 'Reason' => [ + 'description' => 'The reason for the quota increase application.'."\n", + 'type' => 'string', + 'example' => 'Business expansion', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053', + ], + 'TotalCount' => [ + 'description' => 'The total number of records that are returned for the query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '67', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'TEMPLATE.NOT.RD.MA', + 'errorMessage' => 'The requested account is not the MA master account of RD and does not have permission to operate quota templates.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxResults\\": 30,\\n \\"NextToken\\": \\"1\\",\\n \\"QuotaBatchApplications\\": [\\n {\\n \\"AliyunUids\\": [\\n \\"14468026070****\\"\\n ],\\n \\"ApplyTime\\": \\"2022-09-23T02:38:18Z\\",\\n \\"AuditStatusVos\\": [\\n {\\n \\"Count\\": 4,\\n \\"Status\\": \\"Agree\\"\\n }\\n ],\\n \\"BatchQuotaApplicationId\\": \\"d314d6ae-867d-484c-9009-3d421a80****\\",\\n \\"DesireValue\\": 105,\\n \\"Dimensions\\": {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"EffectiveTime\\": \\"2023-05-22T16:00:00Z\\",\\n \\"ExpireTime\\": \\"2024-05-14T02:08:56Z\\",\\n \\"ProductCode\\": \\"vpc\\",\\n \\"QuotaActionCode\\": \\"q_fhoz4k\\",\\n \\"QuotaCategory\\": \\"CommonQuota\\",\\n \\"Reason\\": \\"Business expansion\\"\\n }\\n ],\\n \\"RequestId\\": \\"D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053\\",\\n \\"TotalCount\\": 67\\n}","type":"json"}]', + 'title' => 'ListQuotaApplicationsForTemplate', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'quotas.aliyuncs.com', + ], + ], +]; |
