alibabacloud-rds20140815 8.0.0__py3-none-any.whl → 8.0.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 +16 -4
- alibabacloud_rds20140815/models.py +90 -36
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/METADATA +1 -1
- alibabacloud_rds20140815-8.0.1.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-8.0.0.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '8.0.
|
|
1
|
+
__version__ = '8.0.1'
|
|
@@ -26208,6 +26208,8 @@ class Client(OpenApiClient):
|
|
|
26208
26208
|
query = {}
|
|
26209
26209
|
if not UtilClient.is_unset(request.region_id):
|
|
26210
26210
|
query['RegionId'] = request.region_id
|
|
26211
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26212
|
+
query['VpcId'] = request.vpc_id
|
|
26211
26213
|
req = open_api_models.OpenApiRequest(
|
|
26212
26214
|
query=OpenApiUtilClient.query(query)
|
|
26213
26215
|
)
|
|
@@ -26243,6 +26245,8 @@ class Client(OpenApiClient):
|
|
|
26243
26245
|
query = {}
|
|
26244
26246
|
if not UtilClient.is_unset(request.region_id):
|
|
26245
26247
|
query['RegionId'] = request.region_id
|
|
26248
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26249
|
+
query['VpcId'] = request.vpc_id
|
|
26246
26250
|
req = open_api_models.OpenApiRequest(
|
|
26247
26251
|
query=OpenApiUtilClient.query(query)
|
|
26248
26252
|
)
|
|
@@ -38662,6 +38666,8 @@ class Client(OpenApiClient):
|
|
|
38662
38666
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
38663
38667
|
if not UtilClient.is_unset(request.db_endpoint_aliases):
|
|
38664
38668
|
query['DbEndpointAliases'] = request.db_endpoint_aliases
|
|
38669
|
+
if not UtilClient.is_unset(request.db_endpoint_min_slave_count):
|
|
38670
|
+
query['DbEndpointMinSlaveCount'] = request.db_endpoint_min_slave_count
|
|
38665
38671
|
if not UtilClient.is_unset(request.db_endpoint_operator):
|
|
38666
38672
|
query['DbEndpointOperator'] = request.db_endpoint_operator
|
|
38667
38673
|
if not UtilClient.is_unset(request.db_endpoint_read_write_mode):
|
|
@@ -38741,6 +38747,8 @@ class Client(OpenApiClient):
|
|
|
38741
38747
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
38742
38748
|
if not UtilClient.is_unset(request.db_endpoint_aliases):
|
|
38743
38749
|
query['DbEndpointAliases'] = request.db_endpoint_aliases
|
|
38750
|
+
if not UtilClient.is_unset(request.db_endpoint_min_slave_count):
|
|
38751
|
+
query['DbEndpointMinSlaveCount'] = request.db_endpoint_min_slave_count
|
|
38744
38752
|
if not UtilClient.is_unset(request.db_endpoint_operator):
|
|
38745
38753
|
query['DbEndpointOperator'] = request.db_endpoint_operator
|
|
38746
38754
|
if not UtilClient.is_unset(request.db_endpoint_read_write_mode):
|
|
@@ -41578,7 +41586,7 @@ class Client(OpenApiClient):
|
|
|
41578
41586
|
runtime: util_models.RuntimeOptions,
|
|
41579
41587
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41580
41588
|
"""
|
|
41581
|
-
@summary
|
|
41589
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41582
41590
|
|
|
41583
41591
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41584
41592
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -41617,7 +41625,7 @@ class Client(OpenApiClient):
|
|
|
41617
41625
|
runtime: util_models.RuntimeOptions,
|
|
41618
41626
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41619
41627
|
"""
|
|
41620
|
-
@summary
|
|
41628
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41621
41629
|
|
|
41622
41630
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41623
41631
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -41655,7 +41663,7 @@ class Client(OpenApiClient):
|
|
|
41655
41663
|
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41656
41664
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41657
41665
|
"""
|
|
41658
|
-
@summary
|
|
41666
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41659
41667
|
|
|
41660
41668
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41661
41669
|
@return: ModifyRCInstanceDescriptionResponse
|
|
@@ -41668,7 +41676,7 @@ class Client(OpenApiClient):
|
|
|
41668
41676
|
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41669
41677
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41670
41678
|
"""
|
|
41671
|
-
@summary
|
|
41679
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41672
41680
|
|
|
41673
41681
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41674
41682
|
@return: ModifyRCInstanceDescriptionResponse
|
|
@@ -46694,6 +46702,8 @@ class Client(OpenApiClient):
|
|
|
46694
46702
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
46695
46703
|
if not UtilClient.is_unset(request.security_group_id):
|
|
46696
46704
|
query['SecurityGroupId'] = request.security_group_id
|
|
46705
|
+
if not UtilClient.is_unset(request.spot_strategy):
|
|
46706
|
+
query['SpotStrategy'] = request.spot_strategy
|
|
46697
46707
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
46698
46708
|
query['SystemDisk'] = request.system_disk_shrink
|
|
46699
46709
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -46795,6 +46805,8 @@ class Client(OpenApiClient):
|
|
|
46795
46805
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
46796
46806
|
if not UtilClient.is_unset(request.security_group_id):
|
|
46797
46807
|
query['SecurityGroupId'] = request.security_group_id
|
|
46808
|
+
if not UtilClient.is_unset(request.spot_strategy):
|
|
46809
|
+
query['SpotStrategy'] = request.spot_strategy
|
|
46798
46810
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
46799
46811
|
query['SystemDisk'] = request.system_disk_shrink
|
|
46800
46812
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -749,6 +749,7 @@ class AttachRCDiskRequest(TeaModel):
|
|
|
749
749
|
instance_id: str = None,
|
|
750
750
|
region_id: str = None,
|
|
751
751
|
):
|
|
752
|
+
# The reserved parameter. This parameter is not supported.
|
|
752
753
|
self.delete_with_instance = delete_with_instance
|
|
753
754
|
# This parameter is required.
|
|
754
755
|
self.disk_id = disk_id
|
|
@@ -4825,11 +4826,8 @@ class CreateDBInstanceRequestServerlessConfig(TeaModel):
|
|
|
4825
4826
|
# * **true**\
|
|
4826
4827
|
# * **false** (default)
|
|
4827
4828
|
#
|
|
4828
|
-
# >
|
|
4829
|
-
#
|
|
4830
|
-
# * This parameter is required only for serverless instances that run MySQL and PostgreSQL. If you set this parameter to true, a service interruption that lasts approximately 30 to 120 seconds occurs during forced scaling. Process with caution.
|
|
4831
|
-
#
|
|
4832
|
-
# * The RCU scaling for a serverless instance immediately takes effect. In some cases, such as the execution of large transactions, the scaling does not immediately take effect. In this case, you can enable this feature to forcefully scale the RCUs of the instance.
|
|
4829
|
+
# > * This parameter is required only for serverless instances that run MySQL and PostgreSQL. If you set this parameter to true, a service interruption that lasts approximately 30 to 120 seconds occurs during forced scaling. Process with caution.
|
|
4830
|
+
# > * The RCU scaling for a serverless instance immediately takes effect. In some cases, such as the execution of large transactions, the scaling does not immediately take effect. In this case, you can enable this feature to forcefully scale the RCUs of the instance.
|
|
4833
4831
|
self.switch_force = switch_force
|
|
4834
4832
|
|
|
4835
4833
|
def validate(self):
|
|
@@ -5200,13 +5198,9 @@ class CreateDBInstanceRequest(TeaModel):
|
|
|
5200
5198
|
# * **VPC**: a virtual private cloud (VPC)
|
|
5201
5199
|
# * **Classic**: the classic network
|
|
5202
5200
|
#
|
|
5203
|
-
# >
|
|
5204
|
-
#
|
|
5205
|
-
# * If the instance runs
|
|
5206
|
-
#
|
|
5207
|
-
# * If the instance runs PostgreSQL or MariaDB, you must set this parameter to **VPC**.
|
|
5208
|
-
#
|
|
5209
|
-
# * If the instance runs SQL Server Basic or SQL Server Web, you can set this parameter to VPC or Classic. If the instance runs other database engine, you must set this parameter to **VPC**.
|
|
5201
|
+
# > * If the instance runs MySQL and uses cloud disks, you must set this parameter to **VPC**.
|
|
5202
|
+
# > * If the instance runs PostgreSQL or MariaDB, you must set this parameter to **VPC**.
|
|
5203
|
+
# > * If the instance runs SQL Server Basic or SQL Server Web, you can set this parameter to VPC or Classic. If the instance runs other database engine, you must set this parameter to **VPC**.
|
|
5210
5204
|
self.instance_network_type = instance_network_type
|
|
5211
5205
|
# Specifies whether to enable the I/O acceleration feature of general ESSDs. Valid values:
|
|
5212
5206
|
#
|
|
@@ -5968,13 +5962,9 @@ class CreateDBInstanceShrinkRequest(TeaModel):
|
|
|
5968
5962
|
# * **VPC**: a virtual private cloud (VPC)
|
|
5969
5963
|
# * **Classic**: the classic network
|
|
5970
5964
|
#
|
|
5971
|
-
# >
|
|
5972
|
-
#
|
|
5973
|
-
# * If the instance runs
|
|
5974
|
-
#
|
|
5975
|
-
# * If the instance runs PostgreSQL or MariaDB, you must set this parameter to **VPC**.
|
|
5976
|
-
#
|
|
5977
|
-
# * If the instance runs SQL Server Basic or SQL Server Web, you can set this parameter to VPC or Classic. If the instance runs other database engine, you must set this parameter to **VPC**.
|
|
5965
|
+
# > * If the instance runs MySQL and uses cloud disks, you must set this parameter to **VPC**.
|
|
5966
|
+
# > * If the instance runs PostgreSQL or MariaDB, you must set this parameter to **VPC**.
|
|
5967
|
+
# > * If the instance runs SQL Server Basic or SQL Server Web, you can set this parameter to VPC or Classic. If the instance runs other database engine, you must set this parameter to **VPC**.
|
|
5978
5968
|
self.instance_network_type = instance_network_type
|
|
5979
5969
|
# Specifies whether to enable the I/O acceleration feature of general ESSDs. Valid values:
|
|
5980
5970
|
#
|
|
@@ -11539,7 +11529,7 @@ class CreateRCSnapshotRequest(TeaModel):
|
|
|
11539
11529
|
#
|
|
11540
11530
|
# By default, this parameter is left empty, which specifies that the snapshot is not automatically released.
|
|
11541
11531
|
self.retention_days = retention_days
|
|
11542
|
-
#
|
|
11532
|
+
# This parameter has been deprecated.
|
|
11543
11533
|
self.zone_id = zone_id
|
|
11544
11534
|
|
|
11545
11535
|
def validate(self):
|
|
@@ -35656,6 +35646,7 @@ class DescribeDBProxyEndpointResponseBody(TeaModel):
|
|
|
35656
35646
|
dbproxy_connect_string_net_type: str = None,
|
|
35657
35647
|
dbproxy_connect_string_port: str = None,
|
|
35658
35648
|
dbproxy_endpoint_id: str = None,
|
|
35649
|
+
dbproxy_endpoint_min_slave_count: str = None,
|
|
35659
35650
|
dbproxy_engine_type: str = None,
|
|
35660
35651
|
dbproxy_features: str = None,
|
|
35661
35652
|
dbproxy_nodes: DescribeDBProxyEndpointResponseBodyDBProxyNodes = None,
|
|
@@ -35680,6 +35671,8 @@ class DescribeDBProxyEndpointResponseBody(TeaModel):
|
|
|
35680
35671
|
self.dbproxy_connect_string_port = dbproxy_connect_string_port
|
|
35681
35672
|
# The ID of the proxy endpoint.
|
|
35682
35673
|
self.dbproxy_endpoint_id = dbproxy_endpoint_id
|
|
35674
|
+
# The minimum number of reserved instances.
|
|
35675
|
+
self.dbproxy_endpoint_min_slave_count = dbproxy_endpoint_min_slave_count
|
|
35683
35676
|
# An internal parameter. You can ignore this parameter.
|
|
35684
35677
|
self.dbproxy_engine_type = dbproxy_engine_type
|
|
35685
35678
|
# The configuration of the proxy terminal. The value of this parameter is a JSON string that consists of the following parameters:
|
|
@@ -35745,6 +35738,8 @@ class DescribeDBProxyEndpointResponseBody(TeaModel):
|
|
|
35745
35738
|
result['DBProxyConnectStringPort'] = self.dbproxy_connect_string_port
|
|
35746
35739
|
if self.dbproxy_endpoint_id is not None:
|
|
35747
35740
|
result['DBProxyEndpointId'] = self.dbproxy_endpoint_id
|
|
35741
|
+
if self.dbproxy_endpoint_min_slave_count is not None:
|
|
35742
|
+
result['DBProxyEndpointMinSlaveCount'] = self.dbproxy_endpoint_min_slave_count
|
|
35748
35743
|
if self.dbproxy_engine_type is not None:
|
|
35749
35744
|
result['DBProxyEngineType'] = self.dbproxy_engine_type
|
|
35750
35745
|
if self.dbproxy_features is not None:
|
|
@@ -35781,6 +35776,8 @@ class DescribeDBProxyEndpointResponseBody(TeaModel):
|
|
|
35781
35776
|
self.dbproxy_connect_string_port = m.get('DBProxyConnectStringPort')
|
|
35782
35777
|
if m.get('DBProxyEndpointId') is not None:
|
|
35783
35778
|
self.dbproxy_endpoint_id = m.get('DBProxyEndpointId')
|
|
35779
|
+
if m.get('DBProxyEndpointMinSlaveCount') is not None:
|
|
35780
|
+
self.dbproxy_endpoint_min_slave_count = m.get('DBProxyEndpointMinSlaveCount')
|
|
35784
35781
|
if m.get('DBProxyEngineType') is not None:
|
|
35785
35782
|
self.dbproxy_engine_type = m.get('DBProxyEngineType')
|
|
35786
35783
|
if m.get('DBProxyFeatures') is not None:
|
|
@@ -49613,9 +49610,11 @@ class DescribeRCClustersRequest(TeaModel):
|
|
|
49613
49610
|
def __init__(
|
|
49614
49611
|
self,
|
|
49615
49612
|
region_id: str = None,
|
|
49613
|
+
vpc_id: str = None,
|
|
49616
49614
|
):
|
|
49617
49615
|
# The region ID.
|
|
49618
49616
|
self.region_id = region_id
|
|
49617
|
+
self.vpc_id = vpc_id
|
|
49619
49618
|
|
|
49620
49619
|
def validate(self):
|
|
49621
49620
|
pass
|
|
@@ -49628,22 +49627,29 @@ class DescribeRCClustersRequest(TeaModel):
|
|
|
49628
49627
|
result = dict()
|
|
49629
49628
|
if self.region_id is not None:
|
|
49630
49629
|
result['RegionId'] = self.region_id
|
|
49630
|
+
if self.vpc_id is not None:
|
|
49631
|
+
result['VpcId'] = self.vpc_id
|
|
49631
49632
|
return result
|
|
49632
49633
|
|
|
49633
49634
|
def from_map(self, m: dict = None):
|
|
49634
49635
|
m = m or dict()
|
|
49635
49636
|
if m.get('RegionId') is not None:
|
|
49636
49637
|
self.region_id = m.get('RegionId')
|
|
49638
|
+
if m.get('VpcId') is not None:
|
|
49639
|
+
self.vpc_id = m.get('VpcId')
|
|
49637
49640
|
return self
|
|
49638
49641
|
|
|
49639
49642
|
|
|
49640
49643
|
class DescribeRCClustersResponseBodyClusters(TeaModel):
|
|
49641
49644
|
def __init__(
|
|
49642
49645
|
self,
|
|
49646
|
+
cluster_id: str = None,
|
|
49643
49647
|
cluster_name: str = None,
|
|
49644
49648
|
create_time: str = None,
|
|
49645
49649
|
status: str = None,
|
|
49650
|
+
vpc_id: str = None,
|
|
49646
49651
|
):
|
|
49652
|
+
self.cluster_id = cluster_id
|
|
49647
49653
|
# The cluster name.
|
|
49648
49654
|
self.cluster_name = cluster_name
|
|
49649
49655
|
# The time when the cluster was created.
|
|
@@ -49656,6 +49662,7 @@ class DescribeRCClustersResponseBodyClusters(TeaModel):
|
|
|
49656
49662
|
# * **Stopping**\
|
|
49657
49663
|
# * **Stopped**\
|
|
49658
49664
|
self.status = status
|
|
49665
|
+
self.vpc_id = vpc_id
|
|
49659
49666
|
|
|
49660
49667
|
def validate(self):
|
|
49661
49668
|
pass
|
|
@@ -49666,22 +49673,30 @@ class DescribeRCClustersResponseBodyClusters(TeaModel):
|
|
|
49666
49673
|
return _map
|
|
49667
49674
|
|
|
49668
49675
|
result = dict()
|
|
49676
|
+
if self.cluster_id is not None:
|
|
49677
|
+
result['ClusterId'] = self.cluster_id
|
|
49669
49678
|
if self.cluster_name is not None:
|
|
49670
49679
|
result['ClusterName'] = self.cluster_name
|
|
49671
49680
|
if self.create_time is not None:
|
|
49672
49681
|
result['CreateTime'] = self.create_time
|
|
49673
49682
|
if self.status is not None:
|
|
49674
49683
|
result['Status'] = self.status
|
|
49684
|
+
if self.vpc_id is not None:
|
|
49685
|
+
result['VpcId'] = self.vpc_id
|
|
49675
49686
|
return result
|
|
49676
49687
|
|
|
49677
49688
|
def from_map(self, m: dict = None):
|
|
49678
49689
|
m = m or dict()
|
|
49690
|
+
if m.get('ClusterId') is not None:
|
|
49691
|
+
self.cluster_id = m.get('ClusterId')
|
|
49679
49692
|
if m.get('ClusterName') is not None:
|
|
49680
49693
|
self.cluster_name = m.get('ClusterName')
|
|
49681
49694
|
if m.get('CreateTime') is not None:
|
|
49682
49695
|
self.create_time = m.get('CreateTime')
|
|
49683
49696
|
if m.get('Status') is not None:
|
|
49684
49697
|
self.status = m.get('Status')
|
|
49698
|
+
if m.get('VpcId') is not None:
|
|
49699
|
+
self.vpc_id = m.get('VpcId')
|
|
49685
49700
|
return self
|
|
49686
49701
|
|
|
49687
49702
|
|
|
@@ -51511,6 +51526,7 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
51511
51526
|
resource_group_id: str = None,
|
|
51512
51527
|
security_group_ids: DescribeRCInstanceAttributeResponseBodySecurityGroupIds = None,
|
|
51513
51528
|
serial_number: str = None,
|
|
51529
|
+
spot_strategy: str = None,
|
|
51514
51530
|
status: str = None,
|
|
51515
51531
|
stopped_mode: str = None,
|
|
51516
51532
|
vlan_id: str = None,
|
|
@@ -51605,6 +51621,7 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
51605
51621
|
self.security_group_ids = security_group_ids
|
|
51606
51622
|
# The serial number of the instance.
|
|
51607
51623
|
self.serial_number = serial_number
|
|
51624
|
+
self.spot_strategy = spot_strategy
|
|
51608
51625
|
# The instance status. Valid values:
|
|
51609
51626
|
#
|
|
51610
51627
|
# * **Pending**\
|
|
@@ -51724,6 +51741,8 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
51724
51741
|
result['SecurityGroupIds'] = self.security_group_ids.to_map()
|
|
51725
51742
|
if self.serial_number is not None:
|
|
51726
51743
|
result['SerialNumber'] = self.serial_number
|
|
51744
|
+
if self.spot_strategy is not None:
|
|
51745
|
+
result['SpotStrategy'] = self.spot_strategy
|
|
51727
51746
|
if self.status is not None:
|
|
51728
51747
|
result['Status'] = self.status
|
|
51729
51748
|
if self.stopped_mode is not None:
|
|
@@ -51817,6 +51836,8 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
51817
51836
|
self.security_group_ids = temp_model.from_map(m['SecurityGroupIds'])
|
|
51818
51837
|
if m.get('SerialNumber') is not None:
|
|
51819
51838
|
self.serial_number = m.get('SerialNumber')
|
|
51839
|
+
if m.get('SpotStrategy') is not None:
|
|
51840
|
+
self.spot_strategy = m.get('SpotStrategy')
|
|
51820
51841
|
if m.get('Status') is not None:
|
|
51821
51842
|
self.status = m.get('Status')
|
|
51822
51843
|
if m.get('StoppedMode') is not None:
|
|
@@ -52123,6 +52144,7 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
52123
52144
|
instance_charge_type: str = None,
|
|
52124
52145
|
instance_id: str = None,
|
|
52125
52146
|
region_id: str = None,
|
|
52147
|
+
spot_strategy: str = None,
|
|
52126
52148
|
status: str = None,
|
|
52127
52149
|
tag_resources: List[DescribeRCInstancesResponseBodyRCInstancesTagResources] = None,
|
|
52128
52150
|
vpc_id: str = None,
|
|
@@ -52146,6 +52168,7 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
52146
52168
|
self.instance_id = instance_id
|
|
52147
52169
|
# The region ID.
|
|
52148
52170
|
self.region_id = region_id
|
|
52171
|
+
self.spot_strategy = spot_strategy
|
|
52149
52172
|
# The instance status. Valid values:
|
|
52150
52173
|
#
|
|
52151
52174
|
# * **Pending**\
|
|
@@ -52193,6 +52216,8 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
52193
52216
|
result['InstanceId'] = self.instance_id
|
|
52194
52217
|
if self.region_id is not None:
|
|
52195
52218
|
result['RegionId'] = self.region_id
|
|
52219
|
+
if self.spot_strategy is not None:
|
|
52220
|
+
result['SpotStrategy'] = self.spot_strategy
|
|
52196
52221
|
if self.status is not None:
|
|
52197
52222
|
result['Status'] = self.status
|
|
52198
52223
|
result['TagResources'] = []
|
|
@@ -52227,6 +52252,8 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
52227
52252
|
self.instance_id = m.get('InstanceId')
|
|
52228
52253
|
if m.get('RegionId') is not None:
|
|
52229
52254
|
self.region_id = m.get('RegionId')
|
|
52255
|
+
if m.get('SpotStrategy') is not None:
|
|
52256
|
+
self.spot_strategy = m.get('SpotStrategy')
|
|
52230
52257
|
if m.get('Status') is not None:
|
|
52231
52258
|
self.status = m.get('Status')
|
|
52232
52259
|
self.tag_resources = []
|
|
@@ -71099,6 +71126,7 @@ class ModifyDBProxyEndpointRequest(TeaModel):
|
|
|
71099
71126
|
dbproxy_endpoint_id: str = None,
|
|
71100
71127
|
dbproxy_engine_type: str = None,
|
|
71101
71128
|
db_endpoint_aliases: str = None,
|
|
71129
|
+
db_endpoint_min_slave_count: str = None,
|
|
71102
71130
|
db_endpoint_operator: str = None,
|
|
71103
71131
|
db_endpoint_read_write_mode: str = None,
|
|
71104
71132
|
db_endpoint_type: str = None,
|
|
@@ -71113,20 +71141,25 @@ class ModifyDBProxyEndpointRequest(TeaModel):
|
|
|
71113
71141
|
resource_owner_id: int = None,
|
|
71114
71142
|
v_switch_id: str = None,
|
|
71115
71143
|
):
|
|
71116
|
-
# The
|
|
71144
|
+
# The capabilities that you want to enable for the proxy endpoint. If you specify more than one capability, separate the capabilities with semicolons (;). Format: `Capability 1:Status;Capability 2:Status;...`. Do not add a semicolon (;) at the end of the value.
|
|
71117
71145
|
#
|
|
71118
|
-
# Valid
|
|
71146
|
+
# Valid capability values:
|
|
71119
71147
|
#
|
|
71120
71148
|
# * **ReadWriteSpliting**: read/write splitting
|
|
71121
71149
|
# * **ConnectionPersist**: connection pooling
|
|
71122
71150
|
# * **TransactionReadSqlRouteOptimizeStatus**: transaction splitting
|
|
71151
|
+
# * **AZProximityAccess**: nearest access
|
|
71123
71152
|
#
|
|
71124
71153
|
# Valid status values:
|
|
71125
71154
|
#
|
|
71126
71155
|
# * **1**: enabled
|
|
71127
71156
|
# * **0**: disabled
|
|
71128
71157
|
#
|
|
71129
|
-
# >
|
|
71158
|
+
# >
|
|
71159
|
+
#
|
|
71160
|
+
# * If the instance runs PostgreSQL, you can enable only read/write splitting, which is specified by **ReadWriteSpliting**.
|
|
71161
|
+
#
|
|
71162
|
+
# * Nearest access is supported only by dedicated database proxies for RDS instances that run MySQL.
|
|
71130
71163
|
self.config_dbproxy_features = config_dbproxy_features
|
|
71131
71164
|
# The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
|
|
71132
71165
|
#
|
|
@@ -71141,6 +71174,7 @@ class ModifyDBProxyEndpointRequest(TeaModel):
|
|
|
71141
71174
|
self.dbproxy_engine_type = dbproxy_engine_type
|
|
71142
71175
|
# The description of the proxy terminal.
|
|
71143
71176
|
self.db_endpoint_aliases = db_endpoint_aliases
|
|
71177
|
+
self.db_endpoint_min_slave_count = db_endpoint_min_slave_count
|
|
71144
71178
|
# The type of operation that you want to perform. Valid values:
|
|
71145
71179
|
#
|
|
71146
71180
|
# * **Modify**: Modify a proxy terminal. This is the default value.
|
|
@@ -71157,27 +71191,25 @@ class ModifyDBProxyEndpointRequest(TeaModel):
|
|
|
71157
71191
|
self.db_endpoint_read_write_mode = db_endpoint_read_write_mode
|
|
71158
71192
|
# The type of the proxy terminal. This is a reserved parameter. You do not need to specify this parameter.
|
|
71159
71193
|
self.db_endpoint_type = db_endpoint_type
|
|
71160
|
-
# The
|
|
71194
|
+
# The point in time that you want to specify. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
|
|
71161
71195
|
#
|
|
71162
|
-
# >
|
|
71196
|
+
# > If **EffectiveTime** is set to **SpecificTime**, you must specify this parameter.
|
|
71163
71197
|
self.effective_specific_time = effective_specific_time
|
|
71164
|
-
#
|
|
71165
|
-
#
|
|
71166
|
-
# - **Immediate**: effective immediately.
|
|
71167
|
-
#
|
|
71168
|
-
# - **MaintainTime**: effective during the operational and maintainable time period, see ModifyDBInstanceMaintainTime.
|
|
71198
|
+
# The effective time. Valid values:
|
|
71169
71199
|
#
|
|
71170
|
-
#
|
|
71200
|
+
# * **Immediate**: The effective time is immediate.
|
|
71201
|
+
# * **MaintainTime**: The effective time is within the maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
71202
|
+
# * **SpecificTime**: The effective time is a specified point in time.
|
|
71171
71203
|
#
|
|
71172
|
-
# Default value: MaintainTime
|
|
71204
|
+
# Default value: **MaintainTime**.
|
|
71173
71205
|
self.effective_time = effective_time
|
|
71174
71206
|
self.owner_id = owner_id
|
|
71175
71207
|
# The policy that is used to allocate read weights. Valid values:
|
|
71176
71208
|
#
|
|
71177
|
-
# * **Standard
|
|
71178
|
-
# * **Custom**: You must manually allocate read weights to the
|
|
71209
|
+
# * **Standard** (default): The system automatically assigns read weights to the primary and read-only instances based on the specifications of these instances.
|
|
71210
|
+
# * **Custom**: You must manually allocate read weights to the primary and read-only instances.
|
|
71179
71211
|
#
|
|
71180
|
-
# >
|
|
71212
|
+
# > You must specify this parameter when read/write splitting is enabled. For more information about the permission allocation policy, see [Modify the latency threshold and read weights of ApsaraDB RDS for MySQL instances](https://help.aliyun.com/document_detail/96076.html) and [Enable and configure the database proxy feature for an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/418272.html).
|
|
71181
71213
|
self.read_only_instance_distribution_type = read_only_instance_distribution_type
|
|
71182
71214
|
# The latency threshold that is allowed for read/write splitting. If the latency on a read-only instance exceeds the threshold that you specified, the system no longer forwards read requests to the read-only instance. Unit: seconds If you do not specify this parameter, the original value of this parameter is retained. Valid values: **0** to **3600**. Default value: **30**.
|
|
71183
71215
|
#
|
|
@@ -71199,7 +71231,7 @@ class ModifyDBProxyEndpointRequest(TeaModel):
|
|
|
71199
71231
|
self.region_id = region_id
|
|
71200
71232
|
self.resource_owner_account = resource_owner_account
|
|
71201
71233
|
self.resource_owner_id = resource_owner_id
|
|
71202
|
-
#
|
|
71234
|
+
# The ID of the vSwitch in the zone in which the proxy endpoint is specified. The default value is the ID of the vSwitch that corresponds to the default terminal of the database proxy. You can call the DescribeVSwitches operation to query existing vSwitches.
|
|
71203
71235
|
self.v_switch_id = v_switch_id
|
|
71204
71236
|
|
|
71205
71237
|
def validate(self):
|
|
@@ -71221,6 +71253,8 @@ class ModifyDBProxyEndpointRequest(TeaModel):
|
|
|
71221
71253
|
result['DBProxyEngineType'] = self.dbproxy_engine_type
|
|
71222
71254
|
if self.db_endpoint_aliases is not None:
|
|
71223
71255
|
result['DbEndpointAliases'] = self.db_endpoint_aliases
|
|
71256
|
+
if self.db_endpoint_min_slave_count is not None:
|
|
71257
|
+
result['DbEndpointMinSlaveCount'] = self.db_endpoint_min_slave_count
|
|
71224
71258
|
if self.db_endpoint_operator is not None:
|
|
71225
71259
|
result['DbEndpointOperator'] = self.db_endpoint_operator
|
|
71226
71260
|
if self.db_endpoint_read_write_mode is not None:
|
|
@@ -71261,6 +71295,8 @@ class ModifyDBProxyEndpointRequest(TeaModel):
|
|
|
71261
71295
|
self.dbproxy_engine_type = m.get('DBProxyEngineType')
|
|
71262
71296
|
if m.get('DbEndpointAliases') is not None:
|
|
71263
71297
|
self.db_endpoint_aliases = m.get('DbEndpointAliases')
|
|
71298
|
+
if m.get('DbEndpointMinSlaveCount') is not None:
|
|
71299
|
+
self.db_endpoint_min_slave_count = m.get('DbEndpointMinSlaveCount')
|
|
71264
71300
|
if m.get('DbEndpointOperator') is not None:
|
|
71265
71301
|
self.db_endpoint_operator = m.get('DbEndpointOperator')
|
|
71266
71302
|
if m.get('DbEndpointReadWriteMode') is not None:
|
|
@@ -74912,8 +74948,13 @@ class ModifyRCInstanceDescriptionRequest(TeaModel):
|
|
|
74912
74948
|
instance_id: str = None,
|
|
74913
74949
|
region_id: str = None,
|
|
74914
74950
|
):
|
|
74951
|
+
# The instance name.
|
|
74952
|
+
#
|
|
74953
|
+
# > The name must be 2 to 255 characters in length and can contain letters, digits, `underscores (_)`, and `hyphens (-)`. It must start with a letter.
|
|
74915
74954
|
self.instance_description = instance_description
|
|
74955
|
+
# The instance ID.
|
|
74916
74956
|
self.instance_id = instance_id
|
|
74957
|
+
# The region ID.
|
|
74917
74958
|
self.region_id = region_id
|
|
74918
74959
|
|
|
74919
74960
|
def validate(self):
|
|
@@ -74949,6 +74990,7 @@ class ModifyRCInstanceDescriptionResponseBody(TeaModel):
|
|
|
74949
74990
|
self,
|
|
74950
74991
|
request_id: str = None,
|
|
74951
74992
|
):
|
|
74993
|
+
# The request ID.
|
|
74952
74994
|
self.request_id = request_id
|
|
74953
74995
|
|
|
74954
74996
|
def validate(self):
|
|
@@ -80894,6 +80936,7 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
80894
80936
|
resource_group_id: str = None,
|
|
80895
80937
|
security_enhancement_strategy: str = None,
|
|
80896
80938
|
security_group_id: str = None,
|
|
80939
|
+
spot_strategy: str = None,
|
|
80897
80940
|
system_disk: RunRCInstancesRequestSystemDisk = None,
|
|
80898
80941
|
tag: List[RunRCInstancesRequestTag] = None,
|
|
80899
80942
|
v_switch_id: str = None,
|
|
@@ -80970,6 +81013,7 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
80970
81013
|
#
|
|
80971
81014
|
# > The network type of the instance is determined by the security group specified by the SecurityGroupId parameter. For example, if the network type of the specified security group is VPC, the instance is a VPC-type instance. In this case, you must specify the VSwitchId parameter.
|
|
80972
81015
|
self.security_group_id = security_group_id
|
|
81016
|
+
self.spot_strategy = spot_strategy
|
|
80973
81017
|
# The specification of the system disk.
|
|
80974
81018
|
self.system_disk = system_disk
|
|
80975
81019
|
self.tag = tag
|
|
@@ -81054,6 +81098,8 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
81054
81098
|
result['SecurityEnhancementStrategy'] = self.security_enhancement_strategy
|
|
81055
81099
|
if self.security_group_id is not None:
|
|
81056
81100
|
result['SecurityGroupId'] = self.security_group_id
|
|
81101
|
+
if self.spot_strategy is not None:
|
|
81102
|
+
result['SpotStrategy'] = self.spot_strategy
|
|
81057
81103
|
if self.system_disk is not None:
|
|
81058
81104
|
result['SystemDisk'] = self.system_disk.to_map()
|
|
81059
81105
|
result['Tag'] = []
|
|
@@ -81121,6 +81167,8 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
81121
81167
|
self.security_enhancement_strategy = m.get('SecurityEnhancementStrategy')
|
|
81122
81168
|
if m.get('SecurityGroupId') is not None:
|
|
81123
81169
|
self.security_group_id = m.get('SecurityGroupId')
|
|
81170
|
+
if m.get('SpotStrategy') is not None:
|
|
81171
|
+
self.spot_strategy = m.get('SpotStrategy')
|
|
81124
81172
|
if m.get('SystemDisk') is not None:
|
|
81125
81173
|
temp_model = RunRCInstancesRequestSystemDisk()
|
|
81126
81174
|
self.system_disk = temp_model.from_map(m['SystemDisk'])
|
|
@@ -81197,6 +81245,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
81197
81245
|
resource_group_id: str = None,
|
|
81198
81246
|
security_enhancement_strategy: str = None,
|
|
81199
81247
|
security_group_id: str = None,
|
|
81248
|
+
spot_strategy: str = None,
|
|
81200
81249
|
system_disk_shrink: str = None,
|
|
81201
81250
|
tag: List[RunRCInstancesShrinkRequestTag] = None,
|
|
81202
81251
|
v_switch_id: str = None,
|
|
@@ -81273,6 +81322,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
81273
81322
|
#
|
|
81274
81323
|
# > The network type of the instance is determined by the security group specified by the SecurityGroupId parameter. For example, if the network type of the specified security group is VPC, the instance is a VPC-type instance. In this case, you must specify the VSwitchId parameter.
|
|
81275
81324
|
self.security_group_id = security_group_id
|
|
81325
|
+
self.spot_strategy = spot_strategy
|
|
81276
81326
|
# The specification of the system disk.
|
|
81277
81327
|
self.system_disk_shrink = system_disk_shrink
|
|
81278
81328
|
self.tag = tag
|
|
@@ -81349,6 +81399,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
81349
81399
|
result['SecurityEnhancementStrategy'] = self.security_enhancement_strategy
|
|
81350
81400
|
if self.security_group_id is not None:
|
|
81351
81401
|
result['SecurityGroupId'] = self.security_group_id
|
|
81402
|
+
if self.spot_strategy is not None:
|
|
81403
|
+
result['SpotStrategy'] = self.spot_strategy
|
|
81352
81404
|
if self.system_disk_shrink is not None:
|
|
81353
81405
|
result['SystemDisk'] = self.system_disk_shrink
|
|
81354
81406
|
result['Tag'] = []
|
|
@@ -81413,6 +81465,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
81413
81465
|
self.security_enhancement_strategy = m.get('SecurityEnhancementStrategy')
|
|
81414
81466
|
if m.get('SecurityGroupId') is not None:
|
|
81415
81467
|
self.security_group_id = m.get('SecurityGroupId')
|
|
81468
|
+
if m.get('SpotStrategy') is not None:
|
|
81469
|
+
self.spot_strategy = m.get('SpotStrategy')
|
|
81416
81470
|
if m.get('SystemDisk') is not None:
|
|
81417
81471
|
self.system_disk_shrink = m.get('SystemDisk')
|
|
81418
81472
|
self.tag = []
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_rds20140815/__init__.py,sha256=lVgAJiFDHCksvEN4Gd6YpT_5Zepyc5bDa95DKkxKykI,21
|
|
2
|
+
alibabacloud_rds20140815/client.py,sha256=csUHG2qf6UVPuigi6Ve6YUkGfgif03Yrmsk8TufLwT8,2355419
|
|
3
|
+
alibabacloud_rds20140815/models.py,sha256=-2SKF5HUEC7J-oSbFqeysQivN4fSOQnEuyNJLk9QBNk,3351162
|
|
4
|
+
alibabacloud_rds20140815-8.0.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_rds20140815-8.0.1.dist-info/METADATA,sha256=mtc3WGT2J9cnV1BetwFW4F76L6946rGUM2JSmqdDkrM,2312
|
|
6
|
+
alibabacloud_rds20140815-8.0.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_rds20140815-8.0.1.dist-info/top_level.txt,sha256=JrnffxBPffQ-kwp8_cVNsbxBsxm7QysAdoFB1xAdY70,25
|
|
8
|
+
alibabacloud_rds20140815-8.0.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_rds20140815/__init__.py,sha256=T3OCSLNrGrzt1D6esSpGOdgu5orNxfRwrYEpXGXAlnE,21
|
|
2
|
-
alibabacloud_rds20140815/client.py,sha256=Yhutlw_3fRGdSuaZ-qCfbe2IRGz_c1-5nzjHnVPU6yA,2354585
|
|
3
|
-
alibabacloud_rds20140815/models.py,sha256=wYsv_YF9HCqB6VoVKeearV06H3BRsByf7-QanBKcvVI,3347910
|
|
4
|
-
alibabacloud_rds20140815-8.0.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_rds20140815-8.0.0.dist-info/METADATA,sha256=vmxZZ2k7b4rEnInvVSj7zd85oi_NldwzeUqseBkR9vI,2312
|
|
6
|
-
alibabacloud_rds20140815-8.0.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_rds20140815-8.0.0.dist-info/top_level.txt,sha256=JrnffxBPffQ-kwp8_cVNsbxBsxm7QysAdoFB1xAdY70,25
|
|
8
|
-
alibabacloud_rds20140815-8.0.0.dist-info/RECORD,,
|
{alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|