alibabacloud-r-kvstore20150101 2.25.6__py3-none-any.whl → 3.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_r_kvstore20150101/__init__.py +1 -1
- alibabacloud_r_kvstore20150101/client.py +8 -12
- alibabacloud_r_kvstore20150101/models.py +407 -51
- {alibabacloud_r_kvstore20150101-2.25.6.dist-info → alibabacloud_r_kvstore20150101-3.0.0.dist-info}/METADATA +1 -1
- alibabacloud_r_kvstore20150101-3.0.0.dist-info/RECORD +8 -0
- alibabacloud_r_kvstore20150101-2.25.6.dist-info/RECORD +0 -8
- {alibabacloud_r_kvstore20150101-2.25.6.dist-info → alibabacloud_r_kvstore20150101-3.0.0.dist-info}/LICENSE +0 -0
- {alibabacloud_r_kvstore20150101-2.25.6.dist-info → alibabacloud_r_kvstore20150101-3.0.0.dist-info}/WHEEL +0 -0
- {alibabacloud_r_kvstore20150101-2.25.6.dist-info → alibabacloud_r_kvstore20150101-3.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '
|
|
1
|
+
__version__ = '3.0.0'
|
|
@@ -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
|
-
#
|
|
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.
|
|
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.
|
|
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
|
|
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
|
-
#
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
11314
|
+
# The queried task objects.
|
|
11197
11315
|
self.items = items
|
|
11198
|
-
# The page number
|
|
11316
|
+
# The page number of the returned page.
|
|
11199
11317
|
self.page_number = page_number
|
|
11200
|
-
# The number of entries per page.
|
|
11318
|
+
# The maximum number of entries returned per page.
|
|
11201
11319
|
self.page_size = page_size
|
|
11202
|
-
# The
|
|
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](~~
|
|
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
|
-
|
|
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,11 +16522,104 @@ 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,
|
|
@@ -16318,6 +16629,7 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
|
|
|
16318
16629
|
):
|
|
16319
16630
|
self.cheap_rate = cheap_rate
|
|
16320
16631
|
self.cheap_stand_amount = cheap_stand_amount
|
|
16632
|
+
self.contract_activity = contract_activity
|
|
16321
16633
|
self.differential = differential
|
|
16322
16634
|
self.differential_name = differential_name
|
|
16323
16635
|
self.is_contract_activity = is_contract_activity
|
|
@@ -16326,7 +16638,8 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
|
|
|
16326
16638
|
self.original_stand_amount = original_stand_amount
|
|
16327
16639
|
|
|
16328
16640
|
def validate(self):
|
|
16329
|
-
|
|
16641
|
+
if self.contract_activity:
|
|
16642
|
+
self.contract_activity.validate()
|
|
16330
16643
|
|
|
16331
16644
|
def to_map(self):
|
|
16332
16645
|
_map = super().to_map()
|
|
@@ -16338,6 +16651,8 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
|
|
|
16338
16651
|
result['CheapRate'] = self.cheap_rate
|
|
16339
16652
|
if self.cheap_stand_amount is not None:
|
|
16340
16653
|
result['CheapStandAmount'] = self.cheap_stand_amount
|
|
16654
|
+
if self.contract_activity is not None:
|
|
16655
|
+
result['ContractActivity'] = self.contract_activity.to_map()
|
|
16341
16656
|
if self.differential is not None:
|
|
16342
16657
|
result['Differential'] = self.differential
|
|
16343
16658
|
if self.differential_name is not None:
|
|
@@ -16358,6 +16673,9 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
|
|
|
16358
16673
|
self.cheap_rate = m.get('CheapRate')
|
|
16359
16674
|
if m.get('CheapStandAmount') is not None:
|
|
16360
16675
|
self.cheap_stand_amount = m.get('CheapStandAmount')
|
|
16676
|
+
if m.get('ContractActivity') is not None:
|
|
16677
|
+
temp_model = DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity()
|
|
16678
|
+
self.contract_activity = temp_model.from_map(m['ContractActivity'])
|
|
16361
16679
|
if m.get('Differential') is not None:
|
|
16362
16680
|
self.differential = m.get('Differential')
|
|
16363
16681
|
if m.get('DifferentialName') is not None:
|
|
@@ -16456,6 +16774,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModu
|
|
|
16456
16774
|
class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(TeaModel):
|
|
16457
16775
|
def __init__(
|
|
16458
16776
|
self,
|
|
16777
|
+
contract_activity: bool = None,
|
|
16459
16778
|
discount_fee: float = None,
|
|
16460
16779
|
module_attrs: DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs = None,
|
|
16461
16780
|
module_code: str = None,
|
|
@@ -16467,6 +16786,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
|
|
|
16467
16786
|
stand_price: float = None,
|
|
16468
16787
|
total_product_fee: float = None,
|
|
16469
16788
|
):
|
|
16789
|
+
self.contract_activity = contract_activity
|
|
16470
16790
|
self.discount_fee = discount_fee
|
|
16471
16791
|
self.module_attrs = module_attrs
|
|
16472
16792
|
self.module_code = module_code
|
|
@@ -16488,6 +16808,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
|
|
|
16488
16808
|
return _map
|
|
16489
16809
|
|
|
16490
16810
|
result = dict()
|
|
16811
|
+
if self.contract_activity is not None:
|
|
16812
|
+
result['ContractActivity'] = self.contract_activity
|
|
16491
16813
|
if self.discount_fee is not None:
|
|
16492
16814
|
result['DiscountFee'] = self.discount_fee
|
|
16493
16815
|
if self.module_attrs is not None:
|
|
@@ -16512,6 +16834,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
|
|
|
16512
16834
|
|
|
16513
16835
|
def from_map(self, m: dict = None):
|
|
16514
16836
|
m = m or dict()
|
|
16837
|
+
if m.get('ContractActivity') is not None:
|
|
16838
|
+
self.contract_activity = m.get('ContractActivity')
|
|
16515
16839
|
if m.get('DiscountFee') is not None:
|
|
16516
16840
|
self.discount_fee = m.get('DiscountFee')
|
|
16517
16841
|
if m.get('ModuleAttrs') is not None:
|
|
@@ -16690,15 +17014,21 @@ class DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions(TeaModel):
|
|
|
16690
17014
|
class DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail(TeaModel):
|
|
16691
17015
|
def __init__(
|
|
16692
17016
|
self,
|
|
17017
|
+
activity_ext_info: Dict[str, Any] = None,
|
|
17018
|
+
derived_prom_type: str = None,
|
|
16693
17019
|
final_prom_fee: float = None,
|
|
16694
17020
|
option_code: str = None,
|
|
16695
17021
|
prom_type: str = None,
|
|
17022
|
+
promotion_code: str = None,
|
|
16696
17023
|
promotion_id: int = None,
|
|
16697
17024
|
promotion_name: str = None,
|
|
16698
17025
|
):
|
|
17026
|
+
self.activity_ext_info = activity_ext_info
|
|
17027
|
+
self.derived_prom_type = derived_prom_type
|
|
16699
17028
|
self.final_prom_fee = final_prom_fee
|
|
16700
17029
|
self.option_code = option_code
|
|
16701
17030
|
self.prom_type = prom_type
|
|
17031
|
+
self.promotion_code = promotion_code
|
|
16702
17032
|
self.promotion_id = promotion_id
|
|
16703
17033
|
self.promotion_name = promotion_name
|
|
16704
17034
|
|
|
@@ -16711,12 +17041,18 @@ class DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail(TeaMode
|
|
|
16711
17041
|
return _map
|
|
16712
17042
|
|
|
16713
17043
|
result = dict()
|
|
17044
|
+
if self.activity_ext_info is not None:
|
|
17045
|
+
result['ActivityExtInfo'] = self.activity_ext_info
|
|
17046
|
+
if self.derived_prom_type is not None:
|
|
17047
|
+
result['DerivedPromType'] = self.derived_prom_type
|
|
16714
17048
|
if self.final_prom_fee is not None:
|
|
16715
17049
|
result['FinalPromFee'] = self.final_prom_fee
|
|
16716
17050
|
if self.option_code is not None:
|
|
16717
17051
|
result['OptionCode'] = self.option_code
|
|
16718
17052
|
if self.prom_type is not None:
|
|
16719
17053
|
result['PromType'] = self.prom_type
|
|
17054
|
+
if self.promotion_code is not None:
|
|
17055
|
+
result['PromotionCode'] = self.promotion_code
|
|
16720
17056
|
if self.promotion_id is not None:
|
|
16721
17057
|
result['PromotionId'] = self.promotion_id
|
|
16722
17058
|
if self.promotion_name is not None:
|
|
@@ -16725,12 +17061,18 @@ class DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail(TeaMode
|
|
|
16725
17061
|
|
|
16726
17062
|
def from_map(self, m: dict = None):
|
|
16727
17063
|
m = m or dict()
|
|
17064
|
+
if m.get('ActivityExtInfo') is not None:
|
|
17065
|
+
self.activity_ext_info = m.get('ActivityExtInfo')
|
|
17066
|
+
if m.get('DerivedPromType') is not None:
|
|
17067
|
+
self.derived_prom_type = m.get('DerivedPromType')
|
|
16728
17068
|
if m.get('FinalPromFee') is not None:
|
|
16729
17069
|
self.final_prom_fee = m.get('FinalPromFee')
|
|
16730
17070
|
if m.get('OptionCode') is not None:
|
|
16731
17071
|
self.option_code = m.get('OptionCode')
|
|
16732
17072
|
if m.get('PromType') is not None:
|
|
16733
17073
|
self.prom_type = m.get('PromType')
|
|
17074
|
+
if m.get('PromotionCode') is not None:
|
|
17075
|
+
self.promotion_code = m.get('PromotionCode')
|
|
16734
17076
|
if m.get('PromotionId') is not None:
|
|
16735
17077
|
self.promotion_id = m.get('PromotionId')
|
|
16736
17078
|
if m.get('PromotionName') is not None:
|
|
@@ -16803,6 +17145,7 @@ class DescribePriceResponseBodySubOrdersSubOrderRuleIds(TeaModel):
|
|
|
16803
17145
|
class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
|
|
16804
17146
|
def __init__(
|
|
16805
17147
|
self,
|
|
17148
|
+
contract_activity: bool = None,
|
|
16806
17149
|
depreciate_info: DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo = None,
|
|
16807
17150
|
discount_amount: str = None,
|
|
16808
17151
|
instance_id: str = None,
|
|
@@ -16816,6 +17159,7 @@ class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
|
|
|
16816
17159
|
stand_price: int = None,
|
|
16817
17160
|
trade_amount: str = None,
|
|
16818
17161
|
):
|
|
17162
|
+
self.contract_activity = contract_activity
|
|
16819
17163
|
self.depreciate_info = depreciate_info
|
|
16820
17164
|
# The discount amount of the order.
|
|
16821
17165
|
self.discount_amount = discount_amount
|
|
@@ -16852,6 +17196,8 @@ class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
|
|
|
16852
17196
|
return _map
|
|
16853
17197
|
|
|
16854
17198
|
result = dict()
|
|
17199
|
+
if self.contract_activity is not None:
|
|
17200
|
+
result['ContractActivity'] = self.contract_activity
|
|
16855
17201
|
if self.depreciate_info is not None:
|
|
16856
17202
|
result['DepreciateInfo'] = self.depreciate_info.to_map()
|
|
16857
17203
|
if self.discount_amount is not None:
|
|
@@ -16880,6 +17226,8 @@ class DescribePriceResponseBodySubOrdersSubOrder(TeaModel):
|
|
|
16880
17226
|
|
|
16881
17227
|
def from_map(self, m: dict = None):
|
|
16882
17228
|
m = m or dict()
|
|
17229
|
+
if m.get('ContractActivity') is not None:
|
|
17230
|
+
self.contract_activity = m.get('ContractActivity')
|
|
16883
17231
|
if m.get('DepreciateInfo') is not None:
|
|
16884
17232
|
temp_model = DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo()
|
|
16885
17233
|
self.depreciate_info = temp_model.from_map(m['DepreciateInfo'])
|
|
@@ -18609,9 +18957,9 @@ class DescribeSlowLogRecordsResponseBodyItemsLogRecords(TeaModel):
|
|
|
18609
18957
|
self.account_name = account_name
|
|
18610
18958
|
# The slow query statement.
|
|
18611
18959
|
self.command = command
|
|
18612
|
-
# The name
|
|
18960
|
+
# The database name.
|
|
18613
18961
|
self.dbname = dbname
|
|
18614
|
-
# The name
|
|
18962
|
+
# The database name. This parameter serves the same purpose as the **DBName** parameter. We recommend that you use the **DBName** parameter.
|
|
18615
18963
|
self.data_base_name = data_base_name
|
|
18616
18964
|
# The amount of time consumed to execute the slow query statement. Unit: microseconds.
|
|
18617
18965
|
self.elapsed_time = elapsed_time
|
|
@@ -18726,7 +19074,7 @@ class DescribeSlowLogRecordsResponseBody(TeaModel):
|
|
|
18726
19074
|
self.engine = engine
|
|
18727
19075
|
# The ID of the instance.
|
|
18728
19076
|
self.instance_id = instance_id
|
|
18729
|
-
# The slow log entries.
|
|
19077
|
+
# The slow query log entries.
|
|
18730
19078
|
self.items = items
|
|
18731
19079
|
# The page number of the returned page.
|
|
18732
19080
|
self.page_number = page_number
|
|
@@ -23726,6 +24074,7 @@ class ModifyInstanceSpecRequest(TeaModel):
|
|
|
23726
24074
|
instance_class: str = None,
|
|
23727
24075
|
instance_id: str = None,
|
|
23728
24076
|
major_version: str = None,
|
|
24077
|
+
node_type: str = None,
|
|
23729
24078
|
order_type: str = None,
|
|
23730
24079
|
owner_account: str = None,
|
|
23731
24080
|
owner_id: int = None,
|
|
@@ -23772,6 +24121,7 @@ class ModifyInstanceSpecRequest(TeaModel):
|
|
|
23772
24121
|
self.instance_id = instance_id
|
|
23773
24122
|
# 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
24123
|
self.major_version = major_version
|
|
24124
|
+
self.node_type = node_type
|
|
23775
24125
|
# The change type. This parameter is required when you change the configurations of a subscription instance. Default value: UPGRADE. Valid values:
|
|
23776
24126
|
#
|
|
23777
24127
|
# * **UPGRADE**: upgrades the configurations of a subscription instance.
|
|
@@ -23782,7 +24132,10 @@ class ModifyInstanceSpecRequest(TeaModel):
|
|
|
23782
24132
|
self.order_type = order_type
|
|
23783
24133
|
self.owner_account = owner_account
|
|
23784
24134
|
self.owner_id = owner_id
|
|
23785
|
-
# The number of read
|
|
24135
|
+
# The number of read replicas. Valid values: 0 to 5. This parameter applies only to the following scenarios:
|
|
24136
|
+
#
|
|
24137
|
+
# * 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.
|
|
24138
|
+
# * 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
24139
|
self.read_only_count = read_only_count
|
|
23787
24140
|
# The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
|
|
23788
24141
|
self.region_id = region_id
|
|
@@ -23824,6 +24177,8 @@ class ModifyInstanceSpecRequest(TeaModel):
|
|
|
23824
24177
|
result['InstanceId'] = self.instance_id
|
|
23825
24178
|
if self.major_version is not None:
|
|
23826
24179
|
result['MajorVersion'] = self.major_version
|
|
24180
|
+
if self.node_type is not None:
|
|
24181
|
+
result['NodeType'] = self.node_type
|
|
23827
24182
|
if self.order_type is not None:
|
|
23828
24183
|
result['OrderType'] = self.order_type
|
|
23829
24184
|
if self.owner_account is not None:
|
|
@@ -23870,6 +24225,8 @@ class ModifyInstanceSpecRequest(TeaModel):
|
|
|
23870
24225
|
self.instance_id = m.get('InstanceId')
|
|
23871
24226
|
if m.get('MajorVersion') is not None:
|
|
23872
24227
|
self.major_version = m.get('MajorVersion')
|
|
24228
|
+
if m.get('NodeType') is not None:
|
|
24229
|
+
self.node_type = m.get('NodeType')
|
|
23873
24230
|
if m.get('OrderType') is not None:
|
|
23874
24231
|
self.order_type = m.get('OrderType')
|
|
23875
24232
|
if m.get('OwnerAccount') is not None:
|
|
@@ -25794,22 +26151,15 @@ class RestartInstanceRequest(TeaModel):
|
|
|
25794
26151
|
#
|
|
25795
26152
|
# * **Immediately**: immediately restarts the instance.
|
|
25796
26153
|
# * **MaintainTime**: restarts the instance during the maintenance window.
|
|
25797
|
-
#
|
|
25798
|
-
# Enumeration values:
|
|
25799
|
-
#
|
|
25800
|
-
# * 0
|
|
25801
|
-
# * 1
|
|
25802
|
-
# * Immediately
|
|
25803
|
-
# * MaintainTime
|
|
25804
26154
|
self.effective_time = effective_time
|
|
25805
|
-
# The
|
|
26155
|
+
# The ID of the instance.
|
|
25806
26156
|
self.instance_id = instance_id
|
|
25807
26157
|
self.owner_account = owner_account
|
|
25808
26158
|
self.owner_id = owner_id
|
|
25809
26159
|
self.resource_owner_account = resource_owner_account
|
|
25810
26160
|
self.resource_owner_id = resource_owner_id
|
|
25811
26161
|
self.security_token = security_token
|
|
25812
|
-
# Specifies whether to update
|
|
26162
|
+
# Specifies whether to update to the latest minor version when the instance is restarted. Valid values:
|
|
25813
26163
|
#
|
|
25814
26164
|
# * **true**: updates the minor version.
|
|
25815
26165
|
# * **false**: does not update the minor version.
|
|
@@ -26429,35 +26779,41 @@ class SwitchNetworkRequest(TeaModel):
|
|
|
26429
26779
|
v_switch_id: str = None,
|
|
26430
26780
|
vpc_id: str = None,
|
|
26431
26781
|
):
|
|
26432
|
-
# The retention period of the
|
|
26782
|
+
# The retention period of the classic network endpoint. Valid values: **14**, **30**, **60**, and **120**. Unit: days.
|
|
26783
|
+
#
|
|
26784
|
+
# >
|
|
26785
|
+
#
|
|
26786
|
+
# * This parameter is available and required only when the **RetainClassic** parameter is set to **True**.
|
|
26433
26787
|
#
|
|
26434
|
-
#
|
|
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.
|
|
26788
|
+
# * 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
26789
|
self.classic_expired_days = classic_expired_days
|
|
26437
|
-
# The ID of the instance. You can call the [DescribeInstances](~~
|
|
26790
|
+
# The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
|
|
26438
26791
|
self.instance_id = instance_id
|
|
26439
26792
|
self.owner_account = owner_account
|
|
26440
26793
|
self.owner_id = owner_id
|
|
26441
26794
|
self.resource_owner_account = resource_owner_account
|
|
26442
26795
|
self.resource_owner_id = resource_owner_id
|
|
26443
|
-
# Specifies whether to retain the original
|
|
26796
|
+
# 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
26797
|
#
|
|
26445
|
-
# * **True**: retains the
|
|
26446
|
-
# * **False**: does not retain the
|
|
26798
|
+
# * **True**: retains the classic network endpoint.
|
|
26799
|
+
# * **False**: does not retain the classic network endpoint.
|
|
26447
26800
|
#
|
|
26448
|
-
# >
|
|
26801
|
+
# > This parameter is available only when the network type of the instance is classic network.
|
|
26449
26802
|
self.retain_classic = retain_classic
|
|
26450
26803
|
self.security_token = security_token
|
|
26451
26804
|
# The network type to which you want to switch. Set the value to **VPC**.
|
|
26452
26805
|
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
|
|
26806
|
+
# 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
26807
|
#
|
|
26455
|
-
# >
|
|
26808
|
+
# > The vSwitch and the ApsaraDB for Redis instance must be deployed in the same zone.
|
|
26456
26809
|
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
|
|
26810
|
+
# The ID of the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query the VPC ID.
|
|
26811
|
+
#
|
|
26812
|
+
# >
|
|
26813
|
+
#
|
|
26814
|
+
# * The VPC and the ApsaraDB for Redis instance must be deployed in the same region.
|
|
26458
26815
|
#
|
|
26459
|
-
#
|
|
26460
|
-
# > * After you set this parameter, you must also set the **VSwitchId** parameter.
|
|
26816
|
+
# * After you set this parameter, you must also set the **VSwitchId** parameter.
|
|
26461
26817
|
self.vpc_id = vpc_id
|
|
26462
26818
|
|
|
26463
26819
|
def validate(self):
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_r_kvstore20150101/__init__.py,sha256=ddtA0myd9lh60BQddOxgTznQsDzL0h72frF04ICaK1w,21
|
|
2
|
+
alibabacloud_r_kvstore20150101/client.py,sha256=a0arp89XhZxmudKxcKMzqnmAblME3Q73IyTaSmUEi3M,709714
|
|
3
|
+
alibabacloud_r_kvstore20150101/models.py,sha256=wDD2tj8qacz9zA1IUw_FTL6flVY94xnKn_bTtVd4F5s,1076196
|
|
4
|
+
alibabacloud_r_kvstore20150101-3.0.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_r_kvstore20150101-3.0.0.dist-info/METADATA,sha256=RPeGhMUVQVZfN_SRcRzr0DFvVCCQR2a1s4tpmgj6VeI,2325
|
|
6
|
+
alibabacloud_r_kvstore20150101-3.0.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
+
alibabacloud_r_kvstore20150101-3.0.0.dist-info/top_level.txt,sha256=J4PKR9ZyL9kwMmr-uW5ES0k8peh-cqnKZ-Rk0iEhc3Y,31
|
|
8
|
+
alibabacloud_r_kvstore20150101-3.0.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_r_kvstore20150101/__init__.py,sha256=c1b5UlaAoa1ACaiTOqd7S0_rvDPypmwMuo9V3z1kWF0,22
|
|
2
|
-
alibabacloud_r_kvstore20150101/client.py,sha256=nT62IbVegGezyf_QNXOA3OJ62TdLSKKbVKDkbCYmIPs,709648
|
|
3
|
-
alibabacloud_r_kvstore20150101/models.py,sha256=oQTuYSetHe_EAXIklNFRtrqZWxwVedPqnXnnwcimUYc,1061085
|
|
4
|
-
alibabacloud_r_kvstore20150101-2.25.6.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_r_kvstore20150101-2.25.6.dist-info/METADATA,sha256=UaGpGlRrVqRxh0m7T0yJanGN_Cr9QOhKbJt6STL1SNg,2326
|
|
6
|
-
alibabacloud_r_kvstore20150101-2.25.6.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
alibabacloud_r_kvstore20150101-2.25.6.dist-info/top_level.txt,sha256=J4PKR9ZyL9kwMmr-uW5ES0k8peh-cqnKZ-Rk0iEhc3Y,31
|
|
8
|
-
alibabacloud_r_kvstore20150101-2.25.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|