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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/ChangeLog.md +14 -0
  2. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/PKG-INFO +1 -1
  3. alibabacloud_r-kvstore20150101-4.0.1/alibabacloud_r_kvstore20150101/__init__.py +1 -0
  4. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101/client.py +12 -4
  5. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101/models.py +259 -86
  6. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/setup.py +1 -1
  8. alibabacloud_r-kvstore20150101-3.0.1/alibabacloud_r_kvstore20150101/__init__.py +0 -1
  9. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/LICENSE +0 -0
  10. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/MANIFEST.in +0 -0
  11. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/README-CN.md +0 -0
  12. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/README.md +0 -0
  13. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/requires.txt +0 -0
  16. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/top_level.txt +0 -0
  17. {alibabacloud_r-kvstore20150101-3.0.1 → alibabacloud_r-kvstore20150101-4.0.1}/setup.cfg +0 -0
@@ -1,3 +1,17 @@
1
+ 2024-05-06 Version: 4.0.0
2
+ - Update API CreateGlobalDistributeCache: add param EffectiveTime.
3
+ - Update API CreateTairInstance: add param RestoreTime.
4
+ - Update API DescribeBackups: update response param.
5
+ - Update API DescribeEngineVersion: update response param.
6
+ - Update API DescribePrice: update response param.
7
+
8
+
9
+ 2024-04-07 Version: 3.0.1
10
+ - Update API DescribePrice: update response param.
11
+ - Update API LockDBInstanceWrite: update param AccessKeyId.
12
+ - Update API UnlockDBInstanceWrite: update param AccessKeyId.
13
+
14
+
1
15
  2024-03-30 Version: 3.0.0
2
16
  - Update API DescribeBackupTasks: update response param.
3
17
  - Update API DescribeBackups: update param BackupId.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_r-kvstore20150101
3
- Version: 3.0.1
3
+ Version: 4.0.1
4
4
  Summary: Alibaba Cloud R-kvstore (20150101) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -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):
@@ -4982,6 +4990,8 @@ class Client(OpenApiClient):
4982
4990
  query['MonitorKeys'] = request.monitor_keys
4983
4991
  if not UtilClient.is_unset(request.node_id):
4984
4992
  query['NodeId'] = request.node_id
4993
+ if not UtilClient.is_unset(request.node_role):
4994
+ query['NodeRole'] = request.node_role
4985
4995
  if not UtilClient.is_unset(request.owner_account):
4986
4996
  query['OwnerAccount'] = request.owner_account
4987
4997
  if not UtilClient.is_unset(request.owner_id):
@@ -5037,6 +5047,8 @@ class Client(OpenApiClient):
5037
5047
  query['MonitorKeys'] = request.monitor_keys
5038
5048
  if not UtilClient.is_unset(request.node_id):
5039
5049
  query['NodeId'] = request.node_id
5050
+ if not UtilClient.is_unset(request.node_role):
5051
+ query['NodeRole'] = request.node_role
5040
5052
  if not UtilClient.is_unset(request.owner_account):
5041
5053
  query['OwnerAccount'] = request.owner_account
5042
5054
  if not UtilClient.is_unset(request.owner_id):
@@ -7926,7 +7938,6 @@ class Client(OpenApiClient):
7926
7938
  runtime: util_models.RuntimeOptions,
7927
7939
  ) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
7928
7940
  """
7929
- When you call this operation, make sure that your instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~), and that the instance is deployed in classic mode. For more information, see [Comparison between cloud-native instances and classic instances](~~188068~~).
7930
7941
  If you enable the bandwidth auto scaling feature and call this operation at the same time, bandwidth auto scaling takes precedence. During bandwidth scale-back, the instance is scaled back to the default bandwidth of the instance type. For more information about the limits, costs, and FAQ about this feature, see [Adjust the bandwidth of an instance](~~102588~~).
7931
7942
  > Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance.
7932
7943
 
@@ -7991,7 +8002,6 @@ class Client(OpenApiClient):
7991
8002
  runtime: util_models.RuntimeOptions,
7992
8003
  ) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
7993
8004
  """
7994
- When you call this operation, make sure that your instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~), and that the instance is deployed in classic mode. For more information, see [Comparison between cloud-native instances and classic instances](~~188068~~).
7995
8005
  If you enable the bandwidth auto scaling feature and call this operation at the same time, bandwidth auto scaling takes precedence. During bandwidth scale-back, the instance is scaled back to the default bandwidth of the instance type. For more information about the limits, costs, and FAQ about this feature, see [Adjust the bandwidth of an instance](~~102588~~).
7996
8006
  > Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance.
7997
8007
 
@@ -8055,7 +8065,6 @@ class Client(OpenApiClient):
8055
8065
  request: r_kvstore_20150101_models.EnableAdditionalBandwidthRequest,
8056
8066
  ) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
8057
8067
  """
8058
- When you call this operation, make sure that your instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~), and that the instance is deployed in classic mode. For more information, see [Comparison between cloud-native instances and classic instances](~~188068~~).
8059
8068
  If you enable the bandwidth auto scaling feature and call this operation at the same time, bandwidth auto scaling takes precedence. During bandwidth scale-back, the instance is scaled back to the default bandwidth of the instance type. For more information about the limits, costs, and FAQ about this feature, see [Adjust the bandwidth of an instance](~~102588~~).
8060
8069
  > Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance.
8061
8070
 
@@ -8070,7 +8079,6 @@ class Client(OpenApiClient):
8070
8079
  request: r_kvstore_20150101_models.EnableAdditionalBandwidthRequest,
8071
8080
  ) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
8072
8081
  """
8073
- When you call this operation, make sure that your instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~), and that the instance is deployed in classic mode. For more information, see [Comparison between cloud-native instances and classic instances](~~188068~~).
8074
8082
  If you enable the bandwidth auto scaling feature and call this operation at the same time, bandwidth auto scaling takes precedence. During bandwidth scale-back, the instance is scaled back to the default bandwidth of the instance type. For more information about the limits, costs, and FAQ about this feature, see [Adjust the bandwidth of an instance](~~102588~~).
8075
8083
  > Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance.
8076
8084
 
@@ -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,11 +1101,12 @@ 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.
1106
1108
  #
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~~).
1109
+ # > You do not need to specify system parameters.
1108
1110
  self.resource_group_id = resource_group_id
1109
1111
  self.resource_owner_account = resource_owner_account
1110
1112
  self.resource_owner_id = resource_owner_id
@@ -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:
@@ -1238,9 +1244,9 @@ class CreateGlobalSecurityIPGroupRequest(TeaModel):
1238
1244
  resource_owner_id: int = None,
1239
1245
  security_token: str = None,
1240
1246
  ):
1241
- # The IP address in the whitelist template.
1247
+ # The IP addresses in the IP whitelist template.
1242
1248
  #
1243
- # > Separate multiple IP addresses with commas (,). You can create up to 1,000 IP addresses or CIDR blocks for all IP whitelists.
1249
+ # > Separate multiple IP addresses with commas (,). The maximum number of IP addresses is 1,000.
1244
1250
  self.gip_list = gip_list
1245
1251
  # The name of the IP whitelist template. The name must meet the following requirements:
1246
1252
  #
@@ -1318,15 +1324,9 @@ class CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup(TeaModel):
1318
1324
  global_security_group_id: str = None,
1319
1325
  region_id: str = None,
1320
1326
  ):
1321
- # The IP address in the whitelist template.
1322
- #
1323
- # > Multiple IP addresses are separated by commas (,). You can create up to 1,000 IP addresses or CIDR blocks for all IP whitelists.
1327
+ # The IP addresses in the IP whitelist template.
1324
1328
  self.gip_list = gip_list
1325
- # The name of the IP whitelist template. The name must meet the following requirements:
1326
- #
1327
- # * The name can contain lowercase letters, digits, and underscores (\_).
1328
- # * The name must start with a letter and end with a letter or digit.
1329
- # * The name must be 2 to 120 characters in length.
1329
+ # The name of the IP whitelist template.
1330
1330
  self.global_ig_name = global_ig_name
1331
1331
  # The ID of the IP whitelist template.
1332
1332
  self.global_security_group_id = global_security_group_id
@@ -1371,7 +1371,7 @@ class CreateGlobalSecurityIPGroupResponseBody(TeaModel):
1371
1371
  global_security_ipgroup: List[CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup] = None,
1372
1372
  request_id: str = None,
1373
1373
  ):
1374
- # 1
1374
+ # The information about the global IP whitelist template.
1375
1375
  self.global_security_ipgroup = global_security_ipgroup
1376
1376
  # The request ID.
1377
1377
  self.request_id = request_id
@@ -2427,6 +2427,7 @@ class CreateTairInstanceRequest(TeaModel):
2427
2427
  resource_group_id: str = None,
2428
2428
  resource_owner_account: str = None,
2429
2429
  resource_owner_id: int = None,
2430
+ restore_time: str = None,
2430
2431
  secondary_zone_id: str = None,
2431
2432
  security_token: str = None,
2432
2433
  shard_count: int = None,
@@ -2456,9 +2457,9 @@ class CreateTairInstanceRequest(TeaModel):
2456
2457
  # * **true**: uses a coupon.
2457
2458
  # * **false**: does not use a coupon.
2458
2459
  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.
2460
+ # 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
2461
  #
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.
2462
+ # > 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
2463
  self.backup_id = backup_id
2463
2464
  # The ID of the promotion event or the business information.
2464
2465
  self.business_info = business_info
@@ -2469,7 +2470,13 @@ class CreateTairInstanceRequest(TeaModel):
2469
2470
  self.charge_type = charge_type
2470
2471
  # 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
2472
  self.client_token = client_token
2472
- # The backup set ID.
2473
+ # This parameter is supported for specific new cluster instances. You can query the backup set ID by using the [DescribeClusterBackupList](~~2679158~~) operation.
2474
+ #
2475
+ # * If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the **BackupId** parameter.
2476
+ #
2477
+ # <!---->
2478
+ #
2479
+ # * 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
2480
  self.cluster_backup_id = cluster_backup_id
2474
2481
  # The coupon code.
2475
2482
  self.coupon_no = coupon_no
@@ -2538,6 +2545,7 @@ class CreateTairInstanceRequest(TeaModel):
2538
2545
  self.resource_group_id = resource_group_id
2539
2546
  self.resource_owner_account = resource_owner_account
2540
2547
  self.resource_owner_id = resource_owner_id
2548
+ self.restore_time = restore_time
2541
2549
  # The ID of the secondary zone. You can call the [DescribeRegions](~~61012~~) operation to query the ID of the secondary zone.
2542
2550
  #
2543
2551
  # > 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 +2563,9 @@ class CreateTairInstanceRequest(TeaModel):
2555
2563
  # * **MASTER_SLAVE**: runs in a master-replica architecture that provides high availability.
2556
2564
  # * **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
2565
  self.shard_type = shard_type
2566
+ # 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.
2567
+ #
2568
+ # > To create a read/write splitting instance that is deployed across multiple zones, you must specify both SlaveReadOnlyCount and SecondaryZoneId.
2558
2569
  self.slave_read_only_count = slave_read_only_count
2559
2570
  # The ID of the source instance.
2560
2571
  #
@@ -2649,6 +2660,8 @@ class CreateTairInstanceRequest(TeaModel):
2649
2660
  result['ResourceOwnerAccount'] = self.resource_owner_account
2650
2661
  if self.resource_owner_id is not None:
2651
2662
  result['ResourceOwnerId'] = self.resource_owner_id
2663
+ if self.restore_time is not None:
2664
+ result['RestoreTime'] = self.restore_time
2652
2665
  if self.secondary_zone_id is not None:
2653
2666
  result['SecondaryZoneId'] = self.secondary_zone_id
2654
2667
  if self.security_token is not None:
@@ -2737,6 +2750,8 @@ class CreateTairInstanceRequest(TeaModel):
2737
2750
  self.resource_owner_account = m.get('ResourceOwnerAccount')
2738
2751
  if m.get('ResourceOwnerId') is not None:
2739
2752
  self.resource_owner_id = m.get('ResourceOwnerId')
2753
+ if m.get('RestoreTime') is not None:
2754
+ self.restore_time = m.get('RestoreTime')
2740
2755
  if m.get('SecondaryZoneId') is not None:
2741
2756
  self.secondary_zone_id = m.get('SecondaryZoneId')
2742
2757
  if m.get('SecurityToken') is not None:
@@ -3870,12 +3885,11 @@ class DescribeActiveOperationTaskRequest(TeaModel):
3870
3885
  self.resource_owner_account = resource_owner_account
3871
3886
  self.resource_owner_id = resource_owner_id
3872
3887
  self.security_token = security_token
3873
- # The type of the O&M task. Valid values:
3888
+ # The type of the O\&M task. Valid values:
3874
3889
  #
3875
3890
  # * **rds_apsaradb_ha**: master-replica switchover
3876
3891
  # * **rds_apsaradb_transfer**: instance migration
3877
3892
  # * **rds_apsaradb_upgrade**: minor version update
3878
- # * **all**: all types
3879
3893
  self.task_type = task_type
3880
3894
 
3881
3895
  def validate(self):
@@ -4743,7 +4757,7 @@ class DescribeAvailableResourceRequest(TeaModel):
4743
4757
  # * **Local**: classic ApsaraDB for Redis Community Edition instance or classic ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
4744
4758
  # * **Tair_rdb**: cloud-native ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
4745
4759
  # * **Tair_scm**: ApsaraDB for Redis Enhanced Edition (Tair) persistent memory-optimized instance
4746
- # * **Tair_essd**: ApsaraDB for Redis Enhanced Edition (Tair) ESSD-based instance
4760
+ # * **Tair_essd**: ESSD-based instance
4747
4761
  # * **OnECS**: cloud-native ApsaraDB for Redis Community Edition instance
4748
4762
  self.product_type = product_type
4749
4763
  # The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
@@ -5665,12 +5679,19 @@ class DescribeBackupPolicyResponseBodyAccessDeniedDetail(TeaModel):
5665
5679
  no_permission_type: str = None,
5666
5680
  policy_type: str = None,
5667
5681
  ):
5682
+ # This parameter is no longer used. Ignore this parameter.
5668
5683
  self.auth_action = auth_action
5684
+ # This parameter is no longer used. Ignore this parameter.
5669
5685
  self.auth_principal_display_name = auth_principal_display_name
5686
+ # This parameter is no longer used. Ignore this parameter.
5670
5687
  self.auth_principal_owner_id = auth_principal_owner_id
5688
+ # This parameter is no longer used. Ignore this parameter.
5671
5689
  self.auth_principal_type = auth_principal_type
5690
+ # This parameter is no longer used. Ignore this parameter.
5672
5691
  self.encoded_diagnostic_message = encoded_diagnostic_message
5692
+ # This parameter is no longer used. Ignore this parameter.
5673
5693
  self.no_permission_type = no_permission_type
5694
+ # This parameter is no longer used. Ignore this parameter.
5674
5695
  self.policy_type = policy_type
5675
5696
 
5676
5697
  def validate(self):
@@ -5729,9 +5750,14 @@ class DescribeBackupPolicyResponseBody(TeaModel):
5729
5750
  preferred_next_backup_time: str = None,
5730
5751
  request_id: str = None,
5731
5752
  ):
5753
+ # The following parameters are no longer used. Ignore the parameters.
5732
5754
  self.access_denied_detail = access_denied_detail
5733
5755
  # The retention period of the backup data. Unit: days.
5734
5756
  self.backup_retention_period = backup_retention_period
5757
+ # Indicates whether the backup-as-a-service feature is enabled for the instance. Valid values:
5758
+ #
5759
+ # * **1**: The backup-as-a-service feature is enabled for the instance.
5760
+ # * **0**: The backup-as-a-service feature is disabled for the instance.
5735
5761
  self.dbs_instance = dbs_instance
5736
5762
  # Indicates whether incremental data backup is enabled. Valid values:
5737
5763
  #
@@ -5934,19 +5960,19 @@ class DescribeBackupTasksResponseBodyAccessDeniedDetail(TeaModel):
5934
5960
  no_permission_type: str = None,
5935
5961
  policy_type: str = None,
5936
5962
  ):
5937
- # An internal parameter. Ignore this parameter.
5963
+ # This parameter is no longer used. Ignore this parameter.
5938
5964
  self.auth_action = auth_action
5939
- # An internal parameter. Ignore this parameter.
5965
+ # This parameter is no longer used. Ignore this parameter.
5940
5966
  self.auth_principal_display_name = auth_principal_display_name
5941
- # An internal parameter. Ignore this parameter.
5967
+ # This parameter is no longer used. Ignore this parameter.
5942
5968
  self.auth_principal_owner_id = auth_principal_owner_id
5943
- # An internal parameter. Ignore this parameter.
5969
+ # This parameter is no longer used. Ignore this parameter.
5944
5970
  self.auth_principal_type = auth_principal_type
5945
- # An internal parameter. Ignore this parameter.
5971
+ # This parameter is no longer used. Ignore this parameter.
5946
5972
  self.encoded_diagnostic_message = encoded_diagnostic_message
5947
- # An internal parameter. Ignore this parameter.
5973
+ # This parameter is no longer used. Ignore this parameter.
5948
5974
  self.no_permission_type = no_permission_type
5949
- # An internal parameter. Ignore this parameter.
5975
+ # This parameter is no longer used. Ignore this parameter.
5950
5976
  self.policy_type = policy_type
5951
5977
 
5952
5978
  def validate(self):
@@ -6084,7 +6110,7 @@ class DescribeBackupTasksResponseBody(TeaModel):
6084
6110
  instance_id: str = None,
6085
6111
  request_id: str = None,
6086
6112
  ):
6087
- # The following parameters are internal parameters. Ignore the parameters.
6113
+ # The following parameters are no longer used. Ignore the parameters.
6088
6114
  self.access_denied_detail = access_denied_detail
6089
6115
  # The details of the backup tasks.
6090
6116
  self.backup_jobs = backup_jobs
@@ -6306,12 +6332,19 @@ class DescribeBackupsResponseBodyAccessDeniedDetail(TeaModel):
6306
6332
  no_permission_type: str = None,
6307
6333
  policy_type: str = None,
6308
6334
  ):
6335
+ # This parameter is no longer used. Ignore this parameter.
6309
6336
  self.auth_action = auth_action
6337
+ # This parameter is no longer used. Ignore this parameter.
6310
6338
  self.auth_principal_display_name = auth_principal_display_name
6339
+ # This parameter is no longer used. Ignore this parameter.
6311
6340
  self.auth_principal_owner_id = auth_principal_owner_id
6341
+ # This parameter is no longer used. Ignore this parameter.
6312
6342
  self.auth_principal_type = auth_principal_type
6343
+ # This parameter is no longer used. Ignore this parameter.
6313
6344
  self.encoded_diagnostic_message = encoded_diagnostic_message
6345
+ # This parameter is no longer used. Ignore this parameter.
6314
6346
  self.no_permission_type = no_permission_type
6347
+ # This parameter is no longer used. Ignore this parameter.
6315
6348
  self.policy_type = policy_type
6316
6349
 
6317
6350
  def validate(self):
@@ -6376,7 +6409,7 @@ class DescribeBackupsResponseBodyBackupsBackup(TeaModel):
6376
6409
  engine_version: str = None,
6377
6410
  node_instance_id: str = None,
6378
6411
  ):
6379
- # The databases that are backed up. Default value: **all**, which indicates that all databases are backed up.
6412
+ # The names of the databases that are backed up. The default value is **all**, which indicates that all databases are backed up.
6380
6413
  self.backup_dbnames = backup_dbnames
6381
6414
  # The public download URL of the backup file.
6382
6415
  self.backup_download_url = backup_download_url
@@ -6386,7 +6419,7 @@ class DescribeBackupsResponseBodyBackupsBackup(TeaModel):
6386
6419
  self.backup_id = backup_id
6387
6420
  # The internal download URL of the backup file.
6388
6421
  #
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.
6422
+ # > 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
6423
  self.backup_intranet_download_url = backup_intranet_download_url
6391
6424
  # The ID of the backup task.
6392
6425
  self.backup_job_id = backup_job_id
@@ -6404,21 +6437,21 @@ class DescribeBackupsResponseBodyBackupsBackup(TeaModel):
6404
6437
  self.backup_size = backup_size
6405
6438
  # The start time of the backup.
6406
6439
  self.backup_start_time = backup_start_time
6407
- # The state of the backup task. Valid values:
6440
+ # The status of the backup. Valid values:
6408
6441
  #
6409
- # * **Success**: The task is successful.
6410
- # * **Failed**: The task failed.
6442
+ # * **Success**\
6443
+ # * **Failed**\
6411
6444
  self.backup_status = backup_status
6412
- # The backup type of the backup file. Valid values:
6445
+ # The backup type. Valid values:
6413
6446
  #
6414
6447
  # * **FullBackup**\
6415
6448
  # * **IncrementalBackup**\
6416
6449
  self.backup_type = backup_type
6417
- # The major engine version of the instance.
6450
+ # The engine version (major version) of the instance.
6418
6451
  self.engine_version = engine_version
6419
6452
  # The node ID.
6420
6453
  #
6421
- # > If a standard instance is used, the instance ID is returned.
6454
+ # > If the instance uses the standard architecture, this parameter returns the instance ID.
6422
6455
  self.node_instance_id = node_instance_id
6423
6456
 
6424
6457
  def validate(self):
@@ -6541,11 +6574,19 @@ class DescribeBackupsResponseBody(TeaModel):
6541
6574
  request_id: str = None,
6542
6575
  total_count: int = None,
6543
6576
  ):
6577
+ # The following parameters are no longer used. Ignore the parameters.
6544
6578
  self.access_denied_detail = access_denied_detail
6545
6579
  # Details of the backup files.
6546
6580
  self.backups = backups
6581
+ # This parameter does not take effect. Ignore this parameter.
6547
6582
  self.free_size = free_size
6583
+ # 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.
6584
+ #
6585
+ # > 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
6586
  self.full_storage_size = full_storage_size
6587
+ # The size of the log backup file of the instance. Unit: bytes. This value is valid only when flashback is enabled.
6588
+ #
6589
+ # > 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
6590
  self.log_storage_size = log_storage_size
6550
6591
  # The page number of the returned page.
6551
6592
  self.page_number = page_number
@@ -7218,17 +7259,24 @@ class DescribeClusterBackupListRequest(TeaModel):
7218
7259
  security_token: str = None,
7219
7260
  start_time: str = None,
7220
7261
  ):
7262
+ # The backup set ID.
7221
7263
  self.cluster_backup_id = cluster_backup_id
7264
+ # 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
7265
  self.end_time = end_time
7266
+ # The ID of the instance.
7223
7267
  self.instance_id = instance_id
7224
7268
  self.owner_account = owner_account
7225
7269
  self.owner_id = owner_id
7270
+ # The page number of the returned page.
7226
7271
  self.page_number = page_number
7272
+ # The maximum number of entries returned per page.
7227
7273
  self.page_size = page_size
7274
+ # The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
7228
7275
  self.region_id = region_id
7229
7276
  self.resource_owner_account = resource_owner_account
7230
7277
  self.resource_owner_id = resource_owner_id
7231
7278
  self.security_token = security_token
7279
+ # 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
7280
  self.start_time = start_time
7233
7281
 
7234
7282
  def validate(self):
@@ -7565,9 +7613,15 @@ class DescribeClusterBackupListResponseBody(TeaModel):
7565
7613
  #
7566
7614
  # > 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
7615
  self.log_storage_size = log_storage_size
7616
+ # The number of entries to return per page. Valid values: 1 to 100.
7617
+ # Default value: 30.
7618
+ # >If you specify this parameter, PageSize and PageNumber are unavailable.
7568
7619
  self.max_results = max_results
7620
+ # The page number of the returned page.
7569
7621
  self.page_number = page_number
7622
+ # The maximum number of entries returned per page.
7570
7623
  self.page_size = page_size
7624
+ # The ID of the request.
7571
7625
  self.request_id = request_id
7572
7626
 
7573
7627
  def validate(self):
@@ -8036,37 +8090,40 @@ class DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo(TeaModel)
8036
8090
  ):
8037
8091
  # The endpoint of the instance.
8038
8092
  self.connection_string = connection_string
8039
- # The network type of the endpoint. Valid values:
8093
+ # The network type of the instance. Valid values:
8040
8094
  #
8041
- # * **0**: the Internet.
8042
- # * **1**: classic network.
8043
- # * **2**: VPC.
8095
+ # * **0**: Internet
8096
+ # * **1**: classic network
8097
+ # * **2**: Virtual Private Cloud (VPC)
8044
8098
  self.dbinstance_net_type = dbinstance_net_type
8045
8099
  # Indicates whether the address is a private endpoint. Valid values:
8046
8100
  #
8047
- # * **0**: no.
8048
- # * **1**: yes.
8101
+ # * **0**: The address is not a private endpoint.
8102
+ # * **1**: The address is a private endpoint.
8049
8103
  self.direct_connection = direct_connection
8050
- # The expiration time of the classic network address of an ApsaraDB for Redis instance. Unit: seconds.
8104
+ # The expiration time of the classic network endpoint. Unit: seconds.
8051
8105
  self.expired_time = expired_time
8052
8106
  # The IP address.
8053
8107
  self.ipaddress = ipaddress
8054
8108
  # The network type of the IP address. Valid values:
8055
8109
  #
8056
- # * **Public**: Internet.
8057
- # * **Inner**: classic network.
8058
- # * **Private**: VPC.
8110
+ # * **Public**: Internet
8111
+ # * **Inner**: classic network
8112
+ # * **Private**: VPC
8059
8113
  self.iptype = iptype
8114
+ # Indicates whether the address is the endpoint for the secondary zone. Valid values: 1 and 0. A value of 1 indicates that the address is the endpoint for the secondary zone.
8115
+ #
8116
+ # > This parameter is returned only after you enable the multi-zone read/write splitting architecture for the instance.
8060
8117
  self.is_slave_proxy = is_slave_proxy
8061
- # The service port of the ApsaraDB for Redis instance.
8118
+ # The service port of the instance.
8062
8119
  self.port = port
8063
- # The remaining validity period of the endpoint of the classic network. Unit: seconds.
8120
+ # The remaining validity period of the classic network endpoint. Unit: seconds.
8064
8121
  #
8065
- # > A value of **0** indicates that the endpoint never expires.
8122
+ # > **A value of 0 indicates that the endpoint never expires.
8066
8123
  self.upgradeable = upgradeable
8067
- # The ID of the VPC where the instance is deployed.
8124
+ # The ID of the VPC to which the instance belongs.
8068
8125
  self.vpcid = vpcid
8069
- # The ID of the instance.
8126
+ # The instance ID.
8070
8127
  self.vpcinstance_id = vpcinstance_id
8071
8128
  # The ID of the vSwitch.
8072
8129
  self.v_switch_id = v_switch_id
@@ -8182,7 +8239,7 @@ class DescribeDBInstanceNetInfoResponseBody(TeaModel):
8182
8239
  # * **CLASSIC**: The instance runs in a classic network.
8183
8240
  # * **VPC**: The instance runs in a virtual private cloud (VPC).
8184
8241
  self.instance_network_type = instance_network_type
8185
- # The list of network information about the instance.
8242
+ # The network information about the instance.
8186
8243
  self.net_info_items = net_info_items
8187
8244
  # The ID of the request.
8188
8245
  self.request_id = request_id
@@ -8403,7 +8460,7 @@ class DescribeDBNodeDirectVipInfoResponseBody(TeaModel):
8403
8460
  instance_id: str = None,
8404
8461
  request_id: str = None,
8405
8462
  ):
8406
- # The VIPs of shards in the cluster instance.
8463
+ # The virtual IP addresses (VIPs) of shards in an ApsaraDB for Redis cluster instance.
8407
8464
  self.direct_vip_info = direct_vip_info
8408
8465
  # The instance ID.
8409
8466
  self.instance_id = instance_id
@@ -8644,7 +8701,7 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList(
8644
8701
  self.dedicated_host_name = dedicated_host_name
8645
8702
  # The ID of the instance.
8646
8703
  self.instance_id = instance_id
8647
- # The ID of the node.
8704
+ # The node ID.
8648
8705
  self.node_id = node_id
8649
8706
  # The IP address of the node.
8650
8707
  self.node_ip = node_ip
@@ -8747,7 +8804,7 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8747
8804
  # * **logic**: cluster
8748
8805
  # * **normal**: standard
8749
8806
  self.character_type = character_type
8750
- # The ID of the dedicated cluster.
8807
+ # The ID of the dedicated cluster to which the instance belongs.
8751
8808
  self.cluster_id = cluster_id
8752
8809
  # The name of the dedicated cluster to which the instance belongs.
8753
8810
  self.cluster_name = cluster_name
@@ -8755,21 +8812,21 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8755
8812
  self.connection_domain = connection_domain
8756
8813
  # 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
8814
  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.
8815
+ # 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
8816
  self.current_band_width = current_band_width
8760
- # The custom ID that is used for instance internal maintenance.
8817
+ # An internal parameter used for the maintenance and management of instances.
8761
8818
  self.custom_id = custom_id
8762
- # The database engine of the instance. The return value is **Redis**.
8819
+ # The database engine. The return value is **redis**.
8763
8820
  self.engine = engine
8764
8821
  # The database engine version of the instance. The return value is **5.0**.
8765
8822
  self.engine_version = engine_version
8766
- # The instance type of the instance.
8823
+ # The instance type.
8767
8824
  self.instance_class = instance_class
8768
8825
  # The ID of the instance.
8769
8826
  self.instance_id = instance_id
8770
- # The name of the instance.
8827
+ # The instance name.
8771
8828
  self.instance_name = instance_name
8772
- # Details about the nodes.
8829
+ # The nodes.
8773
8830
  self.instance_node_list = instance_node_list
8774
8831
  # The state of the instance. Valid values:
8775
8832
  #
@@ -8780,13 +8837,13 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8780
8837
  # * **Flushing**: The instance is being released.
8781
8838
  # * **Released**: The instance is released.
8782
8839
  # * **Transforming**: The billing method of the instance is being changed.
8783
- # * **Unavailable**: The instance is suspended.
8840
+ # * **Unavailable**: The instance is unavailable.
8784
8841
  # * **Error**: The instance failed to be created.
8785
8842
  # * **Migrating**: The instance is being migrated.
8786
8843
  # * **BackupRecovering**: The instance is being restored from a backup.
8787
8844
  # * **MinorVersionUpgrading**: The minor version of the instance is being updated.
8788
8845
  # * **NetworkModifying**: The network type of the instance is being changed.
8789
- # * **SSLModifying**: The SSL certificate of the instance is being changed.
8846
+ # * **SSLModifying**: The SSL configurations of the instance are being changed.
8790
8847
  # * **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
8791
8848
  self.instance_status = instance_status
8792
8849
  # The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.
@@ -8795,22 +8852,25 @@ class DescribeDedicatedClusterInstanceListResponseBodyInstances(TeaModel):
8795
8852
  self.maintain_start_time = maintain_start_time
8796
8853
  # The number of proxy nodes.
8797
8854
  #
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~~).
8855
+ # >
8856
+ #
8857
+ # * 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.
8858
+ #
8859
+ # * 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
8860
  self.proxy_count = proxy_count
8801
- # The region ID of the instance.
8861
+ # The ID of the region.
8802
8862
  self.region_id = region_id
8803
8863
  # The number of shards.
8804
8864
  #
8805
- # > This parameter is returned only when the ApsaraDB for Redis instance is a [cluster instance](~~52228~~).
8865
+ # > 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
8866
  self.shard_count = shard_count
8807
8867
  # The storage type of the instance. The return value is LOCAL_SSD, which indicates [enhanced SSDs (ESSDs)](~~122389~~).
8808
8868
  self.storage_type = storage_type
8809
- # The ID of the VPC.
8869
+ # The VPC ID.
8810
8870
  self.vpc_id = vpc_id
8811
- # The ID of the vSwitch.
8871
+ # The vSwitch ID.
8812
8872
  self.vswitch_id = vswitch_id
8813
- # The zone ID of the instance.
8873
+ # The zone ID.
8814
8874
  self.zone_id = zone_id
8815
8875
 
8816
8876
  def validate(self):
@@ -8946,11 +9006,11 @@ class DescribeDedicatedClusterInstanceListResponseBody(TeaModel):
8946
9006
  self.instances = instances
8947
9007
  # The page number of the returned page.
8948
9008
  self.page_number = page_number
8949
- # The number of entries returned per page.
9009
+ # The number of entries per page.
8950
9010
  self.page_size = page_size
8951
9011
  # The ID of the request.
8952
9012
  self.request_id = request_id
8953
- # The total number of returned entries.
9013
+ # The total number of entries returned.
8954
9014
  self.total_count = total_count
8955
9015
 
8956
9016
  def validate(self):
@@ -9840,6 +9900,7 @@ class DescribeEngineVersionResponseBody(TeaModel):
9840
9900
  is_auto_upgrade_open: str = None,
9841
9901
  is_latest_version: bool = None,
9842
9902
  is_new_sslmode: str = None,
9903
+ is_open_nglb: str = None,
9843
9904
  is_redis_compatible_version: str = None,
9844
9905
  is_sslenable: str = None,
9845
9906
  major_version: str = None,
@@ -9878,6 +9939,7 @@ class DescribeEngineVersionResponseBody(TeaModel):
9878
9939
  self.is_latest_version = is_latest_version
9879
9940
  # 是否支持新版 ssl。
9880
9941
  self.is_new_sslmode = is_new_sslmode
9942
+ self.is_open_nglb = is_open_nglb
9881
9943
  # Indicates whether the instance supports the new SSL encryption feature.
9882
9944
  self.is_redis_compatible_version = is_redis_compatible_version
9883
9945
  # 是否打开了小版本升级。
@@ -9927,6 +9989,8 @@ class DescribeEngineVersionResponseBody(TeaModel):
9927
9989
  result['IsLatestVersion'] = self.is_latest_version
9928
9990
  if self.is_new_sslmode is not None:
9929
9991
  result['IsNewSSLMode'] = self.is_new_sslmode
9992
+ if self.is_open_nglb is not None:
9993
+ result['IsOpenNGLB'] = self.is_open_nglb
9930
9994
  if self.is_redis_compatible_version is not None:
9931
9995
  result['IsRedisCompatibleVersion'] = self.is_redis_compatible_version
9932
9996
  if self.is_sslenable is not None:
@@ -9964,6 +10028,8 @@ class DescribeEngineVersionResponseBody(TeaModel):
9964
10028
  self.is_latest_version = m.get('IsLatestVersion')
9965
10029
  if m.get('IsNewSSLMode') is not None:
9966
10030
  self.is_new_sslmode = m.get('IsNewSSLMode')
10031
+ if m.get('IsOpenNGLB') is not None:
10032
+ self.is_open_nglb = m.get('IsOpenNGLB')
9967
10033
  if m.get('IsRedisCompatibleVersion') is not None:
9968
10034
  self.is_redis_compatible_version = m.get('IsRedisCompatibleVersion')
9969
10035
  if m.get('IsSSLEnable') is not None:
@@ -10777,6 +10843,7 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
10777
10843
  interval_for_history: str = None,
10778
10844
  monitor_keys: str = None,
10779
10845
  node_id: str = None,
10846
+ node_role: str = None,
10780
10847
  owner_account: str = None,
10781
10848
  owner_id: int = None,
10782
10849
  resource_owner_account: str = None,
@@ -10804,6 +10871,7 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
10804
10871
  #
10805
10872
  # * You can call the [DescribeLogicInstanceTopology](~~94665~~) operation to query node IDs.
10806
10873
  self.node_id = node_id
10874
+ self.node_role = node_role
10807
10875
  self.owner_account = owner_account
10808
10876
  self.owner_id = owner_id
10809
10877
  self.resource_owner_account = resource_owner_account
@@ -10831,6 +10899,8 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
10831
10899
  result['MonitorKeys'] = self.monitor_keys
10832
10900
  if self.node_id is not None:
10833
10901
  result['NodeId'] = self.node_id
10902
+ if self.node_role is not None:
10903
+ result['NodeRole'] = self.node_role
10834
10904
  if self.owner_account is not None:
10835
10905
  result['OwnerAccount'] = self.owner_account
10836
10906
  if self.owner_id is not None:
@@ -10857,6 +10927,8 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
10857
10927
  self.monitor_keys = m.get('MonitorKeys')
10858
10928
  if m.get('NodeId') is not None:
10859
10929
  self.node_id = m.get('NodeId')
10930
+ if m.get('NodeRole') is not None:
10931
+ self.node_role = m.get('NodeRole')
10860
10932
  if m.get('OwnerAccount') is not None:
10861
10933
  self.owner_account = m.get('OwnerAccount')
10862
10934
  if m.get('OwnerId') is not None:
@@ -11646,7 +11718,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
11646
11718
  self.has_renew_change_order = has_renew_change_order
11647
11719
  # The instance type. For more information, see [Instance types](~~107984~~).
11648
11720
  self.instance_class = instance_class
11649
- # The instance ID.
11721
+ # The ID of the instance.
11650
11722
  self.instance_id = instance_id
11651
11723
  # The name of the instance.
11652
11724
  self.instance_name = instance_name
@@ -11715,7 +11787,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
11715
11787
  # * **standard**: standard plan.
11716
11788
  # * **customized**: custom plan. This plan type is phased out.
11717
11789
  self.package_type = package_type
11718
- # The service port of the ApsaraDB for Redis instance.
11790
+ # The service port of the instance.
11719
11791
  self.port = port
11720
11792
  # The private IP address of the instance.
11721
11793
  #
@@ -11748,6 +11820,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
11748
11820
  self.security_iplist = security_iplist
11749
11821
  # The number of shards. This parameter is available only for ApsaraDB for Redis instances that are purchased on the China site (aliyun.com).
11750
11822
  self.shard_count = shard_count
11823
+ # The number of read replicas in the secondary zone. This parameter is returned only after read/write splitting is enabled for the instance across multiple zones.
11751
11824
  self.slave_read_only_count = slave_read_only_count
11752
11825
  # The storage capacity of the cloud disk.
11753
11826
  self.storage = storage
@@ -11755,7 +11828,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
11755
11828
  self.storage_type = storage_type
11756
11829
  # Details about the tags.
11757
11830
  self.tags = tags
11758
- # The vSwitch ID.
11831
+ # The ID of the vSwitch.
11759
11832
  self.v_switch_id = v_switch_id
11760
11833
  # Indicates whether password authentication is enabled. Valid values:
11761
11834
  #
@@ -12968,7 +13041,7 @@ class DescribeInstancesRequest(TeaModel):
12968
13041
  self.owner_id = owner_id
12969
13042
  # The page number. Pages start from page **1**. Default value: **1**.
12970
13043
  self.page_number = page_number
12971
- # The number of entries per page. Maximum value: **50**. Default value: **10**.
13044
+ # The number of entries per page. Maximum value: **50**. Default value: **30**.
12972
13045
  self.page_size = page_size
12973
13046
  # The private IP address of the instance.
12974
13047
  self.private_ip = private_ip
@@ -13722,7 +13795,7 @@ class DescribeInstancesOverviewRequest(TeaModel):
13722
13795
  # * **Community**: Community Edition
13723
13796
  # * **Enterprise**: Enhanced Edition (Tair)
13724
13797
  self.edition_type = edition_type
13725
- # The database engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.
13798
+ # The database engine version of the instance.
13726
13799
  self.engine_version = engine_version
13727
13800
  # The instance type of the instance. For more information, see [Instance types](~~107984~~).
13728
13801
  self.instance_class = instance_class
@@ -16697,6 +16770,87 @@ class DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo(TeaModel):
16697
16770
  return self
16698
16771
 
16699
16772
 
16773
+ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo(TeaModel):
16774
+ def __init__(
16775
+ self,
16776
+ cheap_rate: float = None,
16777
+ cheap_stand_amount: float = None,
16778
+ differential: float = None,
16779
+ differential_name: str = None,
16780
+ is_contract_activity: bool = None,
16781
+ is_show: bool = None,
16782
+ list_price: float = None,
16783
+ month_price: float = None,
16784
+ original_stand_amount: float = None,
16785
+ start_time: str = None,
16786
+ ):
16787
+ self.cheap_rate = cheap_rate
16788
+ self.cheap_stand_amount = cheap_stand_amount
16789
+ self.differential = differential
16790
+ self.differential_name = differential_name
16791
+ self.is_contract_activity = is_contract_activity
16792
+ self.is_show = is_show
16793
+ self.list_price = list_price
16794
+ self.month_price = month_price
16795
+ self.original_stand_amount = original_stand_amount
16796
+ self.start_time = start_time
16797
+
16798
+ def validate(self):
16799
+ pass
16800
+
16801
+ def to_map(self):
16802
+ _map = super().to_map()
16803
+ if _map is not None:
16804
+ return _map
16805
+
16806
+ result = dict()
16807
+ if self.cheap_rate is not None:
16808
+ result['CheapRate'] = self.cheap_rate
16809
+ if self.cheap_stand_amount is not None:
16810
+ result['CheapStandAmount'] = self.cheap_stand_amount
16811
+ if self.differential is not None:
16812
+ result['Differential'] = self.differential
16813
+ if self.differential_name is not None:
16814
+ result['DifferentialName'] = self.differential_name
16815
+ if self.is_contract_activity is not None:
16816
+ result['IsContractActivity'] = self.is_contract_activity
16817
+ if self.is_show is not None:
16818
+ result['IsShow'] = self.is_show
16819
+ if self.list_price is not None:
16820
+ result['ListPrice'] = self.list_price
16821
+ if self.month_price is not None:
16822
+ result['MonthPrice'] = self.month_price
16823
+ if self.original_stand_amount is not None:
16824
+ result['OriginalStandAmount'] = self.original_stand_amount
16825
+ if self.start_time is not None:
16826
+ result['StartTime'] = self.start_time
16827
+ return result
16828
+
16829
+ def from_map(self, m: dict = None):
16830
+ m = m or dict()
16831
+ if m.get('CheapRate') is not None:
16832
+ self.cheap_rate = m.get('CheapRate')
16833
+ if m.get('CheapStandAmount') is not None:
16834
+ self.cheap_stand_amount = m.get('CheapStandAmount')
16835
+ if m.get('Differential') is not None:
16836
+ self.differential = m.get('Differential')
16837
+ if m.get('DifferentialName') is not None:
16838
+ self.differential_name = m.get('DifferentialName')
16839
+ if m.get('IsContractActivity') is not None:
16840
+ self.is_contract_activity = m.get('IsContractActivity')
16841
+ if m.get('IsShow') is not None:
16842
+ self.is_show = m.get('IsShow')
16843
+ if m.get('ListPrice') is not None:
16844
+ self.list_price = m.get('ListPrice')
16845
+ if m.get('MonthPrice') is not None:
16846
+ self.month_price = m.get('MonthPrice')
16847
+ if m.get('OriginalStandAmount') is not None:
16848
+ self.original_stand_amount = m.get('OriginalStandAmount')
16849
+ if m.get('StartTime') is not None:
16850
+ self.start_time = m.get('StartTime')
16851
+ return self
16852
+
16853
+
16700
16854
  class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr(TeaModel):
16701
16855
  def __init__(
16702
16856
  self,
@@ -16781,6 +16935,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16781
16935
  def __init__(
16782
16936
  self,
16783
16937
  contract_activity: bool = None,
16938
+ depreciate_info: DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo = None,
16784
16939
  discount_fee: float = None,
16785
16940
  module_attrs: DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs = None,
16786
16941
  module_code: str = None,
@@ -16793,6 +16948,7 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16793
16948
  total_product_fee: float = None,
16794
16949
  ):
16795
16950
  self.contract_activity = contract_activity
16951
+ self.depreciate_info = depreciate_info
16796
16952
  self.discount_fee = discount_fee
16797
16953
  self.module_attrs = module_attrs
16798
16954
  self.module_code = module_code
@@ -16805,6 +16961,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16805
16961
  self.total_product_fee = total_product_fee
16806
16962
 
16807
16963
  def validate(self):
16964
+ if self.depreciate_info:
16965
+ self.depreciate_info.validate()
16808
16966
  if self.module_attrs:
16809
16967
  self.module_attrs.validate()
16810
16968
 
@@ -16816,6 +16974,8 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16816
16974
  result = dict()
16817
16975
  if self.contract_activity is not None:
16818
16976
  result['ContractActivity'] = self.contract_activity
16977
+ if self.depreciate_info is not None:
16978
+ result['DepreciateInfo'] = self.depreciate_info.to_map()
16819
16979
  if self.discount_fee is not None:
16820
16980
  result['DiscountFee'] = self.discount_fee
16821
16981
  if self.module_attrs is not None:
@@ -16842,6 +17002,9 @@ class DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance(Tea
16842
17002
  m = m or dict()
16843
17003
  if m.get('ContractActivity') is not None:
16844
17004
  self.contract_activity = m.get('ContractActivity')
17005
+ if m.get('DepreciateInfo') is not None:
17006
+ temp_model = DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo()
17007
+ self.depreciate_info = temp_model.from_map(m['DepreciateInfo'])
16845
17008
  if m.get('DiscountFee') is not None:
16846
17009
  self.discount_fee = m.get('DiscountFee')
16847
17010
  if m.get('ModuleAttrs') is not None:
@@ -17509,11 +17672,11 @@ class DescribeRegionsResponseBodyRegionIdsKVStoreRegion(TeaModel):
17509
17672
  self.local_name = local_name
17510
17673
  # The endpoint of the region.
17511
17674
  self.region_endpoint = region_endpoint
17512
- # The region ID of the instance.
17675
+ # The ID of the region.
17513
17676
  self.region_id = region_id
17514
- # The list of zone IDs.
17677
+ # The zone IDs.
17515
17678
  self.zone_id_list = zone_id_list
17516
- # The zone ID of the instance.
17679
+ # The IDs of the zones in the region.
17517
17680
  self.zone_ids = zone_ids
17518
17681
 
17519
17682
  def validate(self):
@@ -17595,7 +17758,7 @@ class DescribeRegionsResponseBody(TeaModel):
17595
17758
  region_ids: DescribeRegionsResponseBodyRegionIds = None,
17596
17759
  request_id: str = None,
17597
17760
  ):
17598
- # The value of the **RegionIds** parameter is in the array format. Each element in the array contains the **RegionId** and **ZoneIds** parameters.
17761
+ # The **region IDs**.
17599
17762
  self.region_ids = region_ids
17600
17763
  # The ID of the request.
17601
17764
  self.request_id = request_id
@@ -19782,10 +19945,13 @@ class EnableAdditionalBandwidthRequest(TeaModel):
19782
19945
  # > * This parameter takes effect and must be specified only when you set the **AutoRenew** parameter to **true**.
19783
19946
  # > * You cannot query the auto-renewal cycle by calling an API operation. To obtain the auto-renewal cycle, you can perform the following procedure: In the top navigation bar of the ApsaraDB for Redis console, choose **Expenses** > **Renewal Management**. On the page that appears, enter the ID of the instance and the `-bw` suffix in the **Instance ID** field. Example: r-bp1zxszhcgatnx****-bw.
19784
19947
  self.auto_renew_period = auto_renew_period
19785
- # The amount of bandwidth that you want to purchase. Unit: MB/s. The value of this parameter must be an integer that is greater than or equal to **0**. You can set this parameter to a value that is up to two times the default bandwidth that is supported by the instance type. For example, if the default bandwidth that is supported by the instance type is 10 MB/s, you can set this parameter to a value within the range of **0** to **20**.
19948
+ # The amount of extra bandwidth that you want to purchase. Unit: Mbit/s. The value must be an integer greater than or equal to **0**. The maximum value can be up to six times the default bandwidth of the instance or a single shard, but cannot exceed 192 Mbit/s. For example, if the default bandwidth of an instance is 10 Mbit/s, the value range of this parameter is **0** to **60**.
19949
+ #
19950
+ # >
19786
19951
  #
19787
- # > * You call the [DescribeRoleZoneInfo](~~190794~~) operation to query the default bandwidth that is supported by an instance type. In the response, the default bandwidth is indicated by the **DefaultBandWidth** parameter. For more information about instance types, see [Overview](~~26350~~).
19788
- # > * If you specify multiple data shard IDs in the **NodeId** parameter, you must specify the amount of bandwidth that you want to purchase for each specified data shard in the Bandwidth parameter. The bandwidth values that you specify in the Bandwidth parameter must be in the same sequence as the data shard IDs that you specify in the NodeId parameter. In addition, you must separate the bandwidth values with commas (,).
19952
+ # * You can call the [DescribeRoleZoneInfo](~~190794~~) operation to obtain the default maximum bandwidth returned by the **DefaultBandWidth** response parameter. For more information about instance types, see [Overview](~~26350~~).
19953
+ #
19954
+ # * If you specify multiple data shard IDs in the **NodeId** parameter, you must specify the amount of bandwidth that you want to purchase for each specified data shard in the Bandwidth parameter. The bandwidth values that you specify in the Bandwidth parameter must be in the same sequence as the data shard IDs that you specify in the NodeId parameter. In addition, you must separate the bandwidth values with commas (,).
19789
19955
  self.bandwidth = bandwidth
19790
19956
  # The billing method of the bandwidth instance. Default value: PostPaid. Valid values:
19791
19957
  #
@@ -21864,6 +22030,7 @@ class ModifyBackupPolicyRequest(TeaModel):
21864
22030
  resource_owner_id: int = None,
21865
22031
  security_token: str = None,
21866
22032
  ):
22033
+ # The number of days for which data backup files are retained. Valid values: 7 to 730. Default value: 7.
21867
22034
  self.backup_retention_period = backup_retention_period
21868
22035
  # Specifies whether to enable incremental data backup. Default value: 0. Valid values:
21869
22036
  #
@@ -23098,9 +23265,9 @@ class ModifyInstanceMaintainTimeRequest(TeaModel):
23098
23265
  ):
23099
23266
  # The ID of the instance.
23100
23267
  self.instance_id = instance_id
23101
- # The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance to end at 2:00 (UTC+8), set this parameter to `18:00Z`.
23268
+ # The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance window to end at 2:00 (UTC+8), set this parameter to `18:00Z`.
23102
23269
  #
23103
- # > The end time must be one hour later than the start time. For example, if the value of the MaintainStartTime parameter is `17:00Z`, the value of the MaintainEndTime parameter must be `18:00Z`.
23270
+ # > The interval between the start time and the end time cannot be less than 1 hour.
23104
23271
  self.maintain_end_time = maintain_end_time
23105
23272
  # The start time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance to start at 1:00 (UTC+8), set this parameter to `17:00Z`. After you call the API operation, you can view the actual time in the ApsaraDB for Redis console. For more information, see [Set a maintenance window](~~55252~~).
23106
23273
  self.maintain_start_time = maintain_start_time
@@ -24140,7 +24307,7 @@ class ModifyInstanceSpecRequest(TeaModel):
24140
24307
  self.order_type = order_type
24141
24308
  self.owner_account = owner_account
24142
24309
  self.owner_id = owner_id
24143
- # The number of read replicas. Valid values: 0 to 5. This parameter applies only to the following scenarios:
24310
+ # The number of read replicas in the primary zone. Valid values: 0 to 5. This parameter applies only to the following scenarios:
24144
24311
  #
24145
24312
  # * If the instance is a standard instance that uses cloud disks, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture.
24146
24313
  # * 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.
@@ -24152,6 +24319,7 @@ class ModifyInstanceSpecRequest(TeaModel):
24152
24319
  self.security_token = security_token
24153
24320
  # The number of shards. This parameter is available only for cluster instances that use cloud disks.
24154
24321
  self.shard_count = shard_count
24322
+ # 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.
24155
24323
  self.slave_read_only_count = slave_read_only_count
24156
24324
  # The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.
24157
24325
  self.source_biz = source_biz
@@ -25106,7 +25274,8 @@ class ModifySecurityIpsRequest(TeaModel):
25106
25274
  self.resource_owner_id = resource_owner_id
25107
25275
  # 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**.
25108
25276
  self.security_ip_group_attribute = security_ip_group_attribute
25109
- # The name of the whitelist.
25277
+ # The name of the IP address whitelist.
25278
+ # ><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>
25110
25279
  self.security_ip_group_name = security_ip_group_name
25111
25280
  # 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.
25112
25281
  self.security_ips = security_ips
@@ -25816,6 +25985,10 @@ class RenewInstanceRequest(TeaModel):
25816
25985
  #
25817
25986
  # 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.
25818
25987
  self.auto_pay = auto_pay
25988
+ # Specifies whether to enable auto-renewal for the instance. Valid values:
25989
+ #
25990
+ # * **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.
25991
+ # * **false** (default): disables auto-renewal.
25819
25992
  self.auto_renew = auto_renew
25820
25993
  # The ID of the promotional event or business information.
25821
25994
  self.business_info = business_info
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-r-kvstore20150101
3
- Version: 3.0.1
3
+ Version: 4.0.1
4
4
  Summary: Alibaba Cloud R-kvstore (20150101) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_r-kvstore20150101.
26
26
 
27
- Created on 07/04/2024
27
+ Created on 08/05/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """