alibabacloud-r-kvstore20150101 3.0.0__tar.gz → 4.0.0__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-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/ChangeLog.md +15 -0
  2. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/PKG-INFO +1 -1
  3. alibabacloud_r-kvstore20150101-4.0.0/alibabacloud_r_kvstore20150101/__init__.py +1 -0
  4. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/alibabacloud_r_kvstore20150101/client.py +8 -0
  5. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/alibabacloud_r_kvstore20150101/models.py +202 -39
  6. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/alibabacloud_r_kvstore20150101.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/setup.py +1 -1
  8. alibabacloud_r-kvstore20150101-3.0.0/alibabacloud_r_kvstore20150101/__init__.py +0 -1
  9. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/LICENSE +0 -0
  10. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/MANIFEST.in +0 -0
  11. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/README-CN.md +0 -0
  12. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/README.md +0 -0
  13. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/alibabacloud_r_kvstore20150101.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/alibabacloud_r_kvstore20150101.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/alibabacloud_r_kvstore20150101.egg-info/requires.txt +0 -0
  16. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/alibabacloud_r_kvstore20150101.egg-info/top_level.txt +0 -0
  17. {alibabacloud_r-kvstore20150101-3.0.0 → alibabacloud_r-kvstore20150101-4.0.0}/setup.cfg +0 -0
@@ -1,3 +1,18 @@
1
+ 2024-04-07 Version: 3.0.1
2
+ - Update API DescribePrice: update response param.
3
+ - Update API LockDBInstanceWrite: update param AccessKeyId.
4
+ - Update API UnlockDBInstanceWrite: update param AccessKeyId.
5
+
6
+
7
+ 2024-03-30 Version: 3.0.0
8
+ - Update API DescribeBackupTasks: update response param.
9
+ - Update API DescribeBackups: update param BackupId.
10
+ - Update API DescribeBackups: update param BackupJobId.
11
+ - Update API DescribeClusterBackupList: update param ClusterBackupId.
12
+ - Update API DescribePrice: update response param.
13
+ - Update API ModifyInstanceSpec: add param NodeType.
14
+
15
+
1
16
  2024-02-28 Version: 2.25.6
2
17
  - Update API DescribeClusterBackupList: update param ClusterBackupId.
3
18
  - Update API DescribePrice: update response param.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_r-kvstore20150101
3
- Version: 3.0.0
3
+ Version: 4.0.0
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
@@ -1053,6 +1053,8 @@ class Client(OpenApiClient):
1053
1053
  """
1054
1054
  UtilClient.validate_model(request)
1055
1055
  query = {}
1056
+ if not UtilClient.is_unset(request.effective_time):
1057
+ query['EffectiveTime'] = request.effective_time
1056
1058
  if not UtilClient.is_unset(request.owner_account):
1057
1059
  query['OwnerAccount'] = request.owner_account
1058
1060
  if not UtilClient.is_unset(request.owner_id):
@@ -1103,6 +1105,8 @@ class Client(OpenApiClient):
1103
1105
  """
1104
1106
  UtilClient.validate_model(request)
1105
1107
  query = {}
1108
+ if not UtilClient.is_unset(request.effective_time):
1109
+ query['EffectiveTime'] = request.effective_time
1106
1110
  if not UtilClient.is_unset(request.owner_account):
1107
1111
  query['OwnerAccount'] = request.owner_account
1108
1112
  if not UtilClient.is_unset(request.owner_id):
@@ -1777,6 +1781,8 @@ class Client(OpenApiClient):
1777
1781
  query['ResourceOwnerAccount'] = request.resource_owner_account
1778
1782
  if not UtilClient.is_unset(request.resource_owner_id):
1779
1783
  query['ResourceOwnerId'] = request.resource_owner_id
1784
+ if not UtilClient.is_unset(request.restore_time):
1785
+ query['RestoreTime'] = request.restore_time
1780
1786
  if not UtilClient.is_unset(request.secondary_zone_id):
1781
1787
  query['SecondaryZoneId'] = request.secondary_zone_id
1782
1788
  if not UtilClient.is_unset(request.security_token):
@@ -1895,6 +1901,8 @@ class Client(OpenApiClient):
1895
1901
  query['ResourceOwnerAccount'] = request.resource_owner_account
1896
1902
  if not UtilClient.is_unset(request.resource_owner_id):
1897
1903
  query['ResourceOwnerId'] = request.resource_owner_id
1904
+ if not UtilClient.is_unset(request.restore_time):
1905
+ query['RestoreTime'] = request.restore_time
1898
1906
  if not UtilClient.is_unset(request.secondary_zone_id):
1899
1907
  query['SecondaryZoneId'] = request.secondary_zone_id
1900
1908
  if not UtilClient.is_unset(request.security_token):
@@ -1092,6 +1092,7 @@ class CreateCacheAnalysisTaskResponse(TeaModel):
1092
1092
  class CreateGlobalDistributeCacheRequest(TeaModel):
1093
1093
  def __init__(
1094
1094
  self,
1095
+ effective_time: str = None,
1095
1096
  owner_account: str = None,
1096
1097
  owner_id: int = None,
1097
1098
  resource_group_id: str = None,
@@ -1100,6 +1101,7 @@ class CreateGlobalDistributeCacheRequest(TeaModel):
1100
1101
  security_token: str = None,
1101
1102
  seed_sub_instance_id: str = None,
1102
1103
  ):
1104
+ self.effective_time = effective_time
1103
1105
  self.owner_account = owner_account
1104
1106
  self.owner_id = owner_id
1105
1107
  # The ID of the resource group.
@@ -1121,6 +1123,8 @@ class CreateGlobalDistributeCacheRequest(TeaModel):
1121
1123
  return _map
1122
1124
 
1123
1125
  result = dict()
1126
+ if self.effective_time is not None:
1127
+ result['EffectiveTime'] = self.effective_time
1124
1128
  if self.owner_account is not None:
1125
1129
  result['OwnerAccount'] = self.owner_account
1126
1130
  if self.owner_id is not None:
@@ -1139,6 +1143,8 @@ class CreateGlobalDistributeCacheRequest(TeaModel):
1139
1143
 
1140
1144
  def from_map(self, m: dict = None):
1141
1145
  m = m or dict()
1146
+ if m.get('EffectiveTime') is not None:
1147
+ self.effective_time = m.get('EffectiveTime')
1142
1148
  if m.get('OwnerAccount') is not None:
1143
1149
  self.owner_account = m.get('OwnerAccount')
1144
1150
  if m.get('OwnerId') is not None:
@@ -2427,6 +2433,7 @@ class CreateTairInstanceRequest(TeaModel):
2427
2433
  resource_group_id: str = None,
2428
2434
  resource_owner_account: str = None,
2429
2435
  resource_owner_id: int = None,
2436
+ restore_time: str = None,
2430
2437
  secondary_zone_id: str = None,
2431
2438
  security_token: str = None,
2432
2439
  shard_count: int = None,
@@ -2456,9 +2463,9 @@ class CreateTairInstanceRequest(TeaModel):
2456
2463
  # * **true**: uses a coupon.
2457
2464
  # * **false**: does not use a coupon.
2458
2465
  self.auto_use_coupon = auto_use_coupon
2459
- # The ID of the backup set of the source instance. You can call the [DescribeBackups](~~61081~~) operation to query the ID of the backup set.
2466
+ # The ID of the backup set of the source instance. If you want to create an instance based on a backup set of a specified instance, you can specify this parameter after you specify the **SrcDBInstanceId** parameter. Then, the system creates an instance based on the backup set that is specified by this parameter. You can call the [DescribeBackups](~~61081~~) operation to query the IDs of backup sets.
2460
2467
  #
2461
- # > If you want to create an instance based on the backup set of an existing instance, you must specify this parameter after you specify the **SrcDBInstanceId** parameter. The system creates an instance based on the backup set that is specified by this parameter.
2468
+ # > If you want to create an instance based on a backup set of a specified instance, you must specify this parameter after you use the **SrcDBInstanceId** parameter to specify the ID of the source instance. Then, the system creates an instance based on the backup set that is specified by this parameter.
2462
2469
  self.backup_id = backup_id
2463
2470
  # The ID of the promotion event or the business information.
2464
2471
  self.business_info = business_info
@@ -2469,7 +2476,13 @@ class CreateTairInstanceRequest(TeaModel):
2469
2476
  self.charge_type = charge_type
2470
2477
  # 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.
2471
2478
  self.client_token = client_token
2472
- # The backup set ID.
2479
+ # This parameter is supported for specific new cluster instances. You can query the backup set ID by using the [DescribeClusterBackupList](~~2679158~~) operation.
2480
+ #
2481
+ # * If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the **BackupId** parameter.
2482
+ #
2483
+ # <!---->
2484
+ #
2485
+ # * If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,). Example: "11101,11102".
2473
2486
  self.cluster_backup_id = cluster_backup_id
2474
2487
  # The coupon code.
2475
2488
  self.coupon_no = coupon_no
@@ -2538,6 +2551,7 @@ class CreateTairInstanceRequest(TeaModel):
2538
2551
  self.resource_group_id = resource_group_id
2539
2552
  self.resource_owner_account = resource_owner_account
2540
2553
  self.resource_owner_id = resource_owner_id
2554
+ self.restore_time = restore_time
2541
2555
  # The ID of the secondary zone. You can call the [DescribeRegions](~~61012~~) operation to query the ID of the secondary zone.
2542
2556
  #
2543
2557
  # > You cannot specify multiple zone IDs or set this parameter to a value that is the same as that of the ZoneId parameter.
@@ -2555,6 +2569,9 @@ class CreateTairInstanceRequest(TeaModel):
2555
2569
  # * **MASTER_SLAVE**: runs in a master-replica architecture that provides high availability.
2556
2570
  # * **STAND_ALONE**: runs in a standalone architecture. If the only node fails, the system creates a new instance and switches the workloads to the new instance. This may cause data loss. You can set this parameter to this value only if the instance uses the **single-zone** deployment type. If you set this parameter to this value, you cannot create cluster or read/write splitting instances.
2557
2571
  self.shard_type = shard_type
2572
+ # The number of read replicas in the secondary zone. This parameter is used to create a read/write splitting instance that is deployed across multiple zones.
2573
+ #
2574
+ # > To create a read/write splitting instance that is deployed across multiple zones, you must specify both SlaveReadOnlyCount and SecondaryZoneId.
2558
2575
  self.slave_read_only_count = slave_read_only_count
2559
2576
  # The ID of the source instance.
2560
2577
  #
@@ -2649,6 +2666,8 @@ class CreateTairInstanceRequest(TeaModel):
2649
2666
  result['ResourceOwnerAccount'] = self.resource_owner_account
2650
2667
  if self.resource_owner_id is not None:
2651
2668
  result['ResourceOwnerId'] = self.resource_owner_id
2669
+ if self.restore_time is not None:
2670
+ result['RestoreTime'] = self.restore_time
2652
2671
  if self.secondary_zone_id is not None:
2653
2672
  result['SecondaryZoneId'] = self.secondary_zone_id
2654
2673
  if self.security_token is not None:
@@ -2737,6 +2756,8 @@ class CreateTairInstanceRequest(TeaModel):
2737
2756
  self.resource_owner_account = m.get('ResourceOwnerAccount')
2738
2757
  if m.get('ResourceOwnerId') is not None:
2739
2758
  self.resource_owner_id = m.get('ResourceOwnerId')
2759
+ if m.get('RestoreTime') is not None:
2760
+ self.restore_time = m.get('RestoreTime')
2740
2761
  if m.get('SecondaryZoneId') is not None:
2741
2762
  self.secondary_zone_id = m.get('SecondaryZoneId')
2742
2763
  if m.get('SecurityToken') is not None:
@@ -6306,12 +6327,19 @@ class DescribeBackupsResponseBodyAccessDeniedDetail(TeaModel):
6306
6327
  no_permission_type: str = None,
6307
6328
  policy_type: str = None,
6308
6329
  ):
6330
+ # This parameter is no longer used. Ignore this parameter.
6309
6331
  self.auth_action = auth_action
6332
+ # This parameter is no longer used. Ignore this parameter.
6310
6333
  self.auth_principal_display_name = auth_principal_display_name
6334
+ # This parameter is no longer used. Ignore this parameter.
6311
6335
  self.auth_principal_owner_id = auth_principal_owner_id
6336
+ # This parameter is no longer used. Ignore this parameter.
6312
6337
  self.auth_principal_type = auth_principal_type
6338
+ # This parameter is no longer used. Ignore this parameter.
6313
6339
  self.encoded_diagnostic_message = encoded_diagnostic_message
6340
+ # This parameter is no longer used. Ignore this parameter.
6314
6341
  self.no_permission_type = no_permission_type
6342
+ # This parameter is no longer used. Ignore this parameter.
6315
6343
  self.policy_type = policy_type
6316
6344
 
6317
6345
  def validate(self):
@@ -6376,7 +6404,7 @@ class DescribeBackupsResponseBodyBackupsBackup(TeaModel):
6376
6404
  engine_version: str = None,
6377
6405
  node_instance_id: str = None,
6378
6406
  ):
6379
- # The databases that are backed up. Default value: **all**, which indicates that all databases are backed up.
6407
+ # The names of the databases that are backed up. The default value is **all**, which indicates that all databases are backed up.
6380
6408
  self.backup_dbnames = backup_dbnames
6381
6409
  # The public download URL of the backup file.
6382
6410
  self.backup_download_url = backup_download_url
@@ -6386,7 +6414,7 @@ class DescribeBackupsResponseBodyBackupsBackup(TeaModel):
6386
6414
  self.backup_id = backup_id
6387
6415
  # The internal download URL of the backup file.
6388
6416
  #
6389
- # > You can download the backup file by using this URL from the Elastic Compute Service (ECS) instance that is connected to the ApsaraDB for Redis instance. The ECS instance and ApsaraDB for Redis instance must reside in the classic network or the same virtual private cloud (VPC) within the same region.
6417
+ # > 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.
6390
6418
  self.backup_intranet_download_url = backup_intranet_download_url
6391
6419
  # The ID of the backup task.
6392
6420
  self.backup_job_id = backup_job_id
@@ -6404,21 +6432,21 @@ class DescribeBackupsResponseBodyBackupsBackup(TeaModel):
6404
6432
  self.backup_size = backup_size
6405
6433
  # The start time of the backup.
6406
6434
  self.backup_start_time = backup_start_time
6407
- # The state of the backup task. Valid values:
6435
+ # The status of the backup. Valid values:
6408
6436
  #
6409
- # * **Success**: The task is successful.
6410
- # * **Failed**: The task failed.
6437
+ # * **Success**\
6438
+ # * **Failed**\
6411
6439
  self.backup_status = backup_status
6412
- # The backup type of the backup file. Valid values:
6440
+ # The backup type. Valid values:
6413
6441
  #
6414
6442
  # * **FullBackup**\
6415
6443
  # * **IncrementalBackup**\
6416
6444
  self.backup_type = backup_type
6417
- # The major engine version of the instance.
6445
+ # The engine version (major version) of the instance.
6418
6446
  self.engine_version = engine_version
6419
6447
  # The node ID.
6420
6448
  #
6421
- # > If a standard instance is used, the instance ID is returned.
6449
+ # > If the instance uses the standard architecture, this parameter returns the instance ID.
6422
6450
  self.node_instance_id = node_instance_id
6423
6451
 
6424
6452
  def validate(self):
@@ -6541,11 +6569,19 @@ class DescribeBackupsResponseBody(TeaModel):
6541
6569
  request_id: str = None,
6542
6570
  total_count: int = None,
6543
6571
  ):
6572
+ # The following parameters are no longer used. Ignore the parameters.
6544
6573
  self.access_denied_detail = access_denied_detail
6545
6574
  # Details of the backup files.
6546
6575
  self.backups = backups
6576
+ # This parameter does not take effect. Ignore this parameter.
6547
6577
  self.free_size = free_size
6578
+ # 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.
6579
+ #
6580
+ # > The value of this parameter is independent of the number and size of the returned backup sets. Instead, it reflects the total size of all valid full backups of the instance.
6548
6581
  self.full_storage_size = full_storage_size
6582
+ # The size of the log backup file of the instance. Unit: bytes. This value is valid only when flashback is enabled.
6583
+ #
6584
+ # > The value of this parameter is independent of the number and size of the returned backup sets. Instead, it reflects the total size of all valid log backups of the instance.
6549
6585
  self.log_storage_size = log_storage_size
6550
6586
  # The page number of the returned page.
6551
6587
  self.page_number = page_number
@@ -7218,17 +7254,24 @@ class DescribeClusterBackupListRequest(TeaModel):
7218
7254
  security_token: str = None,
7219
7255
  start_time: str = None,
7220
7256
  ):
7257
+ # The backup set ID.
7221
7258
  self.cluster_backup_id = cluster_backup_id
7259
+ # The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.
7222
7260
  self.end_time = end_time
7261
+ # The ID of the instance.
7223
7262
  self.instance_id = instance_id
7224
7263
  self.owner_account = owner_account
7225
7264
  self.owner_id = owner_id
7265
+ # The page number of the returned page.
7226
7266
  self.page_number = page_number
7267
+ # The maximum number of entries returned per page.
7227
7268
  self.page_size = page_size
7269
+ # The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
7228
7270
  self.region_id = region_id
7229
7271
  self.resource_owner_account = resource_owner_account
7230
7272
  self.resource_owner_id = resource_owner_id
7231
7273
  self.security_token = security_token
7274
+ # The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
7232
7275
  self.start_time = start_time
7233
7276
 
7234
7277
  def validate(self):
@@ -7565,9 +7608,15 @@ class DescribeClusterBackupListResponseBody(TeaModel):
7565
7608
  #
7566
7609
  # > 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.
7567
7610
  self.log_storage_size = log_storage_size
7611
+ # The number of entries to return per page. Valid values: 1 to 100.
7612
+ # Default value: 30.
7613
+ # >If you specify this parameter, PageSize and PageNumber are unavailable.
7568
7614
  self.max_results = max_results
7615
+ # The page number of the returned page.
7569
7616
  self.page_number = page_number
7617
+ # The maximum number of entries returned per page.
7570
7618
  self.page_size = page_size
7619
+ # The ID of the request.
7571
7620
  self.request_id = request_id
7572
7621
 
7573
7622
  def validate(self):
@@ -8403,7 +8452,7 @@ class DescribeDBNodeDirectVipInfoResponseBody(TeaModel):
8403
8452
  instance_id: str = None,
8404
8453
  request_id: str = None,
8405
8454
  ):
8406
- # The VIPs of shards in the cluster instance.
8455
+ # The virtual IP addresses (VIPs) of shards in an ApsaraDB for Redis cluster instance.
8407
8456
  self.direct_vip_info = direct_vip_info
8408
8457
  # The instance ID.
8409
8458
  self.instance_id = instance_id
@@ -8644,7 +8693,7 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList(
8644
8693
  self.dedicated_host_name = dedicated_host_name
8645
8694
  # The ID of the instance.
8646
8695
  self.instance_id = instance_id
8647
- # The ID of the node.
8696
+ # The node ID.
8648
8697
  self.node_id = node_id
8649
8698
  # The IP address of the node.
8650
8699
  self.node_ip = node_ip
@@ -8747,7 +8796,7 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8747
8796
  # * **logic**: cluster
8748
8797
  # * **normal**: standard
8749
8798
  self.character_type = character_type
8750
- # The ID of the dedicated cluster.
8799
+ # The ID of the dedicated cluster to which the instance belongs.
8751
8800
  self.cluster_id = cluster_id
8752
8801
  # The name of the dedicated cluster to which the instance belongs.
8753
8802
  self.cluster_name = cluster_name
@@ -8755,21 +8804,21 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8755
8804
  self.connection_domain = connection_domain
8756
8805
  # The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
8757
8806
  self.create_time = create_time
8758
- # The current bandwidth of the instance, which consists of the default bandwidth and the additional bandwidth. Unit: Mbit/s.
8807
+ # The current bandwidth of the instance, which is the sum of the default bandwidth and any extra bandwidth that is purchased. Unit: Mbit/s.
8759
8808
  self.current_band_width = current_band_width
8760
- # The custom ID that is used for instance internal maintenance.
8809
+ # An internal parameter used for the maintenance and management of instances.
8761
8810
  self.custom_id = custom_id
8762
- # The database engine of the instance. The return value is **Redis**.
8811
+ # The database engine. The return value is **redis**.
8763
8812
  self.engine = engine
8764
8813
  # The database engine version of the instance. The return value is **5.0**.
8765
8814
  self.engine_version = engine_version
8766
- # The instance type of the instance.
8815
+ # The instance type.
8767
8816
  self.instance_class = instance_class
8768
8817
  # The ID of the instance.
8769
8818
  self.instance_id = instance_id
8770
- # The name of the instance.
8819
+ # The instance name.
8771
8820
  self.instance_name = instance_name
8772
- # Details about the nodes.
8821
+ # The nodes.
8773
8822
  self.instance_node_list = instance_node_list
8774
8823
  # The state of the instance. Valid values:
8775
8824
  #
@@ -8780,13 +8829,13 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8780
8829
  # * **Flushing**: The instance is being released.
8781
8830
  # * **Released**: The instance is released.
8782
8831
  # * **Transforming**: The billing method of the instance is being changed.
8783
- # * **Unavailable**: The instance is suspended.
8832
+ # * **Unavailable**: The instance is unavailable.
8784
8833
  # * **Error**: The instance failed to be created.
8785
8834
  # * **Migrating**: The instance is being migrated.
8786
8835
  # * **BackupRecovering**: The instance is being restored from a backup.
8787
8836
  # * **MinorVersionUpgrading**: The minor version of the instance is being updated.
8788
8837
  # * **NetworkModifying**: The network type of the instance is being changed.
8789
- # * **SSLModifying**: The SSL certificate of the instance is being changed.
8838
+ # * **SSLModifying**: The SSL configurations of the instance are being changed.
8790
8839
  # * **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
8791
8840
  self.instance_status = instance_status
8792
8841
  # The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.
@@ -8795,22 +8844,25 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8795
8844
  self.maintain_start_time = maintain_start_time
8796
8845
  # The number of proxy nodes.
8797
8846
  #
8798
- # > * If the return value is **0**, the proxy mode is disabled. If the return value is an integer that is greater than **0**, the proxy mode is enabled. This integer indicates the number of proxy nodes in the instance. For example, a value of **1** indicates that the instance has one proxy node.
8799
- # > * This parameter is returned only when the instance is a [cluster instance](~~52228~~).
8847
+ # >
8848
+ #
8849
+ # * If the return value is **0**, the proxy mode is disabled for the instance. If the return value is an integer greater than **0**, such as **1**, the proxy mode is enabled for the instance.
8850
+ #
8851
+ # * This parameter is returned only when the instance is a cluster instance. For more information about cluster instances, see [Cluster master-replica instances](~~52228~~).
8800
8852
  self.proxy_count = proxy_count
8801
- # The region ID of the instance.
8853
+ # The ID of the region.
8802
8854
  self.region_id = region_id
8803
8855
  # The number of shards.
8804
8856
  #
8805
- # > This parameter is returned only when the ApsaraDB for Redis instance is a [cluster instance](~~52228~~).
8857
+ # > This parameter is returned only when the instance is a cluster instance. For more information about cluster instances, see [Cluster master-replica instances](~~52228~~).
8806
8858
  self.shard_count = shard_count
8807
8859
  # The storage type of the instance. The return value is LOCAL_SSD, which indicates [enhanced SSDs (ESSDs)](~~122389~~).
8808
8860
  self.storage_type = storage_type
8809
- # The ID of the VPC.
8861
+ # The VPC ID.
8810
8862
  self.vpc_id = vpc_id
8811
- # The ID of the vSwitch.
8863
+ # The vSwitch ID.
8812
8864
  self.vswitch_id = vswitch_id
8813
- # The zone ID of the instance.
8865
+ # The zone ID.
8814
8866
  self.zone_id = zone_id
8815
8867
 
8816
8868
  def validate(self):
@@ -8946,11 +8998,11 @@ class DescribeDedicatedClusterInstanceListResponseBody(TeaModel):
8946
8998
  self.instances = instances
8947
8999
  # The page number of the returned page.
8948
9000
  self.page_number = page_number
8949
- # The number of entries returned per page.
9001
+ # The number of entries per page.
8950
9002
  self.page_size = page_size
8951
9003
  # The ID of the request.
8952
9004
  self.request_id = request_id
8953
- # The total number of returned entries.
9005
+ # The total number of entries returned.
8954
9006
  self.total_count = total_count
8955
9007
 
8956
9008
  def validate(self):
@@ -9840,6 +9892,7 @@ class DescribeEngineVersionResponseBody(TeaModel):
9840
9892
  is_auto_upgrade_open: str = None,
9841
9893
  is_latest_version: bool = None,
9842
9894
  is_new_sslmode: str = None,
9895
+ is_open_nglb: str = None,
9843
9896
  is_redis_compatible_version: str = None,
9844
9897
  is_sslenable: str = None,
9845
9898
  major_version: str = None,
@@ -9878,6 +9931,7 @@ class DescribeEngineVersionResponseBody(TeaModel):
9878
9931
  self.is_latest_version = is_latest_version
9879
9932
  # 是否支持新版 ssl。
9880
9933
  self.is_new_sslmode = is_new_sslmode
9934
+ self.is_open_nglb = is_open_nglb
9881
9935
  # Indicates whether the instance supports the new SSL encryption feature.
9882
9936
  self.is_redis_compatible_version = is_redis_compatible_version
9883
9937
  # 是否打开了小版本升级。
@@ -9927,6 +9981,8 @@ class DescribeEngineVersionResponseBody(TeaModel):
9927
9981
  result['IsLatestVersion'] = self.is_latest_version
9928
9982
  if self.is_new_sslmode is not None:
9929
9983
  result['IsNewSSLMode'] = self.is_new_sslmode
9984
+ if self.is_open_nglb is not None:
9985
+ result['IsOpenNGLB'] = self.is_open_nglb
9930
9986
  if self.is_redis_compatible_version is not None:
9931
9987
  result['IsRedisCompatibleVersion'] = self.is_redis_compatible_version
9932
9988
  if self.is_sslenable is not None:
@@ -9964,6 +10020,8 @@ class DescribeEngineVersionResponseBody(TeaModel):
9964
10020
  self.is_latest_version = m.get('IsLatestVersion')
9965
10021
  if m.get('IsNewSSLMode') is not None:
9966
10022
  self.is_new_sslmode = m.get('IsNewSSLMode')
10023
+ if m.get('IsOpenNGLB') is not None:
10024
+ self.is_open_nglb = m.get('IsOpenNGLB')
9967
10025
  if m.get('IsRedisCompatibleVersion') is not None:
9968
10026
  self.is_redis_compatible_version = m.get('IsRedisCompatibleVersion')
9969
10027
  if m.get('IsSSLEnable') is not None:
@@ -13722,7 +13780,7 @@ class DescribeInstancesOverviewRequest(TeaModel):
13722
13780
  # * **Community**: Community Edition
13723
13781
  # * **Enterprise**: Enhanced Edition (Tair)
13724
13782
  self.edition_type = edition_type
13725
- # The database engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.
13783
+ # The database engine version of the instance.
13726
13784
  self.engine_version = engine_version
13727
13785
  # The instance type of the instance. For more information, see [Instance types](~~107984~~).
13728
13786
  self.instance_class = instance_class
@@ -16626,6 +16684,7 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16626
16684
  list_price: int = None,
16627
16685
  month_price: int = None,
16628
16686
  original_stand_amount: int = None,
16687
+ start_time: str = None,
16629
16688
  ):
16630
16689
  self.cheap_rate = cheap_rate
16631
16690
  self.cheap_stand_amount = cheap_stand_amount
@@ -16636,6 +16695,7 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16636
16695
  self.list_price = list_price
16637
16696
  self.month_price = month_price
16638
16697
  self.original_stand_amount = original_stand_amount
16698
+ self.start_time = start_time
16639
16699
 
16640
16700
  def validate(self):
16641
16701
  if self.contract_activity:
@@ -16665,6 +16725,8 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16665
16725
  result['MonthPrice'] = self.month_price
16666
16726
  if self.original_stand_amount is not None:
16667
16727
  result['OriginalStandAmount'] = self.original_stand_amount
16728
+ if self.start_time is not None:
16729
+ result['StartTime'] = self.start_time
16668
16730
  return result
16669
16731
 
16670
16732
  def from_map(self, m: dict = None):
@@ -16688,6 +16750,89 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16688
16750
  self.month_price = m.get('MonthPrice')
16689
16751
  if m.get('OriginalStandAmount') is not None:
16690
16752
  self.original_stand_amount = m.get('OriginalStandAmount')
16753
+ if m.get('StartTime') is not None:
16754
+ self.start_time = m.get('StartTime')
16755
+ return self
16756
+
16757
+
16758
+ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo(TeaModel):
16759
+ def __init__(
16760
+ self,
16761
+ cheap_rate: float = None,
16762
+ cheap_stand_amount: float = None,
16763
+ differential: float = None,
16764
+ differential_name: str = None,
16765
+ is_contract_activity: bool = None,
16766
+ is_show: bool = None,
16767
+ list_price: float = None,
16768
+ month_price: float = None,
16769
+ original_stand_amount: float = None,
16770
+ start_time: str = None,
16771
+ ):
16772
+ self.cheap_rate = cheap_rate
16773
+ self.cheap_stand_amount = cheap_stand_amount
16774
+ self.differential = differential
16775
+ self.differential_name = differential_name
16776
+ self.is_contract_activity = is_contract_activity
16777
+ self.is_show = is_show
16778
+ self.list_price = list_price
16779
+ self.month_price = month_price
16780
+ self.original_stand_amount = original_stand_amount
16781
+ self.start_time = start_time
16782
+
16783
+ def validate(self):
16784
+ pass
16785
+
16786
+ def to_map(self):
16787
+ _map = super().to_map()
16788
+ if _map is not None:
16789
+ return _map
16790
+
16791
+ result = dict()
16792
+ if self.cheap_rate is not None:
16793
+ result['CheapRate'] = self.cheap_rate
16794
+ if self.cheap_stand_amount is not None:
16795
+ result['CheapStandAmount'] = self.cheap_stand_amount
16796
+ if self.differential is not None:
16797
+ result['Differential'] = self.differential
16798
+ if self.differential_name is not None:
16799
+ result['DifferentialName'] = self.differential_name
16800
+ if self.is_contract_activity is not None:
16801
+ result['IsContractActivity'] = self.is_contract_activity
16802
+ if self.is_show is not None:
16803
+ result['IsShow'] = self.is_show
16804
+ if self.list_price is not None:
16805
+ result['ListPrice'] = self.list_price
16806
+ if self.month_price is not None:
16807
+ result['MonthPrice'] = self.month_price
16808
+ if self.original_stand_amount is not None:
16809
+ result['OriginalStandAmount'] = self.original_stand_amount
16810
+ if self.start_time is not None:
16811
+ result['StartTime'] = self.start_time
16812
+ return result
16813
+
16814
+ def from_map(self, m: dict = None):
16815
+ m = m or dict()
16816
+ if m.get('CheapRate') is not None:
16817
+ self.cheap_rate = m.get('CheapRate')
16818
+ if m.get('CheapStandAmount') is not None:
16819
+ self.cheap_stand_amount = m.get('CheapStandAmount')
16820
+ if m.get('Differential') is not None:
16821
+ self.differential = m.get('Differential')
16822
+ if m.get('DifferentialName') is not None:
16823
+ self.differential_name = m.get('DifferentialName')
16824
+ if m.get('IsContractActivity') is not None:
16825
+ self.is_contract_activity = m.get('IsContractActivity')
16826
+ if m.get('IsShow') is not None:
16827
+ self.is_show = m.get('IsShow')
16828
+ if m.get('ListPrice') is not None:
16829
+ self.list_price = m.get('ListPrice')
16830
+ if m.get('MonthPrice') is not None:
16831
+ self.month_price = m.get('MonthPrice')
16832
+ if m.get('OriginalStandAmount') is not None:
16833
+ self.original_stand_amount = m.get('OriginalStandAmount')
16834
+ if m.get('StartTime') is not None:
16835
+ self.start_time = m.get('StartTime')
16691
16836
  return self
16692
16837
 
16693
16838
 
@@ -16775,6 +16920,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16775
16920
  def __init__(
16776
16921
  self,
16777
16922
  contract_activity: bool = None,
16923
+ depreciate_info: DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo = None,
16778
16924
  discount_fee: float = None,
16779
16925
  module_attrs: DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs = None,
16780
16926
  module_code: str = None,
@@ -16787,6 +16933,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16787
16933
  total_product_fee: float = None,
16788
16934
  ):
16789
16935
  self.contract_activity = contract_activity
16936
+ self.depreciate_info = depreciate_info
16790
16937
  self.discount_fee = discount_fee
16791
16938
  self.module_attrs = module_attrs
16792
16939
  self.module_code = module_code
@@ -16799,6 +16946,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16799
16946
  self.total_product_fee = total_product_fee
16800
16947
 
16801
16948
  def validate(self):
16949
+ if self.depreciate_info:
16950
+ self.depreciate_info.validate()
16802
16951
  if self.module_attrs:
16803
16952
  self.module_attrs.validate()
16804
16953
 
@@ -16810,6 +16959,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16810
16959
  result = dict()
16811
16960
  if self.contract_activity is not None:
16812
16961
  result['ContractActivity'] = self.contract_activity
16962
+ if self.depreciate_info is not None:
16963
+ result['DepreciateInfo'] = self.depreciate_info.to_map()
16813
16964
  if self.discount_fee is not None:
16814
16965
  result['DiscountFee'] = self.discount_fee
16815
16966
  if self.module_attrs is not None:
@@ -16836,6 +16987,9 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16836
16987
  m = m or dict()
16837
16988
  if m.get('ContractActivity') is not None:
16838
16989
  self.contract_activity = m.get('ContractActivity')
16990
+ if m.get('DepreciateInfo') is not None:
16991
+ temp_model = DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo()
16992
+ self.depreciate_info = temp_model.from_map(m['DepreciateInfo'])
16839
16993
  if m.get('DiscountFee') is not None:
16840
16994
  self.discount_fee = m.get('DiscountFee')
16841
16995
  if m.get('ModuleAttrs') is not None:
@@ -17503,11 +17657,11 @@ class DescribeRegionsResponseBodyRegionIdsKVStoreRegion(TeaModel):
17503
17657
  self.local_name = local_name
17504
17658
  # The endpoint of the region.
17505
17659
  self.region_endpoint = region_endpoint
17506
- # The region ID of the instance.
17660
+ # The ID of the region.
17507
17661
  self.region_id = region_id
17508
- # The list of zone IDs.
17662
+ # The zone IDs.
17509
17663
  self.zone_id_list = zone_id_list
17510
- # The zone ID of the instance.
17664
+ # The IDs of the zones in the region.
17511
17665
  self.zone_ids = zone_ids
17512
17666
 
17513
17667
  def validate(self):
@@ -17589,7 +17743,7 @@ class DescribeRegionsResponseBody(TeaModel):
17589
17743
  region_ids: DescribeRegionsResponseBodyRegionIds = None,
17590
17744
  request_id: str = None,
17591
17745
  ):
17592
- # The value of the **RegionIds** parameter is in the array format. Each element in the array contains the **RegionId** and **ZoneIds** parameters.
17746
+ # The **region IDs**.
17593
17747
  self.region_ids = region_ids
17594
17748
  # The ID of the request.
17595
17749
  self.request_id = request_id
@@ -21108,6 +21262,8 @@ class MigrateToOtherZoneRequest(TeaModel):
21108
21262
  #
21109
21263
  # * **Immediately**: immediately switched after the data is migrated.
21110
21264
  # * **MaintainTime**: switched within the maintenance window.
21265
+ # * **0**: immediately switched after the data is migrated.
21266
+ # * **1**: switched within the maintenance window.
21111
21267
  #
21112
21268
  # > Default value: **Immediately**.
21113
21269
  self.effective_time = effective_time
@@ -21856,6 +22012,7 @@ class ModifyBackupPolicyRequest(TeaModel):
21856
22012
  resource_owner_id: int = None,
21857
22013
  security_token: str = None,
21858
22014
  ):
22015
+ # The number of days for which data backup files are retained. Valid values: 7 to 730. Default value: 7.
21859
22016
  self.backup_retention_period = backup_retention_period
21860
22017
  # Specifies whether to enable incremental data backup. Default value: 0. Valid values:
21861
22018
  #
@@ -24132,7 +24289,7 @@ class ModifyInstanceSpecRequest(TeaModel):
24132
24289
  self.order_type = order_type
24133
24290
  self.owner_account = owner_account
24134
24291
  self.owner_id = owner_id
24135
- # The number of read replicas. Valid values: 0 to 5. This parameter applies only to the following scenarios:
24292
+ # The number of read replicas in the primary zone. Valid values: 0 to 5. This parameter applies only to the following scenarios:
24136
24293
  #
24137
24294
  # * 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
24295
  # * 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.
@@ -24144,6 +24301,7 @@ class ModifyInstanceSpecRequest(TeaModel):
24144
24301
  self.security_token = security_token
24145
24302
  # The number of shards. This parameter is available only for cluster instances that use cloud disks.
24146
24303
  self.shard_count = shard_count
24304
+ # The number of read replicas in the secondary zone. This parameter is used to create a read/write splitting instance that is deployed in multiple zones. Valid values: 1 to 9. The sum of the SlaveReadOnlyCount and ReadOnlyCount values cannot be greater than 9.
24147
24305
  self.slave_read_only_count = slave_read_only_count
24148
24306
  # The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.
24149
24307
  self.source_biz = source_biz
@@ -25098,7 +25256,8 @@ class ModifySecurityIpsRequest(TeaModel):
25098
25256
  self.resource_owner_id = resource_owner_id
25099
25257
  # By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is **hidden**.
25100
25258
  self.security_ip_group_attribute = security_ip_group_attribute
25101
- # The name of the whitelist.
25259
+ # The name of the IP address whitelist.
25260
+ # ><warning>You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.></warning>
25102
25261
  self.security_ip_group_name = security_ip_group_name
25103
25262
  # The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
25104
25263
  self.security_ips = security_ips
@@ -25808,6 +25967,10 @@ class RenewInstanceRequest(TeaModel):
25808
25967
  #
25809
25968
  # If you select false, you must choose **Expenses** > **Renewal Management** in the top navigation bar. In the left-side navigation pane, click **Orders**. Find the specified order and pay for it.
25810
25969
  self.auto_pay = auto_pay
25970
+ # Specifies whether to enable auto-renewal for the instance. Valid values:
25971
+ #
25972
+ # * **true**: enables auto-renewal. The instance is renewed based on the specified renewal duration. For example, if you set the renewal duration to three months, you are charged for three months of service each time the instance is automatically renewed.
25973
+ # * **false** (default): disables auto-renewal.
25811
25974
  self.auto_renew = auto_renew
25812
25975
  # The ID of the promotional event or business information.
25813
25976
  self.business_info = business_info
@@ -26801,7 +26964,7 @@ class SwitchNetworkRequest(TeaModel):
26801
26964
  # > This parameter is available only when the network type of the instance is classic network.
26802
26965
  self.retain_classic = retain_classic
26803
26966
  self.security_token = security_token
26804
- # The network type to which you want to switch. Set the value to **VPC**.
26967
+ # The network type to which you want to switch. If you want to switch to VPC network, Set the value to **VPC**.
26805
26968
  self.target_network_type = target_network_type
26806
26969
  # 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.
26807
26970
  #
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-r-kvstore20150101
3
- Version: 3.0.0
3
+ Version: 4.0.0
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 30/03/2024
27
+ Created on 06/05/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """