alibabacloud-rds20140815 7.3.0__py3-none-any.whl → 7.3.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 +32 -4
- alibabacloud_rds20140815/models.py +175 -2
- {alibabacloud_rds20140815-7.3.0.dist-info → alibabacloud_rds20140815-7.3.1.dist-info}/METADATA +1 -1
- alibabacloud_rds20140815-7.3.1.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-7.3.0.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-7.3.0.dist-info → alibabacloud_rds20140815-7.3.1.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-7.3.0.dist-info → alibabacloud_rds20140815-7.3.1.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-7.3.0.dist-info → alibabacloud_rds20140815-7.3.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '7.3.
|
|
1
|
+
__version__ = '7.3.1'
|
|
@@ -25450,6 +25450,8 @@ class Client(OpenApiClient):
|
|
|
25450
25450
|
query['PageSize'] = request.page_size
|
|
25451
25451
|
if not UtilClient.is_unset(request.region_id):
|
|
25452
25452
|
query['RegionId'] = request.region_id
|
|
25453
|
+
if not UtilClient.is_unset(request.tag):
|
|
25454
|
+
query['Tag'] = request.tag
|
|
25453
25455
|
if not UtilClient.is_unset(request.vpc_id):
|
|
25454
25456
|
query['VpcId'] = request.vpc_id
|
|
25455
25457
|
req = open_api_models.OpenApiRequest(
|
|
@@ -25493,6 +25495,8 @@ class Client(OpenApiClient):
|
|
|
25493
25495
|
query['PageSize'] = request.page_size
|
|
25494
25496
|
if not UtilClient.is_unset(request.region_id):
|
|
25495
25497
|
query['RegionId'] = request.region_id
|
|
25498
|
+
if not UtilClient.is_unset(request.tag):
|
|
25499
|
+
query['Tag'] = request.tag
|
|
25496
25500
|
if not UtilClient.is_unset(request.vpc_id):
|
|
25497
25501
|
query['VpcId'] = request.vpc_id
|
|
25498
25502
|
req = open_api_models.OpenApiRequest(
|
|
@@ -36300,6 +36304,8 @@ class Client(OpenApiClient):
|
|
|
36300
36304
|
query['OwnerId'] = request.owner_id
|
|
36301
36305
|
if not UtilClient.is_unset(request.pay_type):
|
|
36302
36306
|
query['PayType'] = request.pay_type
|
|
36307
|
+
if not UtilClient.is_unset(request.read_only_dbinstance_class):
|
|
36308
|
+
query['ReadOnlyDBInstanceClass'] = request.read_only_dbinstance_class
|
|
36303
36309
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
36304
36310
|
query['ResourceGroupId'] = request.resource_group_id
|
|
36305
36311
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
@@ -36405,6 +36411,8 @@ class Client(OpenApiClient):
|
|
|
36405
36411
|
query['OwnerId'] = request.owner_id
|
|
36406
36412
|
if not UtilClient.is_unset(request.pay_type):
|
|
36407
36413
|
query['PayType'] = request.pay_type
|
|
36414
|
+
if not UtilClient.is_unset(request.read_only_dbinstance_class):
|
|
36415
|
+
query['ReadOnlyDBInstanceClass'] = request.read_only_dbinstance_class
|
|
36408
36416
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
36409
36417
|
query['ResourceGroupId'] = request.resource_group_id
|
|
36410
36418
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
@@ -37919,7 +37927,8 @@ class Client(OpenApiClient):
|
|
|
37919
37927
|
@description ### [](#)Supported database engines
|
|
37920
37928
|
SQL Server
|
|
37921
37929
|
### [](#)References
|
|
37922
|
-
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
37930
|
+
<props="china">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
37931
|
+
<props="intl">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html).
|
|
37923
37932
|
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
37924
37933
|
|
|
37925
37934
|
@param request: ModifyDatabaseConfigRequest
|
|
@@ -37974,7 +37983,8 @@ class Client(OpenApiClient):
|
|
|
37974
37983
|
@description ### [](#)Supported database engines
|
|
37975
37984
|
SQL Server
|
|
37976
37985
|
### [](#)References
|
|
37977
|
-
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
37986
|
+
<props="china">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
37987
|
+
<props="intl">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html).
|
|
37978
37988
|
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
37979
37989
|
|
|
37980
37990
|
@param request: ModifyDatabaseConfigRequest
|
|
@@ -38028,7 +38038,8 @@ class Client(OpenApiClient):
|
|
|
38028
38038
|
@description ### [](#)Supported database engines
|
|
38029
38039
|
SQL Server
|
|
38030
38040
|
### [](#)References
|
|
38031
|
-
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
38041
|
+
<props="china">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
38042
|
+
<props="intl">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html).
|
|
38032
38043
|
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38033
38044
|
|
|
38034
38045
|
@param request: ModifyDatabaseConfigRequest
|
|
@@ -38047,7 +38058,8 @@ class Client(OpenApiClient):
|
|
|
38047
38058
|
@description ### [](#)Supported database engines
|
|
38048
38059
|
SQL Server
|
|
38049
38060
|
### [](#)References
|
|
38050
|
-
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
38061
|
+
<props="china">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
38062
|
+
<props="intl">You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses general Enterprise SSDs (ESSDs) to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html).
|
|
38051
38063
|
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38052
38064
|
|
|
38053
38065
|
@param request: ModifyDatabaseConfigRequest
|
|
@@ -44620,6 +44632,8 @@ class Client(OpenApiClient):
|
|
|
44620
44632
|
query['AutoRenew'] = request.auto_renew
|
|
44621
44633
|
if not UtilClient.is_unset(request.client_token):
|
|
44622
44634
|
query['ClientToken'] = request.client_token
|
|
44635
|
+
if not UtilClient.is_unset(request.create_mode):
|
|
44636
|
+
query['CreateMode'] = request.create_mode
|
|
44623
44637
|
if not UtilClient.is_unset(request.data_disk_shrink):
|
|
44624
44638
|
query['DataDisk'] = request.data_disk_shrink
|
|
44625
44639
|
if not UtilClient.is_unset(request.deployment_set_id):
|
|
@@ -44628,6 +44642,8 @@ class Client(OpenApiClient):
|
|
|
44628
44642
|
query['Description'] = request.description
|
|
44629
44643
|
if not UtilClient.is_unset(request.dry_run):
|
|
44630
44644
|
query['DryRun'] = request.dry_run
|
|
44645
|
+
if not UtilClient.is_unset(request.host_name):
|
|
44646
|
+
query['HostName'] = request.host_name
|
|
44631
44647
|
if not UtilClient.is_unset(request.image_id):
|
|
44632
44648
|
query['ImageId'] = request.image_id
|
|
44633
44649
|
if not UtilClient.is_unset(request.instance_charge_type):
|
|
@@ -44652,12 +44668,16 @@ class Client(OpenApiClient):
|
|
|
44652
44668
|
query['PeriodUnit'] = request.period_unit
|
|
44653
44669
|
if not UtilClient.is_unset(request.region_id):
|
|
44654
44670
|
query['RegionId'] = request.region_id
|
|
44671
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
44672
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
44655
44673
|
if not UtilClient.is_unset(request.security_enhancement_strategy):
|
|
44656
44674
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
44657
44675
|
if not UtilClient.is_unset(request.security_group_id):
|
|
44658
44676
|
query['SecurityGroupId'] = request.security_group_id
|
|
44659
44677
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
44660
44678
|
query['SystemDisk'] = request.system_disk_shrink
|
|
44679
|
+
if not UtilClient.is_unset(request.tag):
|
|
44680
|
+
query['Tag'] = request.tag
|
|
44661
44681
|
if not UtilClient.is_unset(request.v_switch_id):
|
|
44662
44682
|
query['VSwitchId'] = request.v_switch_id
|
|
44663
44683
|
if not UtilClient.is_unset(request.zone_id):
|
|
@@ -44713,6 +44733,8 @@ class Client(OpenApiClient):
|
|
|
44713
44733
|
query['AutoRenew'] = request.auto_renew
|
|
44714
44734
|
if not UtilClient.is_unset(request.client_token):
|
|
44715
44735
|
query['ClientToken'] = request.client_token
|
|
44736
|
+
if not UtilClient.is_unset(request.create_mode):
|
|
44737
|
+
query['CreateMode'] = request.create_mode
|
|
44716
44738
|
if not UtilClient.is_unset(request.data_disk_shrink):
|
|
44717
44739
|
query['DataDisk'] = request.data_disk_shrink
|
|
44718
44740
|
if not UtilClient.is_unset(request.deployment_set_id):
|
|
@@ -44721,6 +44743,8 @@ class Client(OpenApiClient):
|
|
|
44721
44743
|
query['Description'] = request.description
|
|
44722
44744
|
if not UtilClient.is_unset(request.dry_run):
|
|
44723
44745
|
query['DryRun'] = request.dry_run
|
|
44746
|
+
if not UtilClient.is_unset(request.host_name):
|
|
44747
|
+
query['HostName'] = request.host_name
|
|
44724
44748
|
if not UtilClient.is_unset(request.image_id):
|
|
44725
44749
|
query['ImageId'] = request.image_id
|
|
44726
44750
|
if not UtilClient.is_unset(request.instance_charge_type):
|
|
@@ -44745,12 +44769,16 @@ class Client(OpenApiClient):
|
|
|
44745
44769
|
query['PeriodUnit'] = request.period_unit
|
|
44746
44770
|
if not UtilClient.is_unset(request.region_id):
|
|
44747
44771
|
query['RegionId'] = request.region_id
|
|
44772
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
44773
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
44748
44774
|
if not UtilClient.is_unset(request.security_enhancement_strategy):
|
|
44749
44775
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
44750
44776
|
if not UtilClient.is_unset(request.security_group_id):
|
|
44751
44777
|
query['SecurityGroupId'] = request.security_group_id
|
|
44752
44778
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
44753
44779
|
query['SystemDisk'] = request.system_disk_shrink
|
|
44780
|
+
if not UtilClient.is_unset(request.tag):
|
|
44781
|
+
query['Tag'] = request.tag
|
|
44754
44782
|
if not UtilClient.is_unset(request.v_switch_id):
|
|
44755
44783
|
query['VSwitchId'] = request.v_switch_id
|
|
44756
44784
|
if not UtilClient.is_unset(request.zone_id):
|
|
@@ -49184,6 +49184,7 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49184
49184
|
host_type: str = None,
|
|
49185
49185
|
image_id: str = None,
|
|
49186
49186
|
inner_ip_address: DescribeRCInstanceAttributeResponseBodyInnerIpAddress = None,
|
|
49187
|
+
instance_charge_type: str = None,
|
|
49187
49188
|
instance_id: str = None,
|
|
49188
49189
|
instance_name: str = None,
|
|
49189
49190
|
instance_network_type: str = None,
|
|
@@ -49198,6 +49199,7 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49198
49199
|
public_ip_address: DescribeRCInstanceAttributeResponseBodyPublicIpAddress = None,
|
|
49199
49200
|
region_id: str = None,
|
|
49200
49201
|
request_id: str = None,
|
|
49202
|
+
resource_group_id: str = None,
|
|
49201
49203
|
security_group_ids: DescribeRCInstanceAttributeResponseBodySecurityGroupIds = None,
|
|
49202
49204
|
serial_number: str = None,
|
|
49203
49205
|
status: str = None,
|
|
@@ -49248,6 +49250,7 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49248
49250
|
self.image_id = image_id
|
|
49249
49251
|
# The private IP addresses of the instance in the classic network.
|
|
49250
49252
|
self.inner_ip_address = inner_ip_address
|
|
49253
|
+
self.instance_charge_type = instance_charge_type
|
|
49251
49254
|
# The instance ID.
|
|
49252
49255
|
self.instance_id = instance_id
|
|
49253
49256
|
# The instance name.
|
|
@@ -49287,6 +49290,7 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49287
49290
|
self.region_id = region_id
|
|
49288
49291
|
# The request ID.
|
|
49289
49292
|
self.request_id = request_id
|
|
49293
|
+
self.resource_group_id = resource_group_id
|
|
49290
49294
|
# The security groups.
|
|
49291
49295
|
self.security_group_ids = security_group_ids
|
|
49292
49296
|
# The serial number of the instance.
|
|
@@ -49372,6 +49376,8 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49372
49376
|
result['ImageId'] = self.image_id
|
|
49373
49377
|
if self.inner_ip_address is not None:
|
|
49374
49378
|
result['InnerIpAddress'] = self.inner_ip_address.to_map()
|
|
49379
|
+
if self.instance_charge_type is not None:
|
|
49380
|
+
result['InstanceChargeType'] = self.instance_charge_type
|
|
49375
49381
|
if self.instance_id is not None:
|
|
49376
49382
|
result['InstanceId'] = self.instance_id
|
|
49377
49383
|
if self.instance_name is not None:
|
|
@@ -49400,6 +49406,8 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49400
49406
|
result['RegionId'] = self.region_id
|
|
49401
49407
|
if self.request_id is not None:
|
|
49402
49408
|
result['RequestId'] = self.request_id
|
|
49409
|
+
if self.resource_group_id is not None:
|
|
49410
|
+
result['ResourceGroupId'] = self.resource_group_id
|
|
49403
49411
|
if self.security_group_ids is not None:
|
|
49404
49412
|
result['SecurityGroupIds'] = self.security_group_ids.to_map()
|
|
49405
49413
|
if self.serial_number is not None:
|
|
@@ -49456,6 +49464,8 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49456
49464
|
if m.get('InnerIpAddress') is not None:
|
|
49457
49465
|
temp_model = DescribeRCInstanceAttributeResponseBodyInnerIpAddress()
|
|
49458
49466
|
self.inner_ip_address = temp_model.from_map(m['InnerIpAddress'])
|
|
49467
|
+
if m.get('InstanceChargeType') is not None:
|
|
49468
|
+
self.instance_charge_type = m.get('InstanceChargeType')
|
|
49459
49469
|
if m.get('InstanceId') is not None:
|
|
49460
49470
|
self.instance_id = m.get('InstanceId')
|
|
49461
49471
|
if m.get('InstanceName') is not None:
|
|
@@ -49486,6 +49496,8 @@ class DescribeRCInstanceAttributeResponseBody(TeaModel):
|
|
|
49486
49496
|
self.region_id = m.get('RegionId')
|
|
49487
49497
|
if m.get('RequestId') is not None:
|
|
49488
49498
|
self.request_id = m.get('RequestId')
|
|
49499
|
+
if m.get('ResourceGroupId') is not None:
|
|
49500
|
+
self.resource_group_id = m.get('ResourceGroupId')
|
|
49489
49501
|
if m.get('SecurityGroupIds') is not None:
|
|
49490
49502
|
temp_model = DescribeRCInstanceAttributeResponseBodySecurityGroupIds()
|
|
49491
49503
|
self.security_group_ids = temp_model.from_map(m['SecurityGroupIds'])
|
|
@@ -49553,6 +49565,7 @@ class DescribeRCInstancesRequest(TeaModel):
|
|
|
49553
49565
|
page_number: int = None,
|
|
49554
49566
|
page_size: int = None,
|
|
49555
49567
|
region_id: str = None,
|
|
49568
|
+
tag: str = None,
|
|
49556
49569
|
vpc_id: str = None,
|
|
49557
49570
|
):
|
|
49558
49571
|
# The instance ID.
|
|
@@ -49571,6 +49584,7 @@ class DescribeRCInstancesRequest(TeaModel):
|
|
|
49571
49584
|
self.page_size = page_size
|
|
49572
49585
|
# The region ID.
|
|
49573
49586
|
self.region_id = region_id
|
|
49587
|
+
self.tag = tag
|
|
49574
49588
|
# The virtual private cloud (VPC) ID.
|
|
49575
49589
|
self.vpc_id = vpc_id
|
|
49576
49590
|
|
|
@@ -49591,6 +49605,8 @@ class DescribeRCInstancesRequest(TeaModel):
|
|
|
49591
49605
|
result['PageSize'] = self.page_size
|
|
49592
49606
|
if self.region_id is not None:
|
|
49593
49607
|
result['RegionId'] = self.region_id
|
|
49608
|
+
if self.tag is not None:
|
|
49609
|
+
result['Tag'] = self.tag
|
|
49594
49610
|
if self.vpc_id is not None:
|
|
49595
49611
|
result['VpcId'] = self.vpc_id
|
|
49596
49612
|
return result
|
|
@@ -49605,6 +49621,8 @@ class DescribeRCInstancesRequest(TeaModel):
|
|
|
49605
49621
|
self.page_size = m.get('PageSize')
|
|
49606
49622
|
if m.get('RegionId') is not None:
|
|
49607
49623
|
self.region_id = m.get('RegionId')
|
|
49624
|
+
if m.get('Tag') is not None:
|
|
49625
|
+
self.tag = m.get('Tag')
|
|
49608
49626
|
if m.get('VpcId') is not None:
|
|
49609
49627
|
self.vpc_id = m.get('VpcId')
|
|
49610
49628
|
return self
|
|
@@ -49614,11 +49632,13 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
49614
49632
|
def __init__(
|
|
49615
49633
|
self,
|
|
49616
49634
|
cluster_name: str = None,
|
|
49635
|
+
create_mode: str = None,
|
|
49617
49636
|
db_type: str = None,
|
|
49618
49637
|
description: str = None,
|
|
49619
49638
|
gmt_created: str = None,
|
|
49620
49639
|
host_ip: str = None,
|
|
49621
49640
|
host_name: str = None,
|
|
49641
|
+
instance_charge_type: str = None,
|
|
49622
49642
|
instance_id: str = None,
|
|
49623
49643
|
region_id: str = None,
|
|
49624
49644
|
status: str = None,
|
|
@@ -49626,6 +49646,7 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
49626
49646
|
):
|
|
49627
49647
|
# The cluster name.
|
|
49628
49648
|
self.cluster_name = cluster_name
|
|
49649
|
+
self.create_mode = create_mode
|
|
49629
49650
|
# The database type.
|
|
49630
49651
|
self.db_type = db_type
|
|
49631
49652
|
# The instance description.
|
|
@@ -49636,6 +49657,7 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
49636
49657
|
self.host_ip = host_ip
|
|
49637
49658
|
# The host name.
|
|
49638
49659
|
self.host_name = host_name
|
|
49660
|
+
self.instance_charge_type = instance_charge_type
|
|
49639
49661
|
# The instance ID.
|
|
49640
49662
|
self.instance_id = instance_id
|
|
49641
49663
|
# The region ID.
|
|
@@ -49664,6 +49686,8 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
49664
49686
|
result = dict()
|
|
49665
49687
|
if self.cluster_name is not None:
|
|
49666
49688
|
result['ClusterName'] = self.cluster_name
|
|
49689
|
+
if self.create_mode is not None:
|
|
49690
|
+
result['CreateMode'] = self.create_mode
|
|
49667
49691
|
if self.db_type is not None:
|
|
49668
49692
|
result['DbType'] = self.db_type
|
|
49669
49693
|
if self.description is not None:
|
|
@@ -49674,6 +49698,8 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
49674
49698
|
result['HostIp'] = self.host_ip
|
|
49675
49699
|
if self.host_name is not None:
|
|
49676
49700
|
result['HostName'] = self.host_name
|
|
49701
|
+
if self.instance_charge_type is not None:
|
|
49702
|
+
result['InstanceChargeType'] = self.instance_charge_type
|
|
49677
49703
|
if self.instance_id is not None:
|
|
49678
49704
|
result['InstanceId'] = self.instance_id
|
|
49679
49705
|
if self.region_id is not None:
|
|
@@ -49688,6 +49714,8 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
49688
49714
|
m = m or dict()
|
|
49689
49715
|
if m.get('ClusterName') is not None:
|
|
49690
49716
|
self.cluster_name = m.get('ClusterName')
|
|
49717
|
+
if m.get('CreateMode') is not None:
|
|
49718
|
+
self.create_mode = m.get('CreateMode')
|
|
49691
49719
|
if m.get('DbType') is not None:
|
|
49692
49720
|
self.db_type = m.get('DbType')
|
|
49693
49721
|
if m.get('Description') is not None:
|
|
@@ -49698,6 +49726,8 @@ class DescribeRCInstancesResponseBodyRCInstances(TeaModel):
|
|
|
49698
49726
|
self.host_ip = m.get('HostIp')
|
|
49699
49727
|
if m.get('HostName') is not None:
|
|
49700
49728
|
self.host_name = m.get('HostName')
|
|
49729
|
+
if m.get('InstanceChargeType') is not None:
|
|
49730
|
+
self.instance_charge_type = m.get('InstanceChargeType')
|
|
49701
49731
|
if m.get('InstanceId') is not None:
|
|
49702
49732
|
self.instance_id = m.get('InstanceId')
|
|
49703
49733
|
if m.get('RegionId') is not None:
|
|
@@ -49839,7 +49869,7 @@ class DescribeRCMetricListRequest(TeaModel):
|
|
|
49839
49869
|
#
|
|
49840
49870
|
# > The maximum value of the Length parameter in a request is 1440.
|
|
49841
49871
|
self.length = length
|
|
49842
|
-
# The metric that you want to use.
|
|
49872
|
+
# The metric that you want to use. For more information, see [CloudMonitor metrics](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
49843
49873
|
#
|
|
49844
49874
|
# This parameter is required.
|
|
49845
49875
|
self.metric_name = metric_name
|
|
@@ -66316,6 +66346,7 @@ class ModifyDBInstanceSpecRequest(TeaModel):
|
|
|
66316
66346
|
owner_account: str = None,
|
|
66317
66347
|
owner_id: int = None,
|
|
66318
66348
|
pay_type: str = None,
|
|
66349
|
+
read_only_dbinstance_class: str = None,
|
|
66319
66350
|
resource_group_id: str = None,
|
|
66320
66351
|
resource_owner_account: str = None,
|
|
66321
66352
|
resource_owner_id: int = None,
|
|
@@ -66433,6 +66464,7 @@ class ModifyDBInstanceSpecRequest(TeaModel):
|
|
|
66433
66464
|
# * **Prepaid**: subscription.
|
|
66434
66465
|
# * **Serverless**: serverless. This value is not supported for instances that run MariaDB. If you set the value to Serverless, you must specify the scaling range of computing resources, configure the automatic start and stop feature, and configure auto scaling policies for your serverless instance. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](https://help.aliyun.com/document_detail/411291.html), [Overview of serverless ApsaraDB RDS for SQL Server instances](https://help.aliyun.com/document_detail/604344.html), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](https://help.aliyun.com/document_detail/607742.html).
|
|
66435
66466
|
self.pay_type = pay_type
|
|
66467
|
+
self.read_only_dbinstance_class = read_only_dbinstance_class
|
|
66436
66468
|
# The ID of the resource group.
|
|
66437
66469
|
self.resource_group_id = resource_group_id
|
|
66438
66470
|
self.resource_owner_account = resource_owner_account
|
|
@@ -66518,6 +66550,8 @@ class ModifyDBInstanceSpecRequest(TeaModel):
|
|
|
66518
66550
|
result['OwnerId'] = self.owner_id
|
|
66519
66551
|
if self.pay_type is not None:
|
|
66520
66552
|
result['PayType'] = self.pay_type
|
|
66553
|
+
if self.read_only_dbinstance_class is not None:
|
|
66554
|
+
result['ReadOnlyDBInstanceClass'] = self.read_only_dbinstance_class
|
|
66521
66555
|
if self.resource_group_id is not None:
|
|
66522
66556
|
result['ResourceGroupId'] = self.resource_group_id
|
|
66523
66557
|
if self.resource_owner_account is not None:
|
|
@@ -66578,6 +66612,8 @@ class ModifyDBInstanceSpecRequest(TeaModel):
|
|
|
66578
66612
|
self.owner_id = m.get('OwnerId')
|
|
66579
66613
|
if m.get('PayType') is not None:
|
|
66580
66614
|
self.pay_type = m.get('PayType')
|
|
66615
|
+
if m.get('ReadOnlyDBInstanceClass') is not None:
|
|
66616
|
+
self.read_only_dbinstance_class = m.get('ReadOnlyDBInstanceClass')
|
|
66581
66617
|
if m.get('ResourceGroupId') is not None:
|
|
66582
66618
|
self.resource_group_id = m.get('ResourceGroupId')
|
|
66583
66619
|
if m.get('ResourceOwnerAccount') is not None:
|
|
@@ -66624,6 +66660,7 @@ class ModifyDBInstanceSpecShrinkRequest(TeaModel):
|
|
|
66624
66660
|
owner_account: str = None,
|
|
66625
66661
|
owner_id: int = None,
|
|
66626
66662
|
pay_type: str = None,
|
|
66663
|
+
read_only_dbinstance_class: str = None,
|
|
66627
66664
|
resource_group_id: str = None,
|
|
66628
66665
|
resource_owner_account: str = None,
|
|
66629
66666
|
resource_owner_id: int = None,
|
|
@@ -66741,6 +66778,7 @@ class ModifyDBInstanceSpecShrinkRequest(TeaModel):
|
|
|
66741
66778
|
# * **Prepaid**: subscription.
|
|
66742
66779
|
# * **Serverless**: serverless. This value is not supported for instances that run MariaDB. If you set the value to Serverless, you must specify the scaling range of computing resources, configure the automatic start and stop feature, and configure auto scaling policies for your serverless instance. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](https://help.aliyun.com/document_detail/411291.html), [Overview of serverless ApsaraDB RDS for SQL Server instances](https://help.aliyun.com/document_detail/604344.html), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](https://help.aliyun.com/document_detail/607742.html).
|
|
66743
66780
|
self.pay_type = pay_type
|
|
66781
|
+
self.read_only_dbinstance_class = read_only_dbinstance_class
|
|
66744
66782
|
# The ID of the resource group.
|
|
66745
66783
|
self.resource_group_id = resource_group_id
|
|
66746
66784
|
self.resource_owner_account = resource_owner_account
|
|
@@ -66825,6 +66863,8 @@ class ModifyDBInstanceSpecShrinkRequest(TeaModel):
|
|
|
66825
66863
|
result['OwnerId'] = self.owner_id
|
|
66826
66864
|
if self.pay_type is not None:
|
|
66827
66865
|
result['PayType'] = self.pay_type
|
|
66866
|
+
if self.read_only_dbinstance_class is not None:
|
|
66867
|
+
result['ReadOnlyDBInstanceClass'] = self.read_only_dbinstance_class
|
|
66828
66868
|
if self.resource_group_id is not None:
|
|
66829
66869
|
result['ResourceGroupId'] = self.resource_group_id
|
|
66830
66870
|
if self.resource_owner_account is not None:
|
|
@@ -66885,6 +66925,8 @@ class ModifyDBInstanceSpecShrinkRequest(TeaModel):
|
|
|
66885
66925
|
self.owner_id = m.get('OwnerId')
|
|
66886
66926
|
if m.get('PayType') is not None:
|
|
66887
66927
|
self.pay_type = m.get('PayType')
|
|
66928
|
+
if m.get('ReadOnlyDBInstanceClass') is not None:
|
|
66929
|
+
self.read_only_dbinstance_class = m.get('ReadOnlyDBInstanceClass')
|
|
66888
66930
|
if m.get('ResourceGroupId') is not None:
|
|
66889
66931
|
self.resource_group_id = m.get('ResourceGroupId')
|
|
66890
66932
|
if m.get('ResourceOwnerAccount') is not None:
|
|
@@ -77209,6 +77251,39 @@ class RunRCInstancesRequestSystemDisk(TeaModel):
|
|
|
77209
77251
|
return self
|
|
77210
77252
|
|
|
77211
77253
|
|
|
77254
|
+
class RunRCInstancesRequestTag(TeaModel):
|
|
77255
|
+
def __init__(
|
|
77256
|
+
self,
|
|
77257
|
+
key: str = None,
|
|
77258
|
+
value: str = None,
|
|
77259
|
+
):
|
|
77260
|
+
self.key = key
|
|
77261
|
+
self.value = value
|
|
77262
|
+
|
|
77263
|
+
def validate(self):
|
|
77264
|
+
pass
|
|
77265
|
+
|
|
77266
|
+
def to_map(self):
|
|
77267
|
+
_map = super().to_map()
|
|
77268
|
+
if _map is not None:
|
|
77269
|
+
return _map
|
|
77270
|
+
|
|
77271
|
+
result = dict()
|
|
77272
|
+
if self.key is not None:
|
|
77273
|
+
result['Key'] = self.key
|
|
77274
|
+
if self.value is not None:
|
|
77275
|
+
result['Value'] = self.value
|
|
77276
|
+
return result
|
|
77277
|
+
|
|
77278
|
+
def from_map(self, m: dict = None):
|
|
77279
|
+
m = m or dict()
|
|
77280
|
+
if m.get('Key') is not None:
|
|
77281
|
+
self.key = m.get('Key')
|
|
77282
|
+
if m.get('Value') is not None:
|
|
77283
|
+
self.value = m.get('Value')
|
|
77284
|
+
return self
|
|
77285
|
+
|
|
77286
|
+
|
|
77212
77287
|
class RunRCInstancesRequest(TeaModel):
|
|
77213
77288
|
def __init__(
|
|
77214
77289
|
self,
|
|
@@ -77216,10 +77291,12 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77216
77291
|
auto_pay: bool = None,
|
|
77217
77292
|
auto_renew: bool = None,
|
|
77218
77293
|
client_token: str = None,
|
|
77294
|
+
create_mode: str = None,
|
|
77219
77295
|
data_disk: List[RunRCInstancesRequestDataDisk] = None,
|
|
77220
77296
|
deployment_set_id: str = None,
|
|
77221
77297
|
description: str = None,
|
|
77222
77298
|
dry_run: bool = None,
|
|
77299
|
+
host_name: str = None,
|
|
77223
77300
|
image_id: str = None,
|
|
77224
77301
|
instance_charge_type: str = None,
|
|
77225
77302
|
instance_name: str = None,
|
|
@@ -77232,9 +77309,11 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77232
77309
|
period: int = None,
|
|
77233
77310
|
period_unit: str = None,
|
|
77234
77311
|
region_id: str = None,
|
|
77312
|
+
resource_group_id: str = None,
|
|
77235
77313
|
security_enhancement_strategy: str = None,
|
|
77236
77314
|
security_group_id: str = None,
|
|
77237
77315
|
system_disk: RunRCInstancesRequestSystemDisk = None,
|
|
77316
|
+
tag: List[RunRCInstancesRequestTag] = None,
|
|
77238
77317
|
v_switch_id: str = None,
|
|
77239
77318
|
zone_id: str = None,
|
|
77240
77319
|
):
|
|
@@ -77258,6 +77337,7 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77258
77337
|
self.auto_renew = auto_renew
|
|
77259
77338
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
77260
77339
|
self.client_token = client_token
|
|
77340
|
+
self.create_mode = create_mode
|
|
77261
77341
|
# The information about the data disks.
|
|
77262
77342
|
self.data_disk = data_disk
|
|
77263
77343
|
# The deployment set ID.
|
|
@@ -77269,6 +77349,7 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77269
77349
|
# * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, service limits, and insufficient inventory errors.
|
|
77270
77350
|
# * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, the instance is directly created.
|
|
77271
77351
|
self.dry_run = dry_run
|
|
77352
|
+
self.host_name = host_name
|
|
77272
77353
|
# The ID of the image used by the instance.
|
|
77273
77354
|
self.image_id = image_id
|
|
77274
77355
|
# The billing method of the instance. Set the value to **Prepaid**, which indicates the subscription billing method.
|
|
@@ -77300,6 +77381,7 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77300
77381
|
#
|
|
77301
77382
|
# This parameter is required.
|
|
77302
77383
|
self.region_id = region_id
|
|
77384
|
+
self.resource_group_id = resource_group_id
|
|
77303
77385
|
# The reserved parameter. This parameter is not supported.
|
|
77304
77386
|
self.security_enhancement_strategy = security_enhancement_strategy
|
|
77305
77387
|
# The ID of the security group to which you want to add the new instance. Instances in the same security group can communicate with each other. The maximum number of instances allowed in a security group varies based on the type of the security group. For more information, see the "Security group limits" section in [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -77308,6 +77390,7 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77308
77390
|
self.security_group_id = security_group_id
|
|
77309
77391
|
# The specification of the system disk.
|
|
77310
77392
|
self.system_disk = system_disk
|
|
77393
|
+
self.tag = tag
|
|
77311
77394
|
# The vSwitch ID of the instance. You must specify this parameter when you create an instance of the virtual private cloud (VPC) type. The specified vSwitch and security group must belong to the same VPC.
|
|
77312
77395
|
#
|
|
77313
77396
|
# > If you specify the VSwitchId parameter, the zone specified by the ZoneId parameter must be the same as the zone in which the specified vSwitch resides. You can leave the ZoneId parameter empty. In this case, the system uses the zone in which the specified vSwitch resides.
|
|
@@ -77326,6 +77409,10 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77326
77409
|
k.validate()
|
|
77327
77410
|
if self.system_disk:
|
|
77328
77411
|
self.system_disk.validate()
|
|
77412
|
+
if self.tag:
|
|
77413
|
+
for k in self.tag:
|
|
77414
|
+
if k:
|
|
77415
|
+
k.validate()
|
|
77329
77416
|
|
|
77330
77417
|
def to_map(self):
|
|
77331
77418
|
_map = super().to_map()
|
|
@@ -77341,6 +77428,8 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77341
77428
|
result['AutoRenew'] = self.auto_renew
|
|
77342
77429
|
if self.client_token is not None:
|
|
77343
77430
|
result['ClientToken'] = self.client_token
|
|
77431
|
+
if self.create_mode is not None:
|
|
77432
|
+
result['CreateMode'] = self.create_mode
|
|
77344
77433
|
result['DataDisk'] = []
|
|
77345
77434
|
if self.data_disk is not None:
|
|
77346
77435
|
for k in self.data_disk:
|
|
@@ -77351,6 +77440,8 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77351
77440
|
result['Description'] = self.description
|
|
77352
77441
|
if self.dry_run is not None:
|
|
77353
77442
|
result['DryRun'] = self.dry_run
|
|
77443
|
+
if self.host_name is not None:
|
|
77444
|
+
result['HostName'] = self.host_name
|
|
77354
77445
|
if self.image_id is not None:
|
|
77355
77446
|
result['ImageId'] = self.image_id
|
|
77356
77447
|
if self.instance_charge_type is not None:
|
|
@@ -77375,12 +77466,18 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77375
77466
|
result['PeriodUnit'] = self.period_unit
|
|
77376
77467
|
if self.region_id is not None:
|
|
77377
77468
|
result['RegionId'] = self.region_id
|
|
77469
|
+
if self.resource_group_id is not None:
|
|
77470
|
+
result['ResourceGroupId'] = self.resource_group_id
|
|
77378
77471
|
if self.security_enhancement_strategy is not None:
|
|
77379
77472
|
result['SecurityEnhancementStrategy'] = self.security_enhancement_strategy
|
|
77380
77473
|
if self.security_group_id is not None:
|
|
77381
77474
|
result['SecurityGroupId'] = self.security_group_id
|
|
77382
77475
|
if self.system_disk is not None:
|
|
77383
77476
|
result['SystemDisk'] = self.system_disk.to_map()
|
|
77477
|
+
result['Tag'] = []
|
|
77478
|
+
if self.tag is not None:
|
|
77479
|
+
for k in self.tag:
|
|
77480
|
+
result['Tag'].append(k.to_map() if k else None)
|
|
77384
77481
|
if self.v_switch_id is not None:
|
|
77385
77482
|
result['VSwitchId'] = self.v_switch_id
|
|
77386
77483
|
if self.zone_id is not None:
|
|
@@ -77397,6 +77494,8 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77397
77494
|
self.auto_renew = m.get('AutoRenew')
|
|
77398
77495
|
if m.get('ClientToken') is not None:
|
|
77399
77496
|
self.client_token = m.get('ClientToken')
|
|
77497
|
+
if m.get('CreateMode') is not None:
|
|
77498
|
+
self.create_mode = m.get('CreateMode')
|
|
77400
77499
|
self.data_disk = []
|
|
77401
77500
|
if m.get('DataDisk') is not None:
|
|
77402
77501
|
for k in m.get('DataDisk'):
|
|
@@ -77408,6 +77507,8 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77408
77507
|
self.description = m.get('Description')
|
|
77409
77508
|
if m.get('DryRun') is not None:
|
|
77410
77509
|
self.dry_run = m.get('DryRun')
|
|
77510
|
+
if m.get('HostName') is not None:
|
|
77511
|
+
self.host_name = m.get('HostName')
|
|
77411
77512
|
if m.get('ImageId') is not None:
|
|
77412
77513
|
self.image_id = m.get('ImageId')
|
|
77413
77514
|
if m.get('InstanceChargeType') is not None:
|
|
@@ -77432,6 +77533,8 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77432
77533
|
self.period_unit = m.get('PeriodUnit')
|
|
77433
77534
|
if m.get('RegionId') is not None:
|
|
77434
77535
|
self.region_id = m.get('RegionId')
|
|
77536
|
+
if m.get('ResourceGroupId') is not None:
|
|
77537
|
+
self.resource_group_id = m.get('ResourceGroupId')
|
|
77435
77538
|
if m.get('SecurityEnhancementStrategy') is not None:
|
|
77436
77539
|
self.security_enhancement_strategy = m.get('SecurityEnhancementStrategy')
|
|
77437
77540
|
if m.get('SecurityGroupId') is not None:
|
|
@@ -77439,6 +77542,11 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77439
77542
|
if m.get('SystemDisk') is not None:
|
|
77440
77543
|
temp_model = RunRCInstancesRequestSystemDisk()
|
|
77441
77544
|
self.system_disk = temp_model.from_map(m['SystemDisk'])
|
|
77545
|
+
self.tag = []
|
|
77546
|
+
if m.get('Tag') is not None:
|
|
77547
|
+
for k in m.get('Tag'):
|
|
77548
|
+
temp_model = RunRCInstancesRequestTag()
|
|
77549
|
+
self.tag.append(temp_model.from_map(k))
|
|
77442
77550
|
if m.get('VSwitchId') is not None:
|
|
77443
77551
|
self.v_switch_id = m.get('VSwitchId')
|
|
77444
77552
|
if m.get('ZoneId') is not None:
|
|
@@ -77446,6 +77554,39 @@ class RunRCInstancesRequest(TeaModel):
|
|
|
77446
77554
|
return self
|
|
77447
77555
|
|
|
77448
77556
|
|
|
77557
|
+
class RunRCInstancesShrinkRequestTag(TeaModel):
|
|
77558
|
+
def __init__(
|
|
77559
|
+
self,
|
|
77560
|
+
key: str = None,
|
|
77561
|
+
value: str = None,
|
|
77562
|
+
):
|
|
77563
|
+
self.key = key
|
|
77564
|
+
self.value = value
|
|
77565
|
+
|
|
77566
|
+
def validate(self):
|
|
77567
|
+
pass
|
|
77568
|
+
|
|
77569
|
+
def to_map(self):
|
|
77570
|
+
_map = super().to_map()
|
|
77571
|
+
if _map is not None:
|
|
77572
|
+
return _map
|
|
77573
|
+
|
|
77574
|
+
result = dict()
|
|
77575
|
+
if self.key is not None:
|
|
77576
|
+
result['Key'] = self.key
|
|
77577
|
+
if self.value is not None:
|
|
77578
|
+
result['Value'] = self.value
|
|
77579
|
+
return result
|
|
77580
|
+
|
|
77581
|
+
def from_map(self, m: dict = None):
|
|
77582
|
+
m = m or dict()
|
|
77583
|
+
if m.get('Key') is not None:
|
|
77584
|
+
self.key = m.get('Key')
|
|
77585
|
+
if m.get('Value') is not None:
|
|
77586
|
+
self.value = m.get('Value')
|
|
77587
|
+
return self
|
|
77588
|
+
|
|
77589
|
+
|
|
77449
77590
|
class RunRCInstancesShrinkRequest(TeaModel):
|
|
77450
77591
|
def __init__(
|
|
77451
77592
|
self,
|
|
@@ -77453,10 +77594,12 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77453
77594
|
auto_pay: bool = None,
|
|
77454
77595
|
auto_renew: bool = None,
|
|
77455
77596
|
client_token: str = None,
|
|
77597
|
+
create_mode: str = None,
|
|
77456
77598
|
data_disk_shrink: str = None,
|
|
77457
77599
|
deployment_set_id: str = None,
|
|
77458
77600
|
description: str = None,
|
|
77459
77601
|
dry_run: bool = None,
|
|
77602
|
+
host_name: str = None,
|
|
77460
77603
|
image_id: str = None,
|
|
77461
77604
|
instance_charge_type: str = None,
|
|
77462
77605
|
instance_name: str = None,
|
|
@@ -77469,9 +77612,11 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77469
77612
|
period: int = None,
|
|
77470
77613
|
period_unit: str = None,
|
|
77471
77614
|
region_id: str = None,
|
|
77615
|
+
resource_group_id: str = None,
|
|
77472
77616
|
security_enhancement_strategy: str = None,
|
|
77473
77617
|
security_group_id: str = None,
|
|
77474
77618
|
system_disk_shrink: str = None,
|
|
77619
|
+
tag: List[RunRCInstancesShrinkRequestTag] = None,
|
|
77475
77620
|
v_switch_id: str = None,
|
|
77476
77621
|
zone_id: str = None,
|
|
77477
77622
|
):
|
|
@@ -77495,6 +77640,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77495
77640
|
self.auto_renew = auto_renew
|
|
77496
77641
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
77497
77642
|
self.client_token = client_token
|
|
77643
|
+
self.create_mode = create_mode
|
|
77498
77644
|
# The information about the data disks.
|
|
77499
77645
|
self.data_disk_shrink = data_disk_shrink
|
|
77500
77646
|
# The deployment set ID.
|
|
@@ -77506,6 +77652,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77506
77652
|
# * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, service limits, and insufficient inventory errors.
|
|
77507
77653
|
# * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, the instance is directly created.
|
|
77508
77654
|
self.dry_run = dry_run
|
|
77655
|
+
self.host_name = host_name
|
|
77509
77656
|
# The ID of the image used by the instance.
|
|
77510
77657
|
self.image_id = image_id
|
|
77511
77658
|
# The billing method of the instance. Set the value to **Prepaid**, which indicates the subscription billing method.
|
|
@@ -77537,6 +77684,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77537
77684
|
#
|
|
77538
77685
|
# This parameter is required.
|
|
77539
77686
|
self.region_id = region_id
|
|
77687
|
+
self.resource_group_id = resource_group_id
|
|
77540
77688
|
# The reserved parameter. This parameter is not supported.
|
|
77541
77689
|
self.security_enhancement_strategy = security_enhancement_strategy
|
|
77542
77690
|
# The ID of the security group to which you want to add the new instance. Instances in the same security group can communicate with each other. The maximum number of instances allowed in a security group varies based on the type of the security group. For more information, see the "Security group limits" section in [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -77545,6 +77693,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77545
77693
|
self.security_group_id = security_group_id
|
|
77546
77694
|
# The specification of the system disk.
|
|
77547
77695
|
self.system_disk_shrink = system_disk_shrink
|
|
77696
|
+
self.tag = tag
|
|
77548
77697
|
# The vSwitch ID of the instance. You must specify this parameter when you create an instance of the virtual private cloud (VPC) type. The specified vSwitch and security group must belong to the same VPC.
|
|
77549
77698
|
#
|
|
77550
77699
|
# > If you specify the VSwitchId parameter, the zone specified by the ZoneId parameter must be the same as the zone in which the specified vSwitch resides. You can leave the ZoneId parameter empty. In this case, the system uses the zone in which the specified vSwitch resides.
|
|
@@ -77557,7 +77706,10 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77557
77706
|
self.zone_id = zone_id
|
|
77558
77707
|
|
|
77559
77708
|
def validate(self):
|
|
77560
|
-
|
|
77709
|
+
if self.tag:
|
|
77710
|
+
for k in self.tag:
|
|
77711
|
+
if k:
|
|
77712
|
+
k.validate()
|
|
77561
77713
|
|
|
77562
77714
|
def to_map(self):
|
|
77563
77715
|
_map = super().to_map()
|
|
@@ -77573,6 +77725,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77573
77725
|
result['AutoRenew'] = self.auto_renew
|
|
77574
77726
|
if self.client_token is not None:
|
|
77575
77727
|
result['ClientToken'] = self.client_token
|
|
77728
|
+
if self.create_mode is not None:
|
|
77729
|
+
result['CreateMode'] = self.create_mode
|
|
77576
77730
|
if self.data_disk_shrink is not None:
|
|
77577
77731
|
result['DataDisk'] = self.data_disk_shrink
|
|
77578
77732
|
if self.deployment_set_id is not None:
|
|
@@ -77581,6 +77735,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77581
77735
|
result['Description'] = self.description
|
|
77582
77736
|
if self.dry_run is not None:
|
|
77583
77737
|
result['DryRun'] = self.dry_run
|
|
77738
|
+
if self.host_name is not None:
|
|
77739
|
+
result['HostName'] = self.host_name
|
|
77584
77740
|
if self.image_id is not None:
|
|
77585
77741
|
result['ImageId'] = self.image_id
|
|
77586
77742
|
if self.instance_charge_type is not None:
|
|
@@ -77605,12 +77761,18 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77605
77761
|
result['PeriodUnit'] = self.period_unit
|
|
77606
77762
|
if self.region_id is not None:
|
|
77607
77763
|
result['RegionId'] = self.region_id
|
|
77764
|
+
if self.resource_group_id is not None:
|
|
77765
|
+
result['ResourceGroupId'] = self.resource_group_id
|
|
77608
77766
|
if self.security_enhancement_strategy is not None:
|
|
77609
77767
|
result['SecurityEnhancementStrategy'] = self.security_enhancement_strategy
|
|
77610
77768
|
if self.security_group_id is not None:
|
|
77611
77769
|
result['SecurityGroupId'] = self.security_group_id
|
|
77612
77770
|
if self.system_disk_shrink is not None:
|
|
77613
77771
|
result['SystemDisk'] = self.system_disk_shrink
|
|
77772
|
+
result['Tag'] = []
|
|
77773
|
+
if self.tag is not None:
|
|
77774
|
+
for k in self.tag:
|
|
77775
|
+
result['Tag'].append(k.to_map() if k else None)
|
|
77614
77776
|
if self.v_switch_id is not None:
|
|
77615
77777
|
result['VSwitchId'] = self.v_switch_id
|
|
77616
77778
|
if self.zone_id is not None:
|
|
@@ -77627,6 +77789,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77627
77789
|
self.auto_renew = m.get('AutoRenew')
|
|
77628
77790
|
if m.get('ClientToken') is not None:
|
|
77629
77791
|
self.client_token = m.get('ClientToken')
|
|
77792
|
+
if m.get('CreateMode') is not None:
|
|
77793
|
+
self.create_mode = m.get('CreateMode')
|
|
77630
77794
|
if m.get('DataDisk') is not None:
|
|
77631
77795
|
self.data_disk_shrink = m.get('DataDisk')
|
|
77632
77796
|
if m.get('DeploymentSetId') is not None:
|
|
@@ -77635,6 +77799,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77635
77799
|
self.description = m.get('Description')
|
|
77636
77800
|
if m.get('DryRun') is not None:
|
|
77637
77801
|
self.dry_run = m.get('DryRun')
|
|
77802
|
+
if m.get('HostName') is not None:
|
|
77803
|
+
self.host_name = m.get('HostName')
|
|
77638
77804
|
if m.get('ImageId') is not None:
|
|
77639
77805
|
self.image_id = m.get('ImageId')
|
|
77640
77806
|
if m.get('InstanceChargeType') is not None:
|
|
@@ -77659,12 +77825,19 @@ class RunRCInstancesShrinkRequest(TeaModel):
|
|
|
77659
77825
|
self.period_unit = m.get('PeriodUnit')
|
|
77660
77826
|
if m.get('RegionId') is not None:
|
|
77661
77827
|
self.region_id = m.get('RegionId')
|
|
77828
|
+
if m.get('ResourceGroupId') is not None:
|
|
77829
|
+
self.resource_group_id = m.get('ResourceGroupId')
|
|
77662
77830
|
if m.get('SecurityEnhancementStrategy') is not None:
|
|
77663
77831
|
self.security_enhancement_strategy = m.get('SecurityEnhancementStrategy')
|
|
77664
77832
|
if m.get('SecurityGroupId') is not None:
|
|
77665
77833
|
self.security_group_id = m.get('SecurityGroupId')
|
|
77666
77834
|
if m.get('SystemDisk') is not None:
|
|
77667
77835
|
self.system_disk_shrink = m.get('SystemDisk')
|
|
77836
|
+
self.tag = []
|
|
77837
|
+
if m.get('Tag') is not None:
|
|
77838
|
+
for k in m.get('Tag'):
|
|
77839
|
+
temp_model = RunRCInstancesShrinkRequestTag()
|
|
77840
|
+
self.tag.append(temp_model.from_map(k))
|
|
77668
77841
|
if m.get('VSwitchId') is not None:
|
|
77669
77842
|
self.v_switch_id = m.get('VSwitchId')
|
|
77670
77843
|
if m.get('ZoneId') is not None:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_rds20140815/__init__.py,sha256=TrC9l8IrAkCHr8JSEqIgaaJlAmb5hOy17FiP9N16wyQ,21
|
|
2
|
+
alibabacloud_rds20140815/client.py,sha256=UJZmPttLcWjnM5Ux_fWrgovpswbSVMdceAdYEaq2ARc,2270035
|
|
3
|
+
alibabacloud_rds20140815/models.py,sha256=q63qlyAPhWsvRiCzoP4PA31OjcymRjBcKn74ZhnczjI,3221367
|
|
4
|
+
alibabacloud_rds20140815-7.3.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_rds20140815-7.3.1.dist-info/METADATA,sha256=MeXD7ElVrvZzOA_2VfUlnbm6Bcx8Ip8ionOEuuWnZ-U,2312
|
|
6
|
+
alibabacloud_rds20140815-7.3.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_rds20140815-7.3.1.dist-info/top_level.txt,sha256=JrnffxBPffQ-kwp8_cVNsbxBsxm7QysAdoFB1xAdY70,25
|
|
8
|
+
alibabacloud_rds20140815-7.3.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_rds20140815/__init__.py,sha256=l0M58m-yfklflMT4pAS9jtuHOc-FGfhrRsUCxm04ui8,21
|
|
2
|
-
alibabacloud_rds20140815/client.py,sha256=yoDw1Knuy6x55tPLTkWSbJjv2II66ZfhTMHcjESc5Ws,2266655
|
|
3
|
-
alibabacloud_rds20140815/models.py,sha256=R7CEKA_C35jX5Fe7ie78iW_e02UmqMoA0GdqVky_0hQ,3214796
|
|
4
|
-
alibabacloud_rds20140815-7.3.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_rds20140815-7.3.0.dist-info/METADATA,sha256=l0_2Scr8QbiSM4qQG0uHlKOZWoqUYKWVyZ0dP7Kl0AY,2312
|
|
6
|
-
alibabacloud_rds20140815-7.3.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_rds20140815-7.3.0.dist-info/top_level.txt,sha256=JrnffxBPffQ-kwp8_cVNsbxBsxm7QysAdoFB1xAdY70,25
|
|
8
|
-
alibabacloud_rds20140815-7.3.0.dist-info/RECORD,,
|
{alibabacloud_rds20140815-7.3.0.dist-info → alibabacloud_rds20140815-7.3.1.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_rds20140815-7.3.0.dist-info → alibabacloud_rds20140815-7.3.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|