alibabacloud-r-kvstore20150101 4.0.0__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.
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/ChangeLog.md +8 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/PKG-INFO +1 -1
- alibabacloud_r-kvstore20150101-4.0.1/alibabacloud_r_kvstore20150101/__init__.py +1 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101/client.py +4 -4
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101/models.py +66 -48
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/PKG-INFO +1 -1
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/setup.py +1 -1
- alibabacloud_r-kvstore20150101-4.0.0/alibabacloud_r_kvstore20150101/__init__.py +0 -1
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/LICENSE +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/MANIFEST.in +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/README-CN.md +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/README.md +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/SOURCES.txt +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/dependency_links.txt +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/requires.txt +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/alibabacloud_r_kvstore20150101.egg-info/top_level.txt +0 -0
- {alibabacloud_r-kvstore20150101-4.0.0 → alibabacloud_r-kvstore20150101-4.0.1}/setup.cfg +0 -0
|
@@ -1,3 +1,11 @@
|
|
|
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
|
+
|
|
1
9
|
2024-04-07 Version: 3.0.1
|
|
2
10
|
- Update API DescribePrice: update response param.
|
|
3
11
|
- Update API LockDBInstanceWrite: update param AccessKeyId.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.0.1'
|
|
@@ -4990,6 +4990,8 @@ class Client(OpenApiClient):
|
|
|
4990
4990
|
query['MonitorKeys'] = request.monitor_keys
|
|
4991
4991
|
if not UtilClient.is_unset(request.node_id):
|
|
4992
4992
|
query['NodeId'] = request.node_id
|
|
4993
|
+
if not UtilClient.is_unset(request.node_role):
|
|
4994
|
+
query['NodeRole'] = request.node_role
|
|
4993
4995
|
if not UtilClient.is_unset(request.owner_account):
|
|
4994
4996
|
query['OwnerAccount'] = request.owner_account
|
|
4995
4997
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -5045,6 +5047,8 @@ class Client(OpenApiClient):
|
|
|
5045
5047
|
query['MonitorKeys'] = request.monitor_keys
|
|
5046
5048
|
if not UtilClient.is_unset(request.node_id):
|
|
5047
5049
|
query['NodeId'] = request.node_id
|
|
5050
|
+
if not UtilClient.is_unset(request.node_role):
|
|
5051
|
+
query['NodeRole'] = request.node_role
|
|
5048
5052
|
if not UtilClient.is_unset(request.owner_account):
|
|
5049
5053
|
query['OwnerAccount'] = request.owner_account
|
|
5050
5054
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -7934,7 +7938,6 @@ class Client(OpenApiClient):
|
|
|
7934
7938
|
runtime: util_models.RuntimeOptions,
|
|
7935
7939
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
7936
7940
|
"""
|
|
7937
|
-
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~~).
|
|
7938
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~~).
|
|
7939
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.
|
|
7940
7943
|
|
|
@@ -7999,7 +8002,6 @@ class Client(OpenApiClient):
|
|
|
7999
8002
|
runtime: util_models.RuntimeOptions,
|
|
8000
8003
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
8001
8004
|
"""
|
|
8002
|
-
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~~).
|
|
8003
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~~).
|
|
8004
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.
|
|
8005
8007
|
|
|
@@ -8063,7 +8065,6 @@ class Client(OpenApiClient):
|
|
|
8063
8065
|
request: r_kvstore_20150101_models.EnableAdditionalBandwidthRequest,
|
|
8064
8066
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
8065
8067
|
"""
|
|
8066
|
-
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~~).
|
|
8067
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~~).
|
|
8068
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.
|
|
8069
8070
|
|
|
@@ -8078,7 +8079,6 @@ class Client(OpenApiClient):
|
|
|
8078
8079
|
request: r_kvstore_20150101_models.EnableAdditionalBandwidthRequest,
|
|
8079
8080
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
8080
8081
|
"""
|
|
8081
|
-
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~~).
|
|
8082
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~~).
|
|
8083
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.
|
|
8084
8084
|
|
|
@@ -1106,7 +1106,7 @@ class CreateGlobalDistributeCacheRequest(TeaModel):
|
|
|
1106
1106
|
self.owner_id = owner_id
|
|
1107
1107
|
# The ID of the resource group.
|
|
1108
1108
|
#
|
|
1109
|
-
#
|
|
1109
|
+
# > You do not need to specify system parameters.
|
|
1110
1110
|
self.resource_group_id = resource_group_id
|
|
1111
1111
|
self.resource_owner_account = resource_owner_account
|
|
1112
1112
|
self.resource_owner_id = resource_owner_id
|
|
@@ -1244,9 +1244,9 @@ class CreateGlobalSecurityIPGroupRequest(TeaModel):
|
|
|
1244
1244
|
resource_owner_id: int = None,
|
|
1245
1245
|
security_token: str = None,
|
|
1246
1246
|
):
|
|
1247
|
-
# The IP
|
|
1247
|
+
# The IP addresses in the IP whitelist template.
|
|
1248
1248
|
#
|
|
1249
|
-
# > Separate multiple IP addresses with commas (,).
|
|
1249
|
+
# > Separate multiple IP addresses with commas (,). The maximum number of IP addresses is 1,000.
|
|
1250
1250
|
self.gip_list = gip_list
|
|
1251
1251
|
# The name of the IP whitelist template. The name must meet the following requirements:
|
|
1252
1252
|
#
|
|
@@ -1324,15 +1324,9 @@ class CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup(TeaModel):
|
|
|
1324
1324
|
global_security_group_id: str = None,
|
|
1325
1325
|
region_id: str = None,
|
|
1326
1326
|
):
|
|
1327
|
-
# The IP
|
|
1328
|
-
#
|
|
1329
|
-
# > 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.
|
|
1330
1328
|
self.gip_list = gip_list
|
|
1331
|
-
# The name of the IP whitelist template.
|
|
1332
|
-
#
|
|
1333
|
-
# * The name can contain lowercase letters, digits, and underscores (\_).
|
|
1334
|
-
# * The name must start with a letter and end with a letter or digit.
|
|
1335
|
-
# * The name must be 2 to 120 characters in length.
|
|
1329
|
+
# The name of the IP whitelist template.
|
|
1336
1330
|
self.global_ig_name = global_ig_name
|
|
1337
1331
|
# The ID of the IP whitelist template.
|
|
1338
1332
|
self.global_security_group_id = global_security_group_id
|
|
@@ -1377,7 +1371,7 @@ class CreateGlobalSecurityIPGroupResponseBody(TeaModel):
|
|
|
1377
1371
|
global_security_ipgroup: List[CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup] = None,
|
|
1378
1372
|
request_id: str = None,
|
|
1379
1373
|
):
|
|
1380
|
-
#
|
|
1374
|
+
# The information about the global IP whitelist template.
|
|
1381
1375
|
self.global_security_ipgroup = global_security_ipgroup
|
|
1382
1376
|
# The request ID.
|
|
1383
1377
|
self.request_id = request_id
|
|
@@ -3891,12 +3885,11 @@ class DescribeActiveOperationTaskRequest(TeaModel):
|
|
|
3891
3885
|
self.resource_owner_account = resource_owner_account
|
|
3892
3886
|
self.resource_owner_id = resource_owner_id
|
|
3893
3887
|
self.security_token = security_token
|
|
3894
|
-
# The type of the O
|
|
3888
|
+
# The type of the O\&M task. Valid values:
|
|
3895
3889
|
#
|
|
3896
3890
|
# * **rds_apsaradb_ha**: master-replica switchover
|
|
3897
3891
|
# * **rds_apsaradb_transfer**: instance migration
|
|
3898
3892
|
# * **rds_apsaradb_upgrade**: minor version update
|
|
3899
|
-
# * **all**: all types
|
|
3900
3893
|
self.task_type = task_type
|
|
3901
3894
|
|
|
3902
3895
|
def validate(self):
|
|
@@ -4764,7 +4757,7 @@ class DescribeAvailableResourceRequest(TeaModel):
|
|
|
4764
4757
|
# * **Local**: classic ApsaraDB for Redis Community Edition instance or classic ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
|
|
4765
4758
|
# * **Tair_rdb**: cloud-native ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
|
|
4766
4759
|
# * **Tair_scm**: ApsaraDB for Redis Enhanced Edition (Tair) persistent memory-optimized instance
|
|
4767
|
-
# * **Tair_essd**:
|
|
4760
|
+
# * **Tair_essd**: ESSD-based instance
|
|
4768
4761
|
# * **OnECS**: cloud-native ApsaraDB for Redis Community Edition instance
|
|
4769
4762
|
self.product_type = product_type
|
|
4770
4763
|
# The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
|
|
@@ -5686,12 +5679,19 @@ class DescribeBackupPolicyResponseBodyAccessDeniedDetail(TeaModel):
|
|
|
5686
5679
|
no_permission_type: str = None,
|
|
5687
5680
|
policy_type: str = None,
|
|
5688
5681
|
):
|
|
5682
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5689
5683
|
self.auth_action = auth_action
|
|
5684
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5690
5685
|
self.auth_principal_display_name = auth_principal_display_name
|
|
5686
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5691
5687
|
self.auth_principal_owner_id = auth_principal_owner_id
|
|
5688
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5692
5689
|
self.auth_principal_type = auth_principal_type
|
|
5690
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5693
5691
|
self.encoded_diagnostic_message = encoded_diagnostic_message
|
|
5692
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5694
5693
|
self.no_permission_type = no_permission_type
|
|
5694
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5695
5695
|
self.policy_type = policy_type
|
|
5696
5696
|
|
|
5697
5697
|
def validate(self):
|
|
@@ -5750,9 +5750,14 @@ class DescribeBackupPolicyResponseBody(TeaModel):
|
|
|
5750
5750
|
preferred_next_backup_time: str = None,
|
|
5751
5751
|
request_id: str = None,
|
|
5752
5752
|
):
|
|
5753
|
+
# The following parameters are no longer used. Ignore the parameters.
|
|
5753
5754
|
self.access_denied_detail = access_denied_detail
|
|
5754
5755
|
# The retention period of the backup data. Unit: days.
|
|
5755
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.
|
|
5756
5761
|
self.dbs_instance = dbs_instance
|
|
5757
5762
|
# Indicates whether incremental data backup is enabled. Valid values:
|
|
5758
5763
|
#
|
|
@@ -5955,19 +5960,19 @@ class DescribeBackupTasksResponseBodyAccessDeniedDetail(TeaModel):
|
|
|
5955
5960
|
no_permission_type: str = None,
|
|
5956
5961
|
policy_type: str = None,
|
|
5957
5962
|
):
|
|
5958
|
-
#
|
|
5963
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5959
5964
|
self.auth_action = auth_action
|
|
5960
|
-
#
|
|
5965
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5961
5966
|
self.auth_principal_display_name = auth_principal_display_name
|
|
5962
|
-
#
|
|
5967
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5963
5968
|
self.auth_principal_owner_id = auth_principal_owner_id
|
|
5964
|
-
#
|
|
5969
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5965
5970
|
self.auth_principal_type = auth_principal_type
|
|
5966
|
-
#
|
|
5971
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5967
5972
|
self.encoded_diagnostic_message = encoded_diagnostic_message
|
|
5968
|
-
#
|
|
5973
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5969
5974
|
self.no_permission_type = no_permission_type
|
|
5970
|
-
#
|
|
5975
|
+
# This parameter is no longer used. Ignore this parameter.
|
|
5971
5976
|
self.policy_type = policy_type
|
|
5972
5977
|
|
|
5973
5978
|
def validate(self):
|
|
@@ -6105,7 +6110,7 @@ class DescribeBackupTasksResponseBody(TeaModel):
|
|
|
6105
6110
|
instance_id: str = None,
|
|
6106
6111
|
request_id: str = None,
|
|
6107
6112
|
):
|
|
6108
|
-
# The following parameters are
|
|
6113
|
+
# The following parameters are no longer used. Ignore the parameters.
|
|
6109
6114
|
self.access_denied_detail = access_denied_detail
|
|
6110
6115
|
# The details of the backup tasks.
|
|
6111
6116
|
self.backup_jobs = backup_jobs
|
|
@@ -8085,37 +8090,40 @@ class DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo(TeaModel)
|
|
|
8085
8090
|
):
|
|
8086
8091
|
# The endpoint of the instance.
|
|
8087
8092
|
self.connection_string = connection_string
|
|
8088
|
-
# The network type of the
|
|
8093
|
+
# The network type of the instance. Valid values:
|
|
8089
8094
|
#
|
|
8090
|
-
# * **0**:
|
|
8091
|
-
# * **1**: classic network
|
|
8092
|
-
# * **2**: VPC
|
|
8095
|
+
# * **0**: Internet
|
|
8096
|
+
# * **1**: classic network
|
|
8097
|
+
# * **2**: Virtual Private Cloud (VPC)
|
|
8093
8098
|
self.dbinstance_net_type = dbinstance_net_type
|
|
8094
8099
|
# Indicates whether the address is a private endpoint. Valid values:
|
|
8095
8100
|
#
|
|
8096
|
-
# * **0**:
|
|
8097
|
-
# * **1**:
|
|
8101
|
+
# * **0**: The address is not a private endpoint.
|
|
8102
|
+
# * **1**: The address is a private endpoint.
|
|
8098
8103
|
self.direct_connection = direct_connection
|
|
8099
|
-
# The expiration time of the classic network
|
|
8104
|
+
# The expiration time of the classic network endpoint. Unit: seconds.
|
|
8100
8105
|
self.expired_time = expired_time
|
|
8101
8106
|
# The IP address.
|
|
8102
8107
|
self.ipaddress = ipaddress
|
|
8103
8108
|
# The network type of the IP address. Valid values:
|
|
8104
8109
|
#
|
|
8105
|
-
# * **Public**: Internet
|
|
8106
|
-
# * **Inner**: classic network
|
|
8107
|
-
# * **Private**: VPC
|
|
8110
|
+
# * **Public**: Internet
|
|
8111
|
+
# * **Inner**: classic network
|
|
8112
|
+
# * **Private**: VPC
|
|
8108
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.
|
|
8109
8117
|
self.is_slave_proxy = is_slave_proxy
|
|
8110
|
-
# The service port of the
|
|
8118
|
+
# The service port of the instance.
|
|
8111
8119
|
self.port = port
|
|
8112
|
-
# The remaining validity period of the
|
|
8120
|
+
# The remaining validity period of the classic network endpoint. Unit: seconds.
|
|
8113
8121
|
#
|
|
8114
|
-
# > A value of
|
|
8122
|
+
# > **A value of 0 indicates that the endpoint never expires.
|
|
8115
8123
|
self.upgradeable = upgradeable
|
|
8116
|
-
# The ID of the VPC
|
|
8124
|
+
# The ID of the VPC to which the instance belongs.
|
|
8117
8125
|
self.vpcid = vpcid
|
|
8118
|
-
# The ID
|
|
8126
|
+
# The instance ID.
|
|
8119
8127
|
self.vpcinstance_id = vpcinstance_id
|
|
8120
8128
|
# The ID of the vSwitch.
|
|
8121
8129
|
self.v_switch_id = v_switch_id
|
|
@@ -8231,7 +8239,7 @@ class DescribeDBInstanceNetInfoResponseBody(TeaModel):
|
|
|
8231
8239
|
# * **CLASSIC**: The instance runs in a classic network.
|
|
8232
8240
|
# * **VPC**: The instance runs in a virtual private cloud (VPC).
|
|
8233
8241
|
self.instance_network_type = instance_network_type
|
|
8234
|
-
# The
|
|
8242
|
+
# The network information about the instance.
|
|
8235
8243
|
self.net_info_items = net_info_items
|
|
8236
8244
|
# The ID of the request.
|
|
8237
8245
|
self.request_id = request_id
|
|
@@ -10835,6 +10843,7 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
|
|
|
10835
10843
|
interval_for_history: str = None,
|
|
10836
10844
|
monitor_keys: str = None,
|
|
10837
10845
|
node_id: str = None,
|
|
10846
|
+
node_role: str = None,
|
|
10838
10847
|
owner_account: str = None,
|
|
10839
10848
|
owner_id: int = None,
|
|
10840
10849
|
resource_owner_account: str = None,
|
|
@@ -10862,6 +10871,7 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
|
|
|
10862
10871
|
#
|
|
10863
10872
|
# * You can call the [DescribeLogicInstanceTopology](~~94665~~) operation to query node IDs.
|
|
10864
10873
|
self.node_id = node_id
|
|
10874
|
+
self.node_role = node_role
|
|
10865
10875
|
self.owner_account = owner_account
|
|
10866
10876
|
self.owner_id = owner_id
|
|
10867
10877
|
self.resource_owner_account = resource_owner_account
|
|
@@ -10889,6 +10899,8 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
|
|
|
10889
10899
|
result['MonitorKeys'] = self.monitor_keys
|
|
10890
10900
|
if self.node_id is not None:
|
|
10891
10901
|
result['NodeId'] = self.node_id
|
|
10902
|
+
if self.node_role is not None:
|
|
10903
|
+
result['NodeRole'] = self.node_role
|
|
10892
10904
|
if self.owner_account is not None:
|
|
10893
10905
|
result['OwnerAccount'] = self.owner_account
|
|
10894
10906
|
if self.owner_id is not None:
|
|
@@ -10915,6 +10927,8 @@ class DescribeHistoryMonitorValuesRequest(TeaModel):
|
|
|
10915
10927
|
self.monitor_keys = m.get('MonitorKeys')
|
|
10916
10928
|
if m.get('NodeId') is not None:
|
|
10917
10929
|
self.node_id = m.get('NodeId')
|
|
10930
|
+
if m.get('NodeRole') is not None:
|
|
10931
|
+
self.node_role = m.get('NodeRole')
|
|
10918
10932
|
if m.get('OwnerAccount') is not None:
|
|
10919
10933
|
self.owner_account = m.get('OwnerAccount')
|
|
10920
10934
|
if m.get('OwnerId') is not None:
|
|
@@ -11704,7 +11718,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
|
|
|
11704
11718
|
self.has_renew_change_order = has_renew_change_order
|
|
11705
11719
|
# The instance type. For more information, see [Instance types](~~107984~~).
|
|
11706
11720
|
self.instance_class = instance_class
|
|
11707
|
-
# The instance
|
|
11721
|
+
# The ID of the instance.
|
|
11708
11722
|
self.instance_id = instance_id
|
|
11709
11723
|
# The name of the instance.
|
|
11710
11724
|
self.instance_name = instance_name
|
|
@@ -11773,7 +11787,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
|
|
|
11773
11787
|
# * **standard**: standard plan.
|
|
11774
11788
|
# * **customized**: custom plan. This plan type is phased out.
|
|
11775
11789
|
self.package_type = package_type
|
|
11776
|
-
# The service port of the
|
|
11790
|
+
# The service port of the instance.
|
|
11777
11791
|
self.port = port
|
|
11778
11792
|
# The private IP address of the instance.
|
|
11779
11793
|
#
|
|
@@ -11806,6 +11820,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
|
|
|
11806
11820
|
self.security_iplist = security_iplist
|
|
11807
11821
|
# The number of shards. This parameter is available only for ApsaraDB for Redis instances that are purchased on the China site (aliyun.com).
|
|
11808
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.
|
|
11809
11824
|
self.slave_read_only_count = slave_read_only_count
|
|
11810
11825
|
# The storage capacity of the cloud disk.
|
|
11811
11826
|
self.storage = storage
|
|
@@ -11813,7 +11828,7 @@ class DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute(TeaModel
|
|
|
11813
11828
|
self.storage_type = storage_type
|
|
11814
11829
|
# Details about the tags.
|
|
11815
11830
|
self.tags = tags
|
|
11816
|
-
# The vSwitch
|
|
11831
|
+
# The ID of the vSwitch.
|
|
11817
11832
|
self.v_switch_id = v_switch_id
|
|
11818
11833
|
# Indicates whether password authentication is enabled. Valid values:
|
|
11819
11834
|
#
|
|
@@ -13026,7 +13041,7 @@ class DescribeInstancesRequest(TeaModel):
|
|
|
13026
13041
|
self.owner_id = owner_id
|
|
13027
13042
|
# The page number. Pages start from page **1**. Default value: **1**.
|
|
13028
13043
|
self.page_number = page_number
|
|
13029
|
-
# The number of entries per page. Maximum value: **50**. Default value: **
|
|
13044
|
+
# The number of entries per page. Maximum value: **50**. Default value: **30**.
|
|
13030
13045
|
self.page_size = page_size
|
|
13031
13046
|
# The private IP address of the instance.
|
|
13032
13047
|
self.private_ip = private_ip
|
|
@@ -19930,10 +19945,13 @@ class EnableAdditionalBandwidthRequest(TeaModel):
|
|
|
19930
19945
|
# > * This parameter takes effect and must be specified only when you set the **AutoRenew** parameter to **true**.
|
|
19931
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.
|
|
19932
19947
|
self.auto_renew_period = auto_renew_period
|
|
19933
|
-
# The amount of bandwidth that you want to purchase. Unit:
|
|
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
|
+
# >
|
|
19951
|
+
#
|
|
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~~).
|
|
19934
19953
|
#
|
|
19935
|
-
#
|
|
19936
|
-
# > * 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 (,).
|
|
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 (,).
|
|
19937
19955
|
self.bandwidth = bandwidth
|
|
19938
19956
|
# The billing method of the bandwidth instance. Default value: PostPaid. Valid values:
|
|
19939
19957
|
#
|
|
@@ -23247,9 +23265,9 @@ class ModifyInstanceMaintainTimeRequest(TeaModel):
|
|
|
23247
23265
|
):
|
|
23248
23266
|
# The ID of the instance.
|
|
23249
23267
|
self.instance_id = instance_id
|
|
23250
|
-
# 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`.
|
|
23251
23269
|
#
|
|
23252
|
-
# >
|
|
23270
|
+
# > The interval between the start time and the end time cannot be less than 1 hour.
|
|
23253
23271
|
self.maintain_end_time = maintain_end_time
|
|
23254
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~~).
|
|
23255
23273
|
self.maintain_start_time = maintain_start_time
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.0.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|