alibabacloud-rds20140815 11.3.1__py3-none-any.whl → 11.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5486,12 +5486,12 @@ class CreateDBInstanceRequest(TeaModel):
5486
5486
  self.babelfish_config = babelfish_config
5487
5487
  # A deprecated parameter. You do not need to specify this parameter.
5488
5488
  self.bpe_enabled = bpe_enabled
5489
- # Specifies whether to enable the I/O burst feature of general ESSDs. Valid values:
5489
+ # Specifies whether to enable the I/O burst feature of Premium ESSDs. Valid values:
5490
5490
  #
5491
5491
  # * **true**\
5492
5492
  # * **false**\
5493
5493
  #
5494
- # > For more information about the I/O burst feature of general ESSDs, see [What are general ESSDs?](https://help.aliyun.com/document_detail/2340501.html)
5494
+ # > For more information about the I/O burst feature of general ESSDs, see [What are Premium ESSDs?](https://help.aliyun.com/document_detail/2340501.html)
5495
5495
  self.bursting_enabled = bursting_enabled
5496
5496
  # The additional business information about the instance.
5497
5497
  self.business_info = business_info
@@ -5517,12 +5517,12 @@ class CreateDBInstanceRequest(TeaModel):
5517
5517
  self.category = category
5518
5518
  # 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.
5519
5519
  self.client_token = client_token
5520
- # Specifies whether to enable the data archiving feature of general ESSDs. Valid values:
5520
+ # Specifies whether to enable the data archiving feature of Premium ESSDs. Valid values:
5521
5521
  #
5522
5522
  # * **true**\
5523
5523
  # * **false**\
5524
5524
  #
5525
- # > For more information about the data archiving feature of general ESSDs, see [Use the data archiving feature of general ESSDs](https://help.aliyun.com/document_detail/2701832.html).
5525
+ # > For more information about the data archiving feature of Premium ESSDs, see [Use the data archiving feature](https://help.aliyun.com/document_detail/2701832.html).
5526
5526
  self.cold_data_enabled = cold_data_enabled
5527
5527
  # The connection mode of the instance. Valid values:
5528
5528
  #
@@ -5566,8 +5566,8 @@ class CreateDBInstanceRequest(TeaModel):
5566
5566
  self.dbinstance_storage = dbinstance_storage
5567
5567
  # The storage type of the instance. Valid values:
5568
5568
  #
5569
- # * **local_ssd**: local SSD. This is the recommended storage type.
5570
- # * **general_essd**: general Enterprise SSD (ESSD). This is the recommended storage type.
5569
+ # * **local_ssd**: Premium Local SSD (recommended)
5570
+ # * **general_essd**: Premium Enterprise SSD (ESSD) (recommend)
5571
5571
  # * **cloud_essd**: PL1 ESSD
5572
5572
  # * **cloud_essd2**: PL2 ESSD
5573
5573
  # * **cloud_essd3**: PL3 ESSD
@@ -5575,10 +5575,10 @@ class CreateDBInstanceRequest(TeaModel):
5575
5575
  #
5576
5576
  # The default value of this parameter is determined by the instance type specified by the **DBInstanceClass** parameter.
5577
5577
  #
5578
- # * If the instance type specifies the local SSD storage type, the default value of this parameter is **local_ssd**.
5579
- # * If the instance type specifies the standard SSD or ESSD storage type, the default value of this parameter is **cloud_essd**.
5578
+ # * If the instance type specifies the Premium Local SSD storage type, the default value of this parameter is **local_ssd**.
5579
+ # * If the instance type specifies the cloud disk storage type, the default value of this parameter is **cloud_essd**.
5580
5580
  #
5581
- # > Serverless instances support only PL1 ESSDs and general ESSDs.
5581
+ # > Serverless instances support only PL1 ESSDs and Premium ESSDs.
5582
5582
  self.dbinstance_storage_type = dbinstance_storage_type
5583
5583
  # Specifies whether the table name is case-sensitive. Valid values:
5584
5584
  #
@@ -5589,20 +5589,23 @@ class CreateDBInstanceRequest(TeaModel):
5589
5589
  #
5590
5590
  # > This parameter is available if you want to create an instance that runs MySQL or PostgreSQL. If you do not configure this parameter, the default parameter template is used. If you want to use a custom parameter template, you can customize a parameter template and set this parameter to the ID of the custom template.
5591
5591
  self.dbparam_group_id = dbparam_group_id
5592
- # The time zone of the instance. This parameter takes effect only when you set the **Engine** parameter to **MySQL** or **PostgreSQL**.
5592
+ # The time zone of the instance. This parameter takes effect only when you set **Engine** to **MySQL** or **PostgreSQL**.
5593
+ #
5594
+ # * **Engine** is set to **MySQL**:
5593
5595
  #
5594
- # * If you set **Engine** to **MySQL**:
5596
+ # * This time zone is in UTC. Valid values: \\*\\*-12:59\\*\\* to **+13:00**.
5597
+ # * If the instance uses Premium Local SSDs, you can specify the name of the time zone. For example, you can specify the Asia/Hong_Kong time zone. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
5595
5598
  #
5596
- # * The time zone of the instance is in UTC. Valid values: **-12:59** to **+13:00**.
5597
- # * If the instance uses local SSDs, you can specify the name of the time zone. Example: Asia/Hong_Kong. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
5599
+ # * **Engine** is set to **PostgreSQL**.
5598
5600
  #
5599
- # * If you set **Engine** to **PostgreSQL**:
5601
+ # * This time zone is not in UTC. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
5602
+ # * You can configure this parameter only when the RDS instance uses cloud disks.
5603
+ #
5604
+ # >
5600
5605
  #
5601
- # * The time zone of the instance is not in UTC. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
5602
- # * You can specify this parameter only when the instance runs PostgreSQL with standard SSDs or ESSDs.
5606
+ # * You can specify the time zone when you create a primary instance. You cannot specify the time zone when you create a read-only instance. Read-only instances inherit the time zone of their primary instance.
5603
5607
  #
5604
- # > * You can specify the time zone when you create a primary instance. You cannot specify the time zone when you create a read-only instance. Read-only instances inherit the time zone of their primary instance.
5605
- # > * If you do not specify this parameter, the system automatically assigns the default time zone of the region in which the instance resides.
5608
+ # * If you do not specify this parameter, the system automatically assigns the default time zone of the region in which the instance resides.
5606
5609
  self.dbtime_zone = dbtime_zone
5607
5610
  # The ID of the dedicated cluster to which the instance belongs.
5608
5611
  #
@@ -5640,12 +5643,12 @@ class CreateDBInstanceRequest(TeaModel):
5640
5643
  #
5641
5644
  # This parameter is required.
5642
5645
  self.engine = engine
5643
- # The database engine version of the instance. Valid values:
5646
+ # The database engine version of the instance.
5644
5647
  #
5645
5648
  # * Regular RDS instance
5646
5649
  #
5647
5650
  # * Valid values when you set Engine to MySQL: **5.5**, **5.6**, **5.7**, and **8.0**\
5648
- # * Valid values when you set Engine to SQLServer: **08r2_ent_ha** (cloud disks, discontinued), **2008r2** (local disks, discontinued), **2012** (SQL Server EE Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**\
5651
+ # * Valid values when you set Engine to SQLServer: **08r2_ent_ha**(cloud disks, discontinued), **2008r2**(premium local disks, discontinued), **2012**(SQL Server EE Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**\
5649
5652
  # * Valid values when you set Engine to PostgreSQL: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, **15.0**, **16.0**, and **17.0**\
5650
5653
  # * Valid values when you set Engine to MariaDB: **10.3** and **10.6**\
5651
5654
  #
@@ -5680,19 +5683,19 @@ class CreateDBInstanceRequest(TeaModel):
5680
5683
  #
5681
5684
  # * 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**.
5682
5685
  self.instance_network_type = instance_network_type
5683
- # Specifies whether to enable the I/O acceleration feature of general ESSDs. Valid values:
5686
+ # Specifies whether to enable Buffer Pool Extension (BPE) of Premium ESSDs. Valid values:
5684
5687
  #
5685
- # * **1**: enabled
5686
- # * **0**: disabled
5688
+ # * **1**: enables BPE.
5689
+ # * **0**: disables BPE.
5687
5690
  #
5688
- # > For more information about the I/O acceleration feature of general ESSDs, see [Introduction](https://help.aliyun.com/document_detail/2527067.html).
5691
+ # > For more information about Buffer Pool Extension(BPE) of Premium ESSDs, see [Buffer Pool Extension(BPE)](https://help.aliyun.com/document_detail/2527067.html).
5689
5692
  self.io_acceleration_enabled = io_acceleration_enabled
5690
- # Specifies whether to enable the write optimization feature. Valid values:
5693
+ # The switch of the 16K atomic write function. Valid values:
5691
5694
  #
5692
5695
  # * **optimized**\
5693
5696
  # * **none** (default)
5694
5697
  #
5695
- # > For more information about the write optimization feature, see [Write optimization](https://help.aliyun.com/document_detail/2858761.html).
5698
+ # > For more information, see [Use the 16K atomic write feature](https://help.aliyun.com/document_detail/2858761.html).
5696
5699
  self.optimized_writes = optimized_writes
5697
5700
  # The billing method of the instance. Valid values:
5698
5701
  #
@@ -6276,12 +6279,12 @@ class CreateDBInstanceShrinkRequest(TeaModel):
6276
6279
  self.babelfish_config = babelfish_config
6277
6280
  # A deprecated parameter. You do not need to specify this parameter.
6278
6281
  self.bpe_enabled = bpe_enabled
6279
- # Specifies whether to enable the I/O burst feature of general ESSDs. Valid values:
6282
+ # Specifies whether to enable the I/O burst feature of Premium ESSDs. Valid values:
6280
6283
  #
6281
6284
  # * **true**\
6282
6285
  # * **false**\
6283
6286
  #
6284
- # > For more information about the I/O burst feature of general ESSDs, see [What are general ESSDs?](https://help.aliyun.com/document_detail/2340501.html)
6287
+ # > For more information about the I/O burst feature of general ESSDs, see [What are Premium ESSDs?](https://help.aliyun.com/document_detail/2340501.html)
6285
6288
  self.bursting_enabled = bursting_enabled
6286
6289
  # The additional business information about the instance.
6287
6290
  self.business_info = business_info
@@ -6307,12 +6310,12 @@ class CreateDBInstanceShrinkRequest(TeaModel):
6307
6310
  self.category = category
6308
6311
  # 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.
6309
6312
  self.client_token = client_token
6310
- # Specifies whether to enable the data archiving feature of general ESSDs. Valid values:
6313
+ # Specifies whether to enable the data archiving feature of Premium ESSDs. Valid values:
6311
6314
  #
6312
6315
  # * **true**\
6313
6316
  # * **false**\
6314
6317
  #
6315
- # > For more information about the data archiving feature of general ESSDs, see [Use the data archiving feature of general ESSDs](https://help.aliyun.com/document_detail/2701832.html).
6318
+ # > For more information about the data archiving feature of Premium ESSDs, see [Use the data archiving feature](https://help.aliyun.com/document_detail/2701832.html).
6316
6319
  self.cold_data_enabled = cold_data_enabled
6317
6320
  # The connection mode of the instance. Valid values:
6318
6321
  #
@@ -6356,8 +6359,8 @@ class CreateDBInstanceShrinkRequest(TeaModel):
6356
6359
  self.dbinstance_storage = dbinstance_storage
6357
6360
  # The storage type of the instance. Valid values:
6358
6361
  #
6359
- # * **local_ssd**: local SSD. This is the recommended storage type.
6360
- # * **general_essd**: general Enterprise SSD (ESSD). This is the recommended storage type.
6362
+ # * **local_ssd**: Premium Local SSD (recommended)
6363
+ # * **general_essd**: Premium Enterprise SSD (ESSD) (recommend)
6361
6364
  # * **cloud_essd**: PL1 ESSD
6362
6365
  # * **cloud_essd2**: PL2 ESSD
6363
6366
  # * **cloud_essd3**: PL3 ESSD
@@ -6365,10 +6368,10 @@ class CreateDBInstanceShrinkRequest(TeaModel):
6365
6368
  #
6366
6369
  # The default value of this parameter is determined by the instance type specified by the **DBInstanceClass** parameter.
6367
6370
  #
6368
- # * If the instance type specifies the local SSD storage type, the default value of this parameter is **local_ssd**.
6369
- # * If the instance type specifies the standard SSD or ESSD storage type, the default value of this parameter is **cloud_essd**.
6371
+ # * If the instance type specifies the Premium Local SSD storage type, the default value of this parameter is **local_ssd**.
6372
+ # * If the instance type specifies the cloud disk storage type, the default value of this parameter is **cloud_essd**.
6370
6373
  #
6371
- # > Serverless instances support only PL1 ESSDs and general ESSDs.
6374
+ # > Serverless instances support only PL1 ESSDs and Premium ESSDs.
6372
6375
  self.dbinstance_storage_type = dbinstance_storage_type
6373
6376
  # Specifies whether the table name is case-sensitive. Valid values:
6374
6377
  #
@@ -6379,20 +6382,23 @@ class CreateDBInstanceShrinkRequest(TeaModel):
6379
6382
  #
6380
6383
  # > This parameter is available if you want to create an instance that runs MySQL or PostgreSQL. If you do not configure this parameter, the default parameter template is used. If you want to use a custom parameter template, you can customize a parameter template and set this parameter to the ID of the custom template.
6381
6384
  self.dbparam_group_id = dbparam_group_id
6382
- # The time zone of the instance. This parameter takes effect only when you set the **Engine** parameter to **MySQL** or **PostgreSQL**.
6385
+ # The time zone of the instance. This parameter takes effect only when you set **Engine** to **MySQL** or **PostgreSQL**.
6386
+ #
6387
+ # * **Engine** is set to **MySQL**:
6383
6388
  #
6384
- # * If you set **Engine** to **MySQL**:
6389
+ # * This time zone is in UTC. Valid values: \\*\\*-12:59\\*\\* to **+13:00**.
6390
+ # * If the instance uses Premium Local SSDs, you can specify the name of the time zone. For example, you can specify the Asia/Hong_Kong time zone. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
6385
6391
  #
6386
- # * The time zone of the instance is in UTC. Valid values: **-12:59** to **+13:00**.
6387
- # * If the instance uses local SSDs, you can specify the name of the time zone. Example: Asia/Hong_Kong. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
6392
+ # * **Engine** is set to **PostgreSQL**.
6388
6393
  #
6389
- # * If you set **Engine** to **PostgreSQL**:
6394
+ # * This time zone is not in UTC. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
6395
+ # * You can configure this parameter only when the RDS instance uses cloud disks.
6396
+ #
6397
+ # >
6390
6398
  #
6391
- # * The time zone of the instance is not in UTC. For more information, see [Time zones](https://help.aliyun.com/document_detail/297356.html).
6392
- # * You can specify this parameter only when the instance runs PostgreSQL with standard SSDs or ESSDs.
6399
+ # * You can specify the time zone when you create a primary instance. You cannot specify the time zone when you create a read-only instance. Read-only instances inherit the time zone of their primary instance.
6393
6400
  #
6394
- # > * You can specify the time zone when you create a primary instance. You cannot specify the time zone when you create a read-only instance. Read-only instances inherit the time zone of their primary instance.
6395
- # > * If you do not specify this parameter, the system automatically assigns the default time zone of the region in which the instance resides.
6401
+ # * If you do not specify this parameter, the system automatically assigns the default time zone of the region in which the instance resides.
6396
6402
  self.dbtime_zone = dbtime_zone
6397
6403
  # The ID of the dedicated cluster to which the instance belongs.
6398
6404
  #
@@ -6430,12 +6436,12 @@ class CreateDBInstanceShrinkRequest(TeaModel):
6430
6436
  #
6431
6437
  # This parameter is required.
6432
6438
  self.engine = engine
6433
- # The database engine version of the instance. Valid values:
6439
+ # The database engine version of the instance.
6434
6440
  #
6435
6441
  # * Regular RDS instance
6436
6442
  #
6437
6443
  # * Valid values when you set Engine to MySQL: **5.5**, **5.6**, **5.7**, and **8.0**\
6438
- # * Valid values when you set Engine to SQLServer: **08r2_ent_ha** (cloud disks, discontinued), **2008r2** (local disks, discontinued), **2012** (SQL Server EE Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**\
6444
+ # * Valid values when you set Engine to SQLServer: **08r2_ent_ha**(cloud disks, discontinued), **2008r2**(premium local disks, discontinued), **2012**(SQL Server EE Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**\
6439
6445
  # * Valid values when you set Engine to PostgreSQL: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, **15.0**, **16.0**, and **17.0**\
6440
6446
  # * Valid values when you set Engine to MariaDB: **10.3** and **10.6**\
6441
6447
  #
@@ -6470,19 +6476,19 @@ class CreateDBInstanceShrinkRequest(TeaModel):
6470
6476
  #
6471
6477
  # * 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**.
6472
6478
  self.instance_network_type = instance_network_type
6473
- # Specifies whether to enable the I/O acceleration feature of general ESSDs. Valid values:
6479
+ # Specifies whether to enable Buffer Pool Extension (BPE) of Premium ESSDs. Valid values:
6474
6480
  #
6475
- # * **1**: enabled
6476
- # * **0**: disabled
6481
+ # * **1**: enables BPE.
6482
+ # * **0**: disables BPE.
6477
6483
  #
6478
- # > For more information about the I/O acceleration feature of general ESSDs, see [Introduction](https://help.aliyun.com/document_detail/2527067.html).
6484
+ # > For more information about Buffer Pool Extension(BPE) of Premium ESSDs, see [Buffer Pool Extension(BPE)](https://help.aliyun.com/document_detail/2527067.html).
6479
6485
  self.io_acceleration_enabled = io_acceleration_enabled
6480
- # Specifies whether to enable the write optimization feature. Valid values:
6486
+ # The switch of the 16K atomic write function. Valid values:
6481
6487
  #
6482
6488
  # * **optimized**\
6483
6489
  # * **none** (default)
6484
6490
  #
6485
- # > For more information about the write optimization feature, see [Write optimization](https://help.aliyun.com/document_detail/2858761.html).
6491
+ # > For more information, see [Use the 16K atomic write feature](https://help.aliyun.com/document_detail/2858761.html).
6486
6492
  self.optimized_writes = optimized_writes
6487
6493
  # The billing method of the instance. Valid values:
6488
6494
  #
@@ -9324,21 +9330,21 @@ class CreateGADInstanceRequestUnitNode(TeaModel):
9324
9330
  #
9325
9331
  # * The name must be **2 to 255** characters in length.
9326
9332
  # * The name can contain letters, digits, underscores (_), and hyphens (-) and must start with a letter.
9327
- # * The name cannot start with `http://` or `https://`.
9333
+ # * Does not start with `http://` or `https://`.
9328
9334
  self.dbinstance_description = dbinstance_description
9329
- # The storage capacity of the unit node that you want to create. Unit: GB You can adjust the storage capacity in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](https://help.aliyun.com/document_detail/26312.html). You can also call the DescribeAvailableResource operation to query the storage capacity range that is supported by the new instance type.
9335
+ # The storage capacity of the unit node that you want to create. Unit: GB. You can adjust the storage capacity in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](https://help.aliyun.com/document_detail/26312.html). You can also call the DescribeAvailableResource operation to query the storage capacity range that is supported by the new instance type.
9330
9336
  self.dbinstance_storage = dbinstance_storage
9331
- # The storage type of the instance. Valid values:
9337
+ # The storage type of the new instance. Valid values:
9332
9338
  #
9333
- # * **local_ssd**: local SSD. This is the recommended storage type.
9334
- # * **cloud_ssd**: standard SSD. This storage type is not recommended. Standard SSDs are no longer available for purchase in some Alibaba Cloud regions.
9335
- # * **cloud_essd**: PL1 ESSD
9336
- # * **cloud_essd2**: PL2 ESSD
9337
- # * **cloud_essd3**: PL3 ESSD
9339
+ # * **local_ssd**: Premium Local SSD (recommended)
9340
+ # * **cloud_ssd**: standard SSD. This storage type is not recommended. Standard SSDs are no longer available for purchase in specific Alibaba Cloud regions.
9341
+ # * **cloud_essd**: Enterprise SSD (ESSD) of performance level 1 (PL1).
9342
+ # * **cloud_essd2**: ESSD of PL2.
9343
+ # * **cloud_essd3**: ESSD of PL3.
9338
9344
  #
9339
9345
  # The default value of this parameter is determined by the instance type specified by the **DBInstanceClass** parameter.
9340
9346
  #
9341
- # * If the instance type specifies the local SSD storage type, the default value of this parameter is **local_ssd**.
9347
+ # * If the instance type specifies the Premium Local SSD storage type, the default value of this parameter is **local_ssd**.
9342
9348
  # * If the instance type specifies the cloud disk storage type, the default value of this parameter is **cloud_essd**.
9343
9349
  self.dbinstance_storage_type = dbinstance_storage_type
9344
9350
  # The instance type of the unit node that you want to create. For more information, see [Primary ApsaraDB RDS instance types](https://help.aliyun.com/document_detail/26312.html). You can call the DescribeAvailableResource operation to query the available instance types in a region.
@@ -11778,6 +11784,39 @@ class CreateRCDeploymentSetResponse(TeaModel):
11778
11784
  return self
11779
11785
 
11780
11786
 
11787
+ class CreateRCDiskRequestTag(TeaModel):
11788
+ def __init__(
11789
+ self,
11790
+ key: str = None,
11791
+ value: str = None,
11792
+ ):
11793
+ self.key = key
11794
+ self.value = value
11795
+
11796
+ def validate(self):
11797
+ pass
11798
+
11799
+ def to_map(self):
11800
+ _map = super().to_map()
11801
+ if _map is not None:
11802
+ return _map
11803
+
11804
+ result = dict()
11805
+ if self.key is not None:
11806
+ result['Key'] = self.key
11807
+ if self.value is not None:
11808
+ result['Value'] = self.value
11809
+ return result
11810
+
11811
+ def from_map(self, m: dict = None):
11812
+ m = m or dict()
11813
+ if m.get('Key') is not None:
11814
+ self.key = m.get('Key')
11815
+ if m.get('Value') is not None:
11816
+ self.value = m.get('Value')
11817
+ return self
11818
+
11819
+
11781
11820
  class CreateRCDiskRequest(TeaModel):
11782
11821
  def __init__(
11783
11822
  self,
@@ -11792,16 +11831,18 @@ class CreateRCDiskRequest(TeaModel):
11792
11831
  period: int = None,
11793
11832
  period_unit: str = None,
11794
11833
  region_id: str = None,
11834
+ resource_group_id: str = None,
11795
11835
  size: int = None,
11796
11836
  snapshot_id: str = None,
11837
+ tag: List[CreateRCDiskRequestTag] = None,
11797
11838
  zone_id: str = None,
11798
11839
  ):
11799
11840
  # Specifies whether to enable automatic payment. Valid values:
11800
11841
  #
11801
- # * **true**: enables the feature. You must make sure that your account balance is sufficient.
11802
- # * **false**: disables the feature. An unpaid order is generated.
11842
+ # * **true** (default): enables automatic payment. Make sure that your account balance is sufficient.
11843
+ # * **false**: does not automatically complete the payment. An unpaid order is generated.
11803
11844
  #
11804
- # > Default value: true. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
11845
+ # > If your account balance is insufficient, you can set the parameter to false. In this case, an unpaid order is generated. You can complete the payment in the Expenses and Costs console.
11805
11846
  self.auto_pay = auto_pay
11806
11847
  # Specifies whether to enable auto-renewal. You must specify this parameter only when the data disk uses the subscription billing method. Valid values:
11807
11848
  #
@@ -11810,27 +11851,25 @@ class CreateRCDiskRequest(TeaModel):
11810
11851
  #
11811
11852
  # > The auto-renewal cycle is one month for a monthly subscription. The auto-renewal cycle is one year for a yearly subscription.
11812
11853
  self.auto_renew = auto_renew
11813
- # The disk description. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. By default, this parameter is left empty.
11854
+ # The disk description. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
11814
11855
  self.description = description
11815
- # The category of the data disk. Valid values:
11856
+ # The data disk type. Valid values:
11816
11857
  #
11817
- # * **cloud_efficiency**: ultra disk.
11818
- # * **cloud_ssd**: standard SSD.
11819
- # * **cloud_essd**: ESSD.
11820
- # * **cloud_auto**: ESSD AutoPL disk.
11858
+ # * **cloud_efficiency**: ultra disk
11859
+ # * **cloud_ssd**: standard SSD
11860
+ # * **cloud_essd**: ESSD
11861
+ # * **cloud_auto** (default): Premium ESSD
11821
11862
  self.disk_category = disk_category
11822
11863
  # The name of the data disk. The name must be 2 to 128 characters in length and can contain letters and digits. The name can contain colons (:), underscores (_), periods (.), and hyphens (-).
11823
- #
11824
- # By default, this parameter is left empty.
11825
11864
  self.disk_name = disk_name
11826
11865
  # The billing method. Set the value to **Postpaid**, which specifies the pay-as-you-go billing method.
11827
11866
  self.instance_charge_type = instance_charge_type
11828
11867
  # The ID of the instance to which you want to attach the disk.
11829
11868
  self.instance_id = instance_id
11830
- # The performance level (PL) of the disk if the disk is an ESSD. Valid values:
11869
+ # The performance level (PL) of ESSDs. Valid values:
11831
11870
  #
11832
11871
  # * **PL0**: A single ESSD delivers up to 10,000 random read/write IOPS.
11833
- # * **PL1** (default): A single ESSD can deliver up to 50,000 random read/write IOPS.
11872
+ # * **PL1: An ESSD delivers up to 50,000 random read/write IOPS.**\
11834
11873
  # * **PL2**: A single ESSD delivers up to 100,000 random read/write IOPS.
11835
11874
  # * **PL3**: A single ESSD delivers up to 1,000,000 random read/write IOPS.
11836
11875
  #
@@ -11844,39 +11883,41 @@ class CreateRCDiskRequest(TeaModel):
11844
11883
  #
11845
11884
  # This parameter is required.
11846
11885
  self.region_id = region_id
11886
+ self.resource_group_id = resource_group_id
11847
11887
  # The disk size. Unit: GiB. This parameter is required. Valid values:
11848
11888
  #
11849
- # * Valid values if you set DiskCategory to **cloud_essd_entry**: 10 to 32768.
11889
+ # * Valid values if you set DiskCategory to **cloud_efficiency**: 20 to 32768.
11850
11890
  #
11851
11891
  # * Valid values if you set DiskCategory to **cloud_ssd**: 20 to 32768.
11852
11892
  #
11853
- # * Valid values if you set DiskCategory to **cloud_essd**: depend on the value of PerformanceLevel.
11893
+ # * Valid values if you set DiskCategory to **cloud_auto**: 1 to 65536.
11894
+ #
11895
+ # * Valid values when DiskCategory is set to cloud_essd: depending on the value of **PerformanceLevel**.****\
11854
11896
  #
11855
11897
  # * Valid values if PerformanceLevel is set to PL0: 1 to 65536
11856
11898
  # * Valid values if PerformanceLevel is set to PL1: 20 to 65536
11857
11899
  # * Valid values if PerformanceLevel is set to PL2: 461 to 65536
11858
11900
  # * Valid values if PerformanceLevel is set to PL3: 1261 to 65536
11859
11901
  #
11860
- # * Valid values if you set DiskCategory to **cloud_auto**: 1 to 65536.
11861
- #
11862
- # If `SnapshotId` is specified, the following limits apply to `SnapshotId` and `Size`:
11863
- #
11864
- # * If the size of the snapshot specified by `SnapshotId` is larger than the value of `Size`, the size of the created disk is equal to the size of the snapshot.
11865
- # * If the size of the snapshot specified by `SnapshotId` is smaller than the value of `Size`, the size of the created disk is equal to the value of `Size`.
11902
+ # If **SnapshotId** is specified and the size of the corresponding snapshot is greater than the **Size** value, the size of the created disk is the same as that of the snapshot. If the snapshot size is less than the **Size** value, the size of the created disk is equal to the **Size** value.
11866
11903
  self.size = size
11867
- # The snapshot that you want to use to create the disk. Snapshots that were created on or before July 15, 2013 cannot be used to create disks. The following limits apply to `SnapshotId` and `Size`:
11904
+ # The snapshot that you want to use to create the disk.
11868
11905
  #
11869
- # * If the size of the snapshot specified by `SnapshotId` is larger than the value of `Size`, the size of the created disk is equal to the specified snapshot size.
11870
- # * If the size of the snapshot specified by `SnapshotId` is smaller than the value of `Size`, the size of the created disk is equal to the value of `Size`.
11906
+ # * If the size of the snapshot specified by **SnapshotId** is greater than the value of **Size**, the size of the created disk is equal to the specified snapshot size. If the snapshot size is less than the **Size** value, the size of the created disk is equal to the **Size** value.
11871
11907
  # * You cannot create elastic ephemeral disks from snapshots.
11908
+ # * Snapshots that were created on or before July 15, 2013 cannot be used to create disks.
11872
11909
  self.snapshot_id = snapshot_id
11910
+ self.tag = tag
11873
11911
  # The zone ID.
11874
11912
  #
11875
11913
  # This parameter is required if you do not specify **InstanceId**.
11876
11914
  self.zone_id = zone_id
11877
11915
 
11878
11916
  def validate(self):
11879
- pass
11917
+ if self.tag:
11918
+ for k in self.tag:
11919
+ if k:
11920
+ k.validate()
11880
11921
 
11881
11922
  def to_map(self):
11882
11923
  _map = super().to_map()
@@ -11906,10 +11947,16 @@ class CreateRCDiskRequest(TeaModel):
11906
11947
  result['PeriodUnit'] = self.period_unit
11907
11948
  if self.region_id is not None:
11908
11949
  result['RegionId'] = self.region_id
11950
+ if self.resource_group_id is not None:
11951
+ result['ResourceGroupId'] = self.resource_group_id
11909
11952
  if self.size is not None:
11910
11953
  result['Size'] = self.size
11911
11954
  if self.snapshot_id is not None:
11912
11955
  result['SnapshotId'] = self.snapshot_id
11956
+ result['Tag'] = []
11957
+ if self.tag is not None:
11958
+ for k in self.tag:
11959
+ result['Tag'].append(k.to_map() if k else None)
11913
11960
  if self.zone_id is not None:
11914
11961
  result['ZoneId'] = self.zone_id
11915
11962
  return result
@@ -11938,10 +11985,17 @@ class CreateRCDiskRequest(TeaModel):
11938
11985
  self.period_unit = m.get('PeriodUnit')
11939
11986
  if m.get('RegionId') is not None:
11940
11987
  self.region_id = m.get('RegionId')
11988
+ if m.get('ResourceGroupId') is not None:
11989
+ self.resource_group_id = m.get('ResourceGroupId')
11941
11990
  if m.get('Size') is not None:
11942
11991
  self.size = m.get('Size')
11943
11992
  if m.get('SnapshotId') is not None:
11944
11993
  self.snapshot_id = m.get('SnapshotId')
11994
+ self.tag = []
11995
+ if m.get('Tag') is not None:
11996
+ for k in m.get('Tag'):
11997
+ temp_model = CreateRCDiskRequestTag()
11998
+ self.tag.append(temp_model.from_map(k))
11945
11999
  if m.get('ZoneId') is not None:
11946
12000
  self.zone_id = m.get('ZoneId')
11947
12001
  return self
@@ -12220,8 +12274,8 @@ class CreateRCNodePoolRequest(TeaModel):
12220
12274
  self.amount = amount
12221
12275
  # Specifies whether to enable automatic payment. Valid values:
12222
12276
  #
12223
- # * **true**: enables the feature. Make sure that your account balance is sufficient.
12224
- # * **false**: disables the feature. An unpaid order is generated.
12277
+ # * **true**: enables the feature. Make sure that your account balance is sufficient when you enable automatic payment.
12278
+ # * **false**: does not automatically complete the payment. An unpaid order is generated.
12225
12279
  #
12226
12280
  # > Default value: true. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
12227
12281
  self.auto_pay = auto_pay
@@ -12574,8 +12628,8 @@ class CreateRCNodePoolShrinkRequest(TeaModel):
12574
12628
  self.amount = amount
12575
12629
  # Specifies whether to enable automatic payment. Valid values:
12576
12630
  #
12577
- # * **true**: enables the feature. Make sure that your account balance is sufficient.
12578
- # * **false**: disables the feature. An unpaid order is generated.
12631
+ # * **true**: enables the feature. Make sure that your account balance is sufficient when you enable automatic payment.
12632
+ # * **false**: does not automatically complete the payment. An unpaid order is generated.
12579
12633
  #
12580
12634
  # > Default value: true. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
12581
12635
  self.auto_pay = auto_pay
@@ -51995,6 +52049,39 @@ class DescribeRCDeploymentSetsResponse(TeaModel):
51995
52049
  return self
51996
52050
 
51997
52051
 
52052
+ class DescribeRCDisksRequestTag(TeaModel):
52053
+ def __init__(
52054
+ self,
52055
+ key: str = None,
52056
+ value: str = None,
52057
+ ):
52058
+ self.key = key
52059
+ self.value = value
52060
+
52061
+ def validate(self):
52062
+ pass
52063
+
52064
+ def to_map(self):
52065
+ _map = super().to_map()
52066
+ if _map is not None:
52067
+ return _map
52068
+
52069
+ result = dict()
52070
+ if self.key is not None:
52071
+ result['Key'] = self.key
52072
+ if self.value is not None:
52073
+ result['Value'] = self.value
52074
+ return result
52075
+
52076
+ def from_map(self, m: dict = None):
52077
+ m = m or dict()
52078
+ if m.get('Key') is not None:
52079
+ self.key = m.get('Key')
52080
+ if m.get('Value') is not None:
52081
+ self.value = m.get('Value')
52082
+ return self
52083
+
52084
+
51998
52085
  class DescribeRCDisksRequest(TeaModel):
51999
52086
  def __init__(
52000
52087
  self,
@@ -52003,6 +52090,7 @@ class DescribeRCDisksRequest(TeaModel):
52003
52090
  page_number: int = None,
52004
52091
  page_size: int = None,
52005
52092
  region_id: str = None,
52093
+ tag: List[DescribeRCDisksRequestTag] = None,
52006
52094
  ):
52007
52095
  # The disk ID. The value is a JSON array that consists of up to 100 disk IDs. Separate the disk IDs with commas (,). Format: `["Disk ID1","Disk ID2"]`.
52008
52096
  self.disk_ids = disk_ids
@@ -52012,13 +52100,17 @@ class DescribeRCDisksRequest(TeaModel):
52012
52100
  self.page_number = page_number
52013
52101
  # The number of entries per page. Valid values: **30** to **100**. Default value: **30**.
52014
52102
  self.page_size = page_size
52015
- # The region ID of the instance.
52103
+ # The region ID.
52016
52104
  #
52017
52105
  # This parameter is required.
52018
52106
  self.region_id = region_id
52107
+ self.tag = tag
52019
52108
 
52020
52109
  def validate(self):
52021
- pass
52110
+ if self.tag:
52111
+ for k in self.tag:
52112
+ if k:
52113
+ k.validate()
52022
52114
 
52023
52115
  def to_map(self):
52024
52116
  _map = super().to_map()
@@ -52036,6 +52128,10 @@ class DescribeRCDisksRequest(TeaModel):
52036
52128
  result['PageSize'] = self.page_size
52037
52129
  if self.region_id is not None:
52038
52130
  result['RegionId'] = self.region_id
52131
+ result['Tag'] = []
52132
+ if self.tag is not None:
52133
+ for k in self.tag:
52134
+ result['Tag'].append(k.to_map() if k else None)
52039
52135
  return result
52040
52136
 
52041
52137
  def from_map(self, m: dict = None):
@@ -52050,6 +52146,44 @@ class DescribeRCDisksRequest(TeaModel):
52050
52146
  self.page_size = m.get('PageSize')
52051
52147
  if m.get('RegionId') is not None:
52052
52148
  self.region_id = m.get('RegionId')
52149
+ self.tag = []
52150
+ if m.get('Tag') is not None:
52151
+ for k in m.get('Tag'):
52152
+ temp_model = DescribeRCDisksRequestTag()
52153
+ self.tag.append(temp_model.from_map(k))
52154
+ return self
52155
+
52156
+
52157
+ class DescribeRCDisksResponseBodyDisksTag(TeaModel):
52158
+ def __init__(
52159
+ self,
52160
+ tag_key: str = None,
52161
+ tag_value: str = None,
52162
+ ):
52163
+ self.tag_key = tag_key
52164
+ self.tag_value = tag_value
52165
+
52166
+ def validate(self):
52167
+ pass
52168
+
52169
+ def to_map(self):
52170
+ _map = super().to_map()
52171
+ if _map is not None:
52172
+ return _map
52173
+
52174
+ result = dict()
52175
+ if self.tag_key is not None:
52176
+ result['TagKey'] = self.tag_key
52177
+ if self.tag_value is not None:
52178
+ result['TagValue'] = self.tag_value
52179
+ return result
52180
+
52181
+ def from_map(self, m: dict = None):
52182
+ m = m or dict()
52183
+ if m.get('TagKey') is not None:
52184
+ self.tag_key = m.get('TagKey')
52185
+ if m.get('TagValue') is not None:
52186
+ self.tag_value = m.get('TagValue')
52053
52187
  return self
52054
52188
 
52055
52189
 
@@ -52079,14 +52213,15 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52079
52213
  status: str = None,
52080
52214
  storage_cluster_id: str = None,
52081
52215
  storage_set_id: str = None,
52216
+ tag: List[DescribeRCDisksResponseBodyDisksTag] = None,
52082
52217
  type: str = None,
52083
52218
  zone_id: str = None,
52084
52219
  ):
52085
52220
  # The category of the disk. Valid values:
52086
52221
  #
52087
- # * **cloud_efficiency**: ultra disk
52088
- # * **cloud_ssd**: standard SSD
52089
- # * **cloud_essd**: ESSD
52222
+ # * **cloud_efficiency**: ultra disk.
52223
+ # * **cloud_ssd**: standard SSD.
52224
+ # * **cloud_essd**: ESSD.
52090
52225
  # * **cloud_auto**: Premium ESSD
52091
52226
  self.category = category
52092
52227
  # The creation time.
@@ -52160,6 +52295,7 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52160
52295
  self.storage_cluster_id = storage_cluster_id
52161
52296
  # The storage set ID.
52162
52297
  self.storage_set_id = storage_set_id
52298
+ self.tag = tag
52163
52299
  # The disk type. Valid values:
52164
52300
  #
52165
52301
  # * system: system disk
@@ -52169,7 +52305,10 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52169
52305
  self.zone_id = zone_id
52170
52306
 
52171
52307
  def validate(self):
52172
- pass
52308
+ if self.tag:
52309
+ for k in self.tag:
52310
+ if k:
52311
+ k.validate()
52173
52312
 
52174
52313
  def to_map(self):
52175
52314
  _map = super().to_map()
@@ -52223,6 +52362,10 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52223
52362
  result['StorageClusterId'] = self.storage_cluster_id
52224
52363
  if self.storage_set_id is not None:
52225
52364
  result['StorageSetId'] = self.storage_set_id
52365
+ result['Tag'] = []
52366
+ if self.tag is not None:
52367
+ for k in self.tag:
52368
+ result['Tag'].append(k.to_map() if k else None)
52226
52369
  if self.type is not None:
52227
52370
  result['Type'] = self.type
52228
52371
  if self.zone_id is not None:
@@ -52277,6 +52420,11 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52277
52420
  self.storage_cluster_id = m.get('StorageClusterId')
52278
52421
  if m.get('StorageSetId') is not None:
52279
52422
  self.storage_set_id = m.get('StorageSetId')
52423
+ self.tag = []
52424
+ if m.get('Tag') is not None:
52425
+ for k in m.get('Tag'):
52426
+ temp_model = DescribeRCDisksResponseBodyDisksTag()
52427
+ self.tag.append(temp_model.from_map(k))
52280
52428
  if m.get('Type') is not None:
52281
52429
  self.type = m.get('Type')
52282
52430
  if m.get('ZoneId') is not None:
@@ -53803,8 +53951,11 @@ class DescribeRCInstanceDdosCountRequest(TeaModel):
53803
53951
  instance_type: str = None,
53804
53952
  region_id: str = None,
53805
53953
  ):
53954
+ # The region ID of the asset.
53806
53955
  self.ddos_region_id = ddos_region_id
53956
+ # The type of the asset that is assigned a public IP address. Fixed value: **ecs**.
53807
53957
  self.instance_type = instance_type
53958
+ # The ID of the region in which the RDS Custom instance resides.
53808
53959
  self.region_id = region_id
53809
53960
 
53810
53961
  def validate(self):
@@ -53842,8 +53993,11 @@ class DescribeRCInstanceDdosCountResponseBodyDdosCount(TeaModel):
53842
53993
  defense_count: str = None,
53843
53994
  instacen_count: str = None,
53844
53995
  ):
53996
+ # The number of instances for which blackhole filtering is triggered.
53845
53997
  self.blackhole_count = blackhole_count
53998
+ # The number of instances for which traffic scrubbing is triggered.
53846
53999
  self.defense_count = defense_count
54000
+ # The total number of instances.
53847
54001
  self.instacen_count = instacen_count
53848
54002
 
53849
54003
  def validate(self):
@@ -53880,7 +54034,9 @@ class DescribeRCInstanceDdosCountResponseBody(TeaModel):
53880
54034
  ddos_count: DescribeRCInstanceDdosCountResponseBodyDdosCount = None,
53881
54035
  request_id: str = None,
53882
54036
  ):
54037
+ # The number of instances that are under DDoS attacks.
53883
54038
  self.ddos_count = ddos_count
54039
+ # The request ID.
53884
54040
  self.request_id = request_id
53885
54041
 
53886
54042
  def validate(self):
@@ -54632,15 +54788,28 @@ class DescribeRCInstanceIpAddressRequest(TeaModel):
54632
54788
  region_id: str = None,
54633
54789
  resource_type: str = None,
54634
54790
  ):
54791
+ # The page number. Default value: 1. Pages start from page 1.
54635
54792
  self.current_page = current_page
54793
+ # The region ID of the asset.
54636
54794
  self.ddos_region_id = ddos_region_id
54795
+ # The DDoS mitigation status of the asset. Valid values:
54796
+ #
54797
+ # * **defense**: queries assets for which traffic scrubbing is performed.
54798
+ # * **blackhole**: queries assets for which blackhole filtering is triggered.
54637
54799
  self.ddos_status = ddos_status
54800
+ # The ID of the RDS Custom instance to which the asset to query is added.
54638
54801
  self.instance_id = instance_id
54802
+ # The IP address of the asset to query.
54639
54803
  self.instance_ip = instance_ip
54804
+ # The name of the RDS Custom instance to which the asset to query is added.
54640
54805
  self.instance_name = instance_name
54806
+ # The type of the asset that is assigned a public IP address. Set the value to **ecs**.
54641
54807
  self.instance_type = instance_type
54808
+ # The number of instances on each page.
54642
54809
  self.page_size = page_size
54810
+ # The ID of the region in which the RDS Custom instance resides.
54643
54811
  self.region_id = region_id
54812
+ # The type of the resource. Set the value to **ecs**.
54644
54813
  self.resource_type = resource_type
54645
54814
 
54646
54815
  def validate(self):
@@ -54713,15 +54882,38 @@ class DescribeRCInstanceIpAddressResponseBodyRCInstanceListIpAddressConfig(TeaMo
54713
54882
  is_full_protection: int = None,
54714
54883
  region_id: str = None,
54715
54884
  ):
54885
+ # The basic protection threshold for the asset. Unit: Mbit/s.
54716
54886
  self.blackhole_threshold = blackhole_threshold
54887
+ # The traffic scrubbing threshold for the asset measured in Mbit/s. Unit: Mbit/s.
54717
54888
  self.defense_bps_threshold = defense_bps_threshold
54889
+ # The traffic scrubbing threshold for the asset measured in packets per second (PPS). Unit: packets per second (pps).
54718
54890
  self.defense_pps_threshold = defense_pps_threshold
54891
+ # The burstable protection threshold for the asset. Unit: Mbit/s.
54719
54892
  self.elastic_threshold = elastic_threshold
54893
+ # The IP address of the asset.
54720
54894
  self.instance_ip = instance_ip
54895
+ # The DDoS mitigation status of the asset. Valid values:
54896
+ #
54897
+ # * **mitigating**\
54898
+ # * **blackholed**\
54899
+ # * **normal**\
54721
54900
  self.ip_status = ip_status
54901
+ # The IP version of the instance. Valid values:
54902
+ #
54903
+ # * **v4**\
54904
+ # * **v6**\
54722
54905
  self.ip_version = ip_version
54906
+ # Indicates whether the asset is added to the instance. Valid values:
54907
+ #
54908
+ # * **true**\
54909
+ # * **false**\
54723
54910
  self.is_bgppack = is_bgppack
54911
+ # Indicates whether best-effort protection is enabled for the asset. Valid values:
54912
+ #
54913
+ # * **0**: Best-effort protection is disabled.
54914
+ # * **1**: Best-effort protection is enabled.
54724
54915
  self.is_full_protection = is_full_protection
54916
+ # The region code of the asset.
54725
54917
  self.region_id = region_id
54726
54918
 
54727
54919
  def validate(self):
@@ -54789,10 +54981,18 @@ class DescribeRCInstanceIpAddressResponseBodyRCInstanceList(TeaModel):
54789
54981
  instance_type: str = None,
54790
54982
  ip_address_config: List[DescribeRCInstanceIpAddressResponseBodyRCInstanceListIpAddressConfig] = None,
54791
54983
  ):
54984
+ # The ID of the RDS Custom instance.
54792
54985
  self.instance_id = instance_id
54986
+ # The instance name.
54793
54987
  self.instance_name = instance_name
54988
+ # The DDoS mitigation status of the instance. Valid values:
54989
+ #
54990
+ # * **normal**\
54991
+ # * **abnormal**\
54794
54992
  self.instance_status = instance_status
54993
+ # The type of the asset. The value is fixed to **ecs**.
54795
54994
  self.instance_type = instance_type
54995
+ # An array that consists of the details of the asset.
54796
54996
  self.ip_address_config = ip_address_config
54797
54997
 
54798
54998
  def validate(self):
@@ -54846,8 +55046,11 @@ class DescribeRCInstanceIpAddressResponseBody(TeaModel):
54846
55046
  request_id: str = None,
54847
55047
  total: str = None,
54848
55048
  ):
55049
+ # An array that consists of details of the instance.
54849
55050
  self.rcinstance_list = rcinstance_list
55051
+ # The request ID.
54850
55052
  self.request_id = request_id
55053
+ # The total number of the assets.
54851
55054
  self.total = total
54852
55055
 
54853
55056
  def validate(self):
@@ -63612,7 +63815,7 @@ class DescribeTasksRequest(TeaModel):
63612
63815
  status: str = None,
63613
63816
  task_action: str = None,
63614
63817
  ):
63615
- # The ID of the instance.
63818
+ # The instance ID.
63616
63819
  #
63617
63820
  # This parameter is required.
63618
63821
  self.dbinstance_id = dbinstance_id
@@ -63712,7 +63915,7 @@ class DescribeTasksResponseBodyItemsTaskProgressInfo(TeaModel):
63712
63915
  task_error_message: str = None,
63713
63916
  task_id: str = None,
63714
63917
  ):
63715
- # The start time of the task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC .
63918
+ # The start time of the task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
63716
63919
  self.begin_time = begin_time
63717
63920
  # The name of the subtask.
63718
63921
  self.current_step_name = current_step_name
@@ -63720,15 +63923,15 @@ class DescribeTasksResponseBodyItemsTaskProgressInfo(TeaModel):
63720
63923
  self.dbname = dbname
63721
63924
  # The estimated end time of the task.
63722
63925
  #
63723
- # > In most cases, this parameter is empty.
63926
+ # > In most cases, this parameter is empty.
63724
63927
  self.expected_finish_time = expected_finish_time
63725
63928
  # The end time of the task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
63726
63929
  self.finish_time = finish_time
63727
- # The progress of the task in percentage.
63930
+ # The task progress in percentage.
63728
63931
  self.progress = progress
63729
63932
  # The description of the task progress.
63730
63933
  #
63731
- # > If no progress description is provided for the task, this parameter is empty.
63934
+ # > If no progress description is provided for the task, this parameter is empty.
63732
63935
  self.progress_info = progress_info
63733
63936
  # The estimated remaining time of the task. Unit: seconds.
63734
63937
  #
@@ -63744,13 +63947,13 @@ class DescribeTasksResponseBodyItemsTaskProgressInfo(TeaModel):
63744
63947
  self.task_action = task_action
63745
63948
  # The error code that is returned when an error occurs.
63746
63949
  #
63747
- # > This parameter is returned only when an error occurs.
63950
+ # > This parameter is returned only when an error occurs.
63748
63951
  self.task_error_code = task_error_code
63749
63952
  # The error message that is returned when an error occurs.
63750
63953
  #
63751
63954
  # > This parameter is returned only when an error occurs.
63752
63955
  self.task_error_message = task_error_message
63753
- # The ID of the task.
63956
+ # The task ID. You can use one of the following methods to obtain the task ID:
63754
63957
  self.task_id = task_id
63755
63958
 
63756
63959
  def validate(self):
@@ -63875,13 +64078,13 @@ class DescribeTasksResponseBody(TeaModel):
63875
64078
  ):
63876
64079
  # The details of the task execution.
63877
64080
  self.items = items
63878
- # The page number of the returned page.
64081
+ # The page number.
63879
64082
  self.page_number = page_number
63880
64083
  # The number of entries on the current page.
63881
64084
  self.page_record_count = page_record_count
63882
- # The ID of the request.
64085
+ # The request ID.
63883
64086
  self.request_id = request_id
63884
- # The total number of returned entries.
64087
+ # The total number of entries.
63885
64088
  self.total_record_count = total_record_count
63886
64089
 
63887
64090
  def validate(self):
@@ -79846,10 +80049,12 @@ class ModifyRCInstanceRequest(TeaModel):
79846
80049
  def __init__(
79847
80050
  self,
79848
80051
  auto_pay: bool = None,
80052
+ auto_use_coupon: bool = None,
79849
80053
  direction: str = None,
79850
80054
  dry_run: bool = None,
79851
80055
  instance_id: str = None,
79852
80056
  instance_type: str = None,
80057
+ promotion_code: str = None,
79853
80058
  reboot_time: str = None,
79854
80059
  reboot_when_finished: bool = None,
79855
80060
  region_id: str = None,
@@ -79861,6 +80066,7 @@ class ModifyRCInstanceRequest(TeaModel):
79861
80066
  #
79862
80067
  # > If your account balance is insufficient, you can set AutoPay to false. In this case, an unpaid order is generated. You can complete the payment in the Expenses and Costs console.
79863
80068
  self.auto_pay = auto_pay
80069
+ self.auto_use_coupon = auto_use_coupon
79864
80070
  # The type of the change that you want to perform on the instance. Valid values:
79865
80071
  #
79866
80072
  # > This parameter is optional. The system can automatically determine whether the instance change is an upgrade or a downgrade. If you want to specify this parameter, take note of the following items:
@@ -79877,6 +80083,7 @@ class ModifyRCInstanceRequest(TeaModel):
79877
80083
  self.instance_id = instance_id
79878
80084
  # The new instance type. For more information about the instance types that are supported by RDS Custom instances, see [Instance types of RDS Custom instances](https://help.aliyun.com/document_detail/2844823.html).
79879
80085
  self.instance_type = instance_type
80086
+ self.promotion_code = promotion_code
79880
80087
  self.reboot_time = reboot_time
79881
80088
  self.reboot_when_finished = reboot_when_finished
79882
80089
  # The region ID of the instance.
@@ -79893,6 +80100,8 @@ class ModifyRCInstanceRequest(TeaModel):
79893
80100
  result = dict()
79894
80101
  if self.auto_pay is not None:
79895
80102
  result['AutoPay'] = self.auto_pay
80103
+ if self.auto_use_coupon is not None:
80104
+ result['AutoUseCoupon'] = self.auto_use_coupon
79896
80105
  if self.direction is not None:
79897
80106
  result['Direction'] = self.direction
79898
80107
  if self.dry_run is not None:
@@ -79901,6 +80110,8 @@ class ModifyRCInstanceRequest(TeaModel):
79901
80110
  result['InstanceId'] = self.instance_id
79902
80111
  if self.instance_type is not None:
79903
80112
  result['InstanceType'] = self.instance_type
80113
+ if self.promotion_code is not None:
80114
+ result['PromotionCode'] = self.promotion_code
79904
80115
  if self.reboot_time is not None:
79905
80116
  result['RebootTime'] = self.reboot_time
79906
80117
  if self.reboot_when_finished is not None:
@@ -79913,6 +80124,8 @@ class ModifyRCInstanceRequest(TeaModel):
79913
80124
  m = m or dict()
79914
80125
  if m.get('AutoPay') is not None:
79915
80126
  self.auto_pay = m.get('AutoPay')
80127
+ if m.get('AutoUseCoupon') is not None:
80128
+ self.auto_use_coupon = m.get('AutoUseCoupon')
79916
80129
  if m.get('Direction') is not None:
79917
80130
  self.direction = m.get('Direction')
79918
80131
  if m.get('DryRun') is not None:
@@ -79921,6 +80134,8 @@ class ModifyRCInstanceRequest(TeaModel):
79921
80134
  self.instance_id = m.get('InstanceId')
79922
80135
  if m.get('InstanceType') is not None:
79923
80136
  self.instance_type = m.get('InstanceType')
80137
+ if m.get('PromotionCode') is not None:
80138
+ self.promotion_code = m.get('PromotionCode')
79924
80139
  if m.get('RebootTime') is not None:
79925
80140
  self.reboot_time = m.get('RebootTime')
79926
80141
  if m.get('RebootWhenFinished') is not None:
@@ -87375,6 +87590,7 @@ class RunRCInstancesRequest(TeaModel):
87375
87590
  amount: int = None,
87376
87591
  auto_pay: bool = None,
87377
87592
  auto_renew: bool = None,
87593
+ auto_use_coupon: bool = None,
87378
87594
  client_token: str = None,
87379
87595
  create_ack_edge_param: RunRCInstancesRequestCreateAckEdgeParam = None,
87380
87596
  create_extra_param: str = None,
@@ -87395,6 +87611,7 @@ class RunRCInstancesRequest(TeaModel):
87395
87611
  password: str = None,
87396
87612
  period: int = None,
87397
87613
  period_unit: str = None,
87614
+ promotion_code: str = None,
87398
87615
  region_id: str = None,
87399
87616
  resource_group_id: str = None,
87400
87617
  security_enhancement_strategy: str = None,
@@ -87424,6 +87641,7 @@ class RunRCInstancesRequest(TeaModel):
87424
87641
  # * **true** (default)
87425
87642
  # * **false**\
87426
87643
  self.auto_renew = auto_renew
87644
+ self.auto_use_coupon = auto_use_coupon
87427
87645
  # 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.
87428
87646
  self.client_token = client_token
87429
87647
  self.create_ack_edge_param = create_ack_edge_param
@@ -87468,6 +87686,7 @@ class RunRCInstancesRequest(TeaModel):
87468
87686
  # * **Year**\
87469
87687
  # * **Month** (default)
87470
87688
  self.period_unit = period_unit
87689
+ self.promotion_code = promotion_code
87471
87690
  # The region ID. You can call the DescribeRegions operation to query the most recent region list.
87472
87691
  #
87473
87692
  # This parameter is required.
@@ -87523,6 +87742,8 @@ class RunRCInstancesRequest(TeaModel):
87523
87742
  result['AutoPay'] = self.auto_pay
87524
87743
  if self.auto_renew is not None:
87525
87744
  result['AutoRenew'] = self.auto_renew
87745
+ if self.auto_use_coupon is not None:
87746
+ result['AutoUseCoupon'] = self.auto_use_coupon
87526
87747
  if self.client_token is not None:
87527
87748
  result['ClientToken'] = self.client_token
87528
87749
  if self.create_ack_edge_param is not None:
@@ -87565,6 +87786,8 @@ class RunRCInstancesRequest(TeaModel):
87565
87786
  result['Period'] = self.period
87566
87787
  if self.period_unit is not None:
87567
87788
  result['PeriodUnit'] = self.period_unit
87789
+ if self.promotion_code is not None:
87790
+ result['PromotionCode'] = self.promotion_code
87568
87791
  if self.region_id is not None:
87569
87792
  result['RegionId'] = self.region_id
87570
87793
  if self.resource_group_id is not None:
@@ -87601,6 +87824,8 @@ class RunRCInstancesRequest(TeaModel):
87601
87824
  self.auto_pay = m.get('AutoPay')
87602
87825
  if m.get('AutoRenew') is not None:
87603
87826
  self.auto_renew = m.get('AutoRenew')
87827
+ if m.get('AutoUseCoupon') is not None:
87828
+ self.auto_use_coupon = m.get('AutoUseCoupon')
87604
87829
  if m.get('ClientToken') is not None:
87605
87830
  self.client_token = m.get('ClientToken')
87606
87831
  if m.get('CreateAckEdgeParam') is not None:
@@ -87645,6 +87870,8 @@ class RunRCInstancesRequest(TeaModel):
87645
87870
  self.period = m.get('Period')
87646
87871
  if m.get('PeriodUnit') is not None:
87647
87872
  self.period_unit = m.get('PeriodUnit')
87873
+ if m.get('PromotionCode') is not None:
87874
+ self.promotion_code = m.get('PromotionCode')
87648
87875
  if m.get('RegionId') is not None:
87649
87876
  self.region_id = m.get('RegionId')
87650
87877
  if m.get('ResourceGroupId') is not None:
@@ -87715,6 +87942,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87715
87942
  amount: int = None,
87716
87943
  auto_pay: bool = None,
87717
87944
  auto_renew: bool = None,
87945
+ auto_use_coupon: bool = None,
87718
87946
  client_token: str = None,
87719
87947
  create_ack_edge_param_shrink: str = None,
87720
87948
  create_extra_param: str = None,
@@ -87735,6 +87963,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87735
87963
  password: str = None,
87736
87964
  period: int = None,
87737
87965
  period_unit: str = None,
87966
+ promotion_code: str = None,
87738
87967
  region_id: str = None,
87739
87968
  resource_group_id: str = None,
87740
87969
  security_enhancement_strategy: str = None,
@@ -87764,6 +87993,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87764
87993
  # * **true** (default)
87765
87994
  # * **false**\
87766
87995
  self.auto_renew = auto_renew
87996
+ self.auto_use_coupon = auto_use_coupon
87767
87997
  # 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.
87768
87998
  self.client_token = client_token
87769
87999
  self.create_ack_edge_param_shrink = create_ack_edge_param_shrink
@@ -87808,6 +88038,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87808
88038
  # * **Year**\
87809
88039
  # * **Month** (default)
87810
88040
  self.period_unit = period_unit
88041
+ self.promotion_code = promotion_code
87811
88042
  # The region ID. You can call the DescribeRegions operation to query the most recent region list.
87812
88043
  #
87813
88044
  # This parameter is required.
@@ -87855,6 +88086,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87855
88086
  result['AutoPay'] = self.auto_pay
87856
88087
  if self.auto_renew is not None:
87857
88088
  result['AutoRenew'] = self.auto_renew
88089
+ if self.auto_use_coupon is not None:
88090
+ result['AutoUseCoupon'] = self.auto_use_coupon
87858
88091
  if self.client_token is not None:
87859
88092
  result['ClientToken'] = self.client_token
87860
88093
  if self.create_ack_edge_param_shrink is not None:
@@ -87895,6 +88128,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87895
88128
  result['Period'] = self.period
87896
88129
  if self.period_unit is not None:
87897
88130
  result['PeriodUnit'] = self.period_unit
88131
+ if self.promotion_code is not None:
88132
+ result['PromotionCode'] = self.promotion_code
87898
88133
  if self.region_id is not None:
87899
88134
  result['RegionId'] = self.region_id
87900
88135
  if self.resource_group_id is not None:
@@ -87931,6 +88166,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87931
88166
  self.auto_pay = m.get('AutoPay')
87932
88167
  if m.get('AutoRenew') is not None:
87933
88168
  self.auto_renew = m.get('AutoRenew')
88169
+ if m.get('AutoUseCoupon') is not None:
88170
+ self.auto_use_coupon = m.get('AutoUseCoupon')
87934
88171
  if m.get('ClientToken') is not None:
87935
88172
  self.client_token = m.get('ClientToken')
87936
88173
  if m.get('CreateAckEdgeParam') is not None:
@@ -87971,6 +88208,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87971
88208
  self.period = m.get('Period')
87972
88209
  if m.get('PeriodUnit') is not None:
87973
88210
  self.period_unit = m.get('PeriodUnit')
88211
+ if m.get('PromotionCode') is not None:
88212
+ self.promotion_code = m.get('PromotionCode')
87974
88213
  if m.get('RegionId') is not None:
87975
88214
  self.region_id = m.get('RegionId')
87976
88215
  if m.get('ResourceGroupId') is not None: