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.
- alibabacloud_quotas20200510/__init__.py +1 -1
- alibabacloud_quotas20200510/client.py +96 -56
- alibabacloud_quotas20200510/models.py +227 -107
- {alibabacloud_quotas20200510-1.2.0.dist-info → alibabacloud_quotas20200510-1.2.2.dist-info}/METADATA +7 -8
- alibabacloud_quotas20200510-1.2.2.dist-info/RECORD +8 -0
- {alibabacloud_quotas20200510-1.2.0.dist-info → alibabacloud_quotas20200510-1.2.2.dist-info}/WHEEL +1 -1
- alibabacloud_quotas20200510-1.2.0.dist-info/RECORD +0 -8
- {alibabacloud_quotas20200510-1.2.0.dist-info → alibabacloud_quotas20200510-1.2.2.dist-info}/LICENSE +0 -0
- {alibabacloud_quotas20200510-1.2.0.dist-info → alibabacloud_quotas20200510-1.2.2.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
__version__ = '1.2.
|
1
|
+
__version__ = '1.2.2'
|
@@ -47,11 +47,9 @@ class Client(OpenApiClient):
|
|
47
47
|
runtime: util_models.RuntimeOptions,
|
48
48
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
49
49
|
"""
|
50
|
-
@summary
|
51
|
-
The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
|
52
|
-
> This parameter is required if you set the ProductCode parameter to ecs, ecs-spec, actiontrail, or ess.
|
50
|
+
@summary Creates a quota alert.
|
53
51
|
|
54
|
-
@description The
|
52
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
55
53
|
|
56
54
|
@param request: CreateQuotaAlarmRequest
|
57
55
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -61,6 +59,8 @@ class Client(OpenApiClient):
|
|
61
59
|
body = {}
|
62
60
|
if not UtilClient.is_unset(request.alarm_name):
|
63
61
|
body['AlarmName'] = request.alarm_name
|
62
|
+
if not UtilClient.is_unset(request.original_context):
|
63
|
+
body['OriginalContext'] = request.original_context
|
64
64
|
if not UtilClient.is_unset(request.product_code):
|
65
65
|
body['ProductCode'] = request.product_code
|
66
66
|
if not UtilClient.is_unset(request.quota_action_code):
|
@@ -100,11 +100,9 @@ class Client(OpenApiClient):
|
|
100
100
|
runtime: util_models.RuntimeOptions,
|
101
101
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
102
102
|
"""
|
103
|
-
@summary
|
104
|
-
The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
|
105
|
-
> This parameter is required if you set the ProductCode parameter to ecs, ecs-spec, actiontrail, or ess.
|
103
|
+
@summary Creates a quota alert.
|
106
104
|
|
107
|
-
@description The
|
105
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
108
106
|
|
109
107
|
@param request: CreateQuotaAlarmRequest
|
110
108
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -114,6 +112,8 @@ class Client(OpenApiClient):
|
|
114
112
|
body = {}
|
115
113
|
if not UtilClient.is_unset(request.alarm_name):
|
116
114
|
body['AlarmName'] = request.alarm_name
|
115
|
+
if not UtilClient.is_unset(request.original_context):
|
116
|
+
body['OriginalContext'] = request.original_context
|
117
117
|
if not UtilClient.is_unset(request.product_code):
|
118
118
|
body['ProductCode'] = request.product_code
|
119
119
|
if not UtilClient.is_unset(request.quota_action_code):
|
@@ -152,11 +152,9 @@ class Client(OpenApiClient):
|
|
152
152
|
request: quotas_20200510_models.CreateQuotaAlarmRequest,
|
153
153
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
154
154
|
"""
|
155
|
-
@summary
|
156
|
-
The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
|
157
|
-
> This parameter is required if you set the ProductCode parameter to ecs, ecs-spec, actiontrail, or ess.
|
155
|
+
@summary Creates a quota alert.
|
158
156
|
|
159
|
-
@description The
|
157
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
160
158
|
|
161
159
|
@param request: CreateQuotaAlarmRequest
|
162
160
|
@return: CreateQuotaAlarmResponse
|
@@ -169,11 +167,9 @@ class Client(OpenApiClient):
|
|
169
167
|
request: quotas_20200510_models.CreateQuotaAlarmRequest,
|
170
168
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
171
169
|
"""
|
172
|
-
@summary
|
173
|
-
The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.
|
174
|
-
> This parameter is required if you set the ProductCode parameter to ecs, ecs-spec, actiontrail, or ess.
|
170
|
+
@summary Creates a quota alert.
|
175
171
|
|
176
|
-
@description The
|
172
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
177
173
|
|
178
174
|
@param request: CreateQuotaAlarmRequest
|
179
175
|
@return: CreateQuotaAlarmResponse
|
@@ -331,7 +327,7 @@ class Client(OpenApiClient):
|
|
331
327
|
runtime: util_models.RuntimeOptions,
|
332
328
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
333
329
|
"""
|
334
|
-
@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
|
330
|
+
@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.
|
335
331
|
|
336
332
|
@description ### [](#)QPS limit
|
337
333
|
You can add a maximum of 10 quota items to a quota template at a time.
|
@@ -389,7 +385,7 @@ class Client(OpenApiClient):
|
|
389
385
|
runtime: util_models.RuntimeOptions,
|
390
386
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
391
387
|
"""
|
392
|
-
@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
|
388
|
+
@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.
|
393
389
|
|
394
390
|
@description ### [](#)QPS limit
|
395
391
|
You can add a maximum of 10 quota items to a quota template at a time.
|
@@ -446,7 +442,7 @@ class Client(OpenApiClient):
|
|
446
442
|
request: quotas_20200510_models.CreateQuotaApplicationsForTemplateRequest,
|
447
443
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
448
444
|
"""
|
449
|
-
@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
|
445
|
+
@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.
|
450
446
|
|
451
447
|
@description ### [](#)QPS limit
|
452
448
|
You can add a maximum of 10 quota items to a quota template at a time.
|
@@ -462,7 +458,7 @@ class Client(OpenApiClient):
|
|
462
458
|
request: quotas_20200510_models.CreateQuotaApplicationsForTemplateRequest,
|
463
459
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
464
460
|
"""
|
465
|
-
@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
|
461
|
+
@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.
|
466
462
|
|
467
463
|
@description ### [](#)QPS limit
|
468
464
|
You can add a maximum of 10 quota items to a quota template at a time.
|
@@ -479,11 +475,13 @@ class Client(OpenApiClient):
|
|
479
475
|
runtime: util_models.RuntimeOptions,
|
480
476
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
481
477
|
"""
|
482
|
-
@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.
|
478
|
+
@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.
|
483
479
|
|
484
|
-
@description ### [](#)
|
480
|
+
@description ### [](#)Usage notes
|
485
481
|
You must set the `ServiceStatus` parameter to `1`. This ensures that the quota template is enabled.
|
486
|
-
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) operation to query the status of a quota template. If the `ServiceStatus` parameter
|
482
|
+
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) 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](https://help.aliyun.com/document_detail/450406.html) 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.
|
483
|
+
### [](#)
|
484
|
+
After you create a quota template, you can call the [ListQuotaApplicationsForTemplate](https://help.aliyun.com/document_detail/2584864.html) operation to view the approval result. If the value of the `Status` parameter in the response is `Agree`, the quota template is approved.
|
487
485
|
|
488
486
|
@param request: CreateTemplateQuotaItemRequest
|
489
487
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -534,11 +532,13 @@ class Client(OpenApiClient):
|
|
534
532
|
runtime: util_models.RuntimeOptions,
|
535
533
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
536
534
|
"""
|
537
|
-
@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.
|
535
|
+
@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.
|
538
536
|
|
539
|
-
@description ### [](#)
|
537
|
+
@description ### [](#)Usage notes
|
540
538
|
You must set the `ServiceStatus` parameter to `1`. This ensures that the quota template is enabled.
|
541
|
-
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) operation to query the status of a quota template. If the `ServiceStatus` parameter
|
539
|
+
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) 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](https://help.aliyun.com/document_detail/450406.html) 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.
|
540
|
+
### [](#)
|
541
|
+
After you create a quota template, you can call the [ListQuotaApplicationsForTemplate](https://help.aliyun.com/document_detail/2584864.html) operation to view the approval result. If the value of the `Status` parameter in the response is `Agree`, the quota template is approved.
|
542
542
|
|
543
543
|
@param request: CreateTemplateQuotaItemRequest
|
544
544
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -588,11 +588,13 @@ class Client(OpenApiClient):
|
|
588
588
|
request: quotas_20200510_models.CreateTemplateQuotaItemRequest,
|
589
589
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
590
590
|
"""
|
591
|
-
@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.
|
591
|
+
@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.
|
592
592
|
|
593
|
-
@description ### [](#)
|
593
|
+
@description ### [](#)Usage notes
|
594
594
|
You must set the `ServiceStatus` parameter to `1`. This ensures that the quota template is enabled.
|
595
|
-
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) operation to query the status of a quota template. If the `ServiceStatus` parameter
|
595
|
+
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) 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](https://help.aliyun.com/document_detail/450406.html) 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.
|
596
|
+
### [](#)
|
597
|
+
After you create a quota template, you can call the [ListQuotaApplicationsForTemplate](https://help.aliyun.com/document_detail/2584864.html) operation to view the approval result. If the value of the `Status` parameter in the response is `Agree`, the quota template is approved.
|
596
598
|
|
597
599
|
@param request: CreateTemplateQuotaItemRequest
|
598
600
|
@return: CreateTemplateQuotaItemResponse
|
@@ -605,11 +607,13 @@ class Client(OpenApiClient):
|
|
605
607
|
request: quotas_20200510_models.CreateTemplateQuotaItemRequest,
|
606
608
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
607
609
|
"""
|
608
|
-
@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.
|
610
|
+
@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.
|
609
611
|
|
610
|
-
@description ### [](#)
|
612
|
+
@description ### [](#)Usage notes
|
611
613
|
You must set the `ServiceStatus` parameter to `1`. This ensures that the quota template is enabled.
|
612
|
-
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) operation to query the status of a quota template. If the `ServiceStatus` parameter
|
614
|
+
You can call the [GetQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450407.html) 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](https://help.aliyun.com/document_detail/450406.html) 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.
|
615
|
+
### [](#)
|
616
|
+
After you create a quota template, you can call the [ListQuotaApplicationsForTemplate](https://help.aliyun.com/document_detail/2584864.html) operation to view the approval result. If the value of the `Status` parameter in the response is `Agree`, the quota template is approved.
|
613
617
|
|
614
618
|
@param request: CreateTemplateQuotaItemRequest
|
615
619
|
@return: CreateTemplateQuotaItemResponse
|
@@ -625,7 +629,8 @@ class Client(OpenApiClient):
|
|
625
629
|
"""
|
626
630
|
@summary Deletes a quota alert.
|
627
631
|
|
628
|
-
@description
|
632
|
+
@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](https://help.aliyun.com/document_detail/2513295.html) or [DeleteMetricRuleTargets](https://help.aliyun.com/document_detail/2513294.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
633
|
+
In this example, the API operation is called to delete a quota alert rule whose ID is `6b512ab7-da3a-4142-b529-2b2a9294****`.
|
629
634
|
|
630
635
|
@param request: DeleteQuotaAlarmRequest
|
631
636
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -662,7 +667,8 @@ class Client(OpenApiClient):
|
|
662
667
|
"""
|
663
668
|
@summary Deletes a quota alert.
|
664
669
|
|
665
|
-
@description
|
670
|
+
@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](https://help.aliyun.com/document_detail/2513295.html) or [DeleteMetricRuleTargets](https://help.aliyun.com/document_detail/2513294.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
671
|
+
In this example, the API operation is called to delete a quota alert rule whose ID is `6b512ab7-da3a-4142-b529-2b2a9294****`.
|
666
672
|
|
667
673
|
@param request: DeleteQuotaAlarmRequest
|
668
674
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -698,7 +704,8 @@ class Client(OpenApiClient):
|
|
698
704
|
"""
|
699
705
|
@summary Deletes a quota alert.
|
700
706
|
|
701
|
-
@description
|
707
|
+
@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](https://help.aliyun.com/document_detail/2513295.html) or [DeleteMetricRuleTargets](https://help.aliyun.com/document_detail/2513294.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
708
|
+
In this example, the API operation is called to delete a quota alert rule whose ID is `6b512ab7-da3a-4142-b529-2b2a9294****`.
|
702
709
|
|
703
710
|
@param request: DeleteQuotaAlarmRequest
|
704
711
|
@return: DeleteQuotaAlarmResponse
|
@@ -713,7 +720,8 @@ class Client(OpenApiClient):
|
|
713
720
|
"""
|
714
721
|
@summary Deletes a quota alert.
|
715
722
|
|
716
|
-
@description
|
723
|
+
@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](https://help.aliyun.com/document_detail/2513295.html) or [DeleteMetricRuleTargets](https://help.aliyun.com/document_detail/2513294.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
724
|
+
In this example, the API operation is called to delete a quota alert rule whose ID is `6b512ab7-da3a-4142-b529-2b2a9294****`.
|
717
725
|
|
718
726
|
@param request: DeleteQuotaAlarmRequest
|
719
727
|
@return: DeleteQuotaAlarmResponse
|
@@ -727,7 +735,7 @@ class Client(OpenApiClient):
|
|
727
735
|
runtime: util_models.RuntimeOptions,
|
728
736
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
729
737
|
"""
|
730
|
-
@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.
|
738
|
+
@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.
|
731
739
|
|
732
740
|
@param request: DeleteTemplateQuotaItemRequest
|
733
741
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -762,7 +770,7 @@ class Client(OpenApiClient):
|
|
762
770
|
runtime: util_models.RuntimeOptions,
|
763
771
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
764
772
|
"""
|
765
|
-
@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.
|
773
|
+
@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.
|
766
774
|
|
767
775
|
@param request: DeleteTemplateQuotaItemRequest
|
768
776
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -796,7 +804,7 @@ class Client(OpenApiClient):
|
|
796
804
|
request: quotas_20200510_models.DeleteTemplateQuotaItemRequest,
|
797
805
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
798
806
|
"""
|
799
|
-
@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.
|
807
|
+
@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.
|
800
808
|
|
801
809
|
@param request: DeleteTemplateQuotaItemRequest
|
802
810
|
@return: DeleteTemplateQuotaItemResponse
|
@@ -809,7 +817,7 @@ class Client(OpenApiClient):
|
|
809
817
|
request: quotas_20200510_models.DeleteTemplateQuotaItemRequest,
|
810
818
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
811
819
|
"""
|
812
|
-
@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.
|
820
|
+
@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.
|
813
821
|
|
814
822
|
@param request: DeleteTemplateQuotaItemRequest
|
815
823
|
@return: DeleteTemplateQuotaItemResponse
|
@@ -823,7 +831,7 @@ class Client(OpenApiClient):
|
|
823
831
|
runtime: util_models.RuntimeOptions,
|
824
832
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
825
833
|
"""
|
826
|
-
@summary Queries the details of
|
834
|
+
@summary Queries the details of a quota of a cloud service.
|
827
835
|
|
828
836
|
@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"}`.
|
829
837
|
|
@@ -864,7 +872,7 @@ class Client(OpenApiClient):
|
|
864
872
|
runtime: util_models.RuntimeOptions,
|
865
873
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
866
874
|
"""
|
867
|
-
@summary Queries the details of
|
875
|
+
@summary Queries the details of a quota of a cloud service.
|
868
876
|
|
869
877
|
@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"}`.
|
870
878
|
|
@@ -904,7 +912,7 @@ class Client(OpenApiClient):
|
|
904
912
|
request: quotas_20200510_models.GetProductQuotaRequest,
|
905
913
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
906
914
|
"""
|
907
|
-
@summary Queries the details of
|
915
|
+
@summary Queries the details of a quota of a cloud service.
|
908
916
|
|
909
917
|
@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"}`.
|
910
918
|
|
@@ -919,7 +927,7 @@ class Client(OpenApiClient):
|
|
919
927
|
request: quotas_20200510_models.GetProductQuotaRequest,
|
920
928
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
921
929
|
"""
|
922
|
-
@summary Queries the details of
|
930
|
+
@summary Queries the details of a quota of a cloud service.
|
923
931
|
|
924
932
|
@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"}`.
|
925
933
|
|
@@ -1057,7 +1065,8 @@ class Client(OpenApiClient):
|
|
1057
1065
|
"""
|
1058
1066
|
@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.
|
1059
1067
|
|
1060
|
-
@description
|
1068
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
1069
|
+
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.
|
1061
1070
|
|
1062
1071
|
@param request: GetQuotaAlarmRequest
|
1063
1072
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1094,7 +1103,8 @@ class Client(OpenApiClient):
|
|
1094
1103
|
"""
|
1095
1104
|
@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.
|
1096
1105
|
|
1097
|
-
@description
|
1106
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
1107
|
+
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.
|
1098
1108
|
|
1099
1109
|
@param request: GetQuotaAlarmRequest
|
1100
1110
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1130,7 +1140,8 @@ class Client(OpenApiClient):
|
|
1130
1140
|
"""
|
1131
1141
|
@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.
|
1132
1142
|
|
1133
|
-
@description
|
1143
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
1144
|
+
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.
|
1134
1145
|
|
1135
1146
|
@param request: GetQuotaAlarmRequest
|
1136
1147
|
@return: GetQuotaAlarmResponse
|
@@ -1145,7 +1156,8 @@ class Client(OpenApiClient):
|
|
1145
1156
|
"""
|
1146
1157
|
@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.
|
1147
1158
|
|
1148
|
-
@description
|
1159
|
+
@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](https://help.aliyun.com/document_detail/2863234.html).
|
1160
|
+
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.
|
1149
1161
|
|
1150
1162
|
@param request: GetQuotaAlarmRequest
|
1151
1163
|
@return: GetQuotaAlarmResponse
|
@@ -1373,6 +1385,8 @@ class Client(OpenApiClient):
|
|
1373
1385
|
"""
|
1374
1386
|
@summary Queries the status of a quota template.
|
1375
1387
|
|
1388
|
+
@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`.
|
1389
|
+
|
1376
1390
|
@param request: GetQuotaTemplateServiceStatusRequest
|
1377
1391
|
@param runtime: runtime options for this request RuntimeOptions
|
1378
1392
|
@return: GetQuotaTemplateServiceStatusResponse
|
@@ -1408,6 +1422,8 @@ class Client(OpenApiClient):
|
|
1408
1422
|
"""
|
1409
1423
|
@summary Queries the status of a quota template.
|
1410
1424
|
|
1425
|
+
@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`.
|
1426
|
+
|
1411
1427
|
@param request: GetQuotaTemplateServiceStatusRequest
|
1412
1428
|
@param runtime: runtime options for this request RuntimeOptions
|
1413
1429
|
@return: GetQuotaTemplateServiceStatusResponse
|
@@ -1442,6 +1458,8 @@ class Client(OpenApiClient):
|
|
1442
1458
|
"""
|
1443
1459
|
@summary Queries the status of a quota template.
|
1444
1460
|
|
1461
|
+
@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`.
|
1462
|
+
|
1445
1463
|
@param request: GetQuotaTemplateServiceStatusRequest
|
1446
1464
|
@return: GetQuotaTemplateServiceStatusResponse
|
1447
1465
|
"""
|
@@ -1455,6 +1473,8 @@ class Client(OpenApiClient):
|
|
1455
1473
|
"""
|
1456
1474
|
@summary Queries the status of a quota template.
|
1457
1475
|
|
1476
|
+
@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`.
|
1477
|
+
|
1458
1478
|
@param request: GetQuotaTemplateServiceStatusRequest
|
1459
1479
|
@return: GetQuotaTemplateServiceStatusResponse
|
1460
1480
|
"""
|
@@ -1469,6 +1489,8 @@ class Client(OpenApiClient):
|
|
1469
1489
|
"""
|
1470
1490
|
@summary Queries the alert records.
|
1471
1491
|
|
1492
|
+
@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](https://help.aliyun.com/document_detail/2513275.html) or [DescribeAlertLogList](https://help.aliyun.com/document_detail/2513276.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
1493
|
+
|
1472
1494
|
@param request: ListAlarmHistoriesRequest
|
1473
1495
|
@param runtime: runtime options for this request RuntimeOptions
|
1474
1496
|
@return: ListAlarmHistoriesResponse
|
@@ -1516,6 +1538,8 @@ class Client(OpenApiClient):
|
|
1516
1538
|
"""
|
1517
1539
|
@summary Queries the alert records.
|
1518
1540
|
|
1541
|
+
@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](https://help.aliyun.com/document_detail/2513275.html) or [DescribeAlertLogList](https://help.aliyun.com/document_detail/2513276.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
1542
|
+
|
1519
1543
|
@param request: ListAlarmHistoriesRequest
|
1520
1544
|
@param runtime: runtime options for this request RuntimeOptions
|
1521
1545
|
@return: ListAlarmHistoriesResponse
|
@@ -1562,6 +1586,8 @@ class Client(OpenApiClient):
|
|
1562
1586
|
"""
|
1563
1587
|
@summary Queries the alert records.
|
1564
1588
|
|
1589
|
+
@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](https://help.aliyun.com/document_detail/2513275.html) or [DescribeAlertLogList](https://help.aliyun.com/document_detail/2513276.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
1590
|
+
|
1565
1591
|
@param request: ListAlarmHistoriesRequest
|
1566
1592
|
@return: ListAlarmHistoriesResponse
|
1567
1593
|
"""
|
@@ -1575,6 +1601,8 @@ class Client(OpenApiClient):
|
|
1575
1601
|
"""
|
1576
1602
|
@summary Queries the alert records.
|
1577
1603
|
|
1604
|
+
@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](https://help.aliyun.com/document_detail/2513275.html) or [DescribeAlertLogList](https://help.aliyun.com/document_detail/2513276.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
1605
|
+
|
1578
1606
|
@param request: ListAlarmHistoriesRequest
|
1579
1607
|
@return: ListAlarmHistoriesResponse
|
1580
1608
|
"""
|
@@ -2185,6 +2213,8 @@ class Client(OpenApiClient):
|
|
2185
2213
|
"""
|
2186
2214
|
@summary Queries quota alerts.
|
2187
2215
|
|
2216
|
+
@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](https://help.aliyun.com/document_detail/2513291.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
2217
|
+
|
2188
2218
|
@param request: ListQuotaAlarmsRequest
|
2189
2219
|
@param runtime: runtime options for this request RuntimeOptions
|
2190
2220
|
@return: ListQuotaAlarmsResponse
|
@@ -2230,6 +2260,8 @@ class Client(OpenApiClient):
|
|
2230
2260
|
"""
|
2231
2261
|
@summary Queries quota alerts.
|
2232
2262
|
|
2263
|
+
@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](https://help.aliyun.com/document_detail/2513291.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
2264
|
+
|
2233
2265
|
@param request: ListQuotaAlarmsRequest
|
2234
2266
|
@param runtime: runtime options for this request RuntimeOptions
|
2235
2267
|
@return: ListQuotaAlarmsResponse
|
@@ -2274,6 +2306,8 @@ class Client(OpenApiClient):
|
|
2274
2306
|
"""
|
2275
2307
|
@summary Queries quota alerts.
|
2276
2308
|
|
2309
|
+
@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](https://help.aliyun.com/document_detail/2513291.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
2310
|
+
|
2277
2311
|
@param request: ListQuotaAlarmsRequest
|
2278
2312
|
@return: ListQuotaAlarmsResponse
|
2279
2313
|
"""
|
@@ -2287,6 +2321,8 @@ class Client(OpenApiClient):
|
|
2287
2321
|
"""
|
2288
2322
|
@summary Queries quota alerts.
|
2289
2323
|
|
2324
|
+
@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](https://help.aliyun.com/document_detail/2513291.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
2325
|
+
|
2290
2326
|
@param request: ListQuotaAlarmsRequest
|
2291
2327
|
@return: ListQuotaAlarmsResponse
|
2292
2328
|
"""
|
@@ -2803,7 +2839,7 @@ class Client(OpenApiClient):
|
|
2803
2839
|
runtime: util_models.RuntimeOptions,
|
2804
2840
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2805
2841
|
"""
|
2806
|
-
@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.
|
2842
|
+
@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.
|
2807
2843
|
|
2808
2844
|
@description ### [](#)Prerequisites
|
2809
2845
|
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
@@ -2843,7 +2879,7 @@ class Client(OpenApiClient):
|
|
2843
2879
|
runtime: util_models.RuntimeOptions,
|
2844
2880
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2845
2881
|
"""
|
2846
|
-
@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.
|
2882
|
+
@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.
|
2847
2883
|
|
2848
2884
|
@description ### [](#)Prerequisites
|
2849
2885
|
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
@@ -2882,7 +2918,7 @@ class Client(OpenApiClient):
|
|
2882
2918
|
request: quotas_20200510_models.ModifyQuotaTemplateServiceStatusRequest,
|
2883
2919
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2884
2920
|
"""
|
2885
|
-
@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.
|
2921
|
+
@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.
|
2886
2922
|
|
2887
2923
|
@description ### [](#)Prerequisites
|
2888
2924
|
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
@@ -2900,7 +2936,7 @@ class Client(OpenApiClient):
|
|
2900
2936
|
request: quotas_20200510_models.ModifyQuotaTemplateServiceStatusRequest,
|
2901
2937
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2902
2938
|
"""
|
2903
|
-
@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.
|
2939
|
+
@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.
|
2904
2940
|
|
2905
2941
|
@description ### [](#)Prerequisites
|
2906
2942
|
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
@@ -3161,7 +3197,8 @@ class Client(OpenApiClient):
|
|
3161
3197
|
"""
|
3162
3198
|
@summary Modifies a quota alert rule.
|
3163
3199
|
|
3164
|
-
@description
|
3200
|
+
@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](https://help.aliyun.com/document_detail/2513316.html) or [PutMetricRuleTargets](https://help.aliyun.com/document_detail/2513302.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
3201
|
+
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`.
|
3165
3202
|
|
3166
3203
|
@param request: UpdateQuotaAlarmRequest
|
3167
3204
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -3208,7 +3245,8 @@ class Client(OpenApiClient):
|
|
3208
3245
|
"""
|
3209
3246
|
@summary Modifies a quota alert rule.
|
3210
3247
|
|
3211
|
-
@description
|
3248
|
+
@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](https://help.aliyun.com/document_detail/2513316.html) or [PutMetricRuleTargets](https://help.aliyun.com/document_detail/2513302.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
3249
|
+
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`.
|
3212
3250
|
|
3213
3251
|
@param request: UpdateQuotaAlarmRequest
|
3214
3252
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -3254,7 +3292,8 @@ class Client(OpenApiClient):
|
|
3254
3292
|
"""
|
3255
3293
|
@summary Modifies a quota alert rule.
|
3256
3294
|
|
3257
|
-
@description
|
3295
|
+
@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](https://help.aliyun.com/document_detail/2513316.html) or [PutMetricRuleTargets](https://help.aliyun.com/document_detail/2513302.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
3296
|
+
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`.
|
3258
3297
|
|
3259
3298
|
@param request: UpdateQuotaAlarmRequest
|
3260
3299
|
@return: UpdateQuotaAlarmResponse
|
@@ -3269,7 +3308,8 @@ class Client(OpenApiClient):
|
|
3269
3308
|
"""
|
3270
3309
|
@summary Modifies a quota alert rule.
|
3271
3310
|
|
3272
|
-
@description
|
3311
|
+
@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](https://help.aliyun.com/document_detail/2513316.html) or [PutMetricRuleTargets](https://help.aliyun.com/document_detail/2513302.html). 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](https://help.aliyun.com/document_detail/2863234.html).
|
3312
|
+
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`.
|
3273
3313
|
|
3274
3314
|
@param request: UpdateQuotaAlarmRequest
|
3275
3315
|
@return: UpdateQuotaAlarmResponse
|