alibabacloud-quotas20200510 1.2.0__py3-none-any.whl → 1.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,13 @@ class CreateQuotaAlarmRequestQuotaDimensions(TeaModel):
10
10
  key: str = None,
11
11
  value: str = None,
12
12
  ):
13
+ # The key of the dimension.
14
+ #
15
+ # > 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](https://help.aliyun.com/document_detail/440553.html) operation to query the dimensions that are supported by an Alibaba Cloud service. The number of items in the returned array is N.
13
16
  self.key = key
17
+ # The value of the dimension.
18
+ #
19
+ # > 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](https://help.aliyun.com/document_detail/440553.html) operation to query the dimensions that are supported by an Alibaba Cloud service. The number of items in the returned array is N.
14
20
  self.value = value
15
21
 
16
22
  def validate(self):
@@ -41,6 +47,7 @@ class CreateQuotaAlarmRequest(TeaModel):
41
47
  def __init__(
42
48
  self,
43
49
  alarm_name: str = None,
50
+ original_context: str = None,
44
51
  product_code: str = None,
45
52
  quota_action_code: str = None,
46
53
  quota_dimensions: List[CreateQuotaAlarmRequestQuotaDimensions] = None,
@@ -49,16 +56,43 @@ class CreateQuotaAlarmRequest(TeaModel):
49
56
  threshold_type: str = None,
50
57
  web_hook: str = None,
51
58
  ):
59
+ # Quota alarm name
60
+ #
52
61
  # This parameter is required.
53
62
  self.alarm_name = alarm_name
63
+ self.original_context = original_context
64
+ # The abbreviation of the Alibaba Cloud service name.
65
+ #
66
+ # > To query the abbreviation of an Alibaba Cloud service name, check the `ProductCode` parameter that is described in [ListProductQuotas](https://help.aliyun.com/document_detail/440554.html).
67
+ #
54
68
  # This parameter is required.
55
69
  self.product_code = product_code
70
+ # The quota ID.
71
+ #
72
+ # > To obtain the quota ID of an Alibaba Cloud service, call the [ListProductQuotas](https://help.aliyun.com/document_detail/440554.html) operation and check the value of `QuotaActionCode` in the response.
73
+ #
56
74
  # This parameter is required.
57
75
  self.quota_action_code = quota_action_code
76
+ # The quota dimensions. A quota item is uniquely identified by the values of `Dimensions` and `QuotaActionCode`.
77
+ #
78
+ # > This parameter is required for specific Alibaba Cloud services. You can call the [ListProductQuotaDimensions](https://help.aliyun.com/document_detail/440553.html) 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.
58
79
  self.quota_dimensions = quota_dimensions
80
+ # The numerical value of the quota alarm threshold. Value settings:
81
+ # - 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.
82
+ # - 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.
83
+ # > One of this parameter and ThresholdPercent must be set.
59
84
  self.threshold = threshold
85
+ # The percentage of the quota alert threshold. Values:
86
+ # - 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%].
87
+ # - 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%].
88
+ # > One of this parameter and Threshold must be set.
60
89
  self.threshold_percent = threshold_percent
90
+ # The type of the quota alert. Valid values:
91
+ #
92
+ # * used (default): The alert is created for the used quota.
93
+ # * usable: The alert is created for the available quota.
61
94
  self.threshold_type = threshold_type
95
+ # The quota center sends alert information to the specified public URL address via a POST request using the HTTP protocol.
62
96
  self.web_hook = web_hook
63
97
 
64
98
  def validate(self):
@@ -75,6 +109,8 @@ class CreateQuotaAlarmRequest(TeaModel):
75
109
  result = dict()
76
110
  if self.alarm_name is not None:
77
111
  result['AlarmName'] = self.alarm_name
112
+ if self.original_context is not None:
113
+ result['OriginalContext'] = self.original_context
78
114
  if self.product_code is not None:
79
115
  result['ProductCode'] = self.product_code
80
116
  if self.quota_action_code is not None:
@@ -97,6 +133,8 @@ class CreateQuotaAlarmRequest(TeaModel):
97
133
  m = m or dict()
98
134
  if m.get('AlarmName') is not None:
99
135
  self.alarm_name = m.get('AlarmName')
136
+ if m.get('OriginalContext') is not None:
137
+ self.original_context = m.get('OriginalContext')
100
138
  if m.get('ProductCode') is not None:
101
139
  self.product_code = m.get('ProductCode')
102
140
  if m.get('QuotaActionCode') is not None:
@@ -123,7 +161,9 @@ class CreateQuotaAlarmResponseBody(TeaModel):
123
161
  alarm_id: str = None,
124
162
  request_id: str = None,
125
163
  ):
164
+ # Alarm ID.
126
165
  self.alarm_id = alarm_id
166
+ # The request ID.
127
167
  self.request_id = request_id
128
168
 
129
169
  def validate(self):
@@ -199,19 +239,11 @@ class CreateQuotaApplicationRequestDimensions(TeaModel):
199
239
  ):
200
240
  # The key of the dimension.
201
241
  #
202
- # >
203
- #
204
- # * The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
205
- #
206
- # * This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.
242
+ # > 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.
207
243
  self.key = key
208
244
  # The value of the dimension.
209
245
  #
210
- # >
211
- #
212
- # * The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
213
- #
214
- # * This parameter is required if you set the `ProductCode` parameter to `ecs`, `ecs-spec`, `actiontrail`, or `ess`.
246
+ # > 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.
215
247
  self.value = value
216
248
 
217
249
  def validate(self):
@@ -253,12 +285,13 @@ class CreateQuotaApplicationRequest(TeaModel):
253
285
  quota_category: str = None,
254
286
  reason: str = None,
255
287
  ):
256
- # The mode in which you want the application to be reviewed. Valid values:
288
+ # > This parameter is deprecated and is not recommended.
257
289
  #
258
- # * Sync: The application is reviewed in a synchronous manner. Quota Center automatically reviews the application. The result is returned immediately after you submit the application. However, the chance of an approval for an application that is reviewed in Sync mode is lower than the chance of an approval for an application that is reviewed in Async mode. The validity period of the new quota value is 1 hour.
259
- # * Async: The application is reviewed in an asynchronous manner. An Alibaba Cloud support engineer reviews the application. The chance of an approval for an application that is reviewed in Async mode is higher than the chance of an approval for an application that is reviewed in Sync mode. The validity period of the new quota value is one month.
290
+ # The mode in which you want the application to be reviewed.
260
291
  #
261
- # > This parameter is available only for ECS Quotas by Instance Type.
292
+ # Valid values:
293
+ # * Async
294
+ # * Sync
262
295
  self.audit_mode = audit_mode
263
296
  # The requested value of the quota.
264
297
  #
@@ -270,16 +303,20 @@ class CreateQuotaApplicationRequest(TeaModel):
270
303
  #
271
304
  # This parameter is required.
272
305
  self.desire_value = desire_value
273
- # The quota dimensions.
306
+ # The quota dimensions. A quota item is uniquely determined by the values of Dimensions and QuotaActionCode.
307
+ #
308
+ # > 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.
274
309
  self.dimensions = dimensions
275
310
  # 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.
276
311
  #
277
312
  # > If you do not specify an end time, the default end time is 99 years after the quota application is submitted.
278
313
  self.effective_time = effective_time
279
- # The language of the quota alert notification. Valid values:
314
+ # The language of the quota alert notification.
315
+ #
316
+ # Valid values:
280
317
  #
281
- # * zh (default value): Chinese
282
318
  # * en: English
319
+ # * zh: Chinese
283
320
  self.env_language = env_language
284
321
  # 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.
285
322
  #
@@ -287,8 +324,8 @@ class CreateQuotaApplicationRequest(TeaModel):
287
324
  self.expire_time = expire_time
288
325
  # Specifies whether to send a notification about the application result. Valid values:
289
326
  #
290
- # * 0 (default value): sends a notification about the application result.
291
- # * 3: A notification about the application result is sent.
327
+ # * 0 (default): no
328
+ # * 3: sends a notification.
292
329
  self.notice_type = notice_type
293
330
  # The abbreviation of the Alibaba Cloud service name.
294
331
  #
@@ -302,11 +339,15 @@ class CreateQuotaApplicationRequest(TeaModel):
302
339
  #
303
340
  # This parameter is required.
304
341
  self.quota_action_code = quota_action_code
305
- # The type of the quota.
342
+ # The type of the quota. Valid values:
343
+ #
344
+ # Default value: CommonQuota.
345
+ #
346
+ # Valid values:
306
347
  #
307
- # * CommonQuota (default value): general quota
308
348
  # * FlowControl: API rate limit
309
349
  # * WhiteListLabel: whitelist quota
350
+ # * CommonQuota: general quota
310
351
  self.quota_category = quota_category
311
352
  # The reason for the application.
312
353
  #
@@ -421,10 +462,10 @@ class CreateQuotaApplicationResponseBody(TeaModel):
421
462
  self.effective_time = effective_time
422
463
  # The time when the new quota expires.
423
464
  self.expire_time = expire_time
424
- # Indicates whether Quota Center sends a notification about the application result. Valid values:
465
+ # Indicates whether the notification about the application result is sent. Valid values:
425
466
  #
426
- # * 0: Quota Center does not send a notification.
427
- # * 3: Quota Center sends a notification.
467
+ # * 0: The notification is not sent.
468
+ # * 3: The notification is sent.
428
469
  self.notice_type = notice_type
429
470
  # The abbreviation of the Alibaba Cloud service name.
430
471
  self.product_code = product_code
@@ -442,12 +483,14 @@ class CreateQuotaApplicationResponseBody(TeaModel):
442
483
  self.reason = reason
443
484
  # The ID of the request.
444
485
  self.request_id = request_id
445
- # The status of the application. Valid values:
486
+ # The approval state of the quota increase application.
487
+ #
488
+ # Valid values:
446
489
  #
447
- # * Disagree: The application is rejected.
448
- # * Agree: The application is approved.
449
- # * Process: The application is being reviewed.
450
490
  # * Cancel: The application is canceled.
491
+ # * Agree: The application is approved.
492
+ # * Process: The application is in review.
493
+ # * Disagree: The application is rejected.
451
494
  self.status = status
452
495
 
453
496
  def validate(self):
@@ -1367,13 +1410,11 @@ class GetProductQuotaRequestDimensions(TeaModel):
1367
1410
  ):
1368
1411
  # The key of the dimension.
1369
1412
  #
1370
- # >- The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
1371
- # >- If you call the operation to query the details of a quota that belongs to a cloud service that supports dimensions, you must configure this parameter. You must configure the `Dimensions.N.Key` and `Dimensions.N.Value` parameters at the same time. 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 (ESS) whose service code is ess.
1413
+ # > 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.
1372
1414
  self.key = key
1373
1415
  # The value of the dimension.
1374
1416
  #
1375
- # > - The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
1376
- # > - If you call the operation to query the details of a quota that belongs to a cloud service that supports dimensions, you must configure this parameter. You must configure the `Dimensions.N.Key` and `Dimensions.N.Value` parameters at the same time. 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 ESS whose service code is ess.
1417
+ # > 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.
1377
1418
  self.value = value
1378
1419
 
1379
1420
  def validate(self):
@@ -1411,11 +1452,13 @@ class GetProductQuotaRequest(TeaModel):
1411
1452
  self.dimensions = dimensions
1412
1453
  # The abbreviation of the Alibaba Cloud service name.
1413
1454
  #
1414
- # > For more information, see [Alibaba Cloud services that support Quota Center](https://help.aliyun.com/document_detail/182368.html).
1455
+ # > To query the abbreviation of an Alibaba Cloud service name, call the [ListProducts](https://help.aliyun.com/document_detail/440555.html) operation and check the value of `ProductCode` in the response.
1415
1456
  #
1416
1457
  # This parameter is required.
1417
1458
  self.product_code = product_code
1418
- # The ID of the quota.
1459
+ # The quota ID.
1460
+ #
1461
+ # > To query a quota ID of an Alibaba Cloud service, call the [ListProductQuotas](https://help.aliyun.com/document_detail/440554.html) operation and check the value of `QuotaActionCode` in the response.
1419
1462
  #
1420
1463
  # This parameter is required.
1421
1464
  self.quota_action_code = quota_action_code
@@ -1558,8 +1601,13 @@ class GetProductQuotaResponseBodyQuotaUsageMetric(TeaModel):
1558
1601
  metric_name: str = None,
1559
1602
  metric_namespace: str = None,
1560
1603
  ):
1604
+ # The monitoring dimensions.
1605
+ #
1606
+ # The value is a collection of `key:value` pairs. Example: `{"productCode":"***","metricKey":"***","regionId":"***","label":"***"}`.
1561
1607
  self.metric_dimensions = metric_dimensions
1608
+ # The monitoring metric.
1562
1609
  self.metric_name = metric_name
1610
+ # The monitoring namespace.
1563
1611
  self.metric_namespace = metric_namespace
1564
1612
 
1565
1613
  def validate(self):
@@ -1623,7 +1671,7 @@ class GetProductQuotaResponseBodyQuota(TeaModel):
1623
1671
  # * true
1624
1672
  # * false
1625
1673
  self.adjustable = adjustable
1626
- # The range of the quota value.
1674
+ # The range of the quota value that can be requested for the quota item.
1627
1675
  self.applicable_range = applicable_range
1628
1676
  # The type of the adjustable value. Valid values:
1629
1677
  #
@@ -1637,7 +1685,7 @@ class GetProductQuotaResponseBodyQuota(TeaModel):
1637
1685
  # * true
1638
1686
  # * false
1639
1687
  self.consumable = consumable
1640
- # The quota dimension. Format: `{"regionId":"Region"}`.
1688
+ # The quota dimensions. Format: `{"regionId":"Region"}`.
1641
1689
  self.dimensions = dimensions
1642
1690
  # The start time of the validity period of the quota. Specify the value in UTC.
1643
1691
  self.effective_time = effective_time
@@ -1652,7 +1700,7 @@ class GetProductQuotaResponseBodyQuota(TeaModel):
1652
1700
  self.period = period
1653
1701
  # The abbreviation of the Alibaba Cloud service name.
1654
1702
  self.product_code = product_code
1655
- # The ID of the quota.
1703
+ # The quota ID.
1656
1704
  self.quota_action_code = quota_action_code
1657
1705
  # The Alibaba Cloud Resource Name (ARN) of the quota.
1658
1706
  self.quota_arn = quota_arn
@@ -1664,18 +1712,18 @@ class GetProductQuotaResponseBodyQuota(TeaModel):
1664
1712
  self.quota_category = quota_category
1665
1713
  # The description of the quota.
1666
1714
  self.quota_description = quota_description
1667
- # The details of the quotas.
1715
+ # The details of the quota.
1668
1716
  self.quota_items = quota_items
1669
1717
  # The name of the quota.
1670
1718
  self.quota_name = quota_name
1671
1719
  # The type of the quota. Valid values:
1672
1720
  #
1673
1721
  # * privilege
1674
- # * normal (default value)
1722
+ # * normal
1675
1723
  self.quota_type = quota_type
1676
- # The unit of the new quota value.
1724
+ # The unit of the quota.
1677
1725
  #
1678
- # > 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.
1726
+ # > 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.
1679
1727
  self.quota_unit = quota_unit
1680
1728
  # The range of the quota value.
1681
1729
  self.supported_range = supported_range
@@ -1690,6 +1738,9 @@ class GetProductQuotaResponseBodyQuota(TeaModel):
1690
1738
  # * limitReached: The quota limit is reached.
1691
1739
  # * supportTicketRequired: The quota can be increased only by submitting a ticket.
1692
1740
  self.unadjustable_detail = unadjustable_detail
1741
+ # The monitoring information of the quota in CloudMonitor.
1742
+ #
1743
+ # > If this parameter is empty, no monitoring data of the quota exists in CloudMonitor.
1693
1744
  self.usage_metric = usage_metric
1694
1745
 
1695
1746
  def validate(self):
@@ -1826,7 +1877,7 @@ class GetProductQuotaResponseBody(TeaModel):
1826
1877
  ):
1827
1878
  # The details of the quota.
1828
1879
  self.quota = quota
1829
- # The ID of the request.
1880
+ # The request ID.
1830
1881
  self.request_id = request_id
1831
1882
 
1832
1883
  def validate(self):
@@ -2444,6 +2495,7 @@ class GetQuotaApplicationResponseBodyQuotaApplication(TeaModel):
2444
2495
  product_code: str = None,
2445
2496
  quota_action_code: str = None,
2446
2497
  quota_arn: str = None,
2498
+ quota_category: str = None,
2447
2499
  quota_description: str = None,
2448
2500
  quota_name: str = None,
2449
2501
  quota_unit: str = None,
@@ -2480,6 +2532,12 @@ class GetQuotaApplicationResponseBodyQuotaApplication(TeaModel):
2480
2532
  self.quota_action_code = quota_action_code
2481
2533
  # The Alibaba Cloud Resource Name (ARN) of the quota.
2482
2534
  self.quota_arn = quota_arn
2535
+ # The quota type. Valid values:
2536
+ #
2537
+ # * CommonQuota: general quota.
2538
+ # * FlowControl: API rate limit.
2539
+ # * WhiteListLabel: whitelist quota.
2540
+ self.quota_category = quota_category
2483
2541
  # The description of the quota.
2484
2542
  self.quota_description = quota_description
2485
2543
  # The name of the quota.
@@ -2529,6 +2587,8 @@ class GetQuotaApplicationResponseBodyQuotaApplication(TeaModel):
2529
2587
  result['QuotaActionCode'] = self.quota_action_code
2530
2588
  if self.quota_arn is not None:
2531
2589
  result['QuotaArn'] = self.quota_arn
2590
+ if self.quota_category is not None:
2591
+ result['QuotaCategory'] = self.quota_category
2532
2592
  if self.quota_description is not None:
2533
2593
  result['QuotaDescription'] = self.quota_description
2534
2594
  if self.quota_name is not None:
@@ -2567,6 +2627,8 @@ class GetQuotaApplicationResponseBodyQuotaApplication(TeaModel):
2567
2627
  self.quota_action_code = m.get('QuotaActionCode')
2568
2628
  if m.get('QuotaArn') is not None:
2569
2629
  self.quota_arn = m.get('QuotaArn')
2630
+ if m.get('QuotaCategory') is not None:
2631
+ self.quota_category = m.get('QuotaCategory')
2570
2632
  if m.get('QuotaDescription') is not None:
2571
2633
  self.quota_description = m.get('QuotaDescription')
2572
2634
  if m.get('QuotaName') is not None:
@@ -2586,7 +2648,7 @@ class GetQuotaApplicationResponseBody(TeaModel):
2586
2648
  quota_application: GetQuotaApplicationResponseBodyQuotaApplication = None,
2587
2649
  request_id: str = None,
2588
2650
  ):
2589
- # The details about the application.
2651
+ # The details of the quota application.
2590
2652
  self.quota_application = quota_application
2591
2653
  # The ID of the request.
2592
2654
  self.request_id = request_id
@@ -2916,10 +2978,11 @@ class GetQuotaTemplateServiceStatusResponseBodyTemplateServiceStatus(TeaModel):
2916
2978
  ):
2917
2979
  # The ID of the resource directory.
2918
2980
  self.resource_directory_id = resource_directory_id
2919
- # The state of the quota template. Valid values:
2981
+ # The status of the quota template. Valid values:
2920
2982
  #
2921
2983
  # * \\-1: The quota template is disabled.
2922
2984
  # * 1: The quota template is enabled.
2985
+ # * 0: No quota template is specified.
2923
2986
  self.service_status = service_status
2924
2987
 
2925
2988
  def validate(self):
@@ -4096,12 +4159,17 @@ class ListProductQuotasRequest(TeaModel):
4096
4159
  # The code of the dimension group.
4097
4160
  self.group_code = group_code
4098
4161
  # The keyword that you want to use to search for the quotas.
4162
+ #
4163
+ # > 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`.
4099
4164
  self.key_word = key_word
4100
4165
  # The maximum number of records that can be returned for the query.
4101
4166
  #
4102
4167
  # Valid values: 1 to 100. Default value: 30.
4103
4168
  self.max_results = max_results
4104
- # 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.
4169
+ # The pagination token that is used in the next request to retrieve a new page of results.
4170
+ #
4171
+ # * You do not need to specify this parameter for the first and last requests.
4172
+ # * You must specify the token that is obtained from the previous query as the value of NextToken.
4105
4173
  self.next_token = next_token
4106
4174
  # The abbreviation of the Alibaba Cloud service name.
4107
4175
  #
@@ -4111,26 +4179,34 @@ class ListProductQuotasRequest(TeaModel):
4111
4179
  self.product_code = product_code
4112
4180
  # The quota ID.
4113
4181
  self.quota_action_code = quota_action_code
4114
- # The type of the quota. Valid values:
4182
+ # The type of the quota.
4183
+ #
4184
+ # Default value: CommonQuota.
4185
+ #
4186
+ # Valid values:
4115
4187
  #
4116
- # * CommonQuota (default value): general quota
4117
4188
  # * FlowControl: API rate limit
4118
- # * WhiteListLabel: whitelist quota
4189
+ # * WhiteListLabel: privilege
4190
+ # * CommonQuota: general quota
4119
4191
  self.quota_category = quota_category
4120
- # The field based on which you want to sort the returned records. Valid values:
4121
- #
4122
- # * TIME: The returned records are sorted by the last update time.
4123
- # * TOTAL: The returned records are sorted by the usage of the total quota.
4124
- # * RESERVED: The returned records are sorted by the usage of the reserved quota.
4192
+ # The field based on which you want to sort the returned records.
4125
4193
  #
4126
4194
  # > This parameter is available only for quotas that belong to ECS Quotas by Instance Type. You can leave this parameter empty.
4127
- self.sort_field = sort_field
4128
- # The order in which you want to sort the returned records. Valid values:
4129
4195
  #
4130
- # * Ascending: ascending order
4131
- # * Descending: descending order
4196
+ # Valid values:
4197
+ #
4198
+ # * TOTAL: sorts the returned records based on the total quota.
4199
+ # * TIME: sorts the returned records based on the time when the quota was last modified.
4200
+ # * RESERVED: sorts the returned records based on the reserved quota.
4201
+ self.sort_field = sort_field
4202
+ # The order in which you want to sort the returned records.
4132
4203
  #
4133
4204
  # > This parameter is available only for quotas that belong to ECS Quotas by Instance Type. You can leave this parameter empty.
4205
+ #
4206
+ # Valid values:
4207
+ #
4208
+ # * Descending
4209
+ # * Ascending
4134
4210
  self.sort_order = sort_order
4135
4211
 
4136
4212
  def validate(self):
@@ -4203,13 +4279,15 @@ class ListProductQuotasResponseBodyQuotasPeriod(TeaModel):
4203
4279
  period_unit: str = None,
4204
4280
  period_value: int = None,
4205
4281
  ):
4206
- # The unit of the calculation cycle. Valid values:
4282
+ # The unit of the calculation cycle.
4207
4283
  #
4208
- # * second
4209
- # * minute
4284
+ # Valid values:
4285
+ #
4286
+ # * week
4210
4287
  # * hour
4211
4288
  # * day
4212
- # * week
4289
+ # * second
4290
+ # * minute
4213
4291
  self.period_unit = period_unit
4214
4292
  # The value of the calculation cycle.
4215
4293
  self.period_value = period_value
@@ -4246,11 +4324,13 @@ class ListProductQuotasResponseBodyQuotasQuotaItems(TeaModel):
4246
4324
  type: str = None,
4247
4325
  usage: str = None,
4248
4326
  ):
4249
- # The quota value.
4327
+ # The value of the quota.
4250
4328
  self.quota = quota
4251
4329
  # The unit of the quota.
4252
4330
  self.quota_unit = quota_unit
4253
- # The category of the quota. Valid values:
4331
+ # The category of the quota.
4332
+ #
4333
+ # Valid values:
4254
4334
  #
4255
4335
  # * BaseQuota: base quota
4256
4336
  # * ReservedQuota: reserved quota
@@ -4297,8 +4377,13 @@ class ListProductQuotasResponseBodyQuotasUsageMetric(TeaModel):
4297
4377
  metric_name: str = None,
4298
4378
  metric_namespace: str = None,
4299
4379
  ):
4380
+ # The monitoring dimensions.
4381
+ #
4382
+ # The value is a collection of `key:value` pairs. Example: `{"productCode":"***","metricKey":"***","regionId":"***","label":"***"}`.
4300
4383
  self.metric_dimensions = metric_dimensions
4384
+ # The monitoring metric.
4301
4385
  self.metric_name = metric_name
4386
+ # The monitoring namespace.
4302
4387
  self.metric_namespace = metric_namespace
4303
4388
 
4304
4389
  def validate(self):
@@ -4357,35 +4442,43 @@ class ListProductQuotasResponseBodyQuotas(TeaModel):
4357
4442
  unadjustable_detail: str = None,
4358
4443
  usage_metric: ListProductQuotasResponseBodyQuotasUsageMetric = None,
4359
4444
  ):
4360
- # Indicates whether the quota is adjustable. Valid values:
4445
+ # Indicates whether the quota is adjustable.
4446
+ #
4447
+ # Valid values:
4361
4448
  #
4362
4449
  # * true
4363
4450
  # * false
4364
4451
  self.adjustable = adjustable
4365
- # N/A
4452
+ # The range of the quota value that can be requested for the quota item.
4366
4453
  self.applicable_range = applicable_range
4367
- # The type of the adjustable value. Valid values:
4454
+ # The type of the adjustable value.
4455
+ #
4456
+ # Valid values:
4368
4457
  #
4369
4458
  # * continuous
4370
4459
  # * discontinuous
4371
4460
  self.applicable_type = applicable_type
4372
4461
  # The reason for submitting a quota increase request.
4373
4462
  self.apply_reason_tips = apply_reason_tips
4374
- # Indicates whether the system shows the used value of the quota. Valid values:
4463
+ # Indicates whether the system shows the used value of the quota.
4464
+ #
4465
+ # Valid values:
4375
4466
  #
4376
4467
  # * true
4377
4468
  # * false
4378
4469
  self.consumable = consumable
4379
- # The quota dimensions. Format: `{"regionId":"Region"}`.
4470
+ # The quota dimension. Format: `{"regionId":"Region"}`.
4380
4471
  self.dimensions = dimensions
4381
4472
  # The start time of the validity period of the quota. The value is displayed in UTC.
4382
4473
  self.effective_time = effective_time
4383
4474
  # The end time of the validity period of the quota. The value is displayed in UTC.
4384
4475
  self.expire_time = expire_time
4385
- # Indicates whether the quota is a global quota. Valid values:
4476
+ # Indicates whether the quota is a global quota.
4386
4477
  #
4387
- # * true
4388
- # * false
4478
+ # Valid values:
4479
+ #
4480
+ # * true: The quota is shared in all regions.
4481
+ # * false: The quota is independently used in a region.
4389
4482
  self.global_quota = global_quota
4390
4483
  # The calculation cycle of the quota.
4391
4484
  self.period = period
@@ -4395,37 +4488,46 @@ class ListProductQuotasResponseBodyQuotas(TeaModel):
4395
4488
  self.quota_action_code = quota_action_code
4396
4489
  # The Alibaba Cloud Resource Name (ARN) of the quota.
4397
4490
  self.quota_arn = quota_arn
4398
- # The type of the quota. Valid values:
4491
+ # The type of the quota.
4492
+ #
4493
+ # Valid values:
4399
4494
  #
4400
- # * CommonQuota: general quota
4401
4495
  # * FlowControl: API rate limit
4402
- # * WhiteListLabel: privilege
4496
+ # * WhiteListLabel: whitelist quota
4497
+ # * CommonQuota: general quota
4403
4498
  self.quota_category = quota_category
4404
4499
  # The description of the quota.
4405
4500
  self.quota_description = quota_description
4406
- # The details of the quota.
4501
+ # The details of the quotas.
4407
4502
  self.quota_items = quota_items
4408
- # The quota name.
4503
+ # The name of the quota.
4409
4504
  self.quota_name = quota_name
4410
- # The type of the quota. Valid values:
4505
+ # The type of the quota.
4506
+ #
4507
+ # Valid values:
4411
4508
  #
4412
- # * privilege
4413
4509
  # * normal
4510
+ # * privilege
4414
4511
  self.quota_type = quota_type
4415
4512
  # The unit of the quota.
4416
4513
  self.quota_unit = quota_unit
4417
- # N/A
4514
+ # 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.
4418
4515
  self.supported_range = supported_range
4419
- # The quota value.
4516
+ # The value of the quota.
4420
4517
  self.total_quota = total_quota
4421
4518
  # The quota usage.
4422
4519
  self.total_usage = total_usage
4423
- # The reason why the quota is not adjustable. Valid values:
4520
+ # The reason why the quota is not adjustable.
4424
4521
  #
4522
+ # Valid values:
4523
+ #
4524
+ # * limitReached: The quota limit is reached.
4425
4525
  # * nonactivated: The service is not activated.
4426
4526
  # * applicationProcess: The application is being processed.
4427
- # * limitReached: The quota limit is reached.
4428
4527
  self.unadjustable_detail = unadjustable_detail
4528
+ # The monitoring information of the quota in CloudMonitor.
4529
+ #
4530
+ # > If this parameter is empty, no monitoring data of the quota exists in CloudMonitor.
4429
4531
  self.usage_metric = usage_metric
4430
4532
 
4431
4533
  def validate(self):
@@ -4563,15 +4665,18 @@ class ListProductQuotasResponseBody(TeaModel):
4563
4665
  request_id: str = None,
4564
4666
  total_count: int = None,
4565
4667
  ):
4566
- # The maximum number of records that are returned for the query.
4668
+ # The number of records that are returned for the query.
4567
4669
  self.max_results = max_results
4568
- # The token that marks the position at which the query ends. An empty value indicates that all data is returned.
4670
+ # The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.
4671
+ #
4672
+ # * If NextToken is empty, no next page exists.
4673
+ # * If a value of NextToken is returned, the value indicates the token that is used for the next query.
4569
4674
  self.next_token = next_token
4570
- # The queried quotas.
4675
+ # The details of the quotas.
4571
4676
  self.quotas = quotas
4572
- # The ID of the request.
4677
+ # The request ID.
4573
4678
  self.request_id = request_id
4574
- # The total number of records that are returned for the query.
4679
+ # The total number of entries returned.
4575
4680
  self.total_count = total_count
4576
4681
 
4577
4682
  def validate(self):
@@ -4665,7 +4770,7 @@ class ListProductsRequest(TeaModel):
4665
4770
  max_results: int = None,
4666
4771
  next_token: str = None,
4667
4772
  ):
4668
- # The maximum number of records that can be returned for the query.
4773
+ # The maximum number of entries to return.
4669
4774
  #
4670
4775
  # Valid values: 1 to 200. Default value: 30.
4671
4776
  self.max_results = max_results
@@ -4715,6 +4820,8 @@ class ListProductsResponseBodyProductInfo(TeaModel):
4715
4820
  # * support: The Alibaba Cloud service supports general quotas.
4716
4821
  # * unsupport: The Alibaba Cloud service does not support general quotas.
4717
4822
  self.common_quota_support = common_quota_support
4823
+ # > This parameter is discontinued and is not recommended.
4824
+ #
4718
4825
  # Indicates whether the Alibaba Cloud service supports dynamic quota adjustment. Valid values:
4719
4826
  #
4720
4827
  # * true
@@ -4812,7 +4919,7 @@ class ListProductsResponseBody(TeaModel):
4812
4919
  self.max_results = max_results
4813
4920
  # The token that marks the position at which the query ends. An empty value indicates that all data is returned.
4814
4921
  self.next_token = next_token
4815
- # The information of the Alibaba Cloud service.
4922
+ # The information about the Alibaba Cloud services.
4816
4923
  self.product_info = product_info
4817
4924
  # The ID of the request.
4818
4925
  self.request_id = request_id
@@ -5066,7 +5173,9 @@ class ListQuotaAlarmsResponseBodyQuotaAlarms(TeaModel):
5066
5173
  self.exceed_threshold = exceed_threshold
5067
5174
  # The alert notification methods.
5068
5175
  self.notify_channels = notify_channels
5069
- # The alert contact. The value is accountContact.
5176
+ # The alert contact.
5177
+ #
5178
+ # > Valid value: accountContact. Only the account contact is supported.
5070
5179
  self.notify_target = notify_target
5071
5180
  # The abbreviation of the Alibaba Cloud service name.
5072
5181
  self.product_code = product_code
@@ -5181,7 +5290,7 @@ class ListQuotaAlarmsResponseBody(TeaModel):
5181
5290
  #
5182
5291
  # > An empty value indicates that all data is returned.
5183
5292
  self.next_token = next_token
5184
- # The details about the quota alert.
5293
+ # The details about the quota alert rules.
5185
5294
  self.quota_alarms = quota_alarms
5186
5295
  # The ID of the request.
5187
5296
  self.request_id = request_id
@@ -5347,11 +5456,11 @@ class ListQuotaApplicationTemplatesRequest(TeaModel):
5347
5456
  self.product_code = product_code
5348
5457
  # The ID of the quota.
5349
5458
  self.quota_action_code = quota_action_code
5350
- # The type of the quota. Valid values:
5459
+ # The quota type. Valid values:
5351
5460
  #
5352
- # * CommonQuota: general quota
5353
- # * WhiteListLabel: privilege
5354
- # * FlowControl: API rate limit
5461
+ # * CommonQuota: general quota.
5462
+ # * WhiteListLabel: whitelist quota.
5463
+ # * FlowControl: API rate limit.
5355
5464
  self.quota_category = quota_category
5356
5465
 
5357
5466
  def validate(self):
@@ -5466,7 +5575,7 @@ class ListQuotaApplicationTemplatesResponseBodyQuotaApplicationTemplates(TeaMode
5466
5575
  quota_description: str = None,
5467
5576
  quota_name: str = None,
5468
5577
  ):
5469
- # None
5578
+ # None.
5470
5579
  self.applicable_range = applicable_range
5471
5580
  # The type of the adjustable value. Valid values:
5472
5581
  #
@@ -5605,7 +5714,7 @@ class ListQuotaApplicationTemplatesResponseBody(TeaModel):
5605
5714
  #
5606
5715
  # > An empty value indicates that all data is returned.
5607
5716
  self.next_token = next_token
5608
- # The queried quota templates.
5717
+ # The information about quota templates.
5609
5718
  self.quota_application_templates = quota_application_templates
5610
5719
  # The request ID.
5611
5720
  self.request_id = request_id
@@ -5752,7 +5861,7 @@ class ListQuotaApplicationsRequest(TeaModel):
5752
5861
  self.dimensions = dimensions
5753
5862
  # The keyword that you want to use to search for the application.
5754
5863
  self.key_word = key_word
5755
- # The maximum number of records that can be returned for the query.
5864
+ # The maximum number of entries to return.
5756
5865
  #
5757
5866
  # Valid values: 1 to 200. Default value: 30.
5758
5867
  self.max_results = max_results
@@ -5762,18 +5871,18 @@ class ListQuotaApplicationsRequest(TeaModel):
5762
5871
  self.product_code = product_code
5763
5872
  # The ID of the quota.
5764
5873
  self.quota_action_code = quota_action_code
5765
- # The type of the quota. Valid values:
5874
+ # The quota type. Valid values:
5766
5875
  #
5767
5876
  # * CommonQuota: general quota
5768
5877
  # * FlowControl: API rate limit
5769
5878
  # * WhiteListLabel: whitelist quota
5770
5879
  self.quota_category = quota_category
5771
- # The status of the application. Valid values:
5880
+ # The approval state of the quota increase application. Valid values:
5772
5881
  #
5773
- # * Disagree: rejects the application.
5774
- # * Agree: approves the application.
5775
- # * Process: reviews the application.
5776
- # * Cancel: cancels the application.
5882
+ # * Disagree: The application is rejected.
5883
+ # * Agree: The application is approved.
5884
+ # * Process: The application is in review.
5885
+ # * Cancel: The application is canceled.
5777
5886
  self.status = status
5778
5887
 
5779
5888
  def validate(self):
@@ -5890,6 +5999,7 @@ class ListQuotaApplicationsResponseBodyQuotaApplications(TeaModel):
5890
5999
  product_code: str = None,
5891
6000
  quota_action_code: str = None,
5892
6001
  quota_arn: str = None,
6002
+ quota_category: str = None,
5893
6003
  quota_description: str = None,
5894
6004
  quota_name: str = None,
5895
6005
  quota_unit: str = None,
@@ -5927,6 +6037,12 @@ class ListQuotaApplicationsResponseBodyQuotaApplications(TeaModel):
5927
6037
  self.quota_action_code = quota_action_code
5928
6038
  # The Alibaba Cloud Resource Name (ARN) of the quota.
5929
6039
  self.quota_arn = quota_arn
6040
+ # The quota type. Valid values:
6041
+ #
6042
+ # * CommonQuota (default): general quota.
6043
+ # * WhiteListLabel: whitelist quota.
6044
+ # * FlowControl: API rate limit.
6045
+ self.quota_category = quota_category
5930
6046
  # The description of the quota.
5931
6047
  self.quota_description = quota_description
5932
6048
  # The name of the quota.
@@ -5981,6 +6097,8 @@ class ListQuotaApplicationsResponseBodyQuotaApplications(TeaModel):
5981
6097
  result['QuotaActionCode'] = self.quota_action_code
5982
6098
  if self.quota_arn is not None:
5983
6099
  result['QuotaArn'] = self.quota_arn
6100
+ if self.quota_category is not None:
6101
+ result['QuotaCategory'] = self.quota_category
5984
6102
  if self.quota_description is not None:
5985
6103
  result['QuotaDescription'] = self.quota_description
5986
6104
  if self.quota_name is not None:
@@ -6024,6 +6142,8 @@ class ListQuotaApplicationsResponseBodyQuotaApplications(TeaModel):
6024
6142
  self.quota_action_code = m.get('QuotaActionCode')
6025
6143
  if m.get('QuotaArn') is not None:
6026
6144
  self.quota_arn = m.get('QuotaArn')
6145
+ if m.get('QuotaCategory') is not None:
6146
+ self.quota_category = m.get('QuotaCategory')
6027
6147
  if m.get('QuotaDescription') is not None:
6028
6148
  self.quota_description = m.get('QuotaDescription')
6029
6149
  if m.get('QuotaName') is not None:
@@ -6050,7 +6170,7 @@ class ListQuotaApplicationsResponseBody(TeaModel):
6050
6170
  self.max_results = max_results
6051
6171
  # The token that marks the position at which the query ends. An empty value indicates that all data is returned.
6052
6172
  self.next_token = next_token
6053
- # The details of the applications.
6173
+ # The details of the quota increase applications.
6054
6174
  self.quota_applications = quota_applications
6055
6175
  # The ID of the request.
6056
6176
  self.request_id = request_id
@@ -6172,7 +6292,7 @@ class ListQuotaApplicationsDetailForTemplateRequest(TeaModel):
6172
6292
  self.product_code = product_code
6173
6293
  # The quota ID.
6174
6294
  self.quota_action_code = quota_action_code
6175
- # The quota type. Valid values:
6295
+ # The type of the quota. Valid values:
6176
6296
  #
6177
6297
  # * CommonQuota: general quota
6178
6298
  # * FlowControl: API rate limit
@@ -6598,7 +6718,7 @@ class ListQuotaApplicationsForTemplateRequest(TeaModel):
6598
6718
  self.product_code = product_code
6599
6719
  # The quota ID.
6600
6720
  self.quota_action_code = quota_action_code
6601
- # The quota type. Valid values:
6721
+ # The type of the quota. Valid values:
6602
6722
  #
6603
6723
  # * CommonQuota: general quota
6604
6724
  # * FlowControl: API rate limit