alibabacloud-rds20140815 11.3.0__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.
5600
5603
  #
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.
5604
+ # >
5603
5605
  #
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.
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.
5607
+ #
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**.
6383
6386
  #
6384
- # * If you set **Engine** to **MySQL**:
6387
+ # * **Engine** is set to **MySQL**:
6385
6388
  #
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).
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).
6388
6391
  #
6389
- # * If you set **Engine** to **PostgreSQL**:
6392
+ # * **Engine** is set to **PostgreSQL**.
6390
6393
  #
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.
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.
6393
6396
  #
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.
6397
+ # >
6398
+ #
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.
6400
+ #
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
@@ -27442,6 +27496,8 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27442
27496
  auto_upgrade_minor_version: str = None,
27443
27497
  availability_value: str = None,
27444
27498
  babelfish_config: DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig = None,
27499
+ blue_green_deployment_name: str = None,
27500
+ blue_instance_name: str = None,
27445
27501
  bpe_enabled: str = None,
27446
27502
  bursting_enabled: bool = None,
27447
27503
  can_temp_upgrade: bool = None,
@@ -27450,6 +27506,7 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27450
27506
  collation: str = None,
27451
27507
  compression_mode: str = None,
27452
27508
  compression_ratio: str = None,
27509
+ compute_burst_enabled: bool = None,
27453
27510
  connection_mode: str = None,
27454
27511
  connection_string: str = None,
27455
27512
  console_version: str = None,
@@ -27478,6 +27535,7 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27478
27535
  expire_time: str = None,
27479
27536
  extra: DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtra = None,
27480
27537
  general_group_name: str = None,
27538
+ green_instance_name: str = None,
27481
27539
  guard_dbinstance_id: str = None,
27482
27540
  iptype: str = None,
27483
27541
  increment_source_dbinstance_id: str = None,
@@ -27540,9 +27598,16 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27540
27598
  #
27541
27599
  # > This parameter applies only to ApsaraDB RDS for PostgreSQL instances for which Babelfish is enabled. For more information, see [Introduction to Babelfish](https://help.aliyun.com/document_detail/428613.html).
27542
27600
  self.babelfish_config = babelfish_config
27601
+ self.blue_green_deployment_name = blue_green_deployment_name
27602
+ self.blue_instance_name = blue_instance_name
27543
27603
  # A deprecated parameter. You do not need to specify this parameter.
27544
27604
  self.bpe_enabled = bpe_enabled
27545
- # An invalid parameter. You do not need to specify this parameter.
27605
+ # Indicates whether the I/O burst feature is enabled for Premium ESSDs. Valid values:
27606
+ #
27607
+ # * true
27608
+ # * false
27609
+ #
27610
+ # > For more information about the I/O burst feature, see [What are Premium ESSDs?](https://help.aliyun.com/document_detail/2340501.html)
27546
27611
  self.bursting_enabled = bursting_enabled
27547
27612
  # Indicates whether the conditions for a temporary upgrade are met.
27548
27613
  #
@@ -27557,7 +27622,12 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27557
27622
  # * **Finance**: RDS Enterprise Edition
27558
27623
  # * **Serverless_basic**: RDS Basic Edition for serverless instances
27559
27624
  self.category = category
27560
- # A reserved parameter.
27625
+ # Indicates whether the data archiving feature is enabled for Premium ESSDs. Valid values:
27626
+ #
27627
+ # * **true**\
27628
+ # * **false**\
27629
+ #
27630
+ # For more information about the data archiving feature, see [Use the data archiving feature](https://help.aliyun.com/document_detail/2701832.html).
27561
27631
  self.cold_data_enabled = cold_data_enabled
27562
27632
  # The character set collation of the instance.
27563
27633
  self.collation = collation
@@ -27565,6 +27635,7 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27565
27635
  self.compression_mode = compression_mode
27566
27636
  # The storage compression ratio.
27567
27637
  self.compression_ratio = compression_ratio
27638
+ self.compute_burst_enabled = compute_burst_enabled
27568
27639
  # The connection mode of the instance. Valid values:
27569
27640
  #
27570
27641
  # * **Standard**: standard mode
@@ -27615,10 +27686,10 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27615
27686
  self.dbinstance_storage = dbinstance_storage
27616
27687
  # The storage type of the instance. Valid values:
27617
27688
  #
27618
- # * **local_ssd** or **ephemeral_ssd**: local SSD
27689
+ # * **local_ssd** and **ephemeral_ssd**: Premium Local SSD
27619
27690
  # * **cloud_ssd**: standard SSD
27620
- # * **cloud_essd**: Enterprise SSD (ESSD).
27621
- # * **general_essd**: general ESSD
27691
+ # * **cloud_essd**: ESSD
27692
+ # * **cloud_essd**: Premium ESSD
27622
27693
  self.dbinstance_storage_type = dbinstance_storage_type
27623
27694
  # The type of the instance. Valid values:
27624
27695
  #
@@ -27657,6 +27728,7 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27657
27728
  self.extra = extra
27658
27729
  # The name of the dedicated cluster to which the instance belongs. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
27659
27730
  self.general_group_name = general_group_name
27731
+ self.green_instance_name = green_instance_name
27660
27732
  # The ID of the disaster recovery instance that is attached to the primary instance.
27661
27733
  self.guard_dbinstance_id = guard_dbinstance_id
27662
27734
  # The IP address type. Only **IPv4 addresses** are supported.
@@ -27673,7 +27745,12 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27673
27745
  # * **x86**\
27674
27746
  # * **arm**\
27675
27747
  self.instruction_set_arch = instruction_set_arch
27676
- # A reserved parameter.
27748
+ # Indicates whether Buffer Pool Extension (BPE) is enabled for Premium ESSDs.
27749
+ #
27750
+ # * **1**: enabled
27751
+ # * **0**: disabled
27752
+ #
27753
+ # > For more information, see [Buffer Pool Extension(BPE)](https://help.aliyun.com/document_detail/2527067.html).
27677
27754
  self.io_acceleration_enabled = io_acceleration_enabled
27678
27755
  # The latest minor engine version that is supported by the instance.
27679
27756
  self.latest_kernel_version = latest_kernel_version
@@ -27704,11 +27781,10 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27704
27781
  self.max_iops = max_iops
27705
27782
  # Indicates whether auto scaling is being performed on the instance. If the value **true** is returned, auto scaling is being performed on the instance. If no value is returned, auto scaling is not being performed on the instance.
27706
27783
  self.multiple_temp_upgrade = multiple_temp_upgrade
27707
- # OptimizedWritesInfo contains two fields:
27708
- #
27709
- # - optimized_writes: Whether write optimization is enabled for the current instance.
27784
+ # The OptimizedWritesInfo parameter contains the following fields:
27710
27785
  #
27711
- # - init_optimized_writes: Whether write optimization can be enabled for the instance. Some instances do not display the write optimization switch in the console because init_optimized_writes is false.
27786
+ # * **optimized_writes**: indicates whether the 16K atomic write feature is enabled for the current instance.
27787
+ # * **init_optimized_writes**: indicates whether the 16K atomic write feature can be enabled for the current instance. If init_optimized_writes is set to false, the 16K atomic write switch is not displayed for specific instances in the console.
27712
27788
  self.optimized_writes_info = optimized_writes_info
27713
27789
  # Indicates whether PgBouncer is enabled.
27714
27790
  #
@@ -27815,6 +27891,10 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27815
27891
  result['AvailabilityValue'] = self.availability_value
27816
27892
  if self.babelfish_config is not None:
27817
27893
  result['BabelfishConfig'] = self.babelfish_config.to_map()
27894
+ if self.blue_green_deployment_name is not None:
27895
+ result['BlueGreenDeploymentName'] = self.blue_green_deployment_name
27896
+ if self.blue_instance_name is not None:
27897
+ result['BlueInstanceName'] = self.blue_instance_name
27818
27898
  if self.bpe_enabled is not None:
27819
27899
  result['BpeEnabled'] = self.bpe_enabled
27820
27900
  if self.bursting_enabled is not None:
@@ -27831,6 +27911,8 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27831
27911
  result['CompressionMode'] = self.compression_mode
27832
27912
  if self.compression_ratio is not None:
27833
27913
  result['CompressionRatio'] = self.compression_ratio
27914
+ if self.compute_burst_enabled is not None:
27915
+ result['ComputeBurstEnabled'] = self.compute_burst_enabled
27834
27916
  if self.connection_mode is not None:
27835
27917
  result['ConnectionMode'] = self.connection_mode
27836
27918
  if self.connection_string is not None:
@@ -27887,6 +27969,8 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27887
27969
  result['Extra'] = self.extra.to_map()
27888
27970
  if self.general_group_name is not None:
27889
27971
  result['GeneralGroupName'] = self.general_group_name
27972
+ if self.green_instance_name is not None:
27973
+ result['GreenInstanceName'] = self.green_instance_name
27890
27974
  if self.guard_dbinstance_id is not None:
27891
27975
  result['GuardDBInstanceId'] = self.guard_dbinstance_id
27892
27976
  if self.iptype is not None:
@@ -27988,6 +28072,10 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
27988
28072
  if m.get('BabelfishConfig') is not None:
27989
28073
  temp_model = DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig()
27990
28074
  self.babelfish_config = temp_model.from_map(m['BabelfishConfig'])
28075
+ if m.get('BlueGreenDeploymentName') is not None:
28076
+ self.blue_green_deployment_name = m.get('BlueGreenDeploymentName')
28077
+ if m.get('BlueInstanceName') is not None:
28078
+ self.blue_instance_name = m.get('BlueInstanceName')
27991
28079
  if m.get('BpeEnabled') is not None:
27992
28080
  self.bpe_enabled = m.get('BpeEnabled')
27993
28081
  if m.get('BurstingEnabled') is not None:
@@ -28004,6 +28092,8 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
28004
28092
  self.compression_mode = m.get('CompressionMode')
28005
28093
  if m.get('CompressionRatio') is not None:
28006
28094
  self.compression_ratio = m.get('CompressionRatio')
28095
+ if m.get('ComputeBurstEnabled') is not None:
28096
+ self.compute_burst_enabled = m.get('ComputeBurstEnabled')
28007
28097
  if m.get('ConnectionMode') is not None:
28008
28098
  self.connection_mode = m.get('ConnectionMode')
28009
28099
  if m.get('ConnectionString') is not None:
@@ -28062,6 +28152,8 @@ class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute(TeaModel):
28062
28152
  self.extra = temp_model.from_map(m['Extra'])
28063
28153
  if m.get('GeneralGroupName') is not None:
28064
28154
  self.general_group_name = m.get('GeneralGroupName')
28155
+ if m.get('GreenInstanceName') is not None:
28156
+ self.green_instance_name = m.get('GreenInstanceName')
28065
28157
  if m.get('GuardDBInstanceId') is not None:
28066
28158
  self.guard_dbinstance_id = m.get('GuardDBInstanceId')
28067
28159
  if m.get('IPType') is not None:
@@ -33680,6 +33772,8 @@ class DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIds(TeaMod
33680
33772
  class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
33681
33773
  def __init__(
33682
33774
  self,
33775
+ blue_green_deployment_name: str = None,
33776
+ blue_instance_name: str = None,
33683
33777
  bpe_enabled: str = None,
33684
33778
  bursting_enabled: bool = None,
33685
33779
  category: str = None,
@@ -33713,6 +33807,7 @@ class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
33713
33807
  engine_version: str = None,
33714
33808
  expire_time: str = None,
33715
33809
  general_group_name: str = None,
33810
+ green_instance_name: str = None,
33716
33811
  guard_dbinstance_id: str = None,
33717
33812
  instance_network_type: str = None,
33718
33813
  io_acceleration_enabled: str = None,
@@ -33734,6 +33829,8 @@ class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
33734
33829
  vpc_name: str = None,
33735
33830
  zone_id: str = None,
33736
33831
  ):
33832
+ self.blue_green_deployment_name = blue_green_deployment_name
33833
+ self.blue_instance_name = blue_instance_name
33737
33834
  # A deprecated parameter.
33738
33835
  self.bpe_enabled = bpe_enabled
33739
33836
  # Indicates whether the I/O burst feature is enabled. Valid values:
@@ -33829,6 +33926,7 @@ class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
33829
33926
  self.expire_time = expire_time
33830
33927
  # The name of the dedicated cluster to which the instance belongs. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
33831
33928
  self.general_group_name = general_group_name
33929
+ self.green_instance_name = green_instance_name
33832
33930
  # The ID of the disaster recovery instance. This parameter is returned only when the instance is a primary instance and has a disaster recovery instance attached.
33833
33931
  self.guard_dbinstance_id = guard_dbinstance_id
33834
33932
  # The network type of the instance. Valid values:
@@ -33907,6 +34005,10 @@ class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
33907
34005
  return _map
33908
34006
 
33909
34007
  result = dict()
34008
+ if self.blue_green_deployment_name is not None:
34009
+ result['BlueGreenDeploymentName'] = self.blue_green_deployment_name
34010
+ if self.blue_instance_name is not None:
34011
+ result['BlueInstanceName'] = self.blue_instance_name
33910
34012
  if self.bpe_enabled is not None:
33911
34013
  result['BpeEnabled'] = self.bpe_enabled
33912
34014
  if self.bursting_enabled is not None:
@@ -33973,6 +34075,8 @@ class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
33973
34075
  result['ExpireTime'] = self.expire_time
33974
34076
  if self.general_group_name is not None:
33975
34077
  result['GeneralGroupName'] = self.general_group_name
34078
+ if self.green_instance_name is not None:
34079
+ result['GreenInstanceName'] = self.green_instance_name
33976
34080
  if self.guard_dbinstance_id is not None:
33977
34081
  result['GuardDBInstanceId'] = self.guard_dbinstance_id
33978
34082
  if self.instance_network_type is not None:
@@ -34017,6 +34121,10 @@ class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
34017
34121
 
34018
34122
  def from_map(self, m: dict = None):
34019
34123
  m = m or dict()
34124
+ if m.get('BlueGreenDeploymentName') is not None:
34125
+ self.blue_green_deployment_name = m.get('BlueGreenDeploymentName')
34126
+ if m.get('BlueInstanceName') is not None:
34127
+ self.blue_instance_name = m.get('BlueInstanceName')
34020
34128
  if m.get('BpeEnabled') is not None:
34021
34129
  self.bpe_enabled = m.get('BpeEnabled')
34022
34130
  if m.get('BurstingEnabled') is not None:
@@ -34083,6 +34191,8 @@ class DescribeDBInstancesResponseBodyItemsDBInstance(TeaModel):
34083
34191
  self.expire_time = m.get('ExpireTime')
34084
34192
  if m.get('GeneralGroupName') is not None:
34085
34193
  self.general_group_name = m.get('GeneralGroupName')
34194
+ if m.get('GreenInstanceName') is not None:
34195
+ self.green_instance_name = m.get('GreenInstanceName')
34086
34196
  if m.get('GuardDBInstanceId') is not None:
34087
34197
  self.guard_dbinstance_id = m.get('GuardDBInstanceId')
34088
34198
  if m.get('InstanceNetworkType') is not None:
@@ -38282,7 +38392,7 @@ class DescribeDatabasesRequest(TeaModel):
38282
38392
  #
38283
38393
  # Default value: **1**.
38284
38394
  self.page_number = page_number
38285
- # The number of entries per page. Valid values:
38395
+ # The number of entries to return per page. Valid values:
38286
38396
  #
38287
38397
  # * **30**\
38288
38398
  # * **50**\
@@ -49660,11 +49770,12 @@ class DescribePriceRequest(TeaModel):
49660
49770
  #
49661
49771
  # This parameter is required.
49662
49772
  self.dbinstance_storage = dbinstance_storage
49663
- # The storage type of the instance. Valid values:
49773
+ # The storage type of the new instance. Valid values:
49664
49774
  #
49665
- # * **local_ssd**: local SSD
49775
+ # * **general_essd**: premium Enterprise SSD (ESSD)
49776
+ # * **local_ssd**: premium local SSD
49666
49777
  # * **cloud_ssd**: standard SSD
49667
- # * **cloud_essd**: PL1 ESSD
49778
+ # * **cloud_essd**: performance level 1 (PL1) ESSD
49668
49779
  # * **cloud_essd2**: PL2 ESSD
49669
49780
  # * **cloud_essd3**: PL3 ESSD
49670
49781
  self.dbinstance_storage_type = dbinstance_storage_type
@@ -49681,10 +49792,10 @@ class DescribePriceRequest(TeaModel):
49681
49792
  #
49682
49793
  # This parameter is required.
49683
49794
  self.engine = engine
49684
- # The database engine version of the instance.
49795
+ # The database engine version of the instance. Valid values:
49685
49796
  #
49686
49797
  # * Valid values if you set Engine to **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**\
49687
- # * Valid values if 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**, **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**\
49798
+ # * Valid values if you set Engine to **SQL Server**: **08r2_ent_ha**(cloud disks, discontinued), **2008r2**(high-performance local disks, discontinued), **2012** (SQL Server EE Basic)**2012_ent_ha**, **2012_std_ha**, **2012_web**, **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**\
49688
49799
  # * Valid values if you set Engine to **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**\
49689
49800
  # * Valid value if you set Engine to **MariaDB**: **10.3**\
49690
49801
  #
@@ -49909,11 +50020,12 @@ class DescribePriceShrinkRequest(TeaModel):
49909
50020
  #
49910
50021
  # This parameter is required.
49911
50022
  self.dbinstance_storage = dbinstance_storage
49912
- # The storage type of the instance. Valid values:
50023
+ # The storage type of the new instance. Valid values:
49913
50024
  #
49914
- # * **local_ssd**: local SSD
50025
+ # * **general_essd**: premium Enterprise SSD (ESSD)
50026
+ # * **local_ssd**: premium local SSD
49915
50027
  # * **cloud_ssd**: standard SSD
49916
- # * **cloud_essd**: PL1 ESSD
50028
+ # * **cloud_essd**: performance level 1 (PL1) ESSD
49917
50029
  # * **cloud_essd2**: PL2 ESSD
49918
50030
  # * **cloud_essd3**: PL3 ESSD
49919
50031
  self.dbinstance_storage_type = dbinstance_storage_type
@@ -49930,10 +50042,10 @@ class DescribePriceShrinkRequest(TeaModel):
49930
50042
  #
49931
50043
  # This parameter is required.
49932
50044
  self.engine = engine
49933
- # The database engine version of the instance.
50045
+ # The database engine version of the instance. Valid values:
49934
50046
  #
49935
50047
  # * Valid values if you set Engine to **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**\
49936
- # * Valid values if 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**, **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**\
50048
+ # * Valid values if you set Engine to **SQL Server**: **08r2_ent_ha**(cloud disks, discontinued), **2008r2**(high-performance local disks, discontinued), **2012** (SQL Server EE Basic)**2012_ent_ha**, **2012_std_ha**, **2012_web**, **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**\
49937
50049
  # * Valid values if you set Engine to **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**\
49938
50050
  # * Valid value if you set Engine to **MariaDB**: **10.3**\
49939
50051
  #
@@ -51937,6 +52049,39 @@ class DescribeRCDeploymentSetsResponse(TeaModel):
51937
52049
  return self
51938
52050
 
51939
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
+
51940
52085
  class DescribeRCDisksRequest(TeaModel):
51941
52086
  def __init__(
51942
52087
  self,
@@ -51945,8 +52090,9 @@ class DescribeRCDisksRequest(TeaModel):
51945
52090
  page_number: int = None,
51946
52091
  page_size: int = None,
51947
52092
  region_id: str = None,
52093
+ tag: List[DescribeRCDisksRequestTag] = None,
51948
52094
  ):
51949
- # The IDs of cloud disks, local disks, or elastic ephemeral disks. The value is a JSON array that consists of up to 100 disk IDs. Separate the disk IDs with commas (,).
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"]`.
51950
52096
  self.disk_ids = disk_ids
51951
52097
  # The instance ID.
51952
52098
  self.instance_id = instance_id
@@ -51954,13 +52100,17 @@ class DescribeRCDisksRequest(TeaModel):
51954
52100
  self.page_number = page_number
51955
52101
  # The number of entries per page. Valid values: **30** to **100**. Default value: **30**.
51956
52102
  self.page_size = page_size
51957
- # The region ID of the instance.
52103
+ # The region ID.
51958
52104
  #
51959
52105
  # This parameter is required.
51960
52106
  self.region_id = region_id
52107
+ self.tag = tag
51961
52108
 
51962
52109
  def validate(self):
51963
- pass
52110
+ if self.tag:
52111
+ for k in self.tag:
52112
+ if k:
52113
+ k.validate()
51964
52114
 
51965
52115
  def to_map(self):
51966
52116
  _map = super().to_map()
@@ -51978,6 +52128,10 @@ class DescribeRCDisksRequest(TeaModel):
51978
52128
  result['PageSize'] = self.page_size
51979
52129
  if self.region_id is not None:
51980
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)
51981
52135
  return result
51982
52136
 
51983
52137
  def from_map(self, m: dict = None):
@@ -51992,6 +52146,44 @@ class DescribeRCDisksRequest(TeaModel):
51992
52146
  self.page_size = m.get('PageSize')
51993
52147
  if m.get('RegionId') is not None:
51994
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')
51995
52187
  return self
51996
52188
 
51997
52189
 
@@ -52021,23 +52213,16 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52021
52213
  status: str = None,
52022
52214
  storage_cluster_id: str = None,
52023
52215
  storage_set_id: str = None,
52216
+ tag: List[DescribeRCDisksResponseBodyDisksTag] = None,
52024
52217
  type: str = None,
52025
52218
  zone_id: str = None,
52026
52219
  ):
52027
- # The disk category. Valid values:
52028
- #
52029
- # * cloud: basic disk
52030
- # * cloud_efficiency: utra disk
52031
- # * cloud_ssd: standard SSD
52032
- # * cloud_essd: Enterprise SSD (ESSD)
52033
- # * cloud_auto: ESSD AutoPL disk
52034
- # * local_ssd_pro: I/O-intensive local disk
52035
- # * local_hdd_pro: throughput-intensive local disk
52036
- # * cloud_essd_entry: ESSD Entry disk
52037
- # * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
52038
- # * elastic_ephemeral_disk_premium: premium static ephemeral disk
52039
- # * ephemeral: retired local disk
52040
- # * ephemeral_ssd: retired local SSD
52220
+ # The category of the disk. Valid values:
52221
+ #
52222
+ # * **cloud_efficiency**: ultra disk.
52223
+ # * **cloud_ssd**: standard SSD.
52224
+ # * **cloud_essd**: ESSD.
52225
+ # * **cloud_auto**: Premium ESSD
52041
52226
  self.category = category
52042
52227
  # The creation time.
52043
52228
  self.creation_time = creation_time
@@ -52110,6 +52295,7 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52110
52295
  self.storage_cluster_id = storage_cluster_id
52111
52296
  # The storage set ID.
52112
52297
  self.storage_set_id = storage_set_id
52298
+ self.tag = tag
52113
52299
  # The disk type. Valid values:
52114
52300
  #
52115
52301
  # * system: system disk
@@ -52119,7 +52305,10 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52119
52305
  self.zone_id = zone_id
52120
52306
 
52121
52307
  def validate(self):
52122
- pass
52308
+ if self.tag:
52309
+ for k in self.tag:
52310
+ if k:
52311
+ k.validate()
52123
52312
 
52124
52313
  def to_map(self):
52125
52314
  _map = super().to_map()
@@ -52173,6 +52362,10 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52173
52362
  result['StorageClusterId'] = self.storage_cluster_id
52174
52363
  if self.storage_set_id is not None:
52175
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)
52176
52369
  if self.type is not None:
52177
52370
  result['Type'] = self.type
52178
52371
  if self.zone_id is not None:
@@ -52227,6 +52420,11 @@ class DescribeRCDisksResponseBodyDisks(TeaModel):
52227
52420
  self.storage_cluster_id = m.get('StorageClusterId')
52228
52421
  if m.get('StorageSetId') is not None:
52229
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))
52230
52428
  if m.get('Type') is not None:
52231
52429
  self.type = m.get('Type')
52232
52430
  if m.get('ZoneId') is not None:
@@ -53753,8 +53951,11 @@ class DescribeRCInstanceDdosCountRequest(TeaModel):
53753
53951
  instance_type: str = None,
53754
53952
  region_id: str = None,
53755
53953
  ):
53954
+ # The region ID of the asset.
53756
53955
  self.ddos_region_id = ddos_region_id
53956
+ # The type of the asset that is assigned a public IP address. Fixed value: **ecs**.
53757
53957
  self.instance_type = instance_type
53958
+ # The ID of the region in which the RDS Custom instance resides.
53758
53959
  self.region_id = region_id
53759
53960
 
53760
53961
  def validate(self):
@@ -53792,8 +53993,11 @@ class DescribeRCInstanceDdosCountResponseBodyDdosCount(TeaModel):
53792
53993
  defense_count: str = None,
53793
53994
  instacen_count: str = None,
53794
53995
  ):
53996
+ # The number of instances for which blackhole filtering is triggered.
53795
53997
  self.blackhole_count = blackhole_count
53998
+ # The number of instances for which traffic scrubbing is triggered.
53796
53999
  self.defense_count = defense_count
54000
+ # The total number of instances.
53797
54001
  self.instacen_count = instacen_count
53798
54002
 
53799
54003
  def validate(self):
@@ -53830,7 +54034,9 @@ class DescribeRCInstanceDdosCountResponseBody(TeaModel):
53830
54034
  ddos_count: DescribeRCInstanceDdosCountResponseBodyDdosCount = None,
53831
54035
  request_id: str = None,
53832
54036
  ):
54037
+ # The number of instances that are under DDoS attacks.
53833
54038
  self.ddos_count = ddos_count
54039
+ # The request ID.
53834
54040
  self.request_id = request_id
53835
54041
 
53836
54042
  def validate(self):
@@ -54582,15 +54788,28 @@ class DescribeRCInstanceIpAddressRequest(TeaModel):
54582
54788
  region_id: str = None,
54583
54789
  resource_type: str = None,
54584
54790
  ):
54791
+ # The page number. Default value: 1. Pages start from page 1.
54585
54792
  self.current_page = current_page
54793
+ # The region ID of the asset.
54586
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.
54587
54799
  self.ddos_status = ddos_status
54800
+ # The ID of the RDS Custom instance to which the asset to query is added.
54588
54801
  self.instance_id = instance_id
54802
+ # The IP address of the asset to query.
54589
54803
  self.instance_ip = instance_ip
54804
+ # The name of the RDS Custom instance to which the asset to query is added.
54590
54805
  self.instance_name = instance_name
54806
+ # The type of the asset that is assigned a public IP address. Set the value to **ecs**.
54591
54807
  self.instance_type = instance_type
54808
+ # The number of instances on each page.
54592
54809
  self.page_size = page_size
54810
+ # The ID of the region in which the RDS Custom instance resides.
54593
54811
  self.region_id = region_id
54812
+ # The type of the resource. Set the value to **ecs**.
54594
54813
  self.resource_type = resource_type
54595
54814
 
54596
54815
  def validate(self):
@@ -54663,15 +54882,38 @@ class DescribeRCInstanceIpAddressResponseBodyRCInstanceListIpAddressConfig(TeaMo
54663
54882
  is_full_protection: int = None,
54664
54883
  region_id: str = None,
54665
54884
  ):
54885
+ # The basic protection threshold for the asset. Unit: Mbit/s.
54666
54886
  self.blackhole_threshold = blackhole_threshold
54887
+ # The traffic scrubbing threshold for the asset measured in Mbit/s. Unit: Mbit/s.
54667
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).
54668
54890
  self.defense_pps_threshold = defense_pps_threshold
54891
+ # The burstable protection threshold for the asset. Unit: Mbit/s.
54669
54892
  self.elastic_threshold = elastic_threshold
54893
+ # The IP address of the asset.
54670
54894
  self.instance_ip = instance_ip
54895
+ # The DDoS mitigation status of the asset. Valid values:
54896
+ #
54897
+ # * **mitigating**\
54898
+ # * **blackholed**\
54899
+ # * **normal**\
54671
54900
  self.ip_status = ip_status
54901
+ # The IP version of the instance. Valid values:
54902
+ #
54903
+ # * **v4**\
54904
+ # * **v6**\
54672
54905
  self.ip_version = ip_version
54906
+ # Indicates whether the asset is added to the instance. Valid values:
54907
+ #
54908
+ # * **true**\
54909
+ # * **false**\
54673
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.
54674
54915
  self.is_full_protection = is_full_protection
54916
+ # The region code of the asset.
54675
54917
  self.region_id = region_id
54676
54918
 
54677
54919
  def validate(self):
@@ -54739,10 +54981,18 @@ class DescribeRCInstanceIpAddressResponseBodyRCInstanceList(TeaModel):
54739
54981
  instance_type: str = None,
54740
54982
  ip_address_config: List[DescribeRCInstanceIpAddressResponseBodyRCInstanceListIpAddressConfig] = None,
54741
54983
  ):
54984
+ # The ID of the RDS Custom instance.
54742
54985
  self.instance_id = instance_id
54986
+ # The instance name.
54743
54987
  self.instance_name = instance_name
54988
+ # The DDoS mitigation status of the instance. Valid values:
54989
+ #
54990
+ # * **normal**\
54991
+ # * **abnormal**\
54744
54992
  self.instance_status = instance_status
54993
+ # The type of the asset. The value is fixed to **ecs**.
54745
54994
  self.instance_type = instance_type
54995
+ # An array that consists of the details of the asset.
54746
54996
  self.ip_address_config = ip_address_config
54747
54997
 
54748
54998
  def validate(self):
@@ -54796,8 +55046,11 @@ class DescribeRCInstanceIpAddressResponseBody(TeaModel):
54796
55046
  request_id: str = None,
54797
55047
  total: str = None,
54798
55048
  ):
55049
+ # An array that consists of details of the instance.
54799
55050
  self.rcinstance_list = rcinstance_list
55051
+ # The request ID.
54800
55052
  self.request_id = request_id
55053
+ # The total number of the assets.
54801
55054
  self.total = total
54802
55055
 
54803
55056
  def validate(self):
@@ -55462,6 +55715,7 @@ class DescribeRCInstancesRequest(TeaModel):
55462
55715
  page_size: int = None,
55463
55716
  public_ip: str = None,
55464
55717
  region_id: str = None,
55718
+ status: str = None,
55465
55719
  tag: str = None,
55466
55720
  vpc_id: str = None,
55467
55721
  ):
@@ -55484,6 +55738,7 @@ class DescribeRCInstancesRequest(TeaModel):
55484
55738
  self.public_ip = public_ip
55485
55739
  # The region ID.
55486
55740
  self.region_id = region_id
55741
+ self.status = status
55487
55742
  self.tag = tag
55488
55743
  # The virtual private cloud (VPC) ID.
55489
55744
  self.vpc_id = vpc_id
@@ -55511,6 +55766,8 @@ class DescribeRCInstancesRequest(TeaModel):
55511
55766
  result['PublicIp'] = self.public_ip
55512
55767
  if self.region_id is not None:
55513
55768
  result['RegionId'] = self.region_id
55769
+ if self.status is not None:
55770
+ result['Status'] = self.status
55514
55771
  if self.tag is not None:
55515
55772
  result['Tag'] = self.tag
55516
55773
  if self.vpc_id is not None:
@@ -55533,6 +55790,8 @@ class DescribeRCInstancesRequest(TeaModel):
55533
55790
  self.public_ip = m.get('PublicIp')
55534
55791
  if m.get('RegionId') is not None:
55535
55792
  self.region_id = m.get('RegionId')
55793
+ if m.get('Status') is not None:
55794
+ self.status = m.get('Status')
55536
55795
  if m.get('Tag') is not None:
55537
55796
  self.tag = m.get('Tag')
55538
55797
  if m.get('VpcId') is not None:
@@ -63556,7 +63815,7 @@ class DescribeTasksRequest(TeaModel):
63556
63815
  status: str = None,
63557
63816
  task_action: str = None,
63558
63817
  ):
63559
- # The ID of the instance.
63818
+ # The instance ID.
63560
63819
  #
63561
63820
  # This parameter is required.
63562
63821
  self.dbinstance_id = dbinstance_id
@@ -63656,7 +63915,7 @@ class DescribeTasksResponseBodyItemsTaskProgressInfo(TeaModel):
63656
63915
  task_error_message: str = None,
63657
63916
  task_id: str = None,
63658
63917
  ):
63659
- # 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.
63660
63919
  self.begin_time = begin_time
63661
63920
  # The name of the subtask.
63662
63921
  self.current_step_name = current_step_name
@@ -63664,15 +63923,15 @@ class DescribeTasksResponseBodyItemsTaskProgressInfo(TeaModel):
63664
63923
  self.dbname = dbname
63665
63924
  # The estimated end time of the task.
63666
63925
  #
63667
- # > In most cases, this parameter is empty.
63926
+ # > In most cases, this parameter is empty.
63668
63927
  self.expected_finish_time = expected_finish_time
63669
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.
63670
63929
  self.finish_time = finish_time
63671
- # The progress of the task in percentage.
63930
+ # The task progress in percentage.
63672
63931
  self.progress = progress
63673
63932
  # The description of the task progress.
63674
63933
  #
63675
- # > 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.
63676
63935
  self.progress_info = progress_info
63677
63936
  # The estimated remaining time of the task. Unit: seconds.
63678
63937
  #
@@ -63688,13 +63947,13 @@ class DescribeTasksResponseBodyItemsTaskProgressInfo(TeaModel):
63688
63947
  self.task_action = task_action
63689
63948
  # The error code that is returned when an error occurs.
63690
63949
  #
63691
- # > This parameter is returned only when an error occurs.
63950
+ # > This parameter is returned only when an error occurs.
63692
63951
  self.task_error_code = task_error_code
63693
63952
  # The error message that is returned when an error occurs.
63694
63953
  #
63695
63954
  # > This parameter is returned only when an error occurs.
63696
63955
  self.task_error_message = task_error_message
63697
- # The ID of the task.
63956
+ # The task ID. You can use one of the following methods to obtain the task ID:
63698
63957
  self.task_id = task_id
63699
63958
 
63700
63959
  def validate(self):
@@ -63819,13 +64078,13 @@ class DescribeTasksResponseBody(TeaModel):
63819
64078
  ):
63820
64079
  # The details of the task execution.
63821
64080
  self.items = items
63822
- # The page number of the returned page.
64081
+ # The page number.
63823
64082
  self.page_number = page_number
63824
64083
  # The number of entries on the current page.
63825
64084
  self.page_record_count = page_record_count
63826
- # The ID of the request.
64085
+ # The request ID.
63827
64086
  self.request_id = request_id
63828
- # The total number of returned entries.
64087
+ # The total number of entries.
63829
64088
  self.total_record_count = total_record_count
63830
64089
 
63831
64090
  def validate(self):
@@ -79790,10 +80049,12 @@ class ModifyRCInstanceRequest(TeaModel):
79790
80049
  def __init__(
79791
80050
  self,
79792
80051
  auto_pay: bool = None,
80052
+ auto_use_coupon: bool = None,
79793
80053
  direction: str = None,
79794
80054
  dry_run: bool = None,
79795
80055
  instance_id: str = None,
79796
80056
  instance_type: str = None,
80057
+ promotion_code: str = None,
79797
80058
  reboot_time: str = None,
79798
80059
  reboot_when_finished: bool = None,
79799
80060
  region_id: str = None,
@@ -79805,6 +80066,7 @@ class ModifyRCInstanceRequest(TeaModel):
79805
80066
  #
79806
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.
79807
80068
  self.auto_pay = auto_pay
80069
+ self.auto_use_coupon = auto_use_coupon
79808
80070
  # The type of the change that you want to perform on the instance. Valid values:
79809
80071
  #
79810
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:
@@ -79821,6 +80083,7 @@ class ModifyRCInstanceRequest(TeaModel):
79821
80083
  self.instance_id = instance_id
79822
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).
79823
80085
  self.instance_type = instance_type
80086
+ self.promotion_code = promotion_code
79824
80087
  self.reboot_time = reboot_time
79825
80088
  self.reboot_when_finished = reboot_when_finished
79826
80089
  # The region ID of the instance.
@@ -79837,6 +80100,8 @@ class ModifyRCInstanceRequest(TeaModel):
79837
80100
  result = dict()
79838
80101
  if self.auto_pay is not None:
79839
80102
  result['AutoPay'] = self.auto_pay
80103
+ if self.auto_use_coupon is not None:
80104
+ result['AutoUseCoupon'] = self.auto_use_coupon
79840
80105
  if self.direction is not None:
79841
80106
  result['Direction'] = self.direction
79842
80107
  if self.dry_run is not None:
@@ -79845,6 +80110,8 @@ class ModifyRCInstanceRequest(TeaModel):
79845
80110
  result['InstanceId'] = self.instance_id
79846
80111
  if self.instance_type is not None:
79847
80112
  result['InstanceType'] = self.instance_type
80113
+ if self.promotion_code is not None:
80114
+ result['PromotionCode'] = self.promotion_code
79848
80115
  if self.reboot_time is not None:
79849
80116
  result['RebootTime'] = self.reboot_time
79850
80117
  if self.reboot_when_finished is not None:
@@ -79857,6 +80124,8 @@ class ModifyRCInstanceRequest(TeaModel):
79857
80124
  m = m or dict()
79858
80125
  if m.get('AutoPay') is not None:
79859
80126
  self.auto_pay = m.get('AutoPay')
80127
+ if m.get('AutoUseCoupon') is not None:
80128
+ self.auto_use_coupon = m.get('AutoUseCoupon')
79860
80129
  if m.get('Direction') is not None:
79861
80130
  self.direction = m.get('Direction')
79862
80131
  if m.get('DryRun') is not None:
@@ -79865,6 +80134,8 @@ class ModifyRCInstanceRequest(TeaModel):
79865
80134
  self.instance_id = m.get('InstanceId')
79866
80135
  if m.get('InstanceType') is not None:
79867
80136
  self.instance_type = m.get('InstanceType')
80137
+ if m.get('PromotionCode') is not None:
80138
+ self.promotion_code = m.get('PromotionCode')
79868
80139
  if m.get('RebootTime') is not None:
79869
80140
  self.reboot_time = m.get('RebootTime')
79870
80141
  if m.get('RebootWhenFinished') is not None:
@@ -87319,6 +87590,7 @@ class RunRCInstancesRequest(TeaModel):
87319
87590
  amount: int = None,
87320
87591
  auto_pay: bool = None,
87321
87592
  auto_renew: bool = None,
87593
+ auto_use_coupon: bool = None,
87322
87594
  client_token: str = None,
87323
87595
  create_ack_edge_param: RunRCInstancesRequestCreateAckEdgeParam = None,
87324
87596
  create_extra_param: str = None,
@@ -87339,6 +87611,7 @@ class RunRCInstancesRequest(TeaModel):
87339
87611
  password: str = None,
87340
87612
  period: int = None,
87341
87613
  period_unit: str = None,
87614
+ promotion_code: str = None,
87342
87615
  region_id: str = None,
87343
87616
  resource_group_id: str = None,
87344
87617
  security_enhancement_strategy: str = None,
@@ -87368,6 +87641,7 @@ class RunRCInstancesRequest(TeaModel):
87368
87641
  # * **true** (default)
87369
87642
  # * **false**\
87370
87643
  self.auto_renew = auto_renew
87644
+ self.auto_use_coupon = auto_use_coupon
87371
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.
87372
87646
  self.client_token = client_token
87373
87647
  self.create_ack_edge_param = create_ack_edge_param
@@ -87412,6 +87686,7 @@ class RunRCInstancesRequest(TeaModel):
87412
87686
  # * **Year**\
87413
87687
  # * **Month** (default)
87414
87688
  self.period_unit = period_unit
87689
+ self.promotion_code = promotion_code
87415
87690
  # The region ID. You can call the DescribeRegions operation to query the most recent region list.
87416
87691
  #
87417
87692
  # This parameter is required.
@@ -87467,6 +87742,8 @@ class RunRCInstancesRequest(TeaModel):
87467
87742
  result['AutoPay'] = self.auto_pay
87468
87743
  if self.auto_renew is not None:
87469
87744
  result['AutoRenew'] = self.auto_renew
87745
+ if self.auto_use_coupon is not None:
87746
+ result['AutoUseCoupon'] = self.auto_use_coupon
87470
87747
  if self.client_token is not None:
87471
87748
  result['ClientToken'] = self.client_token
87472
87749
  if self.create_ack_edge_param is not None:
@@ -87509,6 +87786,8 @@ class RunRCInstancesRequest(TeaModel):
87509
87786
  result['Period'] = self.period
87510
87787
  if self.period_unit is not None:
87511
87788
  result['PeriodUnit'] = self.period_unit
87789
+ if self.promotion_code is not None:
87790
+ result['PromotionCode'] = self.promotion_code
87512
87791
  if self.region_id is not None:
87513
87792
  result['RegionId'] = self.region_id
87514
87793
  if self.resource_group_id is not None:
@@ -87545,6 +87824,8 @@ class RunRCInstancesRequest(TeaModel):
87545
87824
  self.auto_pay = m.get('AutoPay')
87546
87825
  if m.get('AutoRenew') is not None:
87547
87826
  self.auto_renew = m.get('AutoRenew')
87827
+ if m.get('AutoUseCoupon') is not None:
87828
+ self.auto_use_coupon = m.get('AutoUseCoupon')
87548
87829
  if m.get('ClientToken') is not None:
87549
87830
  self.client_token = m.get('ClientToken')
87550
87831
  if m.get('CreateAckEdgeParam') is not None:
@@ -87589,6 +87870,8 @@ class RunRCInstancesRequest(TeaModel):
87589
87870
  self.period = m.get('Period')
87590
87871
  if m.get('PeriodUnit') is not None:
87591
87872
  self.period_unit = m.get('PeriodUnit')
87873
+ if m.get('PromotionCode') is not None:
87874
+ self.promotion_code = m.get('PromotionCode')
87592
87875
  if m.get('RegionId') is not None:
87593
87876
  self.region_id = m.get('RegionId')
87594
87877
  if m.get('ResourceGroupId') is not None:
@@ -87659,6 +87942,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87659
87942
  amount: int = None,
87660
87943
  auto_pay: bool = None,
87661
87944
  auto_renew: bool = None,
87945
+ auto_use_coupon: bool = None,
87662
87946
  client_token: str = None,
87663
87947
  create_ack_edge_param_shrink: str = None,
87664
87948
  create_extra_param: str = None,
@@ -87679,6 +87963,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87679
87963
  password: str = None,
87680
87964
  period: int = None,
87681
87965
  period_unit: str = None,
87966
+ promotion_code: str = None,
87682
87967
  region_id: str = None,
87683
87968
  resource_group_id: str = None,
87684
87969
  security_enhancement_strategy: str = None,
@@ -87708,6 +87993,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87708
87993
  # * **true** (default)
87709
87994
  # * **false**\
87710
87995
  self.auto_renew = auto_renew
87996
+ self.auto_use_coupon = auto_use_coupon
87711
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.
87712
87998
  self.client_token = client_token
87713
87999
  self.create_ack_edge_param_shrink = create_ack_edge_param_shrink
@@ -87752,6 +88038,7 @@ class RunRCInstancesShrinkRequest(TeaModel):
87752
88038
  # * **Year**\
87753
88039
  # * **Month** (default)
87754
88040
  self.period_unit = period_unit
88041
+ self.promotion_code = promotion_code
87755
88042
  # The region ID. You can call the DescribeRegions operation to query the most recent region list.
87756
88043
  #
87757
88044
  # This parameter is required.
@@ -87799,6 +88086,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87799
88086
  result['AutoPay'] = self.auto_pay
87800
88087
  if self.auto_renew is not None:
87801
88088
  result['AutoRenew'] = self.auto_renew
88089
+ if self.auto_use_coupon is not None:
88090
+ result['AutoUseCoupon'] = self.auto_use_coupon
87802
88091
  if self.client_token is not None:
87803
88092
  result['ClientToken'] = self.client_token
87804
88093
  if self.create_ack_edge_param_shrink is not None:
@@ -87839,6 +88128,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87839
88128
  result['Period'] = self.period
87840
88129
  if self.period_unit is not None:
87841
88130
  result['PeriodUnit'] = self.period_unit
88131
+ if self.promotion_code is not None:
88132
+ result['PromotionCode'] = self.promotion_code
87842
88133
  if self.region_id is not None:
87843
88134
  result['RegionId'] = self.region_id
87844
88135
  if self.resource_group_id is not None:
@@ -87875,6 +88166,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87875
88166
  self.auto_pay = m.get('AutoPay')
87876
88167
  if m.get('AutoRenew') is not None:
87877
88168
  self.auto_renew = m.get('AutoRenew')
88169
+ if m.get('AutoUseCoupon') is not None:
88170
+ self.auto_use_coupon = m.get('AutoUseCoupon')
87878
88171
  if m.get('ClientToken') is not None:
87879
88172
  self.client_token = m.get('ClientToken')
87880
88173
  if m.get('CreateAckEdgeParam') is not None:
@@ -87915,6 +88208,8 @@ class RunRCInstancesShrinkRequest(TeaModel):
87915
88208
  self.period = m.get('Period')
87916
88209
  if m.get('PeriodUnit') is not None:
87917
88210
  self.period_unit = m.get('PeriodUnit')
88211
+ if m.get('PromotionCode') is not None:
88212
+ self.promotion_code = m.get('PromotionCode')
87918
88213
  if m.get('RegionId') is not None:
87919
88214
  self.region_id = m.get('RegionId')
87920
88215
  if m.get('ResourceGroupId') is not None: