alibabacloud-rds20140815 11.0.0__py3-none-any.whl → 11.1.1__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 +440 -36
- alibabacloud_rds20140815/models.py +1037 -349
- {alibabacloud_rds20140815-11.0.0.dist-info → alibabacloud_rds20140815-11.1.1.dist-info}/METADATA +1 -1
- alibabacloud_rds20140815-11.1.1.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-11.0.0.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-11.0.0.dist-info → alibabacloud_rds20140815-11.1.1.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-11.0.0.dist-info → alibabacloud_rds20140815-11.1.1.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-11.0.0.dist-info → alibabacloud_rds20140815-11.1.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '11.
|
|
1
|
+
__version__ = '11.1.1'
|
|
@@ -8818,10 +8818,12 @@ class Client(OpenApiClient):
|
|
|
8818
8818
|
runtime: util_models.RuntimeOptions,
|
|
8819
8819
|
) -> rds_20140815_models.CreateReplicationLinkResponse:
|
|
8820
8820
|
"""
|
|
8821
|
-
@summary Creates a
|
|
8821
|
+
@summary Creates a data synchronization task for a disaster recovery (DR) ApsaraDB RDS instance.
|
|
8822
8822
|
|
|
8823
|
-
@description ### [](#)Supported database
|
|
8823
|
+
@description ### [](#)Supported database engines
|
|
8824
8824
|
PostgreSQL
|
|
8825
|
+
SQL Server
|
|
8826
|
+
> The parameters vary based on database engines.
|
|
8825
8827
|
|
|
8826
8828
|
@param request: CreateReplicationLinkRequest
|
|
8827
8829
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -8884,10 +8886,12 @@ class Client(OpenApiClient):
|
|
|
8884
8886
|
runtime: util_models.RuntimeOptions,
|
|
8885
8887
|
) -> rds_20140815_models.CreateReplicationLinkResponse:
|
|
8886
8888
|
"""
|
|
8887
|
-
@summary Creates a
|
|
8889
|
+
@summary Creates a data synchronization task for a disaster recovery (DR) ApsaraDB RDS instance.
|
|
8888
8890
|
|
|
8889
|
-
@description ### [](#)Supported database
|
|
8891
|
+
@description ### [](#)Supported database engines
|
|
8890
8892
|
PostgreSQL
|
|
8893
|
+
SQL Server
|
|
8894
|
+
> The parameters vary based on database engines.
|
|
8891
8895
|
|
|
8892
8896
|
@param request: CreateReplicationLinkRequest
|
|
8893
8897
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -8949,10 +8953,12 @@ class Client(OpenApiClient):
|
|
|
8949
8953
|
request: rds_20140815_models.CreateReplicationLinkRequest,
|
|
8950
8954
|
) -> rds_20140815_models.CreateReplicationLinkResponse:
|
|
8951
8955
|
"""
|
|
8952
|
-
@summary Creates a
|
|
8956
|
+
@summary Creates a data synchronization task for a disaster recovery (DR) ApsaraDB RDS instance.
|
|
8953
8957
|
|
|
8954
|
-
@description ### [](#)Supported database
|
|
8958
|
+
@description ### [](#)Supported database engines
|
|
8955
8959
|
PostgreSQL
|
|
8960
|
+
SQL Server
|
|
8961
|
+
> The parameters vary based on database engines.
|
|
8956
8962
|
|
|
8957
8963
|
@param request: CreateReplicationLinkRequest
|
|
8958
8964
|
@return: CreateReplicationLinkResponse
|
|
@@ -8965,10 +8971,12 @@ class Client(OpenApiClient):
|
|
|
8965
8971
|
request: rds_20140815_models.CreateReplicationLinkRequest,
|
|
8966
8972
|
) -> rds_20140815_models.CreateReplicationLinkResponse:
|
|
8967
8973
|
"""
|
|
8968
|
-
@summary Creates a
|
|
8974
|
+
@summary Creates a data synchronization task for a disaster recovery (DR) ApsaraDB RDS instance.
|
|
8969
8975
|
|
|
8970
|
-
@description ### [](#)Supported database
|
|
8976
|
+
@description ### [](#)Supported database engines
|
|
8971
8977
|
PostgreSQL
|
|
8978
|
+
SQL Server
|
|
8979
|
+
> The parameters vary based on database engines.
|
|
8972
8980
|
|
|
8973
8981
|
@param request: CreateReplicationLinkRequest
|
|
8974
8982
|
@return: CreateReplicationLinkResponse
|
|
@@ -12826,10 +12834,11 @@ class Client(OpenApiClient):
|
|
|
12826
12834
|
runtime: util_models.RuntimeOptions,
|
|
12827
12835
|
) -> rds_20140815_models.DeleteReplicationLinkResponse:
|
|
12828
12836
|
"""
|
|
12829
|
-
@summary Deletes the data synchronization link
|
|
12837
|
+
@summary Deletes the data synchronization link for a disaster recovery (DR) ApsaraDB RDS instance and promotes the DR instance to the primary instance.
|
|
12830
12838
|
|
|
12831
|
-
@description ### [](#)Supported database
|
|
12839
|
+
@description ### [](#)Supported database engines
|
|
12832
12840
|
PostgreSQL
|
|
12841
|
+
SQL Server
|
|
12833
12842
|
|
|
12834
12843
|
@param request: DeleteReplicationLinkRequest
|
|
12835
12844
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12874,10 +12883,11 @@ class Client(OpenApiClient):
|
|
|
12874
12883
|
runtime: util_models.RuntimeOptions,
|
|
12875
12884
|
) -> rds_20140815_models.DeleteReplicationLinkResponse:
|
|
12876
12885
|
"""
|
|
12877
|
-
@summary Deletes the data synchronization link
|
|
12886
|
+
@summary Deletes the data synchronization link for a disaster recovery (DR) ApsaraDB RDS instance and promotes the DR instance to the primary instance.
|
|
12878
12887
|
|
|
12879
|
-
@description ### [](#)Supported database
|
|
12888
|
+
@description ### [](#)Supported database engines
|
|
12880
12889
|
PostgreSQL
|
|
12890
|
+
SQL Server
|
|
12881
12891
|
|
|
12882
12892
|
@param request: DeleteReplicationLinkRequest
|
|
12883
12893
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12921,10 +12931,11 @@ class Client(OpenApiClient):
|
|
|
12921
12931
|
request: rds_20140815_models.DeleteReplicationLinkRequest,
|
|
12922
12932
|
) -> rds_20140815_models.DeleteReplicationLinkResponse:
|
|
12923
12933
|
"""
|
|
12924
|
-
@summary Deletes the data synchronization link
|
|
12934
|
+
@summary Deletes the data synchronization link for a disaster recovery (DR) ApsaraDB RDS instance and promotes the DR instance to the primary instance.
|
|
12925
12935
|
|
|
12926
|
-
@description ### [](#)Supported database
|
|
12936
|
+
@description ### [](#)Supported database engines
|
|
12927
12937
|
PostgreSQL
|
|
12938
|
+
SQL Server
|
|
12928
12939
|
|
|
12929
12940
|
@param request: DeleteReplicationLinkRequest
|
|
12930
12941
|
@return: DeleteReplicationLinkResponse
|
|
@@ -12937,10 +12948,11 @@ class Client(OpenApiClient):
|
|
|
12937
12948
|
request: rds_20140815_models.DeleteReplicationLinkRequest,
|
|
12938
12949
|
) -> rds_20140815_models.DeleteReplicationLinkResponse:
|
|
12939
12950
|
"""
|
|
12940
|
-
@summary Deletes the data synchronization link
|
|
12951
|
+
@summary Deletes the data synchronization link for a disaster recovery (DR) ApsaraDB RDS instance and promotes the DR instance to the primary instance.
|
|
12941
12952
|
|
|
12942
|
-
@description ### [](#)Supported database
|
|
12953
|
+
@description ### [](#)Supported database engines
|
|
12943
12954
|
PostgreSQL
|
|
12955
|
+
SQL Server
|
|
12944
12956
|
|
|
12945
12957
|
@param request: DeleteReplicationLinkRequest
|
|
12946
12958
|
@return: DeleteReplicationLinkResponse
|
|
@@ -29492,6 +29504,242 @@ class Client(OpenApiClient):
|
|
|
29492
29504
|
runtime = util_models.RuntimeOptions()
|
|
29493
29505
|
return await self.describe_rcinstance_attribute_with_options_async(request, runtime)
|
|
29494
29506
|
|
|
29507
|
+
def describe_rcinstance_type_families_with_options(
|
|
29508
|
+
self,
|
|
29509
|
+
request: rds_20140815_models.DescribeRCInstanceTypeFamiliesRequest,
|
|
29510
|
+
runtime: util_models.RuntimeOptions,
|
|
29511
|
+
) -> rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse:
|
|
29512
|
+
"""
|
|
29513
|
+
@summary Queries the instance families of RDS Custom instances.
|
|
29514
|
+
|
|
29515
|
+
@param request: DescribeRCInstanceTypeFamiliesRequest
|
|
29516
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
29517
|
+
@return: DescribeRCInstanceTypeFamiliesResponse
|
|
29518
|
+
"""
|
|
29519
|
+
UtilClient.validate_model(request)
|
|
29520
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
29521
|
+
req = open_api_models.OpenApiRequest(
|
|
29522
|
+
query=OpenApiUtilClient.query(query)
|
|
29523
|
+
)
|
|
29524
|
+
params = open_api_models.Params(
|
|
29525
|
+
action='DescribeRCInstanceTypeFamilies',
|
|
29526
|
+
version='2014-08-15',
|
|
29527
|
+
protocol='HTTPS',
|
|
29528
|
+
pathname='/',
|
|
29529
|
+
method='GET',
|
|
29530
|
+
auth_type='AK',
|
|
29531
|
+
style='RPC',
|
|
29532
|
+
req_body_type='formData',
|
|
29533
|
+
body_type='json'
|
|
29534
|
+
)
|
|
29535
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
29536
|
+
return TeaCore.from_map(
|
|
29537
|
+
rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse(),
|
|
29538
|
+
self.call_api(params, req, runtime)
|
|
29539
|
+
)
|
|
29540
|
+
else:
|
|
29541
|
+
return TeaCore.from_map(
|
|
29542
|
+
rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse(),
|
|
29543
|
+
self.execute(params, req, runtime)
|
|
29544
|
+
)
|
|
29545
|
+
|
|
29546
|
+
async def describe_rcinstance_type_families_with_options_async(
|
|
29547
|
+
self,
|
|
29548
|
+
request: rds_20140815_models.DescribeRCInstanceTypeFamiliesRequest,
|
|
29549
|
+
runtime: util_models.RuntimeOptions,
|
|
29550
|
+
) -> rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse:
|
|
29551
|
+
"""
|
|
29552
|
+
@summary Queries the instance families of RDS Custom instances.
|
|
29553
|
+
|
|
29554
|
+
@param request: DescribeRCInstanceTypeFamiliesRequest
|
|
29555
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
29556
|
+
@return: DescribeRCInstanceTypeFamiliesResponse
|
|
29557
|
+
"""
|
|
29558
|
+
UtilClient.validate_model(request)
|
|
29559
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
29560
|
+
req = open_api_models.OpenApiRequest(
|
|
29561
|
+
query=OpenApiUtilClient.query(query)
|
|
29562
|
+
)
|
|
29563
|
+
params = open_api_models.Params(
|
|
29564
|
+
action='DescribeRCInstanceTypeFamilies',
|
|
29565
|
+
version='2014-08-15',
|
|
29566
|
+
protocol='HTTPS',
|
|
29567
|
+
pathname='/',
|
|
29568
|
+
method='GET',
|
|
29569
|
+
auth_type='AK',
|
|
29570
|
+
style='RPC',
|
|
29571
|
+
req_body_type='formData',
|
|
29572
|
+
body_type='json'
|
|
29573
|
+
)
|
|
29574
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
29575
|
+
return TeaCore.from_map(
|
|
29576
|
+
rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse(),
|
|
29577
|
+
await self.call_api_async(params, req, runtime)
|
|
29578
|
+
)
|
|
29579
|
+
else:
|
|
29580
|
+
return TeaCore.from_map(
|
|
29581
|
+
rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse(),
|
|
29582
|
+
await self.execute_async(params, req, runtime)
|
|
29583
|
+
)
|
|
29584
|
+
|
|
29585
|
+
def describe_rcinstance_type_families(
|
|
29586
|
+
self,
|
|
29587
|
+
request: rds_20140815_models.DescribeRCInstanceTypeFamiliesRequest,
|
|
29588
|
+
) -> rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse:
|
|
29589
|
+
"""
|
|
29590
|
+
@summary Queries the instance families of RDS Custom instances.
|
|
29591
|
+
|
|
29592
|
+
@param request: DescribeRCInstanceTypeFamiliesRequest
|
|
29593
|
+
@return: DescribeRCInstanceTypeFamiliesResponse
|
|
29594
|
+
"""
|
|
29595
|
+
runtime = util_models.RuntimeOptions()
|
|
29596
|
+
return self.describe_rcinstance_type_families_with_options(request, runtime)
|
|
29597
|
+
|
|
29598
|
+
async def describe_rcinstance_type_families_async(
|
|
29599
|
+
self,
|
|
29600
|
+
request: rds_20140815_models.DescribeRCInstanceTypeFamiliesRequest,
|
|
29601
|
+
) -> rds_20140815_models.DescribeRCInstanceTypeFamiliesResponse:
|
|
29602
|
+
"""
|
|
29603
|
+
@summary Queries the instance families of RDS Custom instances.
|
|
29604
|
+
|
|
29605
|
+
@param request: DescribeRCInstanceTypeFamiliesRequest
|
|
29606
|
+
@return: DescribeRCInstanceTypeFamiliesResponse
|
|
29607
|
+
"""
|
|
29608
|
+
runtime = util_models.RuntimeOptions()
|
|
29609
|
+
return await self.describe_rcinstance_type_families_with_options_async(request, runtime)
|
|
29610
|
+
|
|
29611
|
+
def describe_rcinstance_types_with_options(
|
|
29612
|
+
self,
|
|
29613
|
+
tmp_req: rds_20140815_models.DescribeRCInstanceTypesRequest,
|
|
29614
|
+
runtime: util_models.RuntimeOptions,
|
|
29615
|
+
) -> rds_20140815_models.DescribeRCInstanceTypesResponse:
|
|
29616
|
+
"""
|
|
29617
|
+
@summary 查询RDS Custom规格信息
|
|
29618
|
+
|
|
29619
|
+
@param tmp_req: DescribeRCInstanceTypesRequest
|
|
29620
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
29621
|
+
@return: DescribeRCInstanceTypesResponse
|
|
29622
|
+
"""
|
|
29623
|
+
UtilClient.validate_model(tmp_req)
|
|
29624
|
+
request = rds_20140815_models.DescribeRCInstanceTypesShrinkRequest()
|
|
29625
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
29626
|
+
if not UtilClient.is_unset(tmp_req.instance_type):
|
|
29627
|
+
request.instance_type_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_type, 'InstanceType', 'simple')
|
|
29628
|
+
query = {}
|
|
29629
|
+
if not UtilClient.is_unset(request.commodity_code):
|
|
29630
|
+
query['CommodityCode'] = request.commodity_code
|
|
29631
|
+
if not UtilClient.is_unset(request.engine):
|
|
29632
|
+
query['Engine'] = request.engine
|
|
29633
|
+
if not UtilClient.is_unset(request.instance_type_shrink):
|
|
29634
|
+
query['InstanceType'] = request.instance_type_shrink
|
|
29635
|
+
if not UtilClient.is_unset(request.instance_type_family):
|
|
29636
|
+
query['InstanceTypeFamily'] = request.instance_type_family
|
|
29637
|
+
if not UtilClient.is_unset(request.region_id):
|
|
29638
|
+
query['RegionId'] = request.region_id
|
|
29639
|
+
req = open_api_models.OpenApiRequest(
|
|
29640
|
+
query=OpenApiUtilClient.query(query)
|
|
29641
|
+
)
|
|
29642
|
+
params = open_api_models.Params(
|
|
29643
|
+
action='DescribeRCInstanceTypes',
|
|
29644
|
+
version='2014-08-15',
|
|
29645
|
+
protocol='HTTPS',
|
|
29646
|
+
pathname='/',
|
|
29647
|
+
method='POST',
|
|
29648
|
+
auth_type='AK',
|
|
29649
|
+
style='RPC',
|
|
29650
|
+
req_body_type='formData',
|
|
29651
|
+
body_type='json'
|
|
29652
|
+
)
|
|
29653
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
29654
|
+
return TeaCore.from_map(
|
|
29655
|
+
rds_20140815_models.DescribeRCInstanceTypesResponse(),
|
|
29656
|
+
self.call_api(params, req, runtime)
|
|
29657
|
+
)
|
|
29658
|
+
else:
|
|
29659
|
+
return TeaCore.from_map(
|
|
29660
|
+
rds_20140815_models.DescribeRCInstanceTypesResponse(),
|
|
29661
|
+
self.execute(params, req, runtime)
|
|
29662
|
+
)
|
|
29663
|
+
|
|
29664
|
+
async def describe_rcinstance_types_with_options_async(
|
|
29665
|
+
self,
|
|
29666
|
+
tmp_req: rds_20140815_models.DescribeRCInstanceTypesRequest,
|
|
29667
|
+
runtime: util_models.RuntimeOptions,
|
|
29668
|
+
) -> rds_20140815_models.DescribeRCInstanceTypesResponse:
|
|
29669
|
+
"""
|
|
29670
|
+
@summary 查询RDS Custom规格信息
|
|
29671
|
+
|
|
29672
|
+
@param tmp_req: DescribeRCInstanceTypesRequest
|
|
29673
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
29674
|
+
@return: DescribeRCInstanceTypesResponse
|
|
29675
|
+
"""
|
|
29676
|
+
UtilClient.validate_model(tmp_req)
|
|
29677
|
+
request = rds_20140815_models.DescribeRCInstanceTypesShrinkRequest()
|
|
29678
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
29679
|
+
if not UtilClient.is_unset(tmp_req.instance_type):
|
|
29680
|
+
request.instance_type_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_type, 'InstanceType', 'simple')
|
|
29681
|
+
query = {}
|
|
29682
|
+
if not UtilClient.is_unset(request.commodity_code):
|
|
29683
|
+
query['CommodityCode'] = request.commodity_code
|
|
29684
|
+
if not UtilClient.is_unset(request.engine):
|
|
29685
|
+
query['Engine'] = request.engine
|
|
29686
|
+
if not UtilClient.is_unset(request.instance_type_shrink):
|
|
29687
|
+
query['InstanceType'] = request.instance_type_shrink
|
|
29688
|
+
if not UtilClient.is_unset(request.instance_type_family):
|
|
29689
|
+
query['InstanceTypeFamily'] = request.instance_type_family
|
|
29690
|
+
if not UtilClient.is_unset(request.region_id):
|
|
29691
|
+
query['RegionId'] = request.region_id
|
|
29692
|
+
req = open_api_models.OpenApiRequest(
|
|
29693
|
+
query=OpenApiUtilClient.query(query)
|
|
29694
|
+
)
|
|
29695
|
+
params = open_api_models.Params(
|
|
29696
|
+
action='DescribeRCInstanceTypes',
|
|
29697
|
+
version='2014-08-15',
|
|
29698
|
+
protocol='HTTPS',
|
|
29699
|
+
pathname='/',
|
|
29700
|
+
method='POST',
|
|
29701
|
+
auth_type='AK',
|
|
29702
|
+
style='RPC',
|
|
29703
|
+
req_body_type='formData',
|
|
29704
|
+
body_type='json'
|
|
29705
|
+
)
|
|
29706
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
29707
|
+
return TeaCore.from_map(
|
|
29708
|
+
rds_20140815_models.DescribeRCInstanceTypesResponse(),
|
|
29709
|
+
await self.call_api_async(params, req, runtime)
|
|
29710
|
+
)
|
|
29711
|
+
else:
|
|
29712
|
+
return TeaCore.from_map(
|
|
29713
|
+
rds_20140815_models.DescribeRCInstanceTypesResponse(),
|
|
29714
|
+
await self.execute_async(params, req, runtime)
|
|
29715
|
+
)
|
|
29716
|
+
|
|
29717
|
+
def describe_rcinstance_types(
|
|
29718
|
+
self,
|
|
29719
|
+
request: rds_20140815_models.DescribeRCInstanceTypesRequest,
|
|
29720
|
+
) -> rds_20140815_models.DescribeRCInstanceTypesResponse:
|
|
29721
|
+
"""
|
|
29722
|
+
@summary 查询RDS Custom规格信息
|
|
29723
|
+
|
|
29724
|
+
@param request: DescribeRCInstanceTypesRequest
|
|
29725
|
+
@return: DescribeRCInstanceTypesResponse
|
|
29726
|
+
"""
|
|
29727
|
+
runtime = util_models.RuntimeOptions()
|
|
29728
|
+
return self.describe_rcinstance_types_with_options(request, runtime)
|
|
29729
|
+
|
|
29730
|
+
async def describe_rcinstance_types_async(
|
|
29731
|
+
self,
|
|
29732
|
+
request: rds_20140815_models.DescribeRCInstanceTypesRequest,
|
|
29733
|
+
) -> rds_20140815_models.DescribeRCInstanceTypesResponse:
|
|
29734
|
+
"""
|
|
29735
|
+
@summary 查询RDS Custom规格信息
|
|
29736
|
+
|
|
29737
|
+
@param request: DescribeRCInstanceTypesRequest
|
|
29738
|
+
@return: DescribeRCInstanceTypesResponse
|
|
29739
|
+
"""
|
|
29740
|
+
runtime = util_models.RuntimeOptions()
|
|
29741
|
+
return await self.describe_rcinstance_types_with_options_async(request, runtime)
|
|
29742
|
+
|
|
29495
29743
|
def describe_rcinstance_vnc_url_with_options(
|
|
29496
29744
|
self,
|
|
29497
29745
|
request: rds_20140815_models.DescribeRCInstanceVncUrlRequest,
|
|
@@ -42212,13 +42460,14 @@ class Client(OpenApiClient):
|
|
|
42212
42460
|
"""
|
|
42213
42461
|
@summary Changes the instance type and storage capacity of an ApsaraDB RDS instance.
|
|
42214
42462
|
|
|
42215
|
-
@description ### Supported database engines
|
|
42463
|
+
@description ### [](#)Supported database engines
|
|
42216
42464
|
MySQL
|
|
42217
42465
|
PostgreSQL
|
|
42218
42466
|
SQL Server
|
|
42219
42467
|
MariaDB
|
|
42220
|
-
###
|
|
42221
|
-
|
|
42468
|
+
### [](#)Billing details
|
|
42469
|
+
[Fees for specification changes](https://help.aliyun.com/document_detail/57178.html) are generated if the call is successful. Before you call this operation, carefully read the following topics.
|
|
42470
|
+
### [](#)References
|
|
42222
42471
|
[Change the specifications of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/96061.html)
|
|
42223
42472
|
[Change the specifications of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/96750.html)
|
|
42224
42473
|
[Change the specifications of an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/95665.html)
|
|
@@ -42331,13 +42580,14 @@ class Client(OpenApiClient):
|
|
|
42331
42580
|
"""
|
|
42332
42581
|
@summary Changes the instance type and storage capacity of an ApsaraDB RDS instance.
|
|
42333
42582
|
|
|
42334
|
-
@description ### Supported database engines
|
|
42583
|
+
@description ### [](#)Supported database engines
|
|
42335
42584
|
MySQL
|
|
42336
42585
|
PostgreSQL
|
|
42337
42586
|
SQL Server
|
|
42338
42587
|
MariaDB
|
|
42339
|
-
###
|
|
42340
|
-
|
|
42588
|
+
### [](#)Billing details
|
|
42589
|
+
[Fees for specification changes](https://help.aliyun.com/document_detail/57178.html) are generated if the call is successful. Before you call this operation, carefully read the following topics.
|
|
42590
|
+
### [](#)References
|
|
42341
42591
|
[Change the specifications of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/96061.html)
|
|
42342
42592
|
[Change the specifications of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/96750.html)
|
|
42343
42593
|
[Change the specifications of an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/95665.html)
|
|
@@ -42449,13 +42699,14 @@ class Client(OpenApiClient):
|
|
|
42449
42699
|
"""
|
|
42450
42700
|
@summary Changes the instance type and storage capacity of an ApsaraDB RDS instance.
|
|
42451
42701
|
|
|
42452
|
-
@description ### Supported database engines
|
|
42702
|
+
@description ### [](#)Supported database engines
|
|
42453
42703
|
MySQL
|
|
42454
42704
|
PostgreSQL
|
|
42455
42705
|
SQL Server
|
|
42456
42706
|
MariaDB
|
|
42457
|
-
###
|
|
42458
|
-
|
|
42707
|
+
### [](#)Billing details
|
|
42708
|
+
[Fees for specification changes](https://help.aliyun.com/document_detail/57178.html) are generated if the call is successful. Before you call this operation, carefully read the following topics.
|
|
42709
|
+
### [](#)References
|
|
42459
42710
|
[Change the specifications of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/96061.html)
|
|
42460
42711
|
[Change the specifications of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/96750.html)
|
|
42461
42712
|
[Change the specifications of an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/95665.html)
|
|
@@ -42474,13 +42725,14 @@ class Client(OpenApiClient):
|
|
|
42474
42725
|
"""
|
|
42475
42726
|
@summary Changes the instance type and storage capacity of an ApsaraDB RDS instance.
|
|
42476
42727
|
|
|
42477
|
-
@description ### Supported database engines
|
|
42728
|
+
@description ### [](#)Supported database engines
|
|
42478
42729
|
MySQL
|
|
42479
42730
|
PostgreSQL
|
|
42480
42731
|
SQL Server
|
|
42481
42732
|
MariaDB
|
|
42482
|
-
###
|
|
42483
|
-
|
|
42733
|
+
### [](#)Billing details
|
|
42734
|
+
[Fees for specification changes](https://help.aliyun.com/document_detail/57178.html) are generated if the call is successful. Before you call this operation, carefully read the following topics.
|
|
42735
|
+
### [](#)References
|
|
42484
42736
|
[Change the specifications of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/96061.html)
|
|
42485
42737
|
[Change the specifications of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/96750.html)
|
|
42486
42738
|
[Change the specifications of an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/95665.html)
|
|
@@ -45864,6 +46116,134 @@ class Client(OpenApiClient):
|
|
|
45864
46116
|
runtime = util_models.RuntimeOptions()
|
|
45865
46117
|
return await self.modify_parameter_group_with_options_async(request, runtime)
|
|
45866
46118
|
|
|
46119
|
+
def modify_rcdisk_spec_with_options(
|
|
46120
|
+
self,
|
|
46121
|
+
request: rds_20140815_models.ModifyRCDiskSpecRequest,
|
|
46122
|
+
runtime: util_models.RuntimeOptions,
|
|
46123
|
+
) -> rds_20140815_models.ModifyRCDiskSpecResponse:
|
|
46124
|
+
"""
|
|
46125
|
+
@summary 变更云盘类型或性能级别
|
|
46126
|
+
|
|
46127
|
+
@param request: ModifyRCDiskSpecRequest
|
|
46128
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
46129
|
+
@return: ModifyRCDiskSpecResponse
|
|
46130
|
+
"""
|
|
46131
|
+
UtilClient.validate_model(request)
|
|
46132
|
+
query = {}
|
|
46133
|
+
if not UtilClient.is_unset(request.auto_pay):
|
|
46134
|
+
query['AutoPay'] = request.auto_pay
|
|
46135
|
+
if not UtilClient.is_unset(request.disk_category):
|
|
46136
|
+
query['DiskCategory'] = request.disk_category
|
|
46137
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
46138
|
+
query['DiskId'] = request.disk_id
|
|
46139
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
46140
|
+
query['DryRun'] = request.dry_run
|
|
46141
|
+
if not UtilClient.is_unset(request.performance_level):
|
|
46142
|
+
query['PerformanceLevel'] = request.performance_level
|
|
46143
|
+
if not UtilClient.is_unset(request.region_id):
|
|
46144
|
+
query['RegionId'] = request.region_id
|
|
46145
|
+
req = open_api_models.OpenApiRequest(
|
|
46146
|
+
query=OpenApiUtilClient.query(query)
|
|
46147
|
+
)
|
|
46148
|
+
params = open_api_models.Params(
|
|
46149
|
+
action='ModifyRCDiskSpec',
|
|
46150
|
+
version='2014-08-15',
|
|
46151
|
+
protocol='HTTPS',
|
|
46152
|
+
pathname='/',
|
|
46153
|
+
method='POST',
|
|
46154
|
+
auth_type='AK',
|
|
46155
|
+
style='RPC',
|
|
46156
|
+
req_body_type='formData',
|
|
46157
|
+
body_type='json'
|
|
46158
|
+
)
|
|
46159
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
46160
|
+
return TeaCore.from_map(
|
|
46161
|
+
rds_20140815_models.ModifyRCDiskSpecResponse(),
|
|
46162
|
+
self.call_api(params, req, runtime)
|
|
46163
|
+
)
|
|
46164
|
+
else:
|
|
46165
|
+
return TeaCore.from_map(
|
|
46166
|
+
rds_20140815_models.ModifyRCDiskSpecResponse(),
|
|
46167
|
+
self.execute(params, req, runtime)
|
|
46168
|
+
)
|
|
46169
|
+
|
|
46170
|
+
async def modify_rcdisk_spec_with_options_async(
|
|
46171
|
+
self,
|
|
46172
|
+
request: rds_20140815_models.ModifyRCDiskSpecRequest,
|
|
46173
|
+
runtime: util_models.RuntimeOptions,
|
|
46174
|
+
) -> rds_20140815_models.ModifyRCDiskSpecResponse:
|
|
46175
|
+
"""
|
|
46176
|
+
@summary 变更云盘类型或性能级别
|
|
46177
|
+
|
|
46178
|
+
@param request: ModifyRCDiskSpecRequest
|
|
46179
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
46180
|
+
@return: ModifyRCDiskSpecResponse
|
|
46181
|
+
"""
|
|
46182
|
+
UtilClient.validate_model(request)
|
|
46183
|
+
query = {}
|
|
46184
|
+
if not UtilClient.is_unset(request.auto_pay):
|
|
46185
|
+
query['AutoPay'] = request.auto_pay
|
|
46186
|
+
if not UtilClient.is_unset(request.disk_category):
|
|
46187
|
+
query['DiskCategory'] = request.disk_category
|
|
46188
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
46189
|
+
query['DiskId'] = request.disk_id
|
|
46190
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
46191
|
+
query['DryRun'] = request.dry_run
|
|
46192
|
+
if not UtilClient.is_unset(request.performance_level):
|
|
46193
|
+
query['PerformanceLevel'] = request.performance_level
|
|
46194
|
+
if not UtilClient.is_unset(request.region_id):
|
|
46195
|
+
query['RegionId'] = request.region_id
|
|
46196
|
+
req = open_api_models.OpenApiRequest(
|
|
46197
|
+
query=OpenApiUtilClient.query(query)
|
|
46198
|
+
)
|
|
46199
|
+
params = open_api_models.Params(
|
|
46200
|
+
action='ModifyRCDiskSpec',
|
|
46201
|
+
version='2014-08-15',
|
|
46202
|
+
protocol='HTTPS',
|
|
46203
|
+
pathname='/',
|
|
46204
|
+
method='POST',
|
|
46205
|
+
auth_type='AK',
|
|
46206
|
+
style='RPC',
|
|
46207
|
+
req_body_type='formData',
|
|
46208
|
+
body_type='json'
|
|
46209
|
+
)
|
|
46210
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
46211
|
+
return TeaCore.from_map(
|
|
46212
|
+
rds_20140815_models.ModifyRCDiskSpecResponse(),
|
|
46213
|
+
await self.call_api_async(params, req, runtime)
|
|
46214
|
+
)
|
|
46215
|
+
else:
|
|
46216
|
+
return TeaCore.from_map(
|
|
46217
|
+
rds_20140815_models.ModifyRCDiskSpecResponse(),
|
|
46218
|
+
await self.execute_async(params, req, runtime)
|
|
46219
|
+
)
|
|
46220
|
+
|
|
46221
|
+
def modify_rcdisk_spec(
|
|
46222
|
+
self,
|
|
46223
|
+
request: rds_20140815_models.ModifyRCDiskSpecRequest,
|
|
46224
|
+
) -> rds_20140815_models.ModifyRCDiskSpecResponse:
|
|
46225
|
+
"""
|
|
46226
|
+
@summary 变更云盘类型或性能级别
|
|
46227
|
+
|
|
46228
|
+
@param request: ModifyRCDiskSpecRequest
|
|
46229
|
+
@return: ModifyRCDiskSpecResponse
|
|
46230
|
+
"""
|
|
46231
|
+
runtime = util_models.RuntimeOptions()
|
|
46232
|
+
return self.modify_rcdisk_spec_with_options(request, runtime)
|
|
46233
|
+
|
|
46234
|
+
async def modify_rcdisk_spec_async(
|
|
46235
|
+
self,
|
|
46236
|
+
request: rds_20140815_models.ModifyRCDiskSpecRequest,
|
|
46237
|
+
) -> rds_20140815_models.ModifyRCDiskSpecResponse:
|
|
46238
|
+
"""
|
|
46239
|
+
@summary 变更云盘类型或性能级别
|
|
46240
|
+
|
|
46241
|
+
@param request: ModifyRCDiskSpecRequest
|
|
46242
|
+
@return: ModifyRCDiskSpecResponse
|
|
46243
|
+
"""
|
|
46244
|
+
runtime = util_models.RuntimeOptions()
|
|
46245
|
+
return await self.modify_rcdisk_spec_with_options_async(request, runtime)
|
|
46246
|
+
|
|
45867
46247
|
def modify_rcinstance_with_options(
|
|
45868
46248
|
self,
|
|
45869
46249
|
request: rds_20140815_models.ModifyRCInstanceRequest,
|
|
@@ -49070,7 +49450,10 @@ class Client(OpenApiClient):
|
|
|
49070
49450
|
runtime: util_models.RuntimeOptions,
|
|
49071
49451
|
) -> rds_20140815_models.RebootRCInstancesResponse:
|
|
49072
49452
|
"""
|
|
49073
|
-
@summary
|
|
49453
|
+
@summary Restarts multiple RDS Custom instances at a time.
|
|
49454
|
+
|
|
49455
|
+
@description ### [](#)Supported database engine
|
|
49456
|
+
SQL Server
|
|
49074
49457
|
|
|
49075
49458
|
@param tmp_req: RebootRCInstancesRequest
|
|
49076
49459
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -49121,7 +49504,10 @@ class Client(OpenApiClient):
|
|
|
49121
49504
|
runtime: util_models.RuntimeOptions,
|
|
49122
49505
|
) -> rds_20140815_models.RebootRCInstancesResponse:
|
|
49123
49506
|
"""
|
|
49124
|
-
@summary
|
|
49507
|
+
@summary Restarts multiple RDS Custom instances at a time.
|
|
49508
|
+
|
|
49509
|
+
@description ### [](#)Supported database engine
|
|
49510
|
+
SQL Server
|
|
49125
49511
|
|
|
49126
49512
|
@param tmp_req: RebootRCInstancesRequest
|
|
49127
49513
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -49171,7 +49557,10 @@ class Client(OpenApiClient):
|
|
|
49171
49557
|
request: rds_20140815_models.RebootRCInstancesRequest,
|
|
49172
49558
|
) -> rds_20140815_models.RebootRCInstancesResponse:
|
|
49173
49559
|
"""
|
|
49174
|
-
@summary
|
|
49560
|
+
@summary Restarts multiple RDS Custom instances at a time.
|
|
49561
|
+
|
|
49562
|
+
@description ### [](#)Supported database engine
|
|
49563
|
+
SQL Server
|
|
49175
49564
|
|
|
49176
49565
|
@param request: RebootRCInstancesRequest
|
|
49177
49566
|
@return: RebootRCInstancesResponse
|
|
@@ -49184,7 +49573,10 @@ class Client(OpenApiClient):
|
|
|
49184
49573
|
request: rds_20140815_models.RebootRCInstancesRequest,
|
|
49185
49574
|
) -> rds_20140815_models.RebootRCInstancesResponse:
|
|
49186
49575
|
"""
|
|
49187
|
-
@summary
|
|
49576
|
+
@summary Restarts multiple RDS Custom instances at a time.
|
|
49577
|
+
|
|
49578
|
+
@description ### [](#)Supported database engine
|
|
49579
|
+
SQL Server
|
|
49188
49580
|
|
|
49189
49581
|
@param request: RebootRCInstancesRequest
|
|
49190
49582
|
@return: RebootRCInstancesResponse
|
|
@@ -54142,7 +54534,10 @@ class Client(OpenApiClient):
|
|
|
54142
54534
|
runtime: util_models.RuntimeOptions,
|
|
54143
54535
|
) -> rds_20140815_models.SwitchReplicationLinkResponse:
|
|
54144
54536
|
"""
|
|
54145
|
-
@summary
|
|
54537
|
+
@summary Switches the data synchronization link to synchronize data from a disaster recovery (DR) instance to the primary ApsaraDB RDS for SQL Server instance.
|
|
54538
|
+
|
|
54539
|
+
@description ### [](#)Supported database engine
|
|
54540
|
+
SQL Server
|
|
54146
54541
|
|
|
54147
54542
|
@param request: SwitchReplicationLinkRequest
|
|
54148
54543
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -54189,7 +54584,10 @@ class Client(OpenApiClient):
|
|
|
54189
54584
|
runtime: util_models.RuntimeOptions,
|
|
54190
54585
|
) -> rds_20140815_models.SwitchReplicationLinkResponse:
|
|
54191
54586
|
"""
|
|
54192
|
-
@summary
|
|
54587
|
+
@summary Switches the data synchronization link to synchronize data from a disaster recovery (DR) instance to the primary ApsaraDB RDS for SQL Server instance.
|
|
54588
|
+
|
|
54589
|
+
@description ### [](#)Supported database engine
|
|
54590
|
+
SQL Server
|
|
54193
54591
|
|
|
54194
54592
|
@param request: SwitchReplicationLinkRequest
|
|
54195
54593
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -54235,7 +54633,10 @@ class Client(OpenApiClient):
|
|
|
54235
54633
|
request: rds_20140815_models.SwitchReplicationLinkRequest,
|
|
54236
54634
|
) -> rds_20140815_models.SwitchReplicationLinkResponse:
|
|
54237
54635
|
"""
|
|
54238
|
-
@summary
|
|
54636
|
+
@summary Switches the data synchronization link to synchronize data from a disaster recovery (DR) instance to the primary ApsaraDB RDS for SQL Server instance.
|
|
54637
|
+
|
|
54638
|
+
@description ### [](#)Supported database engine
|
|
54639
|
+
SQL Server
|
|
54239
54640
|
|
|
54240
54641
|
@param request: SwitchReplicationLinkRequest
|
|
54241
54642
|
@return: SwitchReplicationLinkResponse
|
|
@@ -54248,7 +54649,10 @@ class Client(OpenApiClient):
|
|
|
54248
54649
|
request: rds_20140815_models.SwitchReplicationLinkRequest,
|
|
54249
54650
|
) -> rds_20140815_models.SwitchReplicationLinkResponse:
|
|
54250
54651
|
"""
|
|
54251
|
-
@summary
|
|
54652
|
+
@summary Switches the data synchronization link to synchronize data from a disaster recovery (DR) instance to the primary ApsaraDB RDS for SQL Server instance.
|
|
54653
|
+
|
|
54654
|
+
@description ### [](#)Supported database engine
|
|
54655
|
+
SQL Server
|
|
54252
54656
|
|
|
54253
54657
|
@param request: SwitchReplicationLinkRequest
|
|
54254
54658
|
@return: SwitchReplicationLinkResponse
|