alibabacloud-rds20140815 11.3.1__py3-none-any.whl → 11.3.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_rds20140815/__init__.py +1 -1
- alibabacloud_rds20140815/client.py +132 -16
- alibabacloud_rds20140815/models.py +345 -106
- {alibabacloud_rds20140815-11.3.1.dist-info → alibabacloud_rds20140815-11.3.2.dist-info}/METADATA +1 -1
- alibabacloud_rds20140815-11.3.2.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-11.3.1.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-11.3.1.dist-info → alibabacloud_rds20140815-11.3.2.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-11.3.1.dist-info → alibabacloud_rds20140815-11.3.2.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-11.3.1.dist-info → alibabacloud_rds20140815-11.3.2.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '11.3.
|
|
1
|
+
__version__ = '11.3.2'
|
|
@@ -7528,10 +7528,14 @@ class Client(OpenApiClient):
|
|
|
7528
7528
|
query['PeriodUnit'] = request.period_unit
|
|
7529
7529
|
if not UtilClient.is_unset(request.region_id):
|
|
7530
7530
|
query['RegionId'] = request.region_id
|
|
7531
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
7532
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
7531
7533
|
if not UtilClient.is_unset(request.size):
|
|
7532
7534
|
query['Size'] = request.size
|
|
7533
7535
|
if not UtilClient.is_unset(request.snapshot_id):
|
|
7534
7536
|
query['SnapshotId'] = request.snapshot_id
|
|
7537
|
+
if not UtilClient.is_unset(request.tag):
|
|
7538
|
+
query['Tag'] = request.tag
|
|
7535
7539
|
if not UtilClient.is_unset(request.zone_id):
|
|
7536
7540
|
query['ZoneId'] = request.zone_id
|
|
7537
7541
|
req = open_api_models.OpenApiRequest(
|
|
@@ -7589,10 +7593,14 @@ class Client(OpenApiClient):
|
|
|
7589
7593
|
query['PeriodUnit'] = request.period_unit
|
|
7590
7594
|
if not UtilClient.is_unset(request.region_id):
|
|
7591
7595
|
query['RegionId'] = request.region_id
|
|
7596
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
7597
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
7592
7598
|
if not UtilClient.is_unset(request.size):
|
|
7593
7599
|
query['Size'] = request.size
|
|
7594
7600
|
if not UtilClient.is_unset(request.snapshot_id):
|
|
7595
7601
|
query['SnapshotId'] = request.snapshot_id
|
|
7602
|
+
if not UtilClient.is_unset(request.tag):
|
|
7603
|
+
query['Tag'] = request.tag
|
|
7596
7604
|
if not UtilClient.is_unset(request.zone_id):
|
|
7597
7605
|
query['ZoneId'] = request.zone_id
|
|
7598
7606
|
req = open_api_models.OpenApiRequest(
|
|
@@ -27414,7 +27422,12 @@ class Client(OpenApiClient):
|
|
|
27414
27422
|
runtime: util_models.RuntimeOptions,
|
|
27415
27423
|
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27416
27424
|
"""
|
|
27417
|
-
@summary
|
|
27425
|
+
@summary Queries the number of DDos attacks on an RDS Custom for SQL Server instance and monitors the security status of the instance in real time to assess potential security risks.
|
|
27426
|
+
|
|
27427
|
+
@description ### [](#)Supported database engine
|
|
27428
|
+
SQL Server
|
|
27429
|
+
### [](#)References
|
|
27430
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27418
27431
|
|
|
27419
27432
|
@param request: DescribeRCInstanceDdosCountRequest
|
|
27420
27433
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -27453,7 +27466,12 @@ class Client(OpenApiClient):
|
|
|
27453
27466
|
runtime: util_models.RuntimeOptions,
|
|
27454
27467
|
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27455
27468
|
"""
|
|
27456
|
-
@summary
|
|
27469
|
+
@summary Queries the number of DDos attacks on an RDS Custom for SQL Server instance and monitors the security status of the instance in real time to assess potential security risks.
|
|
27470
|
+
|
|
27471
|
+
@description ### [](#)Supported database engine
|
|
27472
|
+
SQL Server
|
|
27473
|
+
### [](#)References
|
|
27474
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27457
27475
|
|
|
27458
27476
|
@param request: DescribeRCInstanceDdosCountRequest
|
|
27459
27477
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -27491,7 +27509,12 @@ class Client(OpenApiClient):
|
|
|
27491
27509
|
request: rds_20140815_models.DescribeRCInstanceDdosCountRequest,
|
|
27492
27510
|
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27493
27511
|
"""
|
|
27494
|
-
@summary
|
|
27512
|
+
@summary Queries the number of DDos attacks on an RDS Custom for SQL Server instance and monitors the security status of the instance in real time to assess potential security risks.
|
|
27513
|
+
|
|
27514
|
+
@description ### [](#)Supported database engine
|
|
27515
|
+
SQL Server
|
|
27516
|
+
### [](#)References
|
|
27517
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27495
27518
|
|
|
27496
27519
|
@param request: DescribeRCInstanceDdosCountRequest
|
|
27497
27520
|
@return: DescribeRCInstanceDdosCountResponse
|
|
@@ -27504,7 +27527,12 @@ class Client(OpenApiClient):
|
|
|
27504
27527
|
request: rds_20140815_models.DescribeRCInstanceDdosCountRequest,
|
|
27505
27528
|
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27506
27529
|
"""
|
|
27507
|
-
@summary
|
|
27530
|
+
@summary Queries the number of DDos attacks on an RDS Custom for SQL Server instance and monitors the security status of the instance in real time to assess potential security risks.
|
|
27531
|
+
|
|
27532
|
+
@description ### [](#)Supported database engine
|
|
27533
|
+
SQL Server
|
|
27534
|
+
### [](#)References
|
|
27535
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27508
27536
|
|
|
27509
27537
|
@param request: DescribeRCInstanceDdosCountRequest
|
|
27510
27538
|
@return: DescribeRCInstanceDdosCountResponse
|
|
@@ -27674,7 +27702,13 @@ class Client(OpenApiClient):
|
|
|
27674
27702
|
runtime: util_models.RuntimeOptions,
|
|
27675
27703
|
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27676
27704
|
"""
|
|
27677
|
-
@summary
|
|
27705
|
+
@summary Queries the protection information about an RDS Custom for SQL Server instance and the details of the Anti-DDoS Origin instance to which the RDS Custom instance is added.
|
|
27706
|
+
|
|
27707
|
+
@description ### [](#)Supported database engine
|
|
27708
|
+
SQL Server
|
|
27709
|
+
### [](#)References
|
|
27710
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27711
|
+
> If one or more assets of the current Alibaba Cloud account are added to an [Anti-DDoS Origin instance](https://help.aliyun.com/document_detail/63643.html), you can call the DescribeRCInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.
|
|
27678
27712
|
|
|
27679
27713
|
@param request: DescribeRCInstanceIpAddressRequest
|
|
27680
27714
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -27727,7 +27761,13 @@ class Client(OpenApiClient):
|
|
|
27727
27761
|
runtime: util_models.RuntimeOptions,
|
|
27728
27762
|
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27729
27763
|
"""
|
|
27730
|
-
@summary
|
|
27764
|
+
@summary Queries the protection information about an RDS Custom for SQL Server instance and the details of the Anti-DDoS Origin instance to which the RDS Custom instance is added.
|
|
27765
|
+
|
|
27766
|
+
@description ### [](#)Supported database engine
|
|
27767
|
+
SQL Server
|
|
27768
|
+
### [](#)References
|
|
27769
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27770
|
+
> If one or more assets of the current Alibaba Cloud account are added to an [Anti-DDoS Origin instance](https://help.aliyun.com/document_detail/63643.html), you can call the DescribeRCInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.
|
|
27731
27771
|
|
|
27732
27772
|
@param request: DescribeRCInstanceIpAddressRequest
|
|
27733
27773
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -27779,7 +27819,13 @@ class Client(OpenApiClient):
|
|
|
27779
27819
|
request: rds_20140815_models.DescribeRCInstanceIpAddressRequest,
|
|
27780
27820
|
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27781
27821
|
"""
|
|
27782
|
-
@summary
|
|
27822
|
+
@summary Queries the protection information about an RDS Custom for SQL Server instance and the details of the Anti-DDoS Origin instance to which the RDS Custom instance is added.
|
|
27823
|
+
|
|
27824
|
+
@description ### [](#)Supported database engine
|
|
27825
|
+
SQL Server
|
|
27826
|
+
### [](#)References
|
|
27827
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27828
|
+
> If one or more assets of the current Alibaba Cloud account are added to an [Anti-DDoS Origin instance](https://help.aliyun.com/document_detail/63643.html), you can call the DescribeRCInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.
|
|
27783
27829
|
|
|
27784
27830
|
@param request: DescribeRCInstanceIpAddressRequest
|
|
27785
27831
|
@return: DescribeRCInstanceIpAddressResponse
|
|
@@ -27792,7 +27838,13 @@ class Client(OpenApiClient):
|
|
|
27792
27838
|
request: rds_20140815_models.DescribeRCInstanceIpAddressRequest,
|
|
27793
27839
|
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27794
27840
|
"""
|
|
27795
|
-
@summary
|
|
27841
|
+
@summary Queries the protection information about an RDS Custom for SQL Server instance and the details of the Anti-DDoS Origin instance to which the RDS Custom instance is added.
|
|
27842
|
+
|
|
27843
|
+
@description ### [](#)Supported database engine
|
|
27844
|
+
SQL Server
|
|
27845
|
+
### [](#)References
|
|
27846
|
+
[Introduction to ApsaraDB RDS Custom](https://help.aliyun.com/document_detail/2864363.html)
|
|
27847
|
+
> If one or more assets of the current Alibaba Cloud account are added to an [Anti-DDoS Origin instance](https://help.aliyun.com/document_detail/63643.html), you can call the DescribeRCInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.
|
|
27796
27848
|
|
|
27797
27849
|
@param request: DescribeRCInstanceIpAddressRequest
|
|
27798
27850
|
@return: DescribeRCInstanceIpAddressResponse
|
|
@@ -31714,9 +31766,11 @@ class Client(OpenApiClient):
|
|
|
31714
31766
|
runtime: util_models.RuntimeOptions,
|
|
31715
31767
|
) -> rds_20140815_models.DescribeTasksResponse:
|
|
31716
31768
|
"""
|
|
31717
|
-
@summary
|
|
31769
|
+
@summary Queries the tasks in the Waiting or Executing state on an ApsaraDB RDS for SQL Server instance.
|
|
31718
31770
|
|
|
31719
|
-
@description
|
|
31771
|
+
@description ### [](#)Supported database engine
|
|
31772
|
+
SQL Server
|
|
31773
|
+
> You can call the [DescribeHistoryTasks](https://help.aliyun.com/document_detail/2627863.html) operation to query the tasks on an ApsaraDB RDS for MySQL or ApsaraDB RDS for PostgreSQL instance
|
|
31720
31774
|
|
|
31721
31775
|
@param request: DescribeTasksRequest
|
|
31722
31776
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31771,9 +31825,11 @@ class Client(OpenApiClient):
|
|
|
31771
31825
|
runtime: util_models.RuntimeOptions,
|
|
31772
31826
|
) -> rds_20140815_models.DescribeTasksResponse:
|
|
31773
31827
|
"""
|
|
31774
|
-
@summary
|
|
31828
|
+
@summary Queries the tasks in the Waiting or Executing state on an ApsaraDB RDS for SQL Server instance.
|
|
31775
31829
|
|
|
31776
|
-
@description
|
|
31830
|
+
@description ### [](#)Supported database engine
|
|
31831
|
+
SQL Server
|
|
31832
|
+
> You can call the [DescribeHistoryTasks](https://help.aliyun.com/document_detail/2627863.html) operation to query the tasks on an ApsaraDB RDS for MySQL or ApsaraDB RDS for PostgreSQL instance
|
|
31777
31833
|
|
|
31778
31834
|
@param request: DescribeTasksRequest
|
|
31779
31835
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31827,9 +31883,11 @@ class Client(OpenApiClient):
|
|
|
31827
31883
|
request: rds_20140815_models.DescribeTasksRequest,
|
|
31828
31884
|
) -> rds_20140815_models.DescribeTasksResponse:
|
|
31829
31885
|
"""
|
|
31830
|
-
@summary
|
|
31886
|
+
@summary Queries the tasks in the Waiting or Executing state on an ApsaraDB RDS for SQL Server instance.
|
|
31831
31887
|
|
|
31832
|
-
@description
|
|
31888
|
+
@description ### [](#)Supported database engine
|
|
31889
|
+
SQL Server
|
|
31890
|
+
> You can call the [DescribeHistoryTasks](https://help.aliyun.com/document_detail/2627863.html) operation to query the tasks on an ApsaraDB RDS for MySQL or ApsaraDB RDS for PostgreSQL instance
|
|
31833
31891
|
|
|
31834
31892
|
@param request: DescribeTasksRequest
|
|
31835
31893
|
@return: DescribeTasksResponse
|
|
@@ -31842,9 +31900,11 @@ class Client(OpenApiClient):
|
|
|
31842
31900
|
request: rds_20140815_models.DescribeTasksRequest,
|
|
31843
31901
|
) -> rds_20140815_models.DescribeTasksResponse:
|
|
31844
31902
|
"""
|
|
31845
|
-
@summary
|
|
31903
|
+
@summary Queries the tasks in the Waiting or Executing state on an ApsaraDB RDS for SQL Server instance.
|
|
31846
31904
|
|
|
31847
|
-
@description
|
|
31905
|
+
@description ### [](#)Supported database engine
|
|
31906
|
+
SQL Server
|
|
31907
|
+
> You can call the [DescribeHistoryTasks](https://help.aliyun.com/document_detail/2627863.html) operation to query the tasks on an ApsaraDB RDS for MySQL or ApsaraDB RDS for PostgreSQL instance
|
|
31848
31908
|
|
|
31849
31909
|
@param request: DescribeTasksRequest
|
|
31850
31910
|
@return: DescribeTasksResponse
|
|
@@ -43348,6 +43408,8 @@ class Client(OpenApiClient):
|
|
|
43348
43408
|
query = {}
|
|
43349
43409
|
if not UtilClient.is_unset(request.auto_pay):
|
|
43350
43410
|
query['AutoPay'] = request.auto_pay
|
|
43411
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
43412
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
43351
43413
|
if not UtilClient.is_unset(request.direction):
|
|
43352
43414
|
query['Direction'] = request.direction
|
|
43353
43415
|
if not UtilClient.is_unset(request.dry_run):
|
|
@@ -43356,6 +43418,8 @@ class Client(OpenApiClient):
|
|
|
43356
43418
|
query['InstanceId'] = request.instance_id
|
|
43357
43419
|
if not UtilClient.is_unset(request.instance_type):
|
|
43358
43420
|
query['InstanceType'] = request.instance_type
|
|
43421
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
43422
|
+
query['PromotionCode'] = request.promotion_code
|
|
43359
43423
|
if not UtilClient.is_unset(request.reboot_time):
|
|
43360
43424
|
query['RebootTime'] = request.reboot_time
|
|
43361
43425
|
if not UtilClient.is_unset(request.reboot_when_finished):
|
|
@@ -43405,6 +43469,8 @@ class Client(OpenApiClient):
|
|
|
43405
43469
|
query = {}
|
|
43406
43470
|
if not UtilClient.is_unset(request.auto_pay):
|
|
43407
43471
|
query['AutoPay'] = request.auto_pay
|
|
43472
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
43473
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
43408
43474
|
if not UtilClient.is_unset(request.direction):
|
|
43409
43475
|
query['Direction'] = request.direction
|
|
43410
43476
|
if not UtilClient.is_unset(request.dry_run):
|
|
@@ -43413,6 +43479,8 @@ class Client(OpenApiClient):
|
|
|
43413
43479
|
query['InstanceId'] = request.instance_id
|
|
43414
43480
|
if not UtilClient.is_unset(request.instance_type):
|
|
43415
43481
|
query['InstanceType'] = request.instance_type
|
|
43482
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
43483
|
+
query['PromotionCode'] = request.promotion_code
|
|
43416
43484
|
if not UtilClient.is_unset(request.reboot_time):
|
|
43417
43485
|
query['RebootTime'] = request.reboot_time
|
|
43418
43486
|
if not UtilClient.is_unset(request.reboot_when_finished):
|
|
@@ -43604,6 +43672,16 @@ class Client(OpenApiClient):
|
|
|
43604
43672
|
"""
|
|
43605
43673
|
@summary Modifies the billing method of an RDS Custom instance or cloud disks. You can call this operation to change the billing method of instances between pay-as-you-go and subscription.
|
|
43606
43674
|
|
|
43675
|
+
@description ### [](#)Precautions
|
|
43676
|
+
Before you call this operation, make sure that you are familiar with the subscription and pay-as-you-go billing methods and pricing of RDS Custom.
|
|
43677
|
+
The instances must be in the **Running** or **Stopped** state, and you have no overdue payments for the instances.
|
|
43678
|
+
The disk is in the **In_use** state and the billing method of the disk has not been changed within the previous 15 minutes.
|
|
43679
|
+
After you change the billing method, the payment is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled.
|
|
43680
|
+
### [](#)Considerations
|
|
43681
|
+
For more information, see the following documentation:
|
|
43682
|
+
[Change the billing method of an instance](https://help.aliyun.com/document_detail/2878542.html)
|
|
43683
|
+
[Change the billing method of a disk](https://help.aliyun.com/document_detail/2878547.html)
|
|
43684
|
+
|
|
43607
43685
|
@param request: ModifyRCInstanceChargeTypeRequest
|
|
43608
43686
|
@param runtime: runtime options for this request RuntimeOptions
|
|
43609
43687
|
@return: ModifyRCInstanceChargeTypeResponse
|
|
@@ -43667,6 +43745,16 @@ class Client(OpenApiClient):
|
|
|
43667
43745
|
"""
|
|
43668
43746
|
@summary Modifies the billing method of an RDS Custom instance or cloud disks. You can call this operation to change the billing method of instances between pay-as-you-go and subscription.
|
|
43669
43747
|
|
|
43748
|
+
@description ### [](#)Precautions
|
|
43749
|
+
Before you call this operation, make sure that you are familiar with the subscription and pay-as-you-go billing methods and pricing of RDS Custom.
|
|
43750
|
+
The instances must be in the **Running** or **Stopped** state, and you have no overdue payments for the instances.
|
|
43751
|
+
The disk is in the **In_use** state and the billing method of the disk has not been changed within the previous 15 minutes.
|
|
43752
|
+
After you change the billing method, the payment is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled.
|
|
43753
|
+
### [](#)Considerations
|
|
43754
|
+
For more information, see the following documentation:
|
|
43755
|
+
[Change the billing method of an instance](https://help.aliyun.com/document_detail/2878542.html)
|
|
43756
|
+
[Change the billing method of a disk](https://help.aliyun.com/document_detail/2878547.html)
|
|
43757
|
+
|
|
43670
43758
|
@param request: ModifyRCInstanceChargeTypeRequest
|
|
43671
43759
|
@param runtime: runtime options for this request RuntimeOptions
|
|
43672
43760
|
@return: ModifyRCInstanceChargeTypeResponse
|
|
@@ -43729,6 +43817,16 @@ class Client(OpenApiClient):
|
|
|
43729
43817
|
"""
|
|
43730
43818
|
@summary Modifies the billing method of an RDS Custom instance or cloud disks. You can call this operation to change the billing method of instances between pay-as-you-go and subscription.
|
|
43731
43819
|
|
|
43820
|
+
@description ### [](#)Precautions
|
|
43821
|
+
Before you call this operation, make sure that you are familiar with the subscription and pay-as-you-go billing methods and pricing of RDS Custom.
|
|
43822
|
+
The instances must be in the **Running** or **Stopped** state, and you have no overdue payments for the instances.
|
|
43823
|
+
The disk is in the **In_use** state and the billing method of the disk has not been changed within the previous 15 minutes.
|
|
43824
|
+
After you change the billing method, the payment is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled.
|
|
43825
|
+
### [](#)Considerations
|
|
43826
|
+
For more information, see the following documentation:
|
|
43827
|
+
[Change the billing method of an instance](https://help.aliyun.com/document_detail/2878542.html)
|
|
43828
|
+
[Change the billing method of a disk](https://help.aliyun.com/document_detail/2878547.html)
|
|
43829
|
+
|
|
43732
43830
|
@param request: ModifyRCInstanceChargeTypeRequest
|
|
43733
43831
|
@return: ModifyRCInstanceChargeTypeResponse
|
|
43734
43832
|
"""
|
|
@@ -43742,6 +43840,16 @@ class Client(OpenApiClient):
|
|
|
43742
43840
|
"""
|
|
43743
43841
|
@summary Modifies the billing method of an RDS Custom instance or cloud disks. You can call this operation to change the billing method of instances between pay-as-you-go and subscription.
|
|
43744
43842
|
|
|
43843
|
+
@description ### [](#)Precautions
|
|
43844
|
+
Before you call this operation, make sure that you are familiar with the subscription and pay-as-you-go billing methods and pricing of RDS Custom.
|
|
43845
|
+
The instances must be in the **Running** or **Stopped** state, and you have no overdue payments for the instances.
|
|
43846
|
+
The disk is in the **In_use** state and the billing method of the disk has not been changed within the previous 15 minutes.
|
|
43847
|
+
After you change the billing method, the payment is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled.
|
|
43848
|
+
### [](#)Considerations
|
|
43849
|
+
For more information, see the following documentation:
|
|
43850
|
+
[Change the billing method of an instance](https://help.aliyun.com/document_detail/2878542.html)
|
|
43851
|
+
[Change the billing method of a disk](https://help.aliyun.com/document_detail/2878547.html)
|
|
43852
|
+
|
|
43745
43853
|
@param request: ModifyRCInstanceChargeTypeRequest
|
|
43746
43854
|
@return: ModifyRCInstanceChargeTypeResponse
|
|
43747
43855
|
"""
|
|
@@ -49472,6 +49580,8 @@ class Client(OpenApiClient):
|
|
|
49472
49580
|
query['AutoPay'] = request.auto_pay
|
|
49473
49581
|
if not UtilClient.is_unset(request.auto_renew):
|
|
49474
49582
|
query['AutoRenew'] = request.auto_renew
|
|
49583
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
49584
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
49475
49585
|
if not UtilClient.is_unset(request.client_token):
|
|
49476
49586
|
query['ClientToken'] = request.client_token
|
|
49477
49587
|
if not UtilClient.is_unset(request.create_ack_edge_param_shrink):
|
|
@@ -49512,6 +49622,8 @@ class Client(OpenApiClient):
|
|
|
49512
49622
|
query['Period'] = request.period
|
|
49513
49623
|
if not UtilClient.is_unset(request.period_unit):
|
|
49514
49624
|
query['PeriodUnit'] = request.period_unit
|
|
49625
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
49626
|
+
query['PromotionCode'] = request.promotion_code
|
|
49515
49627
|
if not UtilClient.is_unset(request.region_id):
|
|
49516
49628
|
query['RegionId'] = request.region_id
|
|
49517
49629
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -49587,6 +49699,8 @@ class Client(OpenApiClient):
|
|
|
49587
49699
|
query['AutoPay'] = request.auto_pay
|
|
49588
49700
|
if not UtilClient.is_unset(request.auto_renew):
|
|
49589
49701
|
query['AutoRenew'] = request.auto_renew
|
|
49702
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
49703
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
49590
49704
|
if not UtilClient.is_unset(request.client_token):
|
|
49591
49705
|
query['ClientToken'] = request.client_token
|
|
49592
49706
|
if not UtilClient.is_unset(request.create_ack_edge_param_shrink):
|
|
@@ -49627,6 +49741,8 @@ class Client(OpenApiClient):
|
|
|
49627
49741
|
query['Period'] = request.period
|
|
49628
49742
|
if not UtilClient.is_unset(request.period_unit):
|
|
49629
49743
|
query['PeriodUnit'] = request.period_unit
|
|
49744
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
49745
|
+
query['PromotionCode'] = request.promotion_code
|
|
49630
49746
|
if not UtilClient.is_unset(request.region_id):
|
|
49631
49747
|
query['RegionId'] = request.region_id
|
|
49632
49748
|
if not UtilClient.is_unset(request.resource_group_id):
|