alibabacloud-polardb20170801 6.2.0__py3-none-any.whl → 6.2.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_polardb20170801/__init__.py +1 -1
- alibabacloud_polardb20170801/client.py +8 -0
- alibabacloud_polardb20170801/models.py +24 -0
- {alibabacloud_polardb20170801-6.2.0.dist-info → alibabacloud_polardb20170801-6.2.1.dist-info}/METADATA +1 -1
- alibabacloud_polardb20170801-6.2.1.dist-info/RECORD +8 -0
- alibabacloud_polardb20170801-6.2.0.dist-info/RECORD +0 -8
- {alibabacloud_polardb20170801-6.2.0.dist-info → alibabacloud_polardb20170801-6.2.1.dist-info}/LICENSE +0 -0
- {alibabacloud_polardb20170801-6.2.0.dist-info → alibabacloud_polardb20170801-6.2.1.dist-info}/WHEEL +0 -0
- {alibabacloud_polardb20170801-6.2.0.dist-info → alibabacloud_polardb20170801-6.2.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.2.
|
|
1
|
+
__version__ = '6.2.1'
|
|
@@ -7074,6 +7074,8 @@ class Client(OpenApiClient):
|
|
|
7074
7074
|
query = {}
|
|
7075
7075
|
if not UtilClient.is_unset(request.backup_retention_policy_on_cluster_deletion):
|
|
7076
7076
|
query['BackupRetentionPolicyOnClusterDeletion'] = request.backup_retention_policy_on_cluster_deletion
|
|
7077
|
+
if not UtilClient.is_unset(request.cloud_provider):
|
|
7078
|
+
query['CloudProvider'] = request.cloud_provider
|
|
7077
7079
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
7078
7080
|
query['DBClusterId'] = request.dbcluster_id
|
|
7079
7081
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -7119,6 +7121,8 @@ class Client(OpenApiClient):
|
|
|
7119
7121
|
query = {}
|
|
7120
7122
|
if not UtilClient.is_unset(request.backup_retention_policy_on_cluster_deletion):
|
|
7121
7123
|
query['BackupRetentionPolicyOnClusterDeletion'] = request.backup_retention_policy_on_cluster_deletion
|
|
7124
|
+
if not UtilClient.is_unset(request.cloud_provider):
|
|
7125
|
+
query['CloudProvider'] = request.cloud_provider
|
|
7122
7126
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
7123
7127
|
query['DBClusterId'] = request.dbcluster_id
|
|
7124
7128
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -32952,6 +32956,8 @@ class Client(OpenApiClient):
|
|
|
32952
32956
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32953
32957
|
if not UtilClient.is_unset(request.security_token):
|
|
32954
32958
|
query['SecurityToken'] = request.security_token
|
|
32959
|
+
if not UtilClient.is_unset(request.target_dbcluster_id):
|
|
32960
|
+
query['TargetDBClusterId'] = request.target_dbcluster_id
|
|
32955
32961
|
req = open_api_models.OpenApiRequest(
|
|
32956
32962
|
query=OpenApiUtilClient.query(query)
|
|
32957
32963
|
)
|
|
@@ -33003,6 +33009,8 @@ class Client(OpenApiClient):
|
|
|
33003
33009
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
33004
33010
|
if not UtilClient.is_unset(request.security_token):
|
|
33005
33011
|
query['SecurityToken'] = request.security_token
|
|
33012
|
+
if not UtilClient.is_unset(request.target_dbcluster_id):
|
|
33013
|
+
query['TargetDBClusterId'] = request.target_dbcluster_id
|
|
33006
33014
|
req = open_api_models.OpenApiRequest(
|
|
33007
33015
|
query=OpenApiUtilClient.query(query)
|
|
33008
33016
|
)
|
|
@@ -9700,6 +9700,7 @@ class DeleteDBClusterRequest(TeaModel):
|
|
|
9700
9700
|
def __init__(
|
|
9701
9701
|
self,
|
|
9702
9702
|
backup_retention_policy_on_cluster_deletion: str = None,
|
|
9703
|
+
cloud_provider: str = None,
|
|
9703
9704
|
dbcluster_id: str = None,
|
|
9704
9705
|
owner_account: str = None,
|
|
9705
9706
|
owner_id: int = None,
|
|
@@ -9712,6 +9713,7 @@ class DeleteDBClusterRequest(TeaModel):
|
|
|
9712
9713
|
# * **LATEST**: permanently retains the most recent backup set that is automatically created before the cluster is released.
|
|
9713
9714
|
# * **NONE**: does not retain backup sets.
|
|
9714
9715
|
self.backup_retention_policy_on_cluster_deletion = backup_retention_policy_on_cluster_deletion
|
|
9716
|
+
self.cloud_provider = cloud_provider
|
|
9715
9717
|
# The cluster ID.
|
|
9716
9718
|
#
|
|
9717
9719
|
# This parameter is required.
|
|
@@ -9732,6 +9734,8 @@ class DeleteDBClusterRequest(TeaModel):
|
|
|
9732
9734
|
result = dict()
|
|
9733
9735
|
if self.backup_retention_policy_on_cluster_deletion is not None:
|
|
9734
9736
|
result['BackupRetentionPolicyOnClusterDeletion'] = self.backup_retention_policy_on_cluster_deletion
|
|
9737
|
+
if self.cloud_provider is not None:
|
|
9738
|
+
result['CloudProvider'] = self.cloud_provider
|
|
9735
9739
|
if self.dbcluster_id is not None:
|
|
9736
9740
|
result['DBClusterId'] = self.dbcluster_id
|
|
9737
9741
|
if self.owner_account is not None:
|
|
@@ -9748,6 +9752,8 @@ class DeleteDBClusterRequest(TeaModel):
|
|
|
9748
9752
|
m = m or dict()
|
|
9749
9753
|
if m.get('BackupRetentionPolicyOnClusterDeletion') is not None:
|
|
9750
9754
|
self.backup_retention_policy_on_cluster_deletion = m.get('BackupRetentionPolicyOnClusterDeletion')
|
|
9755
|
+
if m.get('CloudProvider') is not None:
|
|
9756
|
+
self.cloud_provider = m.get('CloudProvider')
|
|
9751
9757
|
if m.get('DBClusterId') is not None:
|
|
9752
9758
|
self.dbcluster_id = m.get('DBClusterId')
|
|
9753
9759
|
if m.get('OwnerAccount') is not None:
|
|
@@ -12822,6 +12828,7 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12822
12828
|
lock_mode: str = None,
|
|
12823
12829
|
max_qpm: str = None,
|
|
12824
12830
|
model_name: str = None,
|
|
12831
|
+
model_type: str = None,
|
|
12825
12832
|
pay_type: str = None,
|
|
12826
12833
|
public_ip: str = None,
|
|
12827
12834
|
region_id: str = None,
|
|
@@ -12851,6 +12858,7 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12851
12858
|
self.lock_mode = lock_mode
|
|
12852
12859
|
self.max_qpm = max_qpm
|
|
12853
12860
|
self.model_name = model_name
|
|
12861
|
+
self.model_type = model_type
|
|
12854
12862
|
self.pay_type = pay_type
|
|
12855
12863
|
self.public_ip = public_ip
|
|
12856
12864
|
self.region_id = region_id
|
|
@@ -12922,6 +12930,8 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12922
12930
|
result['MaxQPM'] = self.max_qpm
|
|
12923
12931
|
if self.model_name is not None:
|
|
12924
12932
|
result['ModelName'] = self.model_name
|
|
12933
|
+
if self.model_type is not None:
|
|
12934
|
+
result['ModelType'] = self.model_type
|
|
12925
12935
|
if self.pay_type is not None:
|
|
12926
12936
|
result['PayType'] = self.pay_type
|
|
12927
12937
|
if self.public_ip is not None:
|
|
@@ -12990,6 +13000,8 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12990
13000
|
self.max_qpm = m.get('MaxQPM')
|
|
12991
13001
|
if m.get('ModelName') is not None:
|
|
12992
13002
|
self.model_name = m.get('ModelName')
|
|
13003
|
+
if m.get('ModelType') is not None:
|
|
13004
|
+
self.model_type = m.get('ModelType')
|
|
12993
13005
|
if m.get('PayType') is not None:
|
|
12994
13006
|
self.pay_type = m.get('PayType')
|
|
12995
13007
|
if m.get('PublicIp') is not None:
|
|
@@ -13547,6 +13559,7 @@ class DescribeAIDBClustersResponseBodyItemsDBCluster(TeaModel):
|
|
|
13547
13559
|
expired: bool = None,
|
|
13548
13560
|
kube_cluster_id: str = None,
|
|
13549
13561
|
lock_mode: str = None,
|
|
13562
|
+
model_type: str = None,
|
|
13550
13563
|
pay_type: str = None,
|
|
13551
13564
|
region_id: str = None,
|
|
13552
13565
|
relative_dbcluster_id: str = None,
|
|
@@ -13569,6 +13582,7 @@ class DescribeAIDBClustersResponseBodyItemsDBCluster(TeaModel):
|
|
|
13569
13582
|
self.expired = expired
|
|
13570
13583
|
self.kube_cluster_id = kube_cluster_id
|
|
13571
13584
|
self.lock_mode = lock_mode
|
|
13585
|
+
self.model_type = model_type
|
|
13572
13586
|
self.pay_type = pay_type
|
|
13573
13587
|
self.region_id = region_id
|
|
13574
13588
|
self.relative_dbcluster_id = relative_dbcluster_id
|
|
@@ -13612,6 +13626,8 @@ class DescribeAIDBClustersResponseBodyItemsDBCluster(TeaModel):
|
|
|
13612
13626
|
result['KubeClusterId'] = self.kube_cluster_id
|
|
13613
13627
|
if self.lock_mode is not None:
|
|
13614
13628
|
result['LockMode'] = self.lock_mode
|
|
13629
|
+
if self.model_type is not None:
|
|
13630
|
+
result['ModelType'] = self.model_type
|
|
13615
13631
|
if self.pay_type is not None:
|
|
13616
13632
|
result['PayType'] = self.pay_type
|
|
13617
13633
|
if self.region_id is not None:
|
|
@@ -13658,6 +13674,8 @@ class DescribeAIDBClustersResponseBodyItemsDBCluster(TeaModel):
|
|
|
13658
13674
|
self.kube_cluster_id = m.get('KubeClusterId')
|
|
13659
13675
|
if m.get('LockMode') is not None:
|
|
13660
13676
|
self.lock_mode = m.get('LockMode')
|
|
13677
|
+
if m.get('ModelType') is not None:
|
|
13678
|
+
self.model_type = m.get('ModelType')
|
|
13661
13679
|
if m.get('PayType') is not None:
|
|
13662
13680
|
self.pay_type = m.get('PayType')
|
|
13663
13681
|
if m.get('RegionId') is not None:
|
|
@@ -60752,6 +60770,7 @@ class RemoveDBClusterFromGDNRequest(TeaModel):
|
|
|
60752
60770
|
resource_owner_account: str = None,
|
|
60753
60771
|
resource_owner_id: int = None,
|
|
60754
60772
|
security_token: str = None,
|
|
60773
|
+
target_dbcluster_id: str = None,
|
|
60755
60774
|
):
|
|
60756
60775
|
# The ID of the cluster in the GDN.
|
|
60757
60776
|
#
|
|
@@ -60769,6 +60788,7 @@ class RemoveDBClusterFromGDNRequest(TeaModel):
|
|
|
60769
60788
|
self.resource_owner_account = resource_owner_account
|
|
60770
60789
|
self.resource_owner_id = resource_owner_id
|
|
60771
60790
|
self.security_token = security_token
|
|
60791
|
+
self.target_dbcluster_id = target_dbcluster_id
|
|
60772
60792
|
|
|
60773
60793
|
def validate(self):
|
|
60774
60794
|
pass
|
|
@@ -60795,6 +60815,8 @@ class RemoveDBClusterFromGDNRequest(TeaModel):
|
|
|
60795
60815
|
result['ResourceOwnerId'] = self.resource_owner_id
|
|
60796
60816
|
if self.security_token is not None:
|
|
60797
60817
|
result['SecurityToken'] = self.security_token
|
|
60818
|
+
if self.target_dbcluster_id is not None:
|
|
60819
|
+
result['TargetDBClusterId'] = self.target_dbcluster_id
|
|
60798
60820
|
return result
|
|
60799
60821
|
|
|
60800
60822
|
def from_map(self, m: dict = None):
|
|
@@ -60815,6 +60837,8 @@ class RemoveDBClusterFromGDNRequest(TeaModel):
|
|
|
60815
60837
|
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
60816
60838
|
if m.get('SecurityToken') is not None:
|
|
60817
60839
|
self.security_token = m.get('SecurityToken')
|
|
60840
|
+
if m.get('TargetDBClusterId') is not None:
|
|
60841
|
+
self.target_dbcluster_id = m.get('TargetDBClusterId')
|
|
60818
60842
|
return self
|
|
60819
60843
|
|
|
60820
60844
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_polardb20170801/__init__.py,sha256=OkqqKz5alqdKN4GlBPq9nu8WXCkFK8oAe18Qi5KmIFw,21
|
|
2
|
+
alibabacloud_polardb20170801/client.py,sha256=qBvt0x1Fv66oJRYI9Jhzb2NRyGExKYKNRPNTutrKcJ0,1577275
|
|
3
|
+
alibabacloud_polardb20170801/models.py,sha256=zccAkGhTGVpYOXXrcxrcOYWewxlNrYo-yjnFnsArcLE,2373041
|
|
4
|
+
alibabacloud_polardb20170801-6.2.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_polardb20170801-6.2.1.dist-info/METADATA,sha256=g55DrxUle1tfqkhJRXy2Fvz0No5ue6OP-XTDKrusILI,2353
|
|
6
|
+
alibabacloud_polardb20170801-6.2.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_polardb20170801-6.2.1.dist-info/top_level.txt,sha256=p7IsMztEzFGUKapMvBUvPuZ0usUOM4d9QfpzT_xtDG4,29
|
|
8
|
+
alibabacloud_polardb20170801-6.2.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_polardb20170801/__init__.py,sha256=nqS6NRLF0lnaIIE2szLLj8gI7btjdkg6ZUwAHZNEdKI,21
|
|
2
|
-
alibabacloud_polardb20170801/client.py,sha256=jEcgn9YDN0EhkHRLeromzDVL0TTrZajUoxzikC1OqkQ,1576767
|
|
3
|
-
alibabacloud_polardb20170801/models.py,sha256=CesQbKyB9JIKI7CWJhKHBpDfSrMMVLuDLdLBAKcDYGY,2371923
|
|
4
|
-
alibabacloud_polardb20170801-6.2.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_polardb20170801-6.2.0.dist-info/METADATA,sha256=qFTU4tUH7QuOweKa612162kBJhx6RKeQyldkShvG_00,2353
|
|
6
|
-
alibabacloud_polardb20170801-6.2.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_polardb20170801-6.2.0.dist-info/top_level.txt,sha256=p7IsMztEzFGUKapMvBUvPuZ0usUOM4d9QfpzT_xtDG4,29
|
|
8
|
-
alibabacloud_polardb20170801-6.2.0.dist-info/RECORD,,
|
|
File without changes
|
{alibabacloud_polardb20170801-6.2.0.dist-info → alibabacloud_polardb20170801-6.2.1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|