alibabacloud-r-kvstore20150101 2.25.6__tar.gz → 3.0.1__tar.gz

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.
Files changed (17) hide show
  1. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/ChangeLog.md +14 -0
  2. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/PKG-INFO +1 -1
  3. alibabacloud_r-kvstore20150101-3.0.1/alibabacloud_r_kvstore20150101/__init__.py +1 -0
  4. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/alibabacloud_r_kvstore20150101/client.py +8 -12
  5. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/alibabacloud_r_kvstore20150101/models.py +416 -52
  6. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/alibabacloud_r_kvstore20150101.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/setup.py +1 -1
  8. alibabacloud_r-kvstore20150101-2.25.6/alibabacloud_r_kvstore20150101/__init__.py +0 -1
  9. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/LICENSE +0 -0
  10. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/MANIFEST.in +0 -0
  11. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/README-CN.md +0 -0
  12. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/README.md +0 -0
  13. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/alibabacloud_r_kvstore20150101.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/alibabacloud_r_kvstore20150101.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/alibabacloud_r_kvstore20150101.egg-info/requires.txt +0 -0
  16. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/alibabacloud_r_kvstore20150101.egg-info/top_level.txt +0 -0
  17. {alibabacloud_r-kvstore20150101-2.25.6 → alibabacloud_r-kvstore20150101-3.0.1}/setup.cfg +0 -0
@@ -1,3 +1,17 @@
1
+ 2024-03-30 Version: 3.0.0
2
+ - Update API DescribeBackupTasks: update response param.
3
+ - Update API DescribeBackups: update param BackupId.
4
+ - Update API DescribeBackups: update param BackupJobId.
5
+ - Update API DescribeClusterBackupList: update param ClusterBackupId.
6
+ - Update API DescribePrice: update response param.
7
+ - Update API ModifyInstanceSpec: add param NodeType.
8
+
9
+
10
+ 2024-02-28 Version: 2.25.6
11
+ - Update API DescribeClusterBackupList: update param ClusterBackupId.
12
+ - Update API DescribePrice: update response param.
13
+
14
+
1
15
  2024-01-30 Version: 2.25.5
2
16
  - Update API ModifyBackupPolicyadd BackupRetentionPeriod param.
3
17
  - Update API RenewInstanceadd AutoRenew param.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_r-kvstore20150101
3
- Version: 2.25.6
3
+ Version: 3.0.1
4
4
  Summary: Alibaba Cloud R-kvstore (20150101) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -1278,8 +1278,7 @@ class Client(OpenApiClient):
1278
1278
  """
1279
1279
  Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1280
1280
  You can call this operation to create an ApsaraDB for Redis instance or a classic Tair DRAM-based instance. To create a cloud-native Tair instance, call the [CreateTairInstance](~~208271~~) operation.
1281
- **\
1282
- **Description** For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1281
+ > For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1283
1282
 
1284
1283
  @param request: CreateInstanceRequest
1285
1284
  @param runtime: runtime options for this request RuntimeOptions
@@ -1402,8 +1401,7 @@ class Client(OpenApiClient):
1402
1401
  """
1403
1402
  Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1404
1403
  You can call this operation to create an ApsaraDB for Redis instance or a classic Tair DRAM-based instance. To create a cloud-native Tair instance, call the [CreateTairInstance](~~208271~~) operation.
1405
- **\
1406
- **Description** For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1404
+ > For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1407
1405
 
1408
1406
  @param request: CreateInstanceRequest
1409
1407
  @param runtime: runtime options for this request RuntimeOptions
@@ -1525,8 +1523,7 @@ class Client(OpenApiClient):
1525
1523
  """
1526
1524
  Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1527
1525
  You can call this operation to create an ApsaraDB for Redis instance or a classic Tair DRAM-based instance. To create a cloud-native Tair instance, call the [CreateTairInstance](~~208271~~) operation.
1528
- **\
1529
- **Description** For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1526
+ > For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1530
1527
 
1531
1528
  @param request: CreateInstanceRequest
1532
1529
  @return: CreateInstanceResponse
@@ -1541,8 +1538,7 @@ class Client(OpenApiClient):
1541
1538
  """
1542
1539
  Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1543
1540
  You can call this operation to create an ApsaraDB for Redis instance or a classic Tair DRAM-based instance. To create a cloud-native Tair instance, call the [CreateTairInstance](~~208271~~) operation.
1544
- **\
1545
- **Description** For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1541
+ > For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~).
1546
1542
 
1547
1543
  @param request: CreateInstanceRequest
1548
1544
  @return: CreateInstanceResponse
@@ -1714,7 +1710,6 @@ class Client(OpenApiClient):
1714
1710
  """
1715
1711
  For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
1716
1712
  Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1717
- >
1718
1713
  * For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
1719
1714
  * If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
1720
1715
 
@@ -1833,7 +1828,6 @@ class Client(OpenApiClient):
1833
1828
  """
1834
1829
  For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
1835
1830
  Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1836
- >
1837
1831
  * For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
1838
1832
  * If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
1839
1833
 
@@ -1951,7 +1945,6 @@ class Client(OpenApiClient):
1951
1945
  """
1952
1946
  For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
1953
1947
  Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1954
- >
1955
1948
  * For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
1956
1949
  * If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
1957
1950
 
@@ -1968,7 +1961,6 @@ class Client(OpenApiClient):
1968
1961
  """
1969
1962
  For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
1970
1963
  Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
1971
- >
1972
1964
  * For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
1973
1965
  * If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
1974
1966
 
@@ -11176,6 +11168,8 @@ class Client(OpenApiClient):
11176
11168
  query['InstanceId'] = request.instance_id
11177
11169
  if not UtilClient.is_unset(request.major_version):
11178
11170
  query['MajorVersion'] = request.major_version
11171
+ if not UtilClient.is_unset(request.node_type):
11172
+ query['NodeType'] = request.node_type
11179
11173
  if not UtilClient.is_unset(request.order_type):
11180
11174
  query['OrderType'] = request.order_type
11181
11175
  if not UtilClient.is_unset(request.owner_account):
@@ -11251,6 +11245,8 @@ class Client(OpenApiClient):
11251
11245
  query['InstanceId'] = request.instance_id
11252
11246
  if not UtilClient.is_unset(request.major_version):
11253
11247
  query['MajorVersion'] = request.major_version
11248
+ if not UtilClient.is_unset(request.node_type):
11249
+ query['NodeType'] = request.node_type
11254
11250
  if not UtilClient.is_unset(request.order_type):
11255
11251
  query['OrderType'] = request.order_type
11256
11252
  if not UtilClient.is_unset(request.owner_account):
@@ -1104,8 +1104,6 @@ class CreateGlobalDistributeCacheRequest(TeaModel):
1104
1104
  self.owner_id = owner_id
1105
1105
  # The ID of the resource group.
1106
1106
  #
1107
- # **\
1108
- #
1109
1107
  # **Description** You can query resource group IDs by using the ApsaraDB for Redis console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).
1110
1108
  self.resource_group_id = resource_group_id
1111
1109
  self.resource_owner_account = resource_owner_account
@@ -1667,6 +1665,7 @@ class CreateInstanceRequest(TeaModel):
1667
1665
  #
1668
1666
  # > If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
1669
1667
  self.secondary_zone_id = secondary_zone_id
1668
+ # 系统自动生成的安全 Token,无需传入
1670
1669
  self.security_token = security_token
1671
1670
  # The number of data shards. This parameter is available only if you create a cluster instance that uses cloud disks.
1672
1671
  self.shard_count = shard_count
@@ -2470,7 +2469,7 @@ class CreateTairInstanceRequest(TeaModel):
2470
2469
  self.charge_type = charge_type
2471
2470
  # The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the token is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.
2472
2471
  self.client_token = client_token
2473
- # 集群备份集ID
2472
+ # The backup set ID.
2474
2473
  self.cluster_backup_id = cluster_backup_id
2475
2474
  # The coupon code.
2476
2475
  self.coupon_no = coupon_no
@@ -7301,6 +7300,7 @@ class DescribeClusterBackupListResponseBodyClusterBackupsBackupsExtraInfo(TeaMod
7301
7300
  self,
7302
7301
  custins_db_version: str = None,
7303
7302
  ):
7303
+ # The engine version.
7304
7304
  self.custins_db_version = custins_db_version
7305
7305
 
7306
7306
  def validate(self):
@@ -7339,17 +7339,37 @@ class DescribeClusterBackupListResponseBodyClusterBackupsBackups(TeaModel):
7339
7339
  instance_name: str = None,
7340
7340
  is_avail: str = None,
7341
7341
  ):
7342
+ # The public download URL of the backup file.
7342
7343
  self.backup_download_url = backup_download_url
7344
+ # The end time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
7343
7345
  self.backup_end_time = backup_end_time
7346
+ # The ID of the backup file.
7344
7347
  self.backup_id = backup_id
7348
+ # The internal download URL of the backup file.
7349
+ #
7350
+ # > You can use this URL to download the backup file from an Elastic Compute Service (ECS) instance that is connected to the ApsaraDB for Redis instance. The ECS instance must belong to the same classic network or reside in the same virtual private cloud (VPC) as the ApsaraDB for Redis instance.
7345
7351
  self.backup_intranet_download_url = backup_intranet_download_url
7352
+ # The backup name.
7346
7353
  self.backup_name = backup_name
7354
+ # The size of the backup file. Unit: bytes.
7347
7355
  self.backup_size = backup_size
7356
+ # The start time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
7348
7357
  self.backup_start_time = backup_start_time
7358
+ # The status of the backup. Valid values:
7359
+ #
7360
+ # * **OK**\
7361
+ # * **ERROR**\
7349
7362
  self.backup_status = backup_status
7363
+ # The database engine. The return value is **redis**.
7350
7364
  self.engine = engine
7365
+ # The additional information.
7351
7366
  self.extra_info = extra_info
7367
+ # The name of the instance.
7352
7368
  self.instance_name = instance_name
7369
+ # Indicates whether the backup set is available. Valid values:
7370
+ #
7371
+ # * **0**: unavailable
7372
+ # * **1**: available
7353
7373
  self.is_avail = is_avail
7354
7374
 
7355
7375
  def validate(self):
@@ -7432,15 +7452,29 @@ class DescribeClusterBackupListResponseBodyClusterBackups(TeaModel):
7432
7452
  progress: str = None,
7433
7453
  shard_class_memory: int = None,
7434
7454
  ):
7455
+ # The backup sets of all nodes in the instance.
7435
7456
  self.backups = backups
7457
+ # The end time of the backup.
7436
7458
  self.cluster_backup_end_time = cluster_backup_end_time
7459
+ # The ID of the backup set.
7437
7460
  self.cluster_backup_id = cluster_backup_id
7461
+ # The backup mode.
7438
7462
  self.cluster_backup_mode = cluster_backup_mode
7463
+ # The size of the backup set.
7439
7464
  self.cluster_backup_size = cluster_backup_size
7465
+ # The start time of the backup.
7440
7466
  self.cluster_backup_start_time = cluster_backup_start_time
7467
+ # The status of the backup set.
7468
+ #
7469
+ # * OK
7470
+ # * RUNNING
7471
+ # * Failed
7441
7472
  self.cluster_backup_status = cluster_backup_status
7473
+ # Indicates whether the backup set is valid. A value of 0 indicates that node-level backups failed or have not been completed.
7442
7474
  self.is_avail = is_avail
7475
+ # The backup progress. The system displays only the progress of running backup tasks.
7443
7476
  self.progress = progress
7477
+ # The memory size of a single node during a full backup. Unit: MB.
7444
7478
  self.shard_class_memory = shard_class_memory
7445
7479
 
7446
7480
  def validate(self):
@@ -7519,9 +7553,17 @@ class DescribeClusterBackupListResponseBody(TeaModel):
7519
7553
  page_size: int = None,
7520
7554
  request_id: str = None,
7521
7555
  ):
7556
+ # The backup sets of the instance. An instance backup contains the backup sets of all nodes in the instance.
7522
7557
  self.cluster_backups = cluster_backups
7558
+ # This parameter does not take effect. Ignore this parameter.
7523
7559
  self.free_size = free_size
7560
+ # The size of the full backup file of the instance. Unit: bytes. Full backups originate from scheduled backups, manual backups, and backups generated during cache analysis.
7561
+ #
7562
+ # > The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid full backups of the instance.
7524
7563
  self.full_storage_size = full_storage_size
7564
+ # The size of the log backup file of the instance. Unit: bytes. This parameter is valid only when flashback is enabled.
7565
+ #
7566
+ # > The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid log backups of the instance.
7525
7567
  self.log_storage_size = log_storage_size
7526
7568
  self.max_results = max_results
7527
7569
  self.page_number = page_number
@@ -10931,9 +10973,9 @@ class DescribeHistoryTasksRequest(TeaModel):
10931
10973
  ):
10932
10974
  # The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.
10933
10975
  self.from_exec_time = from_exec_time
10934
- # The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, this time is automatically converted to a time that is exactly 30 days earlier than the current time.
10976
+ # The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time.
10935
10977
  self.from_start_time = from_start_time
10936
- # The instance ID. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs.
10978
+ # The instance ID. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs.
10937
10979
  self.instance_id = instance_id
10938
10980
  # Set the value to Instance.
10939
10981
  self.instance_type = instance_type
@@ -10941,30 +10983,40 @@ class DescribeHistoryTasksRequest(TeaModel):
10941
10983
  self.page_number = page_number
10942
10984
  # The number of entries per page. Valid values: 10 to 100. Default value: 10.
10943
10985
  self.page_size = page_size
10944
- # The region ID of the pending task. You can call the [DescribeRegions](https://next.api.aliyun.com/document/R-kvstore/2015-01-01/DescribeRegions) operation to query the most recent region list.
10986
+ # The region ID. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
10945
10987
  self.region_id = region_id
10946
10988
  self.resource_owner_account = resource_owner_account
10947
10989
  self.resource_owner_id = resource_owner_id
10948
10990
  self.security_token = security_token
10949
10991
  # The task status. Valid values:
10950
10992
  #
10951
- # * Scheduled
10952
- # * Running
10953
- # * Succeed
10954
- # * Failed
10955
- # * Cancelling
10956
- # * Canceled
10957
- # * Waiting
10993
+ # * **Scheduled**\
10994
+ # * **Running**\
10995
+ # * **Succeed**\
10996
+ # * **Failed**\
10997
+ # * **Cancelling**\
10998
+ # * **Canceled**\
10999
+ # * **Waiting**\
10958
11000
  #
10959
- # Separate multiple states with commas (,). This parameter is empty by default, which indicates that tasks in all states are queried.
11001
+ # > This parameter is empty by default, which indicates that tasks in all states are queried. Separate multiple states with commas (,).
10960
11002
  self.status = status
10961
- # The task ID. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs. This parameter is empty by default, which indicates that you can specify an unlimited number of task IDs.
11003
+ # The task ID. This parameter is empty by default, which indicates that you can specify an unlimited number of task IDs. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.
10962
11004
  self.task_id = task_id
10963
- # The task type. Separate multiple task types with commas (,). You can specify up to 30 task types. This parameter is empty by default, which indicates that you can specify an unlimited number of task types.
11005
+ # The task type. This parameter is empty by default, which indicates that you can specify an unlimited number of task types.
11006
+ #
11007
+ # * **ModifyInsSpec**\
11008
+ # * **DeleteInsNode**\
11009
+ # * **AddInsNode**\
11010
+ # * **HaSwitch**\
11011
+ # * **RestartIns**\
11012
+ # * **CreateIns**\
11013
+ # * **ModifyInsConfig**\
11014
+ #
11015
+ # > Separate multiple task types with commas (,).
10964
11016
  self.task_type = task_type
10965
11017
  # The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.
10966
11018
  self.to_exec_time = to_exec_time
10967
- # The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
11019
+ # The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried.
10968
11020
  self.to_start_time = to_start_time
10969
11021
 
10970
11022
  def validate(self):
@@ -11067,25 +11119,91 @@ class DescribeHistoryTasksResponseBodyItems(TeaModel):
11067
11119
  task_type: str = None,
11068
11120
  uid: str = None,
11069
11121
  ):
11122
+ # A set of allowed actions that can be taken on the task. The system matches the current step name and status of the task to the available actions specified by ActionInfo. If no matching action is found, the current status of the task does not support any action. Example:
11123
+ #
11124
+ # {"steps": [
11125
+ # {
11126
+ # "step_name": "exec_task", // The name of the step, which matches CurrentStepName.
11127
+ # "action_info": { // The actions supported for this step.
11128
+ # "Waiting": [ // The status, which matches Status.
11129
+ # "modifySwitchTime" // The action. Multiple actions are supported.
11130
+ # ]
11131
+ # }
11132
+ # },
11133
+ # {
11134
+ # "step_name": "init_task", // The name of the step.
11135
+ # "action_info": { // The actions supported for this step.
11136
+ # "Running": [ // The status.
11137
+ # "cancel", // The action.
11138
+ # "pause"
11139
+ # ]
11140
+ # }
11141
+ # }
11142
+ # ]
11143
+ # }
11144
+ #
11145
+ # The system may support the following actions:
11146
+ #
11147
+ # * **retry**\
11148
+ # * **cancel**\
11149
+ # * **modifySwitchTime**: changes the switching or restoration time.
11070
11150
  self.action_info = action_info
11151
+ # The ID of the user who made the request. If CallerSource is set to User, CallerUid indicates the unique ID (UID) of the user.
11071
11152
  self.caller_source = caller_source
11153
+ # The request source. Valid values:
11154
+ #
11155
+ # * **System**\
11156
+ # * **User**\
11072
11157
  self.caller_uid = caller_uid
11158
+ # The name of the current step. If this parameter is left empty, the task is not started.
11073
11159
  self.current_step_name = current_step_name
11160
+ # The database type. The return value is redis.
11074
11161
  self.db_type = db_type
11162
+ # The end time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
11075
11163
  self.end_time = end_time
11164
+ # The instance ID.
11076
11165
  self.instance_id = instance_id
11166
+ # The instance name.
11077
11167
  self.instance_name = instance_name
11168
+ # The instance type. The return value is Instance.
11078
11169
  self.instance_type = instance_type
11170
+ # The product. The return value is kvstore.
11079
11171
  self.product = product
11172
+ # The task progress. Valid values: 0 to 100.
11080
11173
  self.progress = progress
11174
+ # The reason why the current task was initiated.
11081
11175
  self.reason_code = reason_code
11176
+ # The region ID.
11082
11177
  self.region_id = region_id
11178
+ # The estimated amount of time remaining to complete the task. Unit: seconds. A value of 0 indicates that the task is completed.
11083
11179
  self.remain_time = remain_time
11180
+ # The start time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
11084
11181
  self.start_time = start_time
11182
+ # The task status.
11183
+ #
11184
+ # * **Scheduled**\
11185
+ # * **Running**\
11186
+ # * **Succeed**\
11187
+ # * **Failed**\
11188
+ # * **Cancelling**\
11189
+ # * **Canceled**\
11190
+ # * **Waiting**\
11085
11191
  self.status = status
11192
+ # The task details. The details vary based on the task type.
11086
11193
  self.task_detail = task_detail
11194
+ # The task ID.
11087
11195
  self.task_id = task_id
11196
+ # The task type.
11197
+ #
11198
+ # * **ModifyInsSpec**\
11199
+ # * **DeleteInsNode**\
11200
+ # * **AddInsNode**\
11201
+ # * **HaSwitch**\
11202
+ # * **RestartIns**\
11203
+ # * **CreateIns**\
11204
+ # * **ModifyInsConfig**\
11088
11205
  self.task_type = task_type
11206
+ # The ID of the user to which the resources belong.
11089
11207
  self.uid = uid
11090
11208
 
11091
11209
  def validate(self):
@@ -11193,13 +11311,13 @@ class DescribeHistoryTasksResponseBody(TeaModel):
11193
11311
  request_id: str = None,
11194
11312
  total_count: int = None,
11195
11313
  ):
11196
- # The request source. Valid values: System and User.
11314
+ # The queried task objects.
11197
11315
  self.items = items
11198
- # The page number. Pages start from page 1. Default value: 1.
11316
+ # The page number of the returned page.
11199
11317
  self.page_number = page_number
11200
- # The number of entries per page. Valid values: 10 to 100. Default value: 10.
11318
+ # The maximum number of entries returned per page.
11201
11319
  self.page_size = page_size
11202
- # The unique ID of the request. If the request fails, provide this ID for technical support to troubleshoot the failure.
11320
+ # The request ID.
11203
11321
  self.request_id = request_id
11204
11322
  # The total number of tasks that meet these constraints without taking pagination into account.
11205
11323
  self.total_count = total_count
@@ -15081,7 +15199,7 @@ class DescribeParameterTemplatesRequest(TeaModel):
15081
15199
  self.instance_id = instance_id
15082
15200
  self.owner_account = owner_account
15083
15201
  self.owner_id = owner_id
15084
- # The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~ListResourceGroups~~) operation to query the IDs of resource groups.
15202
+ # The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~158855~~) operation to query the IDs of resource groups.
15085
15203
  #
15086
15204
  # > You can also query the ID of a resource group in the Resource Management console. For more information, see [View the basic information of a resource group](~~151181~~).
15087
15205
  self.resource_group_id = resource_group_id
@@ -15774,7 +15892,7 @@ class DescribePriceRequest(TeaModel):
15774
15892
  # * **false**: forcefully changes the configurations.
15775
15893
  # * **true** (default): does not forcefully change the configurations.
15776
15894
  self.force_upgrade = force_upgrade
15777
- # The instance type.****\
15895
+ # The instance type.
15778
15896
  #
15779
15897
  # **To view the instance type, perform the following steps:**\
15780
15898
  #
@@ -16004,11 +16122,104 @@ class DescribePriceResponseBodyOrderCoupons(TeaModel):
16004
16122
  return self
16005
16123
 
16006
16124
 
16125
+ class DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds(TeaModel):
16126
+ def __init__(
16127
+ self,
16128
+ option_id: List[int] = None,
16129
+ ):
16130
+ self.option_id = option_id
16131
+
16132
+ def validate(self):
16133
+ pass
16134
+
16135
+ def to_map(self):
16136
+ _map = super().to_map()
16137
+ if _map is not None:
16138
+ return _map
16139
+
16140
+ result = dict()
16141
+ if self.option_id is not None:
16142
+ result['OptionId'] = self.option_id
16143
+ return result
16144
+
16145
+ def from_map(self, m: dict = None):
16146
+ m = m or dict()
16147
+ if m.get('OptionId') is not None:
16148
+ self.option_id = m.get('OptionId')
16149
+ return self
16150
+
16151
+
16152
+ class DescribePriceResponseBodyOrderDepreciateInfoContractActivity(TeaModel):
16153
+ def __init__(
16154
+ self,
16155
+ activity_id: int = None,
16156
+ activity_name: str = None,
16157
+ final_fee: float = None,
16158
+ final_prom_fee: float = None,
16159
+ option_code: str = None,
16160
+ option_ids: DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds = None,
16161
+ prod_fee: float = None,
16162
+ ):
16163
+ self.activity_id = activity_id
16164
+ self.activity_name = activity_name
16165
+ self.final_fee = final_fee
16166
+ self.final_prom_fee = final_prom_fee
16167
+ self.option_code = option_code
16168
+ self.option_ids = option_ids
16169
+ self.prod_fee = prod_fee
16170
+
16171
+ def validate(self):
16172
+ if self.option_ids:
16173
+ self.option_ids.validate()
16174
+
16175
+ def to_map(self):
16176
+ _map = super().to_map()
16177
+ if _map is not None:
16178
+ return _map
16179
+
16180
+ result = dict()
16181
+ if self.activity_id is not None:
16182
+ result['ActivityId'] = self.activity_id
16183
+ if self.activity_name is not None:
16184
+ result['ActivityName'] = self.activity_name
16185
+ if self.final_fee is not None:
16186
+ result['FinalFee'] = self.final_fee
16187
+ if self.final_prom_fee is not None:
16188
+ result['FinalPromFee'] = self.final_prom_fee
16189
+ if self.option_code is not None:
16190
+ result['OptionCode'] = self.option_code
16191
+ if self.option_ids is not None:
16192
+ result['OptionIds'] = self.option_ids.to_map()
16193
+ if self.prod_fee is not None:
16194
+ result['ProdFee'] = self.prod_fee
16195
+ return result
16196
+
16197
+ def from_map(self, m: dict = None):
16198
+ m = m or dict()
16199
+ if m.get('ActivityId') is not None:
16200
+ self.activity_id = m.get('ActivityId')
16201
+ if m.get('ActivityName') is not None:
16202
+ self.activity_name = m.get('ActivityName')
16203
+ if m.get('FinalFee') is not None:
16204
+ self.final_fee = m.get('FinalFee')
16205
+ if m.get('FinalPromFee') is not None:
16206
+ self.final_prom_fee = m.get('FinalPromFee')
16207
+ if m.get('OptionCode') is not None:
16208
+ self.option_code = m.get('OptionCode')
16209
+ if m.get('OptionIds') is not None:
16210
+ temp_model = DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds()
16211
+ self.option_ids = temp_model.from_map(m['OptionIds'])
16212
+ if m.get('ProdFee') is not None:
16213
+ self.prod_fee = m.get('ProdFee')
16214
+ return self
16215
+
16216
+
16007
16217
  class DescribePriceResponseBodyOrderDepreciateInfo(TeaModel):
16008
16218
  def __init__(
16009
16219
  self,
16010
16220
  cheap_rate: int = None,
16011
16221
  cheap_stand_amount: int = None,
16222
+ contract_activity: DescribePriceResponseBodyOrderDepreciateInfoContractActivity = None,
16012
16223
  differential: int = None,
16013
16224
  differential_name: str = None,
16014
16225
  is_contract_activity: bool = None,
@@ -16019,6 +16230,7 @@ class DescribePriceResponseBodyOrderDepreciateInfo(TeaModel):
16019
16230
  ):
16020
16231
  self.cheap_rate = cheap_rate
16021
16232
  self.cheap_stand_amount = cheap_stand_amount
16233
+ self.contract_activity = contract_activity
16022
16234
  self.differential = differential
16023
16235
  self.differential_name = differential_name
16024
16236
  self.is_contract_activity = is_contract_activity
@@ -16028,7 +16240,8 @@ class DescribePriceResponseBodyOrderDepreciateInfo(TeaModel):
16028
16240
  self.original_stand_amount = original_stand_amount
16029
16241
 
16030
16242
  def validate(self):
16031
- pass
16243
+ if self.contract_activity:
16244
+ self.contract_activity.validate()
16032
16245
 
16033
16246
  def to_map(self):
16034
16247
  _map = super().to_map()
@@ -16040,6 +16253,8 @@ class DescribePriceResponseBodyOrderDepreciateInfo(TeaModel):
16040
16253
  result['CheapRate'] = self.cheap_rate
16041
16254
  if self.cheap_stand_amount is not None:
16042
16255
  result['CheapStandAmount'] = self.cheap_stand_amount
16256
+ if self.contract_activity is not None:
16257
+ result['ContractActivity'] = self.contract_activity.to_map()
16043
16258
  if self.differential is not None:
16044
16259
  result['Differential'] = self.differential
16045
16260
  if self.differential_name is not None:
@@ -16062,6 +16277,9 @@ class DescribePriceResponseBodyOrderDepreciateInfo(TeaModel):
16062
16277
  self.cheap_rate = m.get('CheapRate')
16063
16278
  if m.get('CheapStandAmount') is not None:
16064
16279
  self.cheap_stand_amount = m.get('CheapStandAmount')
16280
+ if m.get('ContractActivity') is not None:
16281
+ temp_model = DescribePriceResponseBodyOrderDepreciateInfoContractActivity()
16282
+ self.contract_activity = temp_model.from_map(m['ContractActivity'])
16065
16283
  if m.get('Differential') is not None:
16066
16284
  self.differential = m.get('Differential')
16067
16285
  if m.get('DifferentialName') is not None:
@@ -16304,29 +16522,126 @@ class DescribePriceResponseBodyRules(TeaModel):
16304
16522
  return self
16305
16523
 
16306
16524
 
16525
+ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds(TeaModel):
16526
+ def __init__(
16527
+ self,
16528
+ option_id: List[int] = None,
16529
+ ):
16530
+ self.option_id = option_id
16531
+
16532
+ def validate(self):
16533
+ pass
16534
+
16535
+ def to_map(self):
16536
+ _map = super().to_map()
16537
+ if _map is not None:
16538
+ return _map
16539
+
16540
+ result = dict()
16541
+ if self.option_id is not None:
16542
+ result['OptionId'] = self.option_id
16543
+ return result
16544
+
16545
+ def from_map(self, m: dict = None):
16546
+ m = m or dict()
16547
+ if m.get('OptionId') is not None:
16548
+ self.option_id = m.get('OptionId')
16549
+ return self
16550
+
16551
+
16552
+ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity(TeaModel):
16553
+ def __init__(
16554
+ self,
16555
+ activity_id: int = None,
16556
+ activity_name: str = None,
16557
+ final_fee: float = None,
16558
+ final_prom_fee: float = None,
16559
+ option_code: str = None,
16560
+ option_ids: DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds = None,
16561
+ prod_fee: float = None,
16562
+ ):
16563
+ self.activity_id = activity_id
16564
+ self.activity_name = activity_name
16565
+ self.final_fee = final_fee
16566
+ self.final_prom_fee = final_prom_fee
16567
+ self.option_code = option_code
16568
+ self.option_ids = option_ids
16569
+ self.prod_fee = prod_fee
16570
+
16571
+ def validate(self):
16572
+ if self.option_ids:
16573
+ self.option_ids.validate()
16574
+
16575
+ def to_map(self):
16576
+ _map = super().to_map()
16577
+ if _map is not None:
16578
+ return _map
16579
+
16580
+ result = dict()
16581
+ if self.activity_id is not None:
16582
+ result['ActivityId'] = self.activity_id
16583
+ if self.activity_name is not None:
16584
+ result['ActivityName'] = self.activity_name
16585
+ if self.final_fee is not None:
16586
+ result['FinalFee'] = self.final_fee
16587
+ if self.final_prom_fee is not None:
16588
+ result['FinalPromFee'] = self.final_prom_fee
16589
+ if self.option_code is not None:
16590
+ result['OptionCode'] = self.option_code
16591
+ if self.option_ids is not None:
16592
+ result['OptionIds'] = self.option_ids.to_map()
16593
+ if self.prod_fee is not None:
16594
+ result['ProdFee'] = self.prod_fee
16595
+ return result
16596
+
16597
+ def from_map(self, m: dict = None):
16598
+ m = m or dict()
16599
+ if m.get('ActivityId') is not None:
16600
+ self.activity_id = m.get('ActivityId')
16601
+ if m.get('ActivityName') is not None:
16602
+ self.activity_name = m.get('ActivityName')
16603
+ if m.get('FinalFee') is not None:
16604
+ self.final_fee = m.get('FinalFee')
16605
+ if m.get('FinalPromFee') is not None:
16606
+ self.final_prom_fee = m.get('FinalPromFee')
16607
+ if m.get('OptionCode') is not None:
16608
+ self.option_code = m.get('OptionCode')
16609
+ if m.get('OptionIds') is not None:
16610
+ temp_model = DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds()
16611
+ self.option_ids = temp_model.from_map(m['OptionIds'])
16612
+ if m.get('ProdFee') is not None:
16613
+ self.prod_fee = m.get('ProdFee')
16614
+ return self
16615
+
16616
+
16307
16617
  class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16308
16618
  def __init__(
16309
16619
  self,
16310
16620
  cheap_rate: int = None,
16311
16621
  cheap_stand_amount: int = None,
16622
+ contract_activity: DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity = None,
16312
16623
  differential: int = None,
16313
16624
  differential_name: str = None,
16314
16625
  is_contract_activity: bool = None,
16315
16626
  list_price: int = None,
16316
16627
  month_price: int = None,
16317
16628
  original_stand_amount: int = None,
16629
+ start_time: str = None,
16318
16630
  ):
16319
16631
  self.cheap_rate = cheap_rate
16320
16632
  self.cheap_stand_amount = cheap_stand_amount
16633
+ self.contract_activity = contract_activity
16321
16634
  self.differential = differential
16322
16635
  self.differential_name = differential_name
16323
16636
  self.is_contract_activity = is_contract_activity
16324
16637
  self.list_price = list_price
16325
16638
  self.month_price = month_price
16326
16639
  self.original_stand_amount = original_stand_amount
16640
+ self.start_time = start_time
16327
16641
 
16328
16642
  def validate(self):
16329
- pass
16643
+ if self.contract_activity:
16644
+ self.contract_activity.validate()
16330
16645
 
16331
16646
  def to_map(self):
16332
16647
  _map = super().to_map()
@@ -16338,6 +16653,8 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16338
16653
  result['CheapRate'] = self.cheap_rate
16339
16654
  if self.cheap_stand_amount is not None:
16340
16655
  result['CheapStandAmount'] = self.cheap_stand_amount
16656
+ if self.contract_activity is not None:
16657
+ result['ContractActivity'] = self.contract_activity.to_map()
16341
16658
  if self.differential is not None:
16342
16659
  result['Differential'] = self.differential
16343
16660
  if self.differential_name is not None:
@@ -16350,6 +16667,8 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16350
16667
  result['MonthPrice'] = self.month_price
16351
16668
  if self.original_stand_amount is not None:
16352
16669
  result['OriginalStandAmount'] = self.original_stand_amount
16670
+ if self.start_time is not None:
16671
+ result['StartTime'] = self.start_time
16353
16672
  return result
16354
16673
 
16355
16674
  def from_map(self, m: dict = None):
@@ -16358,6 +16677,9 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16358
16677
  self.cheap_rate = m.get('CheapRate')
16359
16678
  if m.get('CheapStandAmount') is not None:
16360
16679
  self.cheap_stand_amount = m.get('CheapStandAmount')
16680
+ if m.get('ContractActivity') is not None:
16681
+ temp_model = DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity()
16682
+ self.contract_activity = temp_model.from_map(m['ContractActivity'])
16361
16683
  if m.get('Differential') is not None:
16362
16684
  self.differential = m.get('Differential')
16363
16685
  if m.get('DifferentialName') is not None:
@@ -16370,6 +16692,8 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16370
16692
  self.month_price = m.get('MonthPrice')
16371
16693
  if m.get('OriginalStandAmount') is not None:
16372
16694
  self.original_stand_amount = m.get('OriginalStandAmount')
16695
+ if m.get('StartTime') is not None:
16696
+ self.start_time = m.get('StartTime')
16373
16697
  return self
16374
16698
 
16375
16699
 
@@ -16456,6 +16780,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModu
16456
16780
  class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(TeaModel):
16457
16781
  def __init__(
16458
16782
  self,
16783
+ contract_activity: bool = None,
16459
16784
  discount_fee: float = None,
16460
16785
  module_attrs: DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs = None,
16461
16786
  module_code: str = None,
@@ -16467,6 +16792,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16467
16792
  stand_price: float = None,
16468
16793
  total_product_fee: float = None,
16469
16794
  ):
16795
+ self.contract_activity = contract_activity
16470
16796
  self.discount_fee = discount_fee
16471
16797
  self.module_attrs = module_attrs
16472
16798
  self.module_code = module_code
@@ -16488,6 +16814,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16488
16814
  return _map
16489
16815
 
16490
16816
  result = dict()
16817
+ if self.contract_activity is not None:
16818
+ result['ContractActivity'] = self.contract_activity
16491
16819
  if self.discount_fee is not None:
16492
16820
  result['DiscountFee'] = self.discount_fee
16493
16821
  if self.module_attrs is not None:
@@ -16512,6 +16840,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16512
16840
 
16513
16841
  def from_map(self, m: dict = None):
16514
16842
  m = m or dict()
16843
+ if m.get('ContractActivity') is not None:
16844
+ self.contract_activity = m.get('ContractActivity')
16515
16845
  if m.get('DiscountFee') is not None:
16516
16846
  self.discount_fee = m.get('DiscountFee')
16517
16847
  if m.get('ModuleAttrs') is not None:
@@ -16690,15 +17020,21 @@ class DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions(TeaModel):
16690
17020
  class DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail(TeaModel):
16691
17021
  def __init__(
16692
17022
  self,
17023
+ activity_ext_info: Dict[str, Any] = None,
17024
+ derived_prom_type: str = None,
16693
17025
  final_prom_fee: float = None,
16694
17026
  option_code: str = None,
16695
17027
  prom_type: str = None,
17028
+ promotion_code: str = None,
16696
17029
  promotion_id: int = None,
16697
17030
  promotion_name: str = None,
16698
17031
  ):
17032
+ self.activity_ext_info = activity_ext_info
17033
+ self.derived_prom_type = derived_prom_type
16699
17034
  self.final_prom_fee = final_prom_fee
16700
17035
  self.option_code = option_code
16701
17036
  self.prom_type = prom_type
17037
+ self.promotion_code = promotion_code
16702
17038
  self.promotion_id = promotion_id
16703
17039
  self.promotion_name = promotion_name
16704
17040
 
@@ -16711,12 +17047,18 @@ class DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail(TeaMode
16711
17047
  return _map
16712
17048
 
16713
17049
  result = dict()
17050
+ if self.activity_ext_info is not None:
17051
+ result['ActivityExtInfo'] = self.activity_ext_info
17052
+ if self.derived_prom_type is not None:
17053
+ result['DerivedPromType'] = self.derived_prom_type
16714
17054
  if self.final_prom_fee is not None:
16715
17055
  result['FinalPromFee'] = self.final_prom_fee
16716
17056
  if self.option_code is not None:
16717
17057
  result['OptionCode'] = self.option_code
16718
17058
  if self.prom_type is not None:
16719
17059
  result['PromType'] = self.prom_type
17060
+ if self.promotion_code is not None:
17061
+ result['PromotionCode'] = self.promotion_code
16720
17062
  if self.promotion_id is not None:
16721
17063
  result['PromotionId'] = self.promotion_id
16722
17064
  if self.promotion_name is not None:
@@ -16725,12 +17067,18 @@ class DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail(TeaMode
16725
17067
 
16726
17068
  def from_map(self, m: dict = None):
16727
17069
  m = m or dict()
17070
+ if m.get('ActivityExtInfo') is not None:
17071
+ self.activity_ext_info = m.get('ActivityExtInfo')
17072
+ if m.get('DerivedPromType') is not None:
17073
+ self.derived_prom_type = m.get('DerivedPromType')
16728
17074
  if m.get('FinalPromFee') is not None:
16729
17075
  self.final_prom_fee = m.get('FinalPromFee')
16730
17076
  if m.get('OptionCode') is not None:
16731
17077
  self.option_code = m.get('OptionCode')
16732
17078
  if m.get('PromType') is not None:
16733
17079
  self.prom_type = m.get('PromType')
17080
+ if m.get('PromotionCode') is not None:
17081
+ self.promotion_code = m.get('PromotionCode')
16734
17082
  if m.get('PromotionId') is not None:
16735
17083
  self.promotion_id = m.get('PromotionId')
16736
17084
  if m.get('PromotionName') is not None:
@@ -16803,6 +17151,7 @@ class DescribePriceResponseBodySubOrdersSubOrderRuleIds(TeaModel):
16803
17151
  class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
16804
17152
  def __init__(
16805
17153
  self,
17154
+ contract_activity: bool = None,
16806
17155
  depreciate_info: DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo = None,
16807
17156
  discount_amount: str = None,
16808
17157
  instance_id: str = None,
@@ -16816,6 +17165,7 @@ class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
16816
17165
  stand_price: int = None,
16817
17166
  trade_amount: str = None,
16818
17167
  ):
17168
+ self.contract_activity = contract_activity
16819
17169
  self.depreciate_info = depreciate_info
16820
17170
  # The discount amount of the order.
16821
17171
  self.discount_amount = discount_amount
@@ -16852,6 +17202,8 @@ class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
16852
17202
  return _map
16853
17203
 
16854
17204
  result = dict()
17205
+ if self.contract_activity is not None:
17206
+ result['ContractActivity'] = self.contract_activity
16855
17207
  if self.depreciate_info is not None:
16856
17208
  result['DepreciateInfo'] = self.depreciate_info.to_map()
16857
17209
  if self.discount_amount is not None:
@@ -16880,6 +17232,8 @@ class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
16880
17232
 
16881
17233
  def from_map(self, m: dict = None):
16882
17234
  m = m or dict()
17235
+ if m.get('ContractActivity') is not None:
17236
+ self.contract_activity = m.get('ContractActivity')
16883
17237
  if m.get('DepreciateInfo') is not None:
16884
17238
  temp_model = DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo()
16885
17239
  self.depreciate_info = temp_model.from_map(m['DepreciateInfo'])
@@ -18609,9 +18963,9 @@ class DescribeSlowLogRecordsResponseBodyItemsLogRecords(TeaModel):
18609
18963
  self.account_name = account_name
18610
18964
  # The slow query statement.
18611
18965
  self.command = command
18612
- # The name of the database.
18966
+ # The database name.
18613
18967
  self.dbname = dbname
18614
- # The name of the database, which serves the same purpose as the **DBName** parameter. We recommend that you use the value of the **DBName** parameter.
18968
+ # The database name. This parameter serves the same purpose as the **DBName** parameter. We recommend that you use the **DBName** parameter.
18615
18969
  self.data_base_name = data_base_name
18616
18970
  # The amount of time consumed to execute the slow query statement. Unit: microseconds.
18617
18971
  self.elapsed_time = elapsed_time
@@ -18726,7 +19080,7 @@ class DescribeSlowLogRecordsResponseBody(TeaModel):
18726
19080
  self.engine = engine
18727
19081
  # The ID of the instance.
18728
19082
  self.instance_id = instance_id
18729
- # The slow log entries.
19083
+ # The slow query log entries.
18730
19084
  self.items = items
18731
19085
  # The page number of the returned page.
18732
19086
  self.page_number = page_number
@@ -20760,6 +21114,8 @@ class MigrateToOtherZoneRequest(TeaModel):
20760
21114
  #
20761
21115
  # * **Immediately**: immediately switched after the data is migrated.
20762
21116
  # * **MaintainTime**: switched within the maintenance window.
21117
+ # * **0**: immediately switched after the data is migrated.
21118
+ # * **1**: switched within the maintenance window.
20763
21119
  #
20764
21120
  # > Default value: **Immediately**.
20765
21121
  self.effective_time = effective_time
@@ -23726,6 +24082,7 @@ class ModifyInstanceSpecRequest(TeaModel):
23726
24082
  instance_class: str = None,
23727
24083
  instance_id: str = None,
23728
24084
  major_version: str = None,
24085
+ node_type: str = None,
23729
24086
  order_type: str = None,
23730
24087
  owner_account: str = None,
23731
24088
  owner_id: int = None,
@@ -23772,6 +24129,7 @@ class ModifyInstanceSpecRequest(TeaModel):
23772
24129
  self.instance_id = instance_id
23773
24130
  # The major version to which you want to upgrade. When you change the configurations of an instance, you can upgrade the major version of the instance by setting this parameter. Valid values: **4.0** and **5.0**.
23774
24131
  self.major_version = major_version
24132
+ self.node_type = node_type
23775
24133
  # The change type. This parameter is required when you change the configurations of a subscription instance. Default value: UPGRADE. Valid values:
23776
24134
  #
23777
24135
  # * **UPGRADE**: upgrades the configurations of a subscription instance.
@@ -23782,7 +24140,10 @@ class ModifyInstanceSpecRequest(TeaModel):
23782
24140
  self.order_type = order_type
23783
24141
  self.owner_account = owner_account
23784
24142
  self.owner_id = owner_id
23785
- # The number of read-only nodes. This parameter is available only for read/write splitting instances that use cloud disks. Valid values: 1 to 5.
24143
+ # The number of read replicas. Valid values: 0 to 5. This parameter applies only to the following scenarios:
24144
+ #
24145
+ # * If the instance is a standard instance that uses cloud disks, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture.
24146
+ # * If the instance is a read/write splitting instance that uses cloud disks, you can use this parameter to customize the number of read replicas. You can also set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
23786
24147
  self.read_only_count = read_only_count
23787
24148
  # The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
23788
24149
  self.region_id = region_id
@@ -23824,6 +24185,8 @@ class ModifyInstanceSpecRequest(TeaModel):
23824
24185
  result['InstanceId'] = self.instance_id
23825
24186
  if self.major_version is not None:
23826
24187
  result['MajorVersion'] = self.major_version
24188
+ if self.node_type is not None:
24189
+ result['NodeType'] = self.node_type
23827
24190
  if self.order_type is not None:
23828
24191
  result['OrderType'] = self.order_type
23829
24192
  if self.owner_account is not None:
@@ -23870,6 +24233,8 @@ class ModifyInstanceSpecRequest(TeaModel):
23870
24233
  self.instance_id = m.get('InstanceId')
23871
24234
  if m.get('MajorVersion') is not None:
23872
24235
  self.major_version = m.get('MajorVersion')
24236
+ if m.get('NodeType') is not None:
24237
+ self.node_type = m.get('NodeType')
23873
24238
  if m.get('OrderType') is not None:
23874
24239
  self.order_type = m.get('OrderType')
23875
24240
  if m.get('OwnerAccount') is not None:
@@ -25794,22 +26159,15 @@ class RestartInstanceRequest(TeaModel):
25794
26159
  #
25795
26160
  # * **Immediately**: immediately restarts the instance.
25796
26161
  # * **MaintainTime**: restarts the instance during the maintenance window.
25797
- #
25798
- # Enumeration values:
25799
- #
25800
- # * 0
25801
- # * 1
25802
- # * Immediately
25803
- # * MaintainTime
25804
26162
  self.effective_time = effective_time
25805
- # The operation that you want to perform. Set the value to **RestartInstance**.
26163
+ # The ID of the instance.
25806
26164
  self.instance_id = instance_id
25807
26165
  self.owner_account = owner_account
25808
26166
  self.owner_id = owner_id
25809
26167
  self.resource_owner_account = resource_owner_account
25810
26168
  self.resource_owner_id = resource_owner_id
25811
26169
  self.security_token = security_token
25812
- # Specifies whether to update the instance to the latest minor version when the instance is restarted. Valid values:
26170
+ # Specifies whether to update to the latest minor version when the instance is restarted. Valid values:
25813
26171
  #
25814
26172
  # * **true**: updates the minor version.
25815
26173
  # * **false**: does not update the minor version.
@@ -26429,35 +26787,41 @@ class SwitchNetworkRequest(TeaModel):
26429
26787
  v_switch_id: str = None,
26430
26788
  vpc_id: str = None,
26431
26789
  ):
26432
- # The retention period of the endpoint for the classic network. Valid values: **14**, **30**, **60**, and **120**. Unit: days.
26790
+ # The retention period of the classic network endpoint. Valid values: **14**, **30**, **60**, and **120**. Unit: days.
26791
+ #
26792
+ # >
26433
26793
  #
26434
- # > * This parameter is required when **RetainClassic** is set to **True**.
26435
- # > * After you complete the switchover operation, you can also call the [ModifyInstanceNetExpireTime](~~ModifyInstanceNetExpireTime~~) operation to modify the retention period of the endpoint for the classic network.
26794
+ # * This parameter is available and required only when the **RetainClassic** parameter is set to **True**.
26795
+ #
26796
+ # * After you complete the switchover operation, you can also call the [ModifyInstanceNetExpireTime](~~61010~~) operation to modify the retention period of the classic network endpoint.
26436
26797
  self.classic_expired_days = classic_expired_days
26437
- # The ID of the instance. You can call the [DescribeInstances](~~DescribeInstances~~) operation to query instance IDs.
26798
+ # The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
26438
26799
  self.instance_id = instance_id
26439
26800
  self.owner_account = owner_account
26440
26801
  self.owner_id = owner_id
26441
26802
  self.resource_owner_account = resource_owner_account
26442
26803
  self.resource_owner_id = resource_owner_id
26443
- # Specifies whether to retain the original endpoint for the classic network after you switch the instance from classic network to VPC. Valid values:
26804
+ # Specifies whether to retain the original classic network endpoint after you switch the instance from classic network to VPC. Default value: False. Valid values:
26444
26805
  #
26445
- # * **True**: retains the original endpoint.
26446
- # * **False**: does not retain the original endpoint. This is the default value.
26806
+ # * **True**: retains the classic network endpoint.
26807
+ # * **False**: does not retain the classic network endpoint.
26447
26808
  #
26448
- # > This parameter can be used only when the network type of the instance is classic network.
26809
+ # > This parameter is available only when the network type of the instance is classic network.
26449
26810
  self.retain_classic = retain_classic
26450
26811
  self.security_token = security_token
26451
- # The network type to which you want to switch. Set the value to **VPC**.
26812
+ # The network type to which you want to switch. If you want to switch to VPC network, Set the value to **VPC**.
26452
26813
  self.target_network_type = target_network_type
26453
- # The ID of the vSwitch that belongs to the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query vSwitch IDs.
26814
+ # The ID of the vSwitch that belongs to the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query the VPC ID.
26454
26815
  #
26455
- # > The vSwitch and the ApsaraDB for Redis instance must belong to the same zone.
26816
+ # > The vSwitch and the ApsaraDB for Redis instance must be deployed in the same zone.
26456
26817
  self.v_switch_id = v_switch_id
26457
- # The ID of the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query VPC IDs.
26818
+ # The ID of the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query the VPC ID.
26819
+ #
26820
+ # >
26821
+ #
26822
+ # * The VPC and the ApsaraDB for Redis instance must be deployed in the same region.
26458
26823
  #
26459
- # > * The VPC and the ApsaraDB for Redis instance must be deployed in the same region.
26460
- # > * After you set this parameter, you must also set the **VSwitchId** parameter.
26824
+ # * After you set this parameter, you must also set the **VSwitchId** parameter.
26461
26825
  self.vpc_id = vpc_id
26462
26826
 
26463
26827
  def validate(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-r-kvstore20150101
3
- Version: 2.25.6
3
+ Version: 3.0.1
4
4
  Summary: Alibaba Cloud R-kvstore (20150101) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_r-kvstore20150101.
26
26
 
27
- Created on 28/02/2024
27
+ Created on 07/04/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """