alibabacloud-quotas20200510 1.1.4__py3-none-any.whl → 1.2.0__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 +746 -80
- alibabacloud_quotas20200510/models.py +758 -178
- {alibabacloud_quotas20200510-1.1.4.dist-info → alibabacloud_quotas20200510-1.2.0.dist-info}/METADATA +4 -4
- alibabacloud_quotas20200510-1.2.0.dist-info/RECORD +8 -0
- {alibabacloud_quotas20200510-1.1.4.dist-info → alibabacloud_quotas20200510-1.2.0.dist-info}/WHEEL +1 -1
- alibabacloud_quotas20200510-1.1.4.dist-info/RECORD +0 -8
- {alibabacloud_quotas20200510-1.1.4.dist-info → alibabacloud_quotas20200510-1.2.0.dist-info}/LICENSE +0 -0
- {alibabacloud_quotas20200510-1.1.4.dist-info → alibabacloud_quotas20200510-1.2.0.dist-info}/top_level.txt +0 -0
@@ -47,7 +47,11 @@ class Client(OpenApiClient):
|
|
47
47
|
runtime: util_models.RuntimeOptions,
|
48
48
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
49
49
|
"""
|
50
|
-
The
|
50
|
+
@summary The value of the quota dimension.
|
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.
|
53
|
+
|
54
|
+
@description The ID of the alert.
|
51
55
|
|
52
56
|
@param request: CreateQuotaAlarmRequest
|
53
57
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -96,7 +100,11 @@ class Client(OpenApiClient):
|
|
96
100
|
runtime: util_models.RuntimeOptions,
|
97
101
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
98
102
|
"""
|
99
|
-
The
|
103
|
+
@summary The value of the quota dimension.
|
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.
|
106
|
+
|
107
|
+
@description The ID of the alert.
|
100
108
|
|
101
109
|
@param request: CreateQuotaAlarmRequest
|
102
110
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -144,7 +152,11 @@ class Client(OpenApiClient):
|
|
144
152
|
request: quotas_20200510_models.CreateQuotaAlarmRequest,
|
145
153
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
146
154
|
"""
|
147
|
-
The
|
155
|
+
@summary The value of the quota dimension.
|
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.
|
158
|
+
|
159
|
+
@description The ID of the alert.
|
148
160
|
|
149
161
|
@param request: CreateQuotaAlarmRequest
|
150
162
|
@return: CreateQuotaAlarmResponse
|
@@ -157,7 +169,11 @@ class Client(OpenApiClient):
|
|
157
169
|
request: quotas_20200510_models.CreateQuotaAlarmRequest,
|
158
170
|
) -> quotas_20200510_models.CreateQuotaAlarmResponse:
|
159
171
|
"""
|
160
|
-
The
|
172
|
+
@summary The value of the quota dimension.
|
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.
|
175
|
+
|
176
|
+
@description The ID of the alert.
|
161
177
|
|
162
178
|
@param request: CreateQuotaAlarmRequest
|
163
179
|
@return: CreateQuotaAlarmResponse
|
@@ -171,7 +187,9 @@ class Client(OpenApiClient):
|
|
171
187
|
runtime: util_models.RuntimeOptions,
|
172
188
|
) -> quotas_20200510_models.CreateQuotaApplicationResponse:
|
173
189
|
"""
|
174
|
-
|
190
|
+
@summary Submits an application to increase a quota.
|
191
|
+
|
192
|
+
@description In this example, the operation is called to submit an application to increase the value of a quota whose ID is `q_security-groups` and whose name is Maximum Number of Security Groups. The quota belongs to Elastic Compute Service (ECS). The expected value of the quota is `804`, the application reason is `Scale Out`, and the ID of the region to which the quota belongs is `cn-hangzhou`.
|
175
193
|
|
176
194
|
@param request: CreateQuotaApplicationRequest
|
177
195
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -226,7 +244,9 @@ class Client(OpenApiClient):
|
|
226
244
|
runtime: util_models.RuntimeOptions,
|
227
245
|
) -> quotas_20200510_models.CreateQuotaApplicationResponse:
|
228
246
|
"""
|
229
|
-
|
247
|
+
@summary Submits an application to increase a quota.
|
248
|
+
|
249
|
+
@description In this example, the operation is called to submit an application to increase the value of a quota whose ID is `q_security-groups` and whose name is Maximum Number of Security Groups. The quota belongs to Elastic Compute Service (ECS). The expected value of the quota is `804`, the application reason is `Scale Out`, and the ID of the region to which the quota belongs is `cn-hangzhou`.
|
230
250
|
|
231
251
|
@param request: CreateQuotaApplicationRequest
|
232
252
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -280,7 +300,9 @@ class Client(OpenApiClient):
|
|
280
300
|
request: quotas_20200510_models.CreateQuotaApplicationRequest,
|
281
301
|
) -> quotas_20200510_models.CreateQuotaApplicationResponse:
|
282
302
|
"""
|
283
|
-
|
303
|
+
@summary Submits an application to increase a quota.
|
304
|
+
|
305
|
+
@description In this example, the operation is called to submit an application to increase the value of a quota whose ID is `q_security-groups` and whose name is Maximum Number of Security Groups. The quota belongs to Elastic Compute Service (ECS). The expected value of the quota is `804`, the application reason is `Scale Out`, and the ID of the region to which the quota belongs is `cn-hangzhou`.
|
284
306
|
|
285
307
|
@param request: CreateQuotaApplicationRequest
|
286
308
|
@return: CreateQuotaApplicationResponse
|
@@ -293,7 +315,9 @@ class Client(OpenApiClient):
|
|
293
315
|
request: quotas_20200510_models.CreateQuotaApplicationRequest,
|
294
316
|
) -> quotas_20200510_models.CreateQuotaApplicationResponse:
|
295
317
|
"""
|
296
|
-
|
318
|
+
@summary Submits an application to increase a quota.
|
319
|
+
|
320
|
+
@description In this example, the operation is called to submit an application to increase the value of a quota whose ID is `q_security-groups` and whose name is Maximum Number of Security Groups. The quota belongs to Elastic Compute Service (ECS). The expected value of the quota is `804`, the application reason is `Scale Out`, and the ID of the region to which the quota belongs is `cn-hangzhou`.
|
297
321
|
|
298
322
|
@param request: CreateQuotaApplicationRequest
|
299
323
|
@return: CreateQuotaApplicationResponse
|
@@ -306,6 +330,16 @@ class Client(OpenApiClient):
|
|
306
330
|
request: quotas_20200510_models.CreateQuotaApplicationsForTemplateRequest,
|
307
331
|
runtime: util_models.RuntimeOptions,
|
308
332
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
333
|
+
"""
|
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 in 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.
|
335
|
+
|
336
|
+
@description ### [](#)QPS limit
|
337
|
+
You can add a maximum of 10 quota items to a quota template at a time.
|
338
|
+
|
339
|
+
@param request: CreateQuotaApplicationsForTemplateRequest
|
340
|
+
@param runtime: runtime options for this request RuntimeOptions
|
341
|
+
@return: CreateQuotaApplicationsForTemplateResponse
|
342
|
+
"""
|
309
343
|
UtilClient.validate_model(request)
|
310
344
|
body = {}
|
311
345
|
if not UtilClient.is_unset(request.aliyun_uids):
|
@@ -354,6 +388,16 @@ class Client(OpenApiClient):
|
|
354
388
|
request: quotas_20200510_models.CreateQuotaApplicationsForTemplateRequest,
|
355
389
|
runtime: util_models.RuntimeOptions,
|
356
390
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
391
|
+
"""
|
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 in 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.
|
393
|
+
|
394
|
+
@description ### [](#)QPS limit
|
395
|
+
You can add a maximum of 10 quota items to a quota template at a time.
|
396
|
+
|
397
|
+
@param request: CreateQuotaApplicationsForTemplateRequest
|
398
|
+
@param runtime: runtime options for this request RuntimeOptions
|
399
|
+
@return: CreateQuotaApplicationsForTemplateResponse
|
400
|
+
"""
|
357
401
|
UtilClient.validate_model(request)
|
358
402
|
body = {}
|
359
403
|
if not UtilClient.is_unset(request.aliyun_uids):
|
@@ -401,6 +445,15 @@ class Client(OpenApiClient):
|
|
401
445
|
self,
|
402
446
|
request: quotas_20200510_models.CreateQuotaApplicationsForTemplateRequest,
|
403
447
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
448
|
+
"""
|
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 in 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.
|
450
|
+
|
451
|
+
@description ### [](#)QPS limit
|
452
|
+
You can add a maximum of 10 quota items to a quota template at a time.
|
453
|
+
|
454
|
+
@param request: CreateQuotaApplicationsForTemplateRequest
|
455
|
+
@return: CreateQuotaApplicationsForTemplateResponse
|
456
|
+
"""
|
404
457
|
runtime = util_models.RuntimeOptions()
|
405
458
|
return self.create_quota_applications_for_template_with_options(request, runtime)
|
406
459
|
|
@@ -408,6 +461,15 @@ class Client(OpenApiClient):
|
|
408
461
|
self,
|
409
462
|
request: quotas_20200510_models.CreateQuotaApplicationsForTemplateRequest,
|
410
463
|
) -> quotas_20200510_models.CreateQuotaApplicationsForTemplateResponse:
|
464
|
+
"""
|
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 in 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.
|
466
|
+
|
467
|
+
@description ### [](#)QPS limit
|
468
|
+
You can add a maximum of 10 quota items to a quota template at a time.
|
469
|
+
|
470
|
+
@param request: CreateQuotaApplicationsForTemplateRequest
|
471
|
+
@return: CreateQuotaApplicationsForTemplateResponse
|
472
|
+
"""
|
411
473
|
runtime = util_models.RuntimeOptions()
|
412
474
|
return await self.create_quota_applications_for_template_with_options_async(request, runtime)
|
413
475
|
|
@@ -416,6 +478,17 @@ class Client(OpenApiClient):
|
|
416
478
|
request: quotas_20200510_models.CreateTemplateQuotaItemRequest,
|
417
479
|
runtime: util_models.RuntimeOptions,
|
418
480
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
481
|
+
"""
|
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.
|
483
|
+
|
484
|
+
@description ### [](#)Prerequisites
|
485
|
+
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 is set to `0` or `-1`, you must call the [ModifyQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450406.html) operation to set the ServiceStatus parameter to `1`.
|
487
|
+
|
488
|
+
@param request: CreateTemplateQuotaItemRequest
|
489
|
+
@param runtime: runtime options for this request RuntimeOptions
|
490
|
+
@return: CreateTemplateQuotaItemResponse
|
491
|
+
"""
|
419
492
|
UtilClient.validate_model(request)
|
420
493
|
body = {}
|
421
494
|
if not UtilClient.is_unset(request.desire_value):
|
@@ -460,6 +533,17 @@ class Client(OpenApiClient):
|
|
460
533
|
request: quotas_20200510_models.CreateTemplateQuotaItemRequest,
|
461
534
|
runtime: util_models.RuntimeOptions,
|
462
535
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
536
|
+
"""
|
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.
|
538
|
+
|
539
|
+
@description ### [](#)Prerequisites
|
540
|
+
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 is set to `0` or `-1`, you must call the [ModifyQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450406.html) operation to set the ServiceStatus parameter to `1`.
|
542
|
+
|
543
|
+
@param request: CreateTemplateQuotaItemRequest
|
544
|
+
@param runtime: runtime options for this request RuntimeOptions
|
545
|
+
@return: CreateTemplateQuotaItemResponse
|
546
|
+
"""
|
463
547
|
UtilClient.validate_model(request)
|
464
548
|
body = {}
|
465
549
|
if not UtilClient.is_unset(request.desire_value):
|
@@ -503,6 +587,16 @@ class Client(OpenApiClient):
|
|
503
587
|
self,
|
504
588
|
request: quotas_20200510_models.CreateTemplateQuotaItemRequest,
|
505
589
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
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.
|
592
|
+
|
593
|
+
@description ### [](#)Prerequisites
|
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 is set to `0` or `-1`, you must call the [ModifyQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450406.html) operation to set the ServiceStatus parameter to `1`.
|
596
|
+
|
597
|
+
@param request: CreateTemplateQuotaItemRequest
|
598
|
+
@return: CreateTemplateQuotaItemResponse
|
599
|
+
"""
|
506
600
|
runtime = util_models.RuntimeOptions()
|
507
601
|
return self.create_template_quota_item_with_options(request, runtime)
|
508
602
|
|
@@ -510,6 +604,16 @@ class Client(OpenApiClient):
|
|
510
604
|
self,
|
511
605
|
request: quotas_20200510_models.CreateTemplateQuotaItemRequest,
|
512
606
|
) -> quotas_20200510_models.CreateTemplateQuotaItemResponse:
|
607
|
+
"""
|
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.
|
609
|
+
|
610
|
+
@description ### [](#)Prerequisites
|
611
|
+
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 is set to `0` or `-1`, you must call the [ModifyQuotaTemplateServiceStatus](https://help.aliyun.com/document_detail/450406.html) operation to set the ServiceStatus parameter to `1`.
|
613
|
+
|
614
|
+
@param request: CreateTemplateQuotaItemRequest
|
615
|
+
@return: CreateTemplateQuotaItemResponse
|
616
|
+
"""
|
513
617
|
runtime = util_models.RuntimeOptions()
|
514
618
|
return await self.create_template_quota_item_with_options_async(request, runtime)
|
515
619
|
|
@@ -519,7 +623,9 @@ class Client(OpenApiClient):
|
|
519
623
|
runtime: util_models.RuntimeOptions,
|
520
624
|
) -> quotas_20200510_models.DeleteQuotaAlarmResponse:
|
521
625
|
"""
|
522
|
-
|
626
|
+
@summary Deletes a quota alert.
|
627
|
+
|
628
|
+
@description In this example, the operation is called to delete a quota alert whose ID is `6b512ab7-da3a-4142-b529-2b2a9294***`.
|
523
629
|
|
524
630
|
@param request: DeleteQuotaAlarmRequest
|
525
631
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -554,7 +660,9 @@ class Client(OpenApiClient):
|
|
554
660
|
runtime: util_models.RuntimeOptions,
|
555
661
|
) -> quotas_20200510_models.DeleteQuotaAlarmResponse:
|
556
662
|
"""
|
557
|
-
|
663
|
+
@summary Deletes a quota alert.
|
664
|
+
|
665
|
+
@description In this example, the operation is called to delete a quota alert whose ID is `6b512ab7-da3a-4142-b529-2b2a9294***`.
|
558
666
|
|
559
667
|
@param request: DeleteQuotaAlarmRequest
|
560
668
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -588,7 +696,9 @@ class Client(OpenApiClient):
|
|
588
696
|
request: quotas_20200510_models.DeleteQuotaAlarmRequest,
|
589
697
|
) -> quotas_20200510_models.DeleteQuotaAlarmResponse:
|
590
698
|
"""
|
591
|
-
|
699
|
+
@summary Deletes a quota alert.
|
700
|
+
|
701
|
+
@description In this example, the operation is called to delete a quota alert whose ID is `6b512ab7-da3a-4142-b529-2b2a9294***`.
|
592
702
|
|
593
703
|
@param request: DeleteQuotaAlarmRequest
|
594
704
|
@return: DeleteQuotaAlarmResponse
|
@@ -601,7 +711,9 @@ class Client(OpenApiClient):
|
|
601
711
|
request: quotas_20200510_models.DeleteQuotaAlarmRequest,
|
602
712
|
) -> quotas_20200510_models.DeleteQuotaAlarmResponse:
|
603
713
|
"""
|
604
|
-
|
714
|
+
@summary Deletes a quota alert.
|
715
|
+
|
716
|
+
@description In this example, the operation is called to delete a quota alert whose ID is `6b512ab7-da3a-4142-b529-2b2a9294***`.
|
605
717
|
|
606
718
|
@param request: DeleteQuotaAlarmRequest
|
607
719
|
@return: DeleteQuotaAlarmResponse
|
@@ -614,6 +726,13 @@ class Client(OpenApiClient):
|
|
614
726
|
request: quotas_20200510_models.DeleteTemplateQuotaItemRequest,
|
615
727
|
runtime: util_models.RuntimeOptions,
|
616
728
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
729
|
+
"""
|
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.
|
731
|
+
|
732
|
+
@param request: DeleteTemplateQuotaItemRequest
|
733
|
+
@param runtime: runtime options for this request RuntimeOptions
|
734
|
+
@return: DeleteTemplateQuotaItemResponse
|
735
|
+
"""
|
617
736
|
UtilClient.validate_model(request)
|
618
737
|
body = {}
|
619
738
|
if not UtilClient.is_unset(request.id):
|
@@ -642,6 +761,13 @@ class Client(OpenApiClient):
|
|
642
761
|
request: quotas_20200510_models.DeleteTemplateQuotaItemRequest,
|
643
762
|
runtime: util_models.RuntimeOptions,
|
644
763
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
764
|
+
"""
|
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.
|
766
|
+
|
767
|
+
@param request: DeleteTemplateQuotaItemRequest
|
768
|
+
@param runtime: runtime options for this request RuntimeOptions
|
769
|
+
@return: DeleteTemplateQuotaItemResponse
|
770
|
+
"""
|
645
771
|
UtilClient.validate_model(request)
|
646
772
|
body = {}
|
647
773
|
if not UtilClient.is_unset(request.id):
|
@@ -669,6 +795,12 @@ class Client(OpenApiClient):
|
|
669
795
|
self,
|
670
796
|
request: quotas_20200510_models.DeleteTemplateQuotaItemRequest,
|
671
797
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
798
|
+
"""
|
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.
|
800
|
+
|
801
|
+
@param request: DeleteTemplateQuotaItemRequest
|
802
|
+
@return: DeleteTemplateQuotaItemResponse
|
803
|
+
"""
|
672
804
|
runtime = util_models.RuntimeOptions()
|
673
805
|
return self.delete_template_quota_item_with_options(request, runtime)
|
674
806
|
|
@@ -676,6 +808,12 @@ class Client(OpenApiClient):
|
|
676
808
|
self,
|
677
809
|
request: quotas_20200510_models.DeleteTemplateQuotaItemRequest,
|
678
810
|
) -> quotas_20200510_models.DeleteTemplateQuotaItemResponse:
|
811
|
+
"""
|
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.
|
813
|
+
|
814
|
+
@param request: DeleteTemplateQuotaItemRequest
|
815
|
+
@return: DeleteTemplateQuotaItemResponse
|
816
|
+
"""
|
679
817
|
runtime = util_models.RuntimeOptions()
|
680
818
|
return await self.delete_template_quota_item_with_options_async(request, runtime)
|
681
819
|
|
@@ -685,7 +823,9 @@ class Client(OpenApiClient):
|
|
685
823
|
runtime: util_models.RuntimeOptions,
|
686
824
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
687
825
|
"""
|
688
|
-
|
826
|
+
@summary Queries the details of the specified quota.
|
827
|
+
|
828
|
+
@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"}`.
|
689
829
|
|
690
830
|
@param request: GetProductQuotaRequest
|
691
831
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -724,7 +864,9 @@ class Client(OpenApiClient):
|
|
724
864
|
runtime: util_models.RuntimeOptions,
|
725
865
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
726
866
|
"""
|
727
|
-
|
867
|
+
@summary Queries the details of the specified quota.
|
868
|
+
|
869
|
+
@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"}`.
|
728
870
|
|
729
871
|
@param request: GetProductQuotaRequest
|
730
872
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -762,7 +904,9 @@ class Client(OpenApiClient):
|
|
762
904
|
request: quotas_20200510_models.GetProductQuotaRequest,
|
763
905
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
764
906
|
"""
|
765
|
-
|
907
|
+
@summary Queries the details of the specified quota.
|
908
|
+
|
909
|
+
@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"}`.
|
766
910
|
|
767
911
|
@param request: GetProductQuotaRequest
|
768
912
|
@return: GetProductQuotaResponse
|
@@ -775,7 +919,9 @@ class Client(OpenApiClient):
|
|
775
919
|
request: quotas_20200510_models.GetProductQuotaRequest,
|
776
920
|
) -> quotas_20200510_models.GetProductQuotaResponse:
|
777
921
|
"""
|
778
|
-
|
922
|
+
@summary Queries the details of the specified quota.
|
923
|
+
|
924
|
+
@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"}`.
|
779
925
|
|
780
926
|
@param request: GetProductQuotaRequest
|
781
927
|
@return: GetProductQuotaResponse
|
@@ -789,9 +935,11 @@ class Client(OpenApiClient):
|
|
789
935
|
runtime: util_models.RuntimeOptions,
|
790
936
|
) -> quotas_20200510_models.GetProductQuotaDimensionResponse:
|
791
937
|
"""
|
792
|
-
|
793
|
-
|
794
|
-
|
938
|
+
@summary Queries the details of a quota dimension that is supported by an Alibaba Cloud service.
|
939
|
+
|
940
|
+
@description In this example, the operation is called to query the details of a quota dimension whose key is `regionId`. The quota dimension belongs to Elastic Compute Service (ECS) Quotas by Instance Type whose service code is ecs-spec. The following query results are returned:
|
941
|
+
The values of the quota dimension include `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
942
|
+
The name of the quota dimension is `region`.
|
795
943
|
|
796
944
|
@param request: GetProductQuotaDimensionRequest
|
797
945
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -830,9 +978,11 @@ class Client(OpenApiClient):
|
|
830
978
|
runtime: util_models.RuntimeOptions,
|
831
979
|
) -> quotas_20200510_models.GetProductQuotaDimensionResponse:
|
832
980
|
"""
|
833
|
-
|
834
|
-
|
835
|
-
|
981
|
+
@summary Queries the details of a quota dimension that is supported by an Alibaba Cloud service.
|
982
|
+
|
983
|
+
@description In this example, the operation is called to query the details of a quota dimension whose key is `regionId`. The quota dimension belongs to Elastic Compute Service (ECS) Quotas by Instance Type whose service code is ecs-spec. The following query results are returned:
|
984
|
+
The values of the quota dimension include `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
985
|
+
The name of the quota dimension is `region`.
|
836
986
|
|
837
987
|
@param request: GetProductQuotaDimensionRequest
|
838
988
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -870,9 +1020,11 @@ class Client(OpenApiClient):
|
|
870
1020
|
request: quotas_20200510_models.GetProductQuotaDimensionRequest,
|
871
1021
|
) -> quotas_20200510_models.GetProductQuotaDimensionResponse:
|
872
1022
|
"""
|
873
|
-
|
874
|
-
|
875
|
-
|
1023
|
+
@summary Queries the details of a quota dimension that is supported by an Alibaba Cloud service.
|
1024
|
+
|
1025
|
+
@description In this example, the operation is called to query the details of a quota dimension whose key is `regionId`. The quota dimension belongs to Elastic Compute Service (ECS) Quotas by Instance Type whose service code is ecs-spec. The following query results are returned:
|
1026
|
+
The values of the quota dimension include `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
1027
|
+
The name of the quota dimension is `region`.
|
876
1028
|
|
877
1029
|
@param request: GetProductQuotaDimensionRequest
|
878
1030
|
@return: GetProductQuotaDimensionResponse
|
@@ -885,9 +1037,11 @@ class Client(OpenApiClient):
|
|
885
1037
|
request: quotas_20200510_models.GetProductQuotaDimensionRequest,
|
886
1038
|
) -> quotas_20200510_models.GetProductQuotaDimensionResponse:
|
887
1039
|
"""
|
888
|
-
|
889
|
-
|
890
|
-
|
1040
|
+
@summary Queries the details of a quota dimension that is supported by an Alibaba Cloud service.
|
1041
|
+
|
1042
|
+
@description In this example, the operation is called to query the details of a quota dimension whose key is `regionId`. The quota dimension belongs to Elastic Compute Service (ECS) Quotas by Instance Type whose service code is ecs-spec. The following query results are returned:
|
1043
|
+
The values of the quota dimension include `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
1044
|
+
The name of the quota dimension is `region`.
|
891
1045
|
|
892
1046
|
@param request: GetProductQuotaDimensionRequest
|
893
1047
|
@return: GetProductQuotaDimensionResponse
|
@@ -901,7 +1055,9 @@ class Client(OpenApiClient):
|
|
901
1055
|
runtime: util_models.RuntimeOptions,
|
902
1056
|
) -> quotas_20200510_models.GetQuotaAlarmResponse:
|
903
1057
|
"""
|
904
|
-
|
1058
|
+
@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
|
+
|
1060
|
+
@description In this example, the operation is called to query the details of a quota alert whose ID is `78d7e436-4b25-4897-84b5-d7b656bb***`. The details of the alert are returned. The query result includes the alert ID, alert name, alert contact, and the time when the quota alert was created.
|
905
1061
|
|
906
1062
|
@param request: GetQuotaAlarmRequest
|
907
1063
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -936,7 +1092,9 @@ class Client(OpenApiClient):
|
|
936
1092
|
runtime: util_models.RuntimeOptions,
|
937
1093
|
) -> quotas_20200510_models.GetQuotaAlarmResponse:
|
938
1094
|
"""
|
939
|
-
|
1095
|
+
@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
|
+
|
1097
|
+
@description In this example, the operation is called to query the details of a quota alert whose ID is `78d7e436-4b25-4897-84b5-d7b656bb***`. The details of the alert are returned. The query result includes the alert ID, alert name, alert contact, and the time when the quota alert was created.
|
940
1098
|
|
941
1099
|
@param request: GetQuotaAlarmRequest
|
942
1100
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -970,7 +1128,9 @@ class Client(OpenApiClient):
|
|
970
1128
|
request: quotas_20200510_models.GetQuotaAlarmRequest,
|
971
1129
|
) -> quotas_20200510_models.GetQuotaAlarmResponse:
|
972
1130
|
"""
|
973
|
-
|
1131
|
+
@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
|
+
|
1133
|
+
@description In this example, the operation is called to query the details of a quota alert whose ID is `78d7e436-4b25-4897-84b5-d7b656bb***`. The details of the alert are returned. The query result includes the alert ID, alert name, alert contact, and the time when the quota alert was created.
|
974
1134
|
|
975
1135
|
@param request: GetQuotaAlarmRequest
|
976
1136
|
@return: GetQuotaAlarmResponse
|
@@ -983,7 +1143,9 @@ class Client(OpenApiClient):
|
|
983
1143
|
request: quotas_20200510_models.GetQuotaAlarmRequest,
|
984
1144
|
) -> quotas_20200510_models.GetQuotaAlarmResponse:
|
985
1145
|
"""
|
986
|
-
|
1146
|
+
@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
|
+
|
1148
|
+
@description In this example, the operation is called to query the details of a quota alert whose ID is `78d7e436-4b25-4897-84b5-d7b656bb***`. The details of the alert are returned. The query result includes the alert ID, alert name, alert contact, and the time when the quota alert was created.
|
987
1149
|
|
988
1150
|
@param request: GetQuotaAlarmRequest
|
989
1151
|
@return: GetQuotaAlarmResponse
|
@@ -997,7 +1159,9 @@ class Client(OpenApiClient):
|
|
997
1159
|
runtime: util_models.RuntimeOptions,
|
998
1160
|
) -> quotas_20200510_models.GetQuotaApplicationResponse:
|
999
1161
|
"""
|
1000
|
-
|
1162
|
+
@summary Queries the details about a specified application that is submitted to increase a quota.
|
1163
|
+
|
1164
|
+
@description In this example, the operation is called to query the details about an application whose ID is `d314d6ae-867d-484c-9009-3d421a80***`. The query result shows the details about the application. The details include the application ID, application time, expected quota value, and application result.
|
1001
1165
|
|
1002
1166
|
@param request: GetQuotaApplicationRequest
|
1003
1167
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1032,7 +1196,9 @@ class Client(OpenApiClient):
|
|
1032
1196
|
runtime: util_models.RuntimeOptions,
|
1033
1197
|
) -> quotas_20200510_models.GetQuotaApplicationResponse:
|
1034
1198
|
"""
|
1035
|
-
|
1199
|
+
@summary Queries the details about a specified application that is submitted to increase a quota.
|
1200
|
+
|
1201
|
+
@description In this example, the operation is called to query the details about an application whose ID is `d314d6ae-867d-484c-9009-3d421a80***`. The query result shows the details about the application. The details include the application ID, application time, expected quota value, and application result.
|
1036
1202
|
|
1037
1203
|
@param request: GetQuotaApplicationRequest
|
1038
1204
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1066,7 +1232,9 @@ class Client(OpenApiClient):
|
|
1066
1232
|
request: quotas_20200510_models.GetQuotaApplicationRequest,
|
1067
1233
|
) -> quotas_20200510_models.GetQuotaApplicationResponse:
|
1068
1234
|
"""
|
1069
|
-
|
1235
|
+
@summary Queries the details about a specified application that is submitted to increase a quota.
|
1236
|
+
|
1237
|
+
@description In this example, the operation is called to query the details about an application whose ID is `d314d6ae-867d-484c-9009-3d421a80***`. The query result shows the details about the application. The details include the application ID, application time, expected quota value, and application result.
|
1070
1238
|
|
1071
1239
|
@param request: GetQuotaApplicationRequest
|
1072
1240
|
@return: GetQuotaApplicationResponse
|
@@ -1079,7 +1247,9 @@ class Client(OpenApiClient):
|
|
1079
1247
|
request: quotas_20200510_models.GetQuotaApplicationRequest,
|
1080
1248
|
) -> quotas_20200510_models.GetQuotaApplicationResponse:
|
1081
1249
|
"""
|
1082
|
-
|
1250
|
+
@summary Queries the details about a specified application that is submitted to increase a quota.
|
1251
|
+
|
1252
|
+
@description In this example, the operation is called to query the details about an application whose ID is `d314d6ae-867d-484c-9009-3d421a80***`. The query result shows the details about the application. The details include the application ID, application time, expected quota value, and application result.
|
1083
1253
|
|
1084
1254
|
@param request: GetQuotaApplicationRequest
|
1085
1255
|
@return: GetQuotaApplicationResponse
|
@@ -1087,11 +1257,126 @@ class Client(OpenApiClient):
|
|
1087
1257
|
runtime = util_models.RuntimeOptions()
|
1088
1258
|
return await self.get_quota_application_with_options_async(request, runtime)
|
1089
1259
|
|
1260
|
+
def get_quota_application_approval_with_options(
|
1261
|
+
self,
|
1262
|
+
request: quotas_20200510_models.GetQuotaApplicationApprovalRequest,
|
1263
|
+
runtime: util_models.RuntimeOptions,
|
1264
|
+
) -> quotas_20200510_models.GetQuotaApplicationApprovalResponse:
|
1265
|
+
"""
|
1266
|
+
@summary Queries the information about quota application approval, such as the average amount of time required for approval, whether approval reminders are supported, and the interval between two consecutive approval reminders.
|
1267
|
+
|
1268
|
+
@description ### [](#)Prerequisites
|
1269
|
+
Make sure that you have created an application for quota increase. For more information, see [CreateQuotaApplication](https://help.aliyun.com/document_detail/440566.html).
|
1270
|
+
|
1271
|
+
@param request: GetQuotaApplicationApprovalRequest
|
1272
|
+
@param runtime: runtime options for this request RuntimeOptions
|
1273
|
+
@return: GetQuotaApplicationApprovalResponse
|
1274
|
+
"""
|
1275
|
+
UtilClient.validate_model(request)
|
1276
|
+
body = {}
|
1277
|
+
if not UtilClient.is_unset(request.application_id):
|
1278
|
+
body['ApplicationId'] = request.application_id
|
1279
|
+
req = open_api_models.OpenApiRequest(
|
1280
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
1281
|
+
)
|
1282
|
+
params = open_api_models.Params(
|
1283
|
+
action='GetQuotaApplicationApproval',
|
1284
|
+
version='2020-05-10',
|
1285
|
+
protocol='HTTPS',
|
1286
|
+
pathname='/',
|
1287
|
+
method='POST',
|
1288
|
+
auth_type='AK',
|
1289
|
+
style='RPC',
|
1290
|
+
req_body_type='formData',
|
1291
|
+
body_type='json'
|
1292
|
+
)
|
1293
|
+
return TeaCore.from_map(
|
1294
|
+
quotas_20200510_models.GetQuotaApplicationApprovalResponse(),
|
1295
|
+
self.call_api(params, req, runtime)
|
1296
|
+
)
|
1297
|
+
|
1298
|
+
async def get_quota_application_approval_with_options_async(
|
1299
|
+
self,
|
1300
|
+
request: quotas_20200510_models.GetQuotaApplicationApprovalRequest,
|
1301
|
+
runtime: util_models.RuntimeOptions,
|
1302
|
+
) -> quotas_20200510_models.GetQuotaApplicationApprovalResponse:
|
1303
|
+
"""
|
1304
|
+
@summary Queries the information about quota application approval, such as the average amount of time required for approval, whether approval reminders are supported, and the interval between two consecutive approval reminders.
|
1305
|
+
|
1306
|
+
@description ### [](#)Prerequisites
|
1307
|
+
Make sure that you have created an application for quota increase. For more information, see [CreateQuotaApplication](https://help.aliyun.com/document_detail/440566.html).
|
1308
|
+
|
1309
|
+
@param request: GetQuotaApplicationApprovalRequest
|
1310
|
+
@param runtime: runtime options for this request RuntimeOptions
|
1311
|
+
@return: GetQuotaApplicationApprovalResponse
|
1312
|
+
"""
|
1313
|
+
UtilClient.validate_model(request)
|
1314
|
+
body = {}
|
1315
|
+
if not UtilClient.is_unset(request.application_id):
|
1316
|
+
body['ApplicationId'] = request.application_id
|
1317
|
+
req = open_api_models.OpenApiRequest(
|
1318
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
1319
|
+
)
|
1320
|
+
params = open_api_models.Params(
|
1321
|
+
action='GetQuotaApplicationApproval',
|
1322
|
+
version='2020-05-10',
|
1323
|
+
protocol='HTTPS',
|
1324
|
+
pathname='/',
|
1325
|
+
method='POST',
|
1326
|
+
auth_type='AK',
|
1327
|
+
style='RPC',
|
1328
|
+
req_body_type='formData',
|
1329
|
+
body_type='json'
|
1330
|
+
)
|
1331
|
+
return TeaCore.from_map(
|
1332
|
+
quotas_20200510_models.GetQuotaApplicationApprovalResponse(),
|
1333
|
+
await self.call_api_async(params, req, runtime)
|
1334
|
+
)
|
1335
|
+
|
1336
|
+
def get_quota_application_approval(
|
1337
|
+
self,
|
1338
|
+
request: quotas_20200510_models.GetQuotaApplicationApprovalRequest,
|
1339
|
+
) -> quotas_20200510_models.GetQuotaApplicationApprovalResponse:
|
1340
|
+
"""
|
1341
|
+
@summary Queries the information about quota application approval, such as the average amount of time required for approval, whether approval reminders are supported, and the interval between two consecutive approval reminders.
|
1342
|
+
|
1343
|
+
@description ### [](#)Prerequisites
|
1344
|
+
Make sure that you have created an application for quota increase. For more information, see [CreateQuotaApplication](https://help.aliyun.com/document_detail/440566.html).
|
1345
|
+
|
1346
|
+
@param request: GetQuotaApplicationApprovalRequest
|
1347
|
+
@return: GetQuotaApplicationApprovalResponse
|
1348
|
+
"""
|
1349
|
+
runtime = util_models.RuntimeOptions()
|
1350
|
+
return self.get_quota_application_approval_with_options(request, runtime)
|
1351
|
+
|
1352
|
+
async def get_quota_application_approval_async(
|
1353
|
+
self,
|
1354
|
+
request: quotas_20200510_models.GetQuotaApplicationApprovalRequest,
|
1355
|
+
) -> quotas_20200510_models.GetQuotaApplicationApprovalResponse:
|
1356
|
+
"""
|
1357
|
+
@summary Queries the information about quota application approval, such as the average amount of time required for approval, whether approval reminders are supported, and the interval between two consecutive approval reminders.
|
1358
|
+
|
1359
|
+
@description ### [](#)Prerequisites
|
1360
|
+
Make sure that you have created an application for quota increase. For more information, see [CreateQuotaApplication](https://help.aliyun.com/document_detail/440566.html).
|
1361
|
+
|
1362
|
+
@param request: GetQuotaApplicationApprovalRequest
|
1363
|
+
@return: GetQuotaApplicationApprovalResponse
|
1364
|
+
"""
|
1365
|
+
runtime = util_models.RuntimeOptions()
|
1366
|
+
return await self.get_quota_application_approval_with_options_async(request, runtime)
|
1367
|
+
|
1090
1368
|
def get_quota_template_service_status_with_options(
|
1091
1369
|
self,
|
1092
1370
|
request: quotas_20200510_models.GetQuotaTemplateServiceStatusRequest,
|
1093
1371
|
runtime: util_models.RuntimeOptions,
|
1094
1372
|
) -> quotas_20200510_models.GetQuotaTemplateServiceStatusResponse:
|
1373
|
+
"""
|
1374
|
+
@summary Queries the status of a quota template.
|
1375
|
+
|
1376
|
+
@param request: GetQuotaTemplateServiceStatusRequest
|
1377
|
+
@param runtime: runtime options for this request RuntimeOptions
|
1378
|
+
@return: GetQuotaTemplateServiceStatusResponse
|
1379
|
+
"""
|
1095
1380
|
UtilClient.validate_model(request)
|
1096
1381
|
body = {}
|
1097
1382
|
if not UtilClient.is_unset(request.resource_directory_id):
|
@@ -1120,6 +1405,13 @@ class Client(OpenApiClient):
|
|
1120
1405
|
request: quotas_20200510_models.GetQuotaTemplateServiceStatusRequest,
|
1121
1406
|
runtime: util_models.RuntimeOptions,
|
1122
1407
|
) -> quotas_20200510_models.GetQuotaTemplateServiceStatusResponse:
|
1408
|
+
"""
|
1409
|
+
@summary Queries the status of a quota template.
|
1410
|
+
|
1411
|
+
@param request: GetQuotaTemplateServiceStatusRequest
|
1412
|
+
@param runtime: runtime options for this request RuntimeOptions
|
1413
|
+
@return: GetQuotaTemplateServiceStatusResponse
|
1414
|
+
"""
|
1123
1415
|
UtilClient.validate_model(request)
|
1124
1416
|
body = {}
|
1125
1417
|
if not UtilClient.is_unset(request.resource_directory_id):
|
@@ -1147,6 +1439,12 @@ class Client(OpenApiClient):
|
|
1147
1439
|
self,
|
1148
1440
|
request: quotas_20200510_models.GetQuotaTemplateServiceStatusRequest,
|
1149
1441
|
) -> quotas_20200510_models.GetQuotaTemplateServiceStatusResponse:
|
1442
|
+
"""
|
1443
|
+
@summary Queries the status of a quota template.
|
1444
|
+
|
1445
|
+
@param request: GetQuotaTemplateServiceStatusRequest
|
1446
|
+
@return: GetQuotaTemplateServiceStatusResponse
|
1447
|
+
"""
|
1150
1448
|
runtime = util_models.RuntimeOptions()
|
1151
1449
|
return self.get_quota_template_service_status_with_options(request, runtime)
|
1152
1450
|
|
@@ -1154,6 +1452,12 @@ class Client(OpenApiClient):
|
|
1154
1452
|
self,
|
1155
1453
|
request: quotas_20200510_models.GetQuotaTemplateServiceStatusRequest,
|
1156
1454
|
) -> quotas_20200510_models.GetQuotaTemplateServiceStatusResponse:
|
1455
|
+
"""
|
1456
|
+
@summary Queries the status of a quota template.
|
1457
|
+
|
1458
|
+
@param request: GetQuotaTemplateServiceStatusRequest
|
1459
|
+
@return: GetQuotaTemplateServiceStatusResponse
|
1460
|
+
"""
|
1157
1461
|
runtime = util_models.RuntimeOptions()
|
1158
1462
|
return await self.get_quota_template_service_status_with_options_async(request, runtime)
|
1159
1463
|
|
@@ -1162,8 +1466,17 @@ class Client(OpenApiClient):
|
|
1162
1466
|
request: quotas_20200510_models.ListAlarmHistoriesRequest,
|
1163
1467
|
runtime: util_models.RuntimeOptions,
|
1164
1468
|
) -> quotas_20200510_models.ListAlarmHistoriesResponse:
|
1469
|
+
"""
|
1470
|
+
@summary Queries the alert records.
|
1471
|
+
|
1472
|
+
@param request: ListAlarmHistoriesRequest
|
1473
|
+
@param runtime: runtime options for this request RuntimeOptions
|
1474
|
+
@return: ListAlarmHistoriesResponse
|
1475
|
+
"""
|
1165
1476
|
UtilClient.validate_model(request)
|
1166
1477
|
body = {}
|
1478
|
+
if not UtilClient.is_unset(request.alarm_id):
|
1479
|
+
body['AlarmId'] = request.alarm_id
|
1167
1480
|
if not UtilClient.is_unset(request.end_time):
|
1168
1481
|
body['EndTime'] = request.end_time
|
1169
1482
|
if not UtilClient.is_unset(request.keyword):
|
@@ -1200,8 +1513,17 @@ class Client(OpenApiClient):
|
|
1200
1513
|
request: quotas_20200510_models.ListAlarmHistoriesRequest,
|
1201
1514
|
runtime: util_models.RuntimeOptions,
|
1202
1515
|
) -> quotas_20200510_models.ListAlarmHistoriesResponse:
|
1516
|
+
"""
|
1517
|
+
@summary Queries the alert records.
|
1518
|
+
|
1519
|
+
@param request: ListAlarmHistoriesRequest
|
1520
|
+
@param runtime: runtime options for this request RuntimeOptions
|
1521
|
+
@return: ListAlarmHistoriesResponse
|
1522
|
+
"""
|
1203
1523
|
UtilClient.validate_model(request)
|
1204
1524
|
body = {}
|
1525
|
+
if not UtilClient.is_unset(request.alarm_id):
|
1526
|
+
body['AlarmId'] = request.alarm_id
|
1205
1527
|
if not UtilClient.is_unset(request.end_time):
|
1206
1528
|
body['EndTime'] = request.end_time
|
1207
1529
|
if not UtilClient.is_unset(request.keyword):
|
@@ -1237,6 +1559,12 @@ class Client(OpenApiClient):
|
|
1237
1559
|
self,
|
1238
1560
|
request: quotas_20200510_models.ListAlarmHistoriesRequest,
|
1239
1561
|
) -> quotas_20200510_models.ListAlarmHistoriesResponse:
|
1562
|
+
"""
|
1563
|
+
@summary Queries the alert records.
|
1564
|
+
|
1565
|
+
@param request: ListAlarmHistoriesRequest
|
1566
|
+
@return: ListAlarmHistoriesResponse
|
1567
|
+
"""
|
1240
1568
|
runtime = util_models.RuntimeOptions()
|
1241
1569
|
return self.list_alarm_histories_with_options(request, runtime)
|
1242
1570
|
|
@@ -1244,6 +1572,12 @@ class Client(OpenApiClient):
|
|
1244
1572
|
self,
|
1245
1573
|
request: quotas_20200510_models.ListAlarmHistoriesRequest,
|
1246
1574
|
) -> quotas_20200510_models.ListAlarmHistoriesResponse:
|
1575
|
+
"""
|
1576
|
+
@summary Queries the alert records.
|
1577
|
+
|
1578
|
+
@param request: ListAlarmHistoriesRequest
|
1579
|
+
@return: ListAlarmHistoriesResponse
|
1580
|
+
"""
|
1247
1581
|
runtime = util_models.RuntimeOptions()
|
1248
1582
|
return await self.list_alarm_histories_with_options_async(request, runtime)
|
1249
1583
|
|
@@ -1253,10 +1587,12 @@ class Client(OpenApiClient):
|
|
1253
1587
|
runtime: util_models.RuntimeOptions,
|
1254
1588
|
) -> quotas_20200510_models.ListDependentQuotasResponse:
|
1255
1589
|
"""
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1590
|
+
@summary Queries the quotas on which a specified quota depends.
|
1591
|
+
|
1592
|
+
@description In this example, the operation is called to query the quotas on which a Container Service for Kubernetes (ACK) quota whose ID is `q_i5uzm3` depends. This quota is the maximum number of nodes that can be created in an ACK cluster. The query result indicates that the specified quota depends on the following three quotas:
|
1593
|
+
An Elastic Compute Service (ECS) quota whose ID is `q_elastic-network-interfaces`. This quota is the maximum number of ENIs (Secondary ENIs) that can be owned by an Alibaba Cloud account. The quota is available in the following regions: `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
1594
|
+
A Server Load Balancer (SLB) quota whose ID is `q_fh20b0`. This quota is the number of servers that can be attached to the backend of an SLB instance.
|
1595
|
+
An SLB quota whose ID is `q_3mmbsp`. This quota is the number of SLB instances that can be owned by an Alibaba Cloud account.
|
1260
1596
|
|
1261
1597
|
@param request: ListDependentQuotasRequest
|
1262
1598
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1293,10 +1629,12 @@ class Client(OpenApiClient):
|
|
1293
1629
|
runtime: util_models.RuntimeOptions,
|
1294
1630
|
) -> quotas_20200510_models.ListDependentQuotasResponse:
|
1295
1631
|
"""
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1632
|
+
@summary Queries the quotas on which a specified quota depends.
|
1633
|
+
|
1634
|
+
@description In this example, the operation is called to query the quotas on which a Container Service for Kubernetes (ACK) quota whose ID is `q_i5uzm3` depends. This quota is the maximum number of nodes that can be created in an ACK cluster. The query result indicates that the specified quota depends on the following three quotas:
|
1635
|
+
An Elastic Compute Service (ECS) quota whose ID is `q_elastic-network-interfaces`. This quota is the maximum number of ENIs (Secondary ENIs) that can be owned by an Alibaba Cloud account. The quota is available in the following regions: `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
1636
|
+
A Server Load Balancer (SLB) quota whose ID is `q_fh20b0`. This quota is the number of servers that can be attached to the backend of an SLB instance.
|
1637
|
+
An SLB quota whose ID is `q_3mmbsp`. This quota is the number of SLB instances that can be owned by an Alibaba Cloud account.
|
1300
1638
|
|
1301
1639
|
@param request: ListDependentQuotasRequest
|
1302
1640
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1332,10 +1670,12 @@ class Client(OpenApiClient):
|
|
1332
1670
|
request: quotas_20200510_models.ListDependentQuotasRequest,
|
1333
1671
|
) -> quotas_20200510_models.ListDependentQuotasResponse:
|
1334
1672
|
"""
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1673
|
+
@summary Queries the quotas on which a specified quota depends.
|
1674
|
+
|
1675
|
+
@description In this example, the operation is called to query the quotas on which a Container Service for Kubernetes (ACK) quota whose ID is `q_i5uzm3` depends. This quota is the maximum number of nodes that can be created in an ACK cluster. The query result indicates that the specified quota depends on the following three quotas:
|
1676
|
+
An Elastic Compute Service (ECS) quota whose ID is `q_elastic-network-interfaces`. This quota is the maximum number of ENIs (Secondary ENIs) that can be owned by an Alibaba Cloud account. The quota is available in the following regions: `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
1677
|
+
A Server Load Balancer (SLB) quota whose ID is `q_fh20b0`. This quota is the number of servers that can be attached to the backend of an SLB instance.
|
1678
|
+
An SLB quota whose ID is `q_3mmbsp`. This quota is the number of SLB instances that can be owned by an Alibaba Cloud account.
|
1339
1679
|
|
1340
1680
|
@param request: ListDependentQuotasRequest
|
1341
1681
|
@return: ListDependentQuotasResponse
|
@@ -1348,10 +1688,12 @@ class Client(OpenApiClient):
|
|
1348
1688
|
request: quotas_20200510_models.ListDependentQuotasRequest,
|
1349
1689
|
) -> quotas_20200510_models.ListDependentQuotasResponse:
|
1350
1690
|
"""
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1691
|
+
@summary Queries the quotas on which a specified quota depends.
|
1692
|
+
|
1693
|
+
@description In this example, the operation is called to query the quotas on which a Container Service for Kubernetes (ACK) quota whose ID is `q_i5uzm3` depends. This quota is the maximum number of nodes that can be created in an ACK cluster. The query result indicates that the specified quota depends on the following three quotas:
|
1694
|
+
An Elastic Compute Service (ECS) quota whose ID is `q_elastic-network-interfaces`. This quota is the maximum number of ENIs (Secondary ENIs) that can be owned by an Alibaba Cloud account. The quota is available in the following regions: `cn-shenzhen`, `cn-beijing`, and `cn-hangzhou`.
|
1695
|
+
A Server Load Balancer (SLB) quota whose ID is `q_fh20b0`. This quota is the number of servers that can be attached to the backend of an SLB instance.
|
1696
|
+
An SLB quota whose ID is `q_3mmbsp`. This quota is the number of SLB instances that can be owned by an Alibaba Cloud account.
|
1355
1697
|
|
1356
1698
|
@param request: ListDependentQuotasRequest
|
1357
1699
|
@return: ListDependentQuotasResponse
|
@@ -1365,7 +1707,9 @@ class Client(OpenApiClient):
|
|
1365
1707
|
runtime: util_models.RuntimeOptions,
|
1366
1708
|
) -> quotas_20200510_models.ListProductDimensionGroupsResponse:
|
1367
1709
|
"""
|
1368
|
-
|
1710
|
+
@summary Queries the dimension groups of an Alibaba Cloud service.
|
1711
|
+
|
1712
|
+
@description This topic provides an example on how to call the ListProductDimensionGroups operation to query the dimension groups of Object Storage Service (OSS). In this example, a dimension group is returned. The group name is `OSS_Group`, the group code is `oss_wf1ngqmd7q`, and the group key is `chargeType`.
|
1369
1713
|
|
1370
1714
|
@param request: ListProductDimensionGroupsRequest
|
1371
1715
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1404,7 +1748,9 @@ class Client(OpenApiClient):
|
|
1404
1748
|
runtime: util_models.RuntimeOptions,
|
1405
1749
|
) -> quotas_20200510_models.ListProductDimensionGroupsResponse:
|
1406
1750
|
"""
|
1407
|
-
|
1751
|
+
@summary Queries the dimension groups of an Alibaba Cloud service.
|
1752
|
+
|
1753
|
+
@description This topic provides an example on how to call the ListProductDimensionGroups operation to query the dimension groups of Object Storage Service (OSS). In this example, a dimension group is returned. The group name is `OSS_Group`, the group code is `oss_wf1ngqmd7q`, and the group key is `chargeType`.
|
1408
1754
|
|
1409
1755
|
@param request: ListProductDimensionGroupsRequest
|
1410
1756
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1442,7 +1788,9 @@ class Client(OpenApiClient):
|
|
1442
1788
|
request: quotas_20200510_models.ListProductDimensionGroupsRequest,
|
1443
1789
|
) -> quotas_20200510_models.ListProductDimensionGroupsResponse:
|
1444
1790
|
"""
|
1445
|
-
|
1791
|
+
@summary Queries the dimension groups of an Alibaba Cloud service.
|
1792
|
+
|
1793
|
+
@description This topic provides an example on how to call the ListProductDimensionGroups operation to query the dimension groups of Object Storage Service (OSS). In this example, a dimension group is returned. The group name is `OSS_Group`, the group code is `oss_wf1ngqmd7q`, and the group key is `chargeType`.
|
1446
1794
|
|
1447
1795
|
@param request: ListProductDimensionGroupsRequest
|
1448
1796
|
@return: ListProductDimensionGroupsResponse
|
@@ -1455,7 +1803,9 @@ class Client(OpenApiClient):
|
|
1455
1803
|
request: quotas_20200510_models.ListProductDimensionGroupsRequest,
|
1456
1804
|
) -> quotas_20200510_models.ListProductDimensionGroupsResponse:
|
1457
1805
|
"""
|
1458
|
-
|
1806
|
+
@summary Queries the dimension groups of an Alibaba Cloud service.
|
1807
|
+
|
1808
|
+
@description This topic provides an example on how to call the ListProductDimensionGroups operation to query the dimension groups of Object Storage Service (OSS). In this example, a dimension group is returned. The group name is `OSS_Group`, the group code is `oss_wf1ngqmd7q`, and the group key is `chargeType`.
|
1459
1809
|
|
1460
1810
|
@param request: ListProductDimensionGroupsRequest
|
1461
1811
|
@return: ListProductDimensionGroupsResponse
|
@@ -1469,7 +1819,9 @@ class Client(OpenApiClient):
|
|
1469
1819
|
runtime: util_models.RuntimeOptions,
|
1470
1820
|
) -> quotas_20200510_models.ListProductQuotaDimensionsResponse:
|
1471
1821
|
"""
|
1472
|
-
|
1822
|
+
@summary Queries the quota dimensions that are supported by the specified Alibaba Cloud service.
|
1823
|
+
|
1824
|
+
@description In this example, the operation is called to query the quota dimensions that are supported by Elastic Compute Service (ECS). The query results show all the quota dimensions that are supported by ECS.
|
1473
1825
|
|
1474
1826
|
@param request: ListProductQuotaDimensionsRequest
|
1475
1827
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1510,7 +1862,9 @@ class Client(OpenApiClient):
|
|
1510
1862
|
runtime: util_models.RuntimeOptions,
|
1511
1863
|
) -> quotas_20200510_models.ListProductQuotaDimensionsResponse:
|
1512
1864
|
"""
|
1513
|
-
|
1865
|
+
@summary Queries the quota dimensions that are supported by the specified Alibaba Cloud service.
|
1866
|
+
|
1867
|
+
@description In this example, the operation is called to query the quota dimensions that are supported by Elastic Compute Service (ECS). The query results show all the quota dimensions that are supported by ECS.
|
1514
1868
|
|
1515
1869
|
@param request: ListProductQuotaDimensionsRequest
|
1516
1870
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1550,7 +1904,9 @@ class Client(OpenApiClient):
|
|
1550
1904
|
request: quotas_20200510_models.ListProductQuotaDimensionsRequest,
|
1551
1905
|
) -> quotas_20200510_models.ListProductQuotaDimensionsResponse:
|
1552
1906
|
"""
|
1553
|
-
|
1907
|
+
@summary Queries the quota dimensions that are supported by the specified Alibaba Cloud service.
|
1908
|
+
|
1909
|
+
@description In this example, the operation is called to query the quota dimensions that are supported by Elastic Compute Service (ECS). The query results show all the quota dimensions that are supported by ECS.
|
1554
1910
|
|
1555
1911
|
@param request: ListProductQuotaDimensionsRequest
|
1556
1912
|
@return: ListProductQuotaDimensionsResponse
|
@@ -1563,7 +1919,9 @@ class Client(OpenApiClient):
|
|
1563
1919
|
request: quotas_20200510_models.ListProductQuotaDimensionsRequest,
|
1564
1920
|
) -> quotas_20200510_models.ListProductQuotaDimensionsResponse:
|
1565
1921
|
"""
|
1566
|
-
|
1922
|
+
@summary Queries the quota dimensions that are supported by the specified Alibaba Cloud service.
|
1923
|
+
|
1924
|
+
@description In this example, the operation is called to query the quota dimensions that are supported by Elastic Compute Service (ECS). The query results show all the quota dimensions that are supported by ECS.
|
1567
1925
|
|
1568
1926
|
@param request: ListProductQuotaDimensionsRequest
|
1569
1927
|
@return: ListProductQuotaDimensionsResponse
|
@@ -1577,7 +1935,9 @@ class Client(OpenApiClient):
|
|
1577
1935
|
runtime: util_models.RuntimeOptions,
|
1578
1936
|
) -> quotas_20200510_models.ListProductQuotasResponse:
|
1579
1937
|
"""
|
1580
|
-
|
1938
|
+
@summary Queries the quotas of a specific Alibaba Cloud service.
|
1939
|
+
|
1940
|
+
@description In this example, the operation is called to query the quotas whose instance type is `ecs.g5.2xlarge`. The quotas belong to Elastic Compute Service (ECS) Quotas by Instance Type. The query result includes the name, ID, unit, dimensions, and cycle of each quota.
|
1581
1941
|
|
1582
1942
|
@param request: ListProductQuotasRequest
|
1583
1943
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1630,7 +1990,9 @@ class Client(OpenApiClient):
|
|
1630
1990
|
runtime: util_models.RuntimeOptions,
|
1631
1991
|
) -> quotas_20200510_models.ListProductQuotasResponse:
|
1632
1992
|
"""
|
1633
|
-
|
1993
|
+
@summary Queries the quotas of a specific Alibaba Cloud service.
|
1994
|
+
|
1995
|
+
@description In this example, the operation is called to query the quotas whose instance type is `ecs.g5.2xlarge`. The quotas belong to Elastic Compute Service (ECS) Quotas by Instance Type. The query result includes the name, ID, unit, dimensions, and cycle of each quota.
|
1634
1996
|
|
1635
1997
|
@param request: ListProductQuotasRequest
|
1636
1998
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1682,7 +2044,9 @@ class Client(OpenApiClient):
|
|
1682
2044
|
request: quotas_20200510_models.ListProductQuotasRequest,
|
1683
2045
|
) -> quotas_20200510_models.ListProductQuotasResponse:
|
1684
2046
|
"""
|
1685
|
-
|
2047
|
+
@summary Queries the quotas of a specific Alibaba Cloud service.
|
2048
|
+
|
2049
|
+
@description In this example, the operation is called to query the quotas whose instance type is `ecs.g5.2xlarge`. The quotas belong to Elastic Compute Service (ECS) Quotas by Instance Type. The query result includes the name, ID, unit, dimensions, and cycle of each quota.
|
1686
2050
|
|
1687
2051
|
@param request: ListProductQuotasRequest
|
1688
2052
|
@return: ListProductQuotasResponse
|
@@ -1695,7 +2059,9 @@ class Client(OpenApiClient):
|
|
1695
2059
|
request: quotas_20200510_models.ListProductQuotasRequest,
|
1696
2060
|
) -> quotas_20200510_models.ListProductQuotasResponse:
|
1697
2061
|
"""
|
1698
|
-
|
2062
|
+
@summary Queries the quotas of a specific Alibaba Cloud service.
|
2063
|
+
|
2064
|
+
@description In this example, the operation is called to query the quotas whose instance type is `ecs.g5.2xlarge`. The quotas belong to Elastic Compute Service (ECS) Quotas by Instance Type. The query result includes the name, ID, unit, dimensions, and cycle of each quota.
|
1699
2065
|
|
1700
2066
|
@param request: ListProductQuotasRequest
|
1701
2067
|
@return: ListProductQuotasResponse
|
@@ -1708,6 +2074,15 @@ class Client(OpenApiClient):
|
|
1708
2074
|
request: quotas_20200510_models.ListProductsRequest,
|
1709
2075
|
runtime: util_models.RuntimeOptions,
|
1710
2076
|
) -> quotas_20200510_models.ListProductsResponse:
|
2077
|
+
"""
|
2078
|
+
@summary Queries the Alibaba Cloud services that support Quota Center.
|
2079
|
+
|
2080
|
+
@description The services in the query result are the same as the services listed in [Alibaba Cloud services that support Quota Center](https://help.aliyun.com/document_detail/182368.html).
|
2081
|
+
|
2082
|
+
@param request: ListProductsRequest
|
2083
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2084
|
+
@return: ListProductsResponse
|
2085
|
+
"""
|
1711
2086
|
UtilClient.validate_model(request)
|
1712
2087
|
body = {}
|
1713
2088
|
if not UtilClient.is_unset(request.max_results):
|
@@ -1738,6 +2113,15 @@ class Client(OpenApiClient):
|
|
1738
2113
|
request: quotas_20200510_models.ListProductsRequest,
|
1739
2114
|
runtime: util_models.RuntimeOptions,
|
1740
2115
|
) -> quotas_20200510_models.ListProductsResponse:
|
2116
|
+
"""
|
2117
|
+
@summary Queries the Alibaba Cloud services that support Quota Center.
|
2118
|
+
|
2119
|
+
@description The services in the query result are the same as the services listed in [Alibaba Cloud services that support Quota Center](https://help.aliyun.com/document_detail/182368.html).
|
2120
|
+
|
2121
|
+
@param request: ListProductsRequest
|
2122
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2123
|
+
@return: ListProductsResponse
|
2124
|
+
"""
|
1741
2125
|
UtilClient.validate_model(request)
|
1742
2126
|
body = {}
|
1743
2127
|
if not UtilClient.is_unset(request.max_results):
|
@@ -1767,6 +2151,14 @@ class Client(OpenApiClient):
|
|
1767
2151
|
self,
|
1768
2152
|
request: quotas_20200510_models.ListProductsRequest,
|
1769
2153
|
) -> quotas_20200510_models.ListProductsResponse:
|
2154
|
+
"""
|
2155
|
+
@summary Queries the Alibaba Cloud services that support Quota Center.
|
2156
|
+
|
2157
|
+
@description The services in the query result are the same as the services listed in [Alibaba Cloud services that support Quota Center](https://help.aliyun.com/document_detail/182368.html).
|
2158
|
+
|
2159
|
+
@param request: ListProductsRequest
|
2160
|
+
@return: ListProductsResponse
|
2161
|
+
"""
|
1770
2162
|
runtime = util_models.RuntimeOptions()
|
1771
2163
|
return self.list_products_with_options(request, runtime)
|
1772
2164
|
|
@@ -1774,6 +2166,14 @@ class Client(OpenApiClient):
|
|
1774
2166
|
self,
|
1775
2167
|
request: quotas_20200510_models.ListProductsRequest,
|
1776
2168
|
) -> quotas_20200510_models.ListProductsResponse:
|
2169
|
+
"""
|
2170
|
+
@summary Queries the Alibaba Cloud services that support Quota Center.
|
2171
|
+
|
2172
|
+
@description The services in the query result are the same as the services listed in [Alibaba Cloud services that support Quota Center](https://help.aliyun.com/document_detail/182368.html).
|
2173
|
+
|
2174
|
+
@param request: ListProductsRequest
|
2175
|
+
@return: ListProductsResponse
|
2176
|
+
"""
|
1777
2177
|
runtime = util_models.RuntimeOptions()
|
1778
2178
|
return await self.list_products_with_options_async(request, runtime)
|
1779
2179
|
|
@@ -1782,6 +2182,13 @@ class Client(OpenApiClient):
|
|
1782
2182
|
request: quotas_20200510_models.ListQuotaAlarmsRequest,
|
1783
2183
|
runtime: util_models.RuntimeOptions,
|
1784
2184
|
) -> quotas_20200510_models.ListQuotaAlarmsResponse:
|
2185
|
+
"""
|
2186
|
+
@summary Queries quota alerts.
|
2187
|
+
|
2188
|
+
@param request: ListQuotaAlarmsRequest
|
2189
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2190
|
+
@return: ListQuotaAlarmsResponse
|
2191
|
+
"""
|
1785
2192
|
UtilClient.validate_model(request)
|
1786
2193
|
body = {}
|
1787
2194
|
if not UtilClient.is_unset(request.alarm_name):
|
@@ -1820,6 +2227,13 @@ class Client(OpenApiClient):
|
|
1820
2227
|
request: quotas_20200510_models.ListQuotaAlarmsRequest,
|
1821
2228
|
runtime: util_models.RuntimeOptions,
|
1822
2229
|
) -> quotas_20200510_models.ListQuotaAlarmsResponse:
|
2230
|
+
"""
|
2231
|
+
@summary Queries quota alerts.
|
2232
|
+
|
2233
|
+
@param request: ListQuotaAlarmsRequest
|
2234
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2235
|
+
@return: ListQuotaAlarmsResponse
|
2236
|
+
"""
|
1823
2237
|
UtilClient.validate_model(request)
|
1824
2238
|
body = {}
|
1825
2239
|
if not UtilClient.is_unset(request.alarm_name):
|
@@ -1857,6 +2271,12 @@ class Client(OpenApiClient):
|
|
1857
2271
|
self,
|
1858
2272
|
request: quotas_20200510_models.ListQuotaAlarmsRequest,
|
1859
2273
|
) -> quotas_20200510_models.ListQuotaAlarmsResponse:
|
2274
|
+
"""
|
2275
|
+
@summary Queries quota alerts.
|
2276
|
+
|
2277
|
+
@param request: ListQuotaAlarmsRequest
|
2278
|
+
@return: ListQuotaAlarmsResponse
|
2279
|
+
"""
|
1860
2280
|
runtime = util_models.RuntimeOptions()
|
1861
2281
|
return self.list_quota_alarms_with_options(request, runtime)
|
1862
2282
|
|
@@ -1864,6 +2284,12 @@ class Client(OpenApiClient):
|
|
1864
2284
|
self,
|
1865
2285
|
request: quotas_20200510_models.ListQuotaAlarmsRequest,
|
1866
2286
|
) -> quotas_20200510_models.ListQuotaAlarmsResponse:
|
2287
|
+
"""
|
2288
|
+
@summary Queries quota alerts.
|
2289
|
+
|
2290
|
+
@param request: ListQuotaAlarmsRequest
|
2291
|
+
@return: ListQuotaAlarmsResponse
|
2292
|
+
"""
|
1867
2293
|
runtime = util_models.RuntimeOptions()
|
1868
2294
|
return await self.list_quota_alarms_with_options_async(request, runtime)
|
1869
2295
|
|
@@ -1872,6 +2298,13 @@ class Client(OpenApiClient):
|
|
1872
2298
|
request: quotas_20200510_models.ListQuotaApplicationTemplatesRequest,
|
1873
2299
|
runtime: util_models.RuntimeOptions,
|
1874
2300
|
) -> quotas_20200510_models.ListQuotaApplicationTemplatesResponse:
|
2301
|
+
"""
|
2302
|
+
@summary Queries quota templates by using the management account of a resource directory.
|
2303
|
+
|
2304
|
+
@param request: ListQuotaApplicationTemplatesRequest
|
2305
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2306
|
+
@return: ListQuotaApplicationTemplatesResponse
|
2307
|
+
"""
|
1875
2308
|
UtilClient.validate_model(request)
|
1876
2309
|
query = {}
|
1877
2310
|
if not UtilClient.is_unset(request.next_token):
|
@@ -1914,6 +2347,13 @@ class Client(OpenApiClient):
|
|
1914
2347
|
request: quotas_20200510_models.ListQuotaApplicationTemplatesRequest,
|
1915
2348
|
runtime: util_models.RuntimeOptions,
|
1916
2349
|
) -> quotas_20200510_models.ListQuotaApplicationTemplatesResponse:
|
2350
|
+
"""
|
2351
|
+
@summary Queries quota templates by using the management account of a resource directory.
|
2352
|
+
|
2353
|
+
@param request: ListQuotaApplicationTemplatesRequest
|
2354
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2355
|
+
@return: ListQuotaApplicationTemplatesResponse
|
2356
|
+
"""
|
1917
2357
|
UtilClient.validate_model(request)
|
1918
2358
|
query = {}
|
1919
2359
|
if not UtilClient.is_unset(request.next_token):
|
@@ -1955,6 +2395,12 @@ class Client(OpenApiClient):
|
|
1955
2395
|
self,
|
1956
2396
|
request: quotas_20200510_models.ListQuotaApplicationTemplatesRequest,
|
1957
2397
|
) -> quotas_20200510_models.ListQuotaApplicationTemplatesResponse:
|
2398
|
+
"""
|
2399
|
+
@summary Queries quota templates by using the management account of a resource directory.
|
2400
|
+
|
2401
|
+
@param request: ListQuotaApplicationTemplatesRequest
|
2402
|
+
@return: ListQuotaApplicationTemplatesResponse
|
2403
|
+
"""
|
1958
2404
|
runtime = util_models.RuntimeOptions()
|
1959
2405
|
return self.list_quota_application_templates_with_options(request, runtime)
|
1960
2406
|
|
@@ -1962,6 +2408,12 @@ class Client(OpenApiClient):
|
|
1962
2408
|
self,
|
1963
2409
|
request: quotas_20200510_models.ListQuotaApplicationTemplatesRequest,
|
1964
2410
|
) -> quotas_20200510_models.ListQuotaApplicationTemplatesResponse:
|
2411
|
+
"""
|
2412
|
+
@summary Queries quota templates by using the management account of a resource directory.
|
2413
|
+
|
2414
|
+
@param request: ListQuotaApplicationTemplatesRequest
|
2415
|
+
@return: ListQuotaApplicationTemplatesResponse
|
2416
|
+
"""
|
1965
2417
|
runtime = util_models.RuntimeOptions()
|
1966
2418
|
return await self.list_quota_application_templates_with_options_async(request, runtime)
|
1967
2419
|
|
@@ -1971,7 +2423,9 @@ class Client(OpenApiClient):
|
|
1971
2423
|
runtime: util_models.RuntimeOptions,
|
1972
2424
|
) -> quotas_20200510_models.ListQuotaApplicationsResponse:
|
1973
2425
|
"""
|
1974
|
-
|
2426
|
+
@summary Queries the details of an application that is submitted to increase a quota.
|
2427
|
+
|
2428
|
+
@description In this example, the operation is called to query the details of an application that is submitted to increase a quota whose ID is `q_i5uzm3` and whose name is Maximum Number of Nodes. This quota belongs to Container Service for Kubernetes (ACK). The query result shows the details of the application. The details include the application ID, application time, requested quota, and application result. In this example, the application ID is `b926571d-cc09-4711-b547-58a615f0***`. The application time is `2021-01-15T09:13:53Z`. The expected quota value is `101`. The application result is `Agree`.
|
1975
2429
|
|
1976
2430
|
@param request: ListQuotaApplicationsRequest
|
1977
2431
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -1979,8 +2433,6 @@ class Client(OpenApiClient):
|
|
1979
2433
|
"""
|
1980
2434
|
UtilClient.validate_model(request)
|
1981
2435
|
body = {}
|
1982
|
-
if not UtilClient.is_unset(request.accept_language):
|
1983
|
-
body['AcceptLanguage'] = request.accept_language
|
1984
2436
|
if not UtilClient.is_unset(request.dimensions):
|
1985
2437
|
body['Dimensions'] = request.dimensions
|
1986
2438
|
if not UtilClient.is_unset(request.key_word):
|
@@ -2022,7 +2474,9 @@ class Client(OpenApiClient):
|
|
2022
2474
|
runtime: util_models.RuntimeOptions,
|
2023
2475
|
) -> quotas_20200510_models.ListQuotaApplicationsResponse:
|
2024
2476
|
"""
|
2025
|
-
|
2477
|
+
@summary Queries the details of an application that is submitted to increase a quota.
|
2478
|
+
|
2479
|
+
@description In this example, the operation is called to query the details of an application that is submitted to increase a quota whose ID is `q_i5uzm3` and whose name is Maximum Number of Nodes. This quota belongs to Container Service for Kubernetes (ACK). The query result shows the details of the application. The details include the application ID, application time, requested quota, and application result. In this example, the application ID is `b926571d-cc09-4711-b547-58a615f0***`. The application time is `2021-01-15T09:13:53Z`. The expected quota value is `101`. The application result is `Agree`.
|
2026
2480
|
|
2027
2481
|
@param request: ListQuotaApplicationsRequest
|
2028
2482
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -2030,8 +2484,6 @@ class Client(OpenApiClient):
|
|
2030
2484
|
"""
|
2031
2485
|
UtilClient.validate_model(request)
|
2032
2486
|
body = {}
|
2033
|
-
if not UtilClient.is_unset(request.accept_language):
|
2034
|
-
body['AcceptLanguage'] = request.accept_language
|
2035
2487
|
if not UtilClient.is_unset(request.dimensions):
|
2036
2488
|
body['Dimensions'] = request.dimensions
|
2037
2489
|
if not UtilClient.is_unset(request.key_word):
|
@@ -2072,7 +2524,9 @@ class Client(OpenApiClient):
|
|
2072
2524
|
request: quotas_20200510_models.ListQuotaApplicationsRequest,
|
2073
2525
|
) -> quotas_20200510_models.ListQuotaApplicationsResponse:
|
2074
2526
|
"""
|
2075
|
-
|
2527
|
+
@summary Queries the details of an application that is submitted to increase a quota.
|
2528
|
+
|
2529
|
+
@description In this example, the operation is called to query the details of an application that is submitted to increase a quota whose ID is `q_i5uzm3` and whose name is Maximum Number of Nodes. This quota belongs to Container Service for Kubernetes (ACK). The query result shows the details of the application. The details include the application ID, application time, requested quota, and application result. In this example, the application ID is `b926571d-cc09-4711-b547-58a615f0***`. The application time is `2021-01-15T09:13:53Z`. The expected quota value is `101`. The application result is `Agree`.
|
2076
2530
|
|
2077
2531
|
@param request: ListQuotaApplicationsRequest
|
2078
2532
|
@return: ListQuotaApplicationsResponse
|
@@ -2085,7 +2539,9 @@ class Client(OpenApiClient):
|
|
2085
2539
|
request: quotas_20200510_models.ListQuotaApplicationsRequest,
|
2086
2540
|
) -> quotas_20200510_models.ListQuotaApplicationsResponse:
|
2087
2541
|
"""
|
2088
|
-
|
2542
|
+
@summary Queries the details of an application that is submitted to increase a quota.
|
2543
|
+
|
2544
|
+
@description In this example, the operation is called to query the details of an application that is submitted to increase a quota whose ID is `q_i5uzm3` and whose name is Maximum Number of Nodes. This quota belongs to Container Service for Kubernetes (ACK). The query result shows the details of the application. The details include the application ID, application time, requested quota, and application result. In this example, the application ID is `b926571d-cc09-4711-b547-58a615f0***`. The application time is `2021-01-15T09:13:53Z`. The expected quota value is `101`. The application result is `Agree`.
|
2089
2545
|
|
2090
2546
|
@param request: ListQuotaApplicationsRequest
|
2091
2547
|
@return: ListQuotaApplicationsResponse
|
@@ -2098,6 +2554,13 @@ class Client(OpenApiClient):
|
|
2098
2554
|
request: quotas_20200510_models.ListQuotaApplicationsDetailForTemplateRequest,
|
2099
2555
|
runtime: util_models.RuntimeOptions,
|
2100
2556
|
) -> quotas_20200510_models.ListQuotaApplicationsDetailForTemplateResponse:
|
2557
|
+
"""
|
2558
|
+
@summary Queries the details of a quota increase application for member accounts in a resource directory.
|
2559
|
+
|
2560
|
+
@param request: ListQuotaApplicationsDetailForTemplateRequest
|
2561
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2562
|
+
@return: ListQuotaApplicationsDetailForTemplateResponse
|
2563
|
+
"""
|
2101
2564
|
UtilClient.validate_model(request)
|
2102
2565
|
body = {}
|
2103
2566
|
if not UtilClient.is_unset(request.aliyun_uid):
|
@@ -2140,6 +2603,13 @@ class Client(OpenApiClient):
|
|
2140
2603
|
request: quotas_20200510_models.ListQuotaApplicationsDetailForTemplateRequest,
|
2141
2604
|
runtime: util_models.RuntimeOptions,
|
2142
2605
|
) -> quotas_20200510_models.ListQuotaApplicationsDetailForTemplateResponse:
|
2606
|
+
"""
|
2607
|
+
@summary Queries the details of a quota increase application for member accounts in a resource directory.
|
2608
|
+
|
2609
|
+
@param request: ListQuotaApplicationsDetailForTemplateRequest
|
2610
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2611
|
+
@return: ListQuotaApplicationsDetailForTemplateResponse
|
2612
|
+
"""
|
2143
2613
|
UtilClient.validate_model(request)
|
2144
2614
|
body = {}
|
2145
2615
|
if not UtilClient.is_unset(request.aliyun_uid):
|
@@ -2181,6 +2651,12 @@ class Client(OpenApiClient):
|
|
2181
2651
|
self,
|
2182
2652
|
request: quotas_20200510_models.ListQuotaApplicationsDetailForTemplateRequest,
|
2183
2653
|
) -> quotas_20200510_models.ListQuotaApplicationsDetailForTemplateResponse:
|
2654
|
+
"""
|
2655
|
+
@summary Queries the details of a quota increase application for member accounts in a resource directory.
|
2656
|
+
|
2657
|
+
@param request: ListQuotaApplicationsDetailForTemplateRequest
|
2658
|
+
@return: ListQuotaApplicationsDetailForTemplateResponse
|
2659
|
+
"""
|
2184
2660
|
runtime = util_models.RuntimeOptions()
|
2185
2661
|
return self.list_quota_applications_detail_for_template_with_options(request, runtime)
|
2186
2662
|
|
@@ -2188,6 +2664,12 @@ class Client(OpenApiClient):
|
|
2188
2664
|
self,
|
2189
2665
|
request: quotas_20200510_models.ListQuotaApplicationsDetailForTemplateRequest,
|
2190
2666
|
) -> quotas_20200510_models.ListQuotaApplicationsDetailForTemplateResponse:
|
2667
|
+
"""
|
2668
|
+
@summary Queries the details of a quota increase application for member accounts in a resource directory.
|
2669
|
+
|
2670
|
+
@param request: ListQuotaApplicationsDetailForTemplateRequest
|
2671
|
+
@return: ListQuotaApplicationsDetailForTemplateResponse
|
2672
|
+
"""
|
2191
2673
|
runtime = util_models.RuntimeOptions()
|
2192
2674
|
return await self.list_quota_applications_detail_for_template_with_options_async(request, runtime)
|
2193
2675
|
|
@@ -2196,6 +2678,13 @@ class Client(OpenApiClient):
|
|
2196
2678
|
request: quotas_20200510_models.ListQuotaApplicationsForTemplateRequest,
|
2197
2679
|
runtime: util_models.RuntimeOptions,
|
2198
2680
|
) -> quotas_20200510_models.ListQuotaApplicationsForTemplateResponse:
|
2681
|
+
"""
|
2682
|
+
@summary Queries the application records of a quota template that is used to apply for quotas for member accounts.
|
2683
|
+
|
2684
|
+
@param request: ListQuotaApplicationsForTemplateRequest
|
2685
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2686
|
+
@return: ListQuotaApplicationsForTemplateResponse
|
2687
|
+
"""
|
2199
2688
|
UtilClient.validate_model(request)
|
2200
2689
|
body = {}
|
2201
2690
|
if not UtilClient.is_unset(request.apply_end_time):
|
@@ -2238,6 +2727,13 @@ class Client(OpenApiClient):
|
|
2238
2727
|
request: quotas_20200510_models.ListQuotaApplicationsForTemplateRequest,
|
2239
2728
|
runtime: util_models.RuntimeOptions,
|
2240
2729
|
) -> quotas_20200510_models.ListQuotaApplicationsForTemplateResponse:
|
2730
|
+
"""
|
2731
|
+
@summary Queries the application records of a quota template that is used to apply for quotas for member accounts.
|
2732
|
+
|
2733
|
+
@param request: ListQuotaApplicationsForTemplateRequest
|
2734
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2735
|
+
@return: ListQuotaApplicationsForTemplateResponse
|
2736
|
+
"""
|
2241
2737
|
UtilClient.validate_model(request)
|
2242
2738
|
body = {}
|
2243
2739
|
if not UtilClient.is_unset(request.apply_end_time):
|
@@ -2279,6 +2775,12 @@ class Client(OpenApiClient):
|
|
2279
2775
|
self,
|
2280
2776
|
request: quotas_20200510_models.ListQuotaApplicationsForTemplateRequest,
|
2281
2777
|
) -> quotas_20200510_models.ListQuotaApplicationsForTemplateResponse:
|
2778
|
+
"""
|
2779
|
+
@summary Queries the application records of a quota template that is used to apply for quotas for member accounts.
|
2780
|
+
|
2781
|
+
@param request: ListQuotaApplicationsForTemplateRequest
|
2782
|
+
@return: ListQuotaApplicationsForTemplateResponse
|
2783
|
+
"""
|
2282
2784
|
runtime = util_models.RuntimeOptions()
|
2283
2785
|
return self.list_quota_applications_for_template_with_options(request, runtime)
|
2284
2786
|
|
@@ -2286,6 +2788,12 @@ class Client(OpenApiClient):
|
|
2286
2788
|
self,
|
2287
2789
|
request: quotas_20200510_models.ListQuotaApplicationsForTemplateRequest,
|
2288
2790
|
) -> quotas_20200510_models.ListQuotaApplicationsForTemplateResponse:
|
2791
|
+
"""
|
2792
|
+
@summary Queries the application records of a quota template that is used to apply for quotas for member accounts.
|
2793
|
+
|
2794
|
+
@param request: ListQuotaApplicationsForTemplateRequest
|
2795
|
+
@return: ListQuotaApplicationsForTemplateResponse
|
2796
|
+
"""
|
2289
2797
|
runtime = util_models.RuntimeOptions()
|
2290
2798
|
return await self.list_quota_applications_for_template_with_options_async(request, runtime)
|
2291
2799
|
|
@@ -2295,7 +2803,12 @@ class Client(OpenApiClient):
|
|
2295
2803
|
runtime: util_models.RuntimeOptions,
|
2296
2804
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2297
2805
|
"""
|
2298
|
-
By default, the quota template is
|
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.
|
2807
|
+
|
2808
|
+
@description ### [](#)Prerequisites
|
2809
|
+
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
2810
|
+
### [](#)Usage notes
|
2811
|
+
If the `ServiceStatus` parameter is set to `0` or `-1`, you can call this operation to set the parameter to `1`. Then, you can call the [CreateTemplateQuotaItem](https://help.aliyun.com/document_detail/450615.html) operation to create a quota template.
|
2299
2812
|
|
2300
2813
|
@param request: ModifyQuotaTemplateServiceStatusRequest
|
2301
2814
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -2330,7 +2843,12 @@ class Client(OpenApiClient):
|
|
2330
2843
|
runtime: util_models.RuntimeOptions,
|
2331
2844
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2332
2845
|
"""
|
2333
|
-
By default, the quota template is
|
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.
|
2847
|
+
|
2848
|
+
@description ### [](#)Prerequisites
|
2849
|
+
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
2850
|
+
### [](#)Usage notes
|
2851
|
+
If the `ServiceStatus` parameter is set to `0` or `-1`, you can call this operation to set the parameter to `1`. Then, you can call the [CreateTemplateQuotaItem](https://help.aliyun.com/document_detail/450615.html) operation to create a quota template.
|
2334
2852
|
|
2335
2853
|
@param request: ModifyQuotaTemplateServiceStatusRequest
|
2336
2854
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -2364,7 +2882,12 @@ class Client(OpenApiClient):
|
|
2364
2882
|
request: quotas_20200510_models.ModifyQuotaTemplateServiceStatusRequest,
|
2365
2883
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2366
2884
|
"""
|
2367
|
-
By default, the quota template is
|
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.
|
2886
|
+
|
2887
|
+
@description ### [](#)Prerequisites
|
2888
|
+
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
2889
|
+
### [](#)Usage notes
|
2890
|
+
If the `ServiceStatus` parameter is set to `0` or `-1`, you can call this operation to set the parameter to `1`. Then, you can call the [CreateTemplateQuotaItem](https://help.aliyun.com/document_detail/450615.html) operation to create a quota template.
|
2368
2891
|
|
2369
2892
|
@param request: ModifyQuotaTemplateServiceStatusRequest
|
2370
2893
|
@return: ModifyQuotaTemplateServiceStatusResponse
|
@@ -2377,7 +2900,12 @@ class Client(OpenApiClient):
|
|
2377
2900
|
request: quotas_20200510_models.ModifyQuotaTemplateServiceStatusRequest,
|
2378
2901
|
) -> quotas_20200510_models.ModifyQuotaTemplateServiceStatusResponse:
|
2379
2902
|
"""
|
2380
|
-
By default, the quota template is
|
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.
|
2904
|
+
|
2905
|
+
@description ### [](#)Prerequisites
|
2906
|
+
A resource directory is enabled. For more information, see [EnableResourceDirectory](https://help.aliyun.com/document_detail/604185.html).
|
2907
|
+
### [](#)Usage notes
|
2908
|
+
If the `ServiceStatus` parameter is set to `0` or `-1`, you can call this operation to set the parameter to `1`. Then, you can call the [CreateTemplateQuotaItem](https://help.aliyun.com/document_detail/450615.html) operation to create a quota template.
|
2381
2909
|
|
2382
2910
|
@param request: ModifyQuotaTemplateServiceStatusRequest
|
2383
2911
|
@return: ModifyQuotaTemplateServiceStatusResponse
|
@@ -2390,6 +2918,13 @@ class Client(OpenApiClient):
|
|
2390
2918
|
request: quotas_20200510_models.ModifyTemplateQuotaItemRequest,
|
2391
2919
|
runtime: util_models.RuntimeOptions,
|
2392
2920
|
) -> quotas_20200510_models.ModifyTemplateQuotaItemResponse:
|
2921
|
+
"""
|
2922
|
+
@summary The ID of the quota template.
|
2923
|
+
|
2924
|
+
@param request: ModifyTemplateQuotaItemRequest
|
2925
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2926
|
+
@return: ModifyTemplateQuotaItemResponse
|
2927
|
+
"""
|
2393
2928
|
UtilClient.validate_model(request)
|
2394
2929
|
query = {}
|
2395
2930
|
if not UtilClient.is_unset(request.quota_category):
|
@@ -2438,6 +2973,13 @@ class Client(OpenApiClient):
|
|
2438
2973
|
request: quotas_20200510_models.ModifyTemplateQuotaItemRequest,
|
2439
2974
|
runtime: util_models.RuntimeOptions,
|
2440
2975
|
) -> quotas_20200510_models.ModifyTemplateQuotaItemResponse:
|
2976
|
+
"""
|
2977
|
+
@summary The ID of the quota template.
|
2978
|
+
|
2979
|
+
@param request: ModifyTemplateQuotaItemRequest
|
2980
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2981
|
+
@return: ModifyTemplateQuotaItemResponse
|
2982
|
+
"""
|
2441
2983
|
UtilClient.validate_model(request)
|
2442
2984
|
query = {}
|
2443
2985
|
if not UtilClient.is_unset(request.quota_category):
|
@@ -2485,6 +3027,12 @@ class Client(OpenApiClient):
|
|
2485
3027
|
self,
|
2486
3028
|
request: quotas_20200510_models.ModifyTemplateQuotaItemRequest,
|
2487
3029
|
) -> quotas_20200510_models.ModifyTemplateQuotaItemResponse:
|
3030
|
+
"""
|
3031
|
+
@summary The ID of the quota template.
|
3032
|
+
|
3033
|
+
@param request: ModifyTemplateQuotaItemRequest
|
3034
|
+
@return: ModifyTemplateQuotaItemResponse
|
3035
|
+
"""
|
2488
3036
|
runtime = util_models.RuntimeOptions()
|
2489
3037
|
return self.modify_template_quota_item_with_options(request, runtime)
|
2490
3038
|
|
@@ -2492,16 +3040,128 @@ class Client(OpenApiClient):
|
|
2492
3040
|
self,
|
2493
3041
|
request: quotas_20200510_models.ModifyTemplateQuotaItemRequest,
|
2494
3042
|
) -> quotas_20200510_models.ModifyTemplateQuotaItemResponse:
|
3043
|
+
"""
|
3044
|
+
@summary The ID of the quota template.
|
3045
|
+
|
3046
|
+
@param request: ModifyTemplateQuotaItemRequest
|
3047
|
+
@return: ModifyTemplateQuotaItemResponse
|
3048
|
+
"""
|
2495
3049
|
runtime = util_models.RuntimeOptions()
|
2496
3050
|
return await self.modify_template_quota_item_with_options_async(request, runtime)
|
2497
3051
|
|
3052
|
+
def remind_quota_application_approval_with_options(
|
3053
|
+
self,
|
3054
|
+
request: quotas_20200510_models.RemindQuotaApplicationApprovalRequest,
|
3055
|
+
runtime: util_models.RuntimeOptions,
|
3056
|
+
) -> quotas_20200510_models.RemindQuotaApplicationApprovalResponse:
|
3057
|
+
"""
|
3058
|
+
@summary Reminds the approver of a quota application to review the application. This operation is applicable to quota applications that support the approval reminding feature.
|
3059
|
+
|
3060
|
+
@description > You can call this operation to enable the approval reminder feature for quota applications that support this feature. To check whether this feature is supported, you can view the value of `SupportReminder` in the GetQuotaApplicationApproval operation. If the value of SupportReminder is `true`, this feature is supported.
|
3061
|
+
|
3062
|
+
@param request: RemindQuotaApplicationApprovalRequest
|
3063
|
+
@param runtime: runtime options for this request RuntimeOptions
|
3064
|
+
@return: RemindQuotaApplicationApprovalResponse
|
3065
|
+
"""
|
3066
|
+
UtilClient.validate_model(request)
|
3067
|
+
body = {}
|
3068
|
+
if not UtilClient.is_unset(request.application_id):
|
3069
|
+
body['ApplicationId'] = request.application_id
|
3070
|
+
req = open_api_models.OpenApiRequest(
|
3071
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
3072
|
+
)
|
3073
|
+
params = open_api_models.Params(
|
3074
|
+
action='RemindQuotaApplicationApproval',
|
3075
|
+
version='2020-05-10',
|
3076
|
+
protocol='HTTPS',
|
3077
|
+
pathname='/',
|
3078
|
+
method='POST',
|
3079
|
+
auth_type='AK',
|
3080
|
+
style='RPC',
|
3081
|
+
req_body_type='formData',
|
3082
|
+
body_type='json'
|
3083
|
+
)
|
3084
|
+
return TeaCore.from_map(
|
3085
|
+
quotas_20200510_models.RemindQuotaApplicationApprovalResponse(),
|
3086
|
+
self.call_api(params, req, runtime)
|
3087
|
+
)
|
3088
|
+
|
3089
|
+
async def remind_quota_application_approval_with_options_async(
|
3090
|
+
self,
|
3091
|
+
request: quotas_20200510_models.RemindQuotaApplicationApprovalRequest,
|
3092
|
+
runtime: util_models.RuntimeOptions,
|
3093
|
+
) -> quotas_20200510_models.RemindQuotaApplicationApprovalResponse:
|
3094
|
+
"""
|
3095
|
+
@summary Reminds the approver of a quota application to review the application. This operation is applicable to quota applications that support the approval reminding feature.
|
3096
|
+
|
3097
|
+
@description > You can call this operation to enable the approval reminder feature for quota applications that support this feature. To check whether this feature is supported, you can view the value of `SupportReminder` in the GetQuotaApplicationApproval operation. If the value of SupportReminder is `true`, this feature is supported.
|
3098
|
+
|
3099
|
+
@param request: RemindQuotaApplicationApprovalRequest
|
3100
|
+
@param runtime: runtime options for this request RuntimeOptions
|
3101
|
+
@return: RemindQuotaApplicationApprovalResponse
|
3102
|
+
"""
|
3103
|
+
UtilClient.validate_model(request)
|
3104
|
+
body = {}
|
3105
|
+
if not UtilClient.is_unset(request.application_id):
|
3106
|
+
body['ApplicationId'] = request.application_id
|
3107
|
+
req = open_api_models.OpenApiRequest(
|
3108
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
3109
|
+
)
|
3110
|
+
params = open_api_models.Params(
|
3111
|
+
action='RemindQuotaApplicationApproval',
|
3112
|
+
version='2020-05-10',
|
3113
|
+
protocol='HTTPS',
|
3114
|
+
pathname='/',
|
3115
|
+
method='POST',
|
3116
|
+
auth_type='AK',
|
3117
|
+
style='RPC',
|
3118
|
+
req_body_type='formData',
|
3119
|
+
body_type='json'
|
3120
|
+
)
|
3121
|
+
return TeaCore.from_map(
|
3122
|
+
quotas_20200510_models.RemindQuotaApplicationApprovalResponse(),
|
3123
|
+
await self.call_api_async(params, req, runtime)
|
3124
|
+
)
|
3125
|
+
|
3126
|
+
def remind_quota_application_approval(
|
3127
|
+
self,
|
3128
|
+
request: quotas_20200510_models.RemindQuotaApplicationApprovalRequest,
|
3129
|
+
) -> quotas_20200510_models.RemindQuotaApplicationApprovalResponse:
|
3130
|
+
"""
|
3131
|
+
@summary Reminds the approver of a quota application to review the application. This operation is applicable to quota applications that support the approval reminding feature.
|
3132
|
+
|
3133
|
+
@description > You can call this operation to enable the approval reminder feature for quota applications that support this feature. To check whether this feature is supported, you can view the value of `SupportReminder` in the GetQuotaApplicationApproval operation. If the value of SupportReminder is `true`, this feature is supported.
|
3134
|
+
|
3135
|
+
@param request: RemindQuotaApplicationApprovalRequest
|
3136
|
+
@return: RemindQuotaApplicationApprovalResponse
|
3137
|
+
"""
|
3138
|
+
runtime = util_models.RuntimeOptions()
|
3139
|
+
return self.remind_quota_application_approval_with_options(request, runtime)
|
3140
|
+
|
3141
|
+
async def remind_quota_application_approval_async(
|
3142
|
+
self,
|
3143
|
+
request: quotas_20200510_models.RemindQuotaApplicationApprovalRequest,
|
3144
|
+
) -> quotas_20200510_models.RemindQuotaApplicationApprovalResponse:
|
3145
|
+
"""
|
3146
|
+
@summary Reminds the approver of a quota application to review the application. This operation is applicable to quota applications that support the approval reminding feature.
|
3147
|
+
|
3148
|
+
@description > You can call this operation to enable the approval reminder feature for quota applications that support this feature. To check whether this feature is supported, you can view the value of `SupportReminder` in the GetQuotaApplicationApproval operation. If the value of SupportReminder is `true`, this feature is supported.
|
3149
|
+
|
3150
|
+
@param request: RemindQuotaApplicationApprovalRequest
|
3151
|
+
@return: RemindQuotaApplicationApprovalResponse
|
3152
|
+
"""
|
3153
|
+
runtime = util_models.RuntimeOptions()
|
3154
|
+
return await self.remind_quota_application_approval_with_options_async(request, runtime)
|
3155
|
+
|
2498
3156
|
def update_quota_alarm_with_options(
|
2499
3157
|
self,
|
2500
3158
|
request: quotas_20200510_models.UpdateQuotaAlarmRequest,
|
2501
3159
|
runtime: util_models.RuntimeOptions,
|
2502
3160
|
) -> quotas_20200510_models.UpdateQuotaAlarmResponse:
|
2503
3161
|
"""
|
2504
|
-
|
3162
|
+
@summary Modifies a quota alert rule.
|
3163
|
+
|
3164
|
+
@description In this example, the operation is called to modify the information about a quota alert whose ID is `a2efa7fc-832f-47bb-8054-39e28012***` and whose name is `rules`. The alert threshold is changed from `150` to `160`.
|
2505
3165
|
|
2506
3166
|
@param request: UpdateQuotaAlarmRequest
|
2507
3167
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -2546,7 +3206,9 @@ class Client(OpenApiClient):
|
|
2546
3206
|
runtime: util_models.RuntimeOptions,
|
2547
3207
|
) -> quotas_20200510_models.UpdateQuotaAlarmResponse:
|
2548
3208
|
"""
|
2549
|
-
|
3209
|
+
@summary Modifies a quota alert rule.
|
3210
|
+
|
3211
|
+
@description In this example, the operation is called to modify the information about a quota alert whose ID is `a2efa7fc-832f-47bb-8054-39e28012***` and whose name is `rules`. The alert threshold is changed from `150` to `160`.
|
2550
3212
|
|
2551
3213
|
@param request: UpdateQuotaAlarmRequest
|
2552
3214
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -2590,7 +3252,9 @@ class Client(OpenApiClient):
|
|
2590
3252
|
request: quotas_20200510_models.UpdateQuotaAlarmRequest,
|
2591
3253
|
) -> quotas_20200510_models.UpdateQuotaAlarmResponse:
|
2592
3254
|
"""
|
2593
|
-
|
3255
|
+
@summary Modifies a quota alert rule.
|
3256
|
+
|
3257
|
+
@description In this example, the operation is called to modify the information about a quota alert whose ID is `a2efa7fc-832f-47bb-8054-39e28012***` and whose name is `rules`. The alert threshold is changed from `150` to `160`.
|
2594
3258
|
|
2595
3259
|
@param request: UpdateQuotaAlarmRequest
|
2596
3260
|
@return: UpdateQuotaAlarmResponse
|
@@ -2603,7 +3267,9 @@ class Client(OpenApiClient):
|
|
2603
3267
|
request: quotas_20200510_models.UpdateQuotaAlarmRequest,
|
2604
3268
|
) -> quotas_20200510_models.UpdateQuotaAlarmResponse:
|
2605
3269
|
"""
|
2606
|
-
|
3270
|
+
@summary Modifies a quota alert rule.
|
3271
|
+
|
3272
|
+
@description In this example, the operation is called to modify the information about a quota alert whose ID is `a2efa7fc-832f-47bb-8054-39e28012***` and whose name is `rules`. The alert threshold is changed from `150` to `160`.
|
2607
3273
|
|
2608
3274
|
@param request: UpdateQuotaAlarmRequest
|
2609
3275
|
@return: UpdateQuotaAlarmResponse
|