alibabacloud-r-kvstore20150101 2.25.2__tar.gz → 2.25.4__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-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/ChangeLog.md +6 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/PKG-INFO +2 -2
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/README-CN.md +1 -1
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/README.md +1 -1
- alibabacloud_r-kvstore20150101-2.25.4/alibabacloud_r_kvstore20150101/__init__.py +1 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/alibabacloud_r_kvstore20150101/client.py +36 -50
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/alibabacloud_r_kvstore20150101/models.py +64 -350
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/alibabacloud_r_kvstore20150101.egg-info/PKG-INFO +2 -2
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/setup.py +1 -1
- alibabacloud_r-kvstore20150101-2.25.2/alibabacloud_r_kvstore20150101/__init__.py +0 -1
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/LICENSE +0 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/MANIFEST.in +0 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/alibabacloud_r_kvstore20150101.egg-info/SOURCES.txt +0 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/alibabacloud_r_kvstore20150101.egg-info/dependency_links.txt +0 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/alibabacloud_r_kvstore20150101.egg-info/requires.txt +0 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/alibabacloud_r_kvstore20150101.egg-info/top_level.txt +0 -0
- {alibabacloud_r-kvstore20150101-2.25.2 → alibabacloud_r-kvstore20150101-2.25.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud_r-kvstore20150101
|
|
3
|
-
Version: 2.25.
|
|
3
|
+
Version: 2.25.4
|
|
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
|
|
@@ -36,7 +36,7 @@ Description: English | [简体中文](README-CN.md)
|
|
|
36
36
|
|
|
37
37
|
## Changelog
|
|
38
38
|
|
|
39
|
-
Detailed changes for each release are documented in the [release notes](
|
|
39
|
+
Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/r-kvstore-20150101/ChangeLog.md).
|
|
40
40
|
|
|
41
41
|
## References
|
|
42
42
|
|
|
@@ -28,7 +28,7 @@ pip install alibabacloud_r_kvstore20150101
|
|
|
28
28
|
|
|
29
29
|
## Changelog
|
|
30
30
|
|
|
31
|
-
Detailed changes for each release are documented in the [release notes](
|
|
31
|
+
Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/r-kvstore-20150101/ChangeLog.md).
|
|
32
32
|
|
|
33
33
|
## References
|
|
34
34
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '2.25.4'
|
|
@@ -1712,10 +1712,11 @@ class Client(OpenApiClient):
|
|
|
1712
1712
|
runtime: util_models.RuntimeOptions,
|
|
1713
1713
|
) -> r_kvstore_20150101_models.CreateTairInstanceResponse:
|
|
1714
1714
|
"""
|
|
1715
|
-
For
|
|
1715
|
+
For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
|
|
1716
1716
|
Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
|
|
1717
|
-
>
|
|
1718
|
-
|
|
1717
|
+
>
|
|
1718
|
+
* For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
|
|
1719
|
+
* If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
|
|
1719
1720
|
|
|
1720
1721
|
@param request: CreateTairInstanceRequest
|
|
1721
1722
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -1789,6 +1790,8 @@ class Client(OpenApiClient):
|
|
|
1789
1790
|
query['ShardCount'] = request.shard_count
|
|
1790
1791
|
if not UtilClient.is_unset(request.shard_type):
|
|
1791
1792
|
query['ShardType'] = request.shard_type
|
|
1793
|
+
if not UtilClient.is_unset(request.slave_read_only_count):
|
|
1794
|
+
query['SlaveReadOnlyCount'] = request.slave_read_only_count
|
|
1792
1795
|
if not UtilClient.is_unset(request.src_dbinstance_id):
|
|
1793
1796
|
query['SrcDBInstanceId'] = request.src_dbinstance_id
|
|
1794
1797
|
if not UtilClient.is_unset(request.storage):
|
|
@@ -1828,10 +1831,11 @@ class Client(OpenApiClient):
|
|
|
1828
1831
|
runtime: util_models.RuntimeOptions,
|
|
1829
1832
|
) -> r_kvstore_20150101_models.CreateTairInstanceResponse:
|
|
1830
1833
|
"""
|
|
1831
|
-
For
|
|
1834
|
+
For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
|
|
1832
1835
|
Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
|
|
1833
|
-
>
|
|
1834
|
-
|
|
1836
|
+
>
|
|
1837
|
+
* For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
|
|
1838
|
+
* If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
|
|
1835
1839
|
|
|
1836
1840
|
@param request: CreateTairInstanceRequest
|
|
1837
1841
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -1905,6 +1909,8 @@ class Client(OpenApiClient):
|
|
|
1905
1909
|
query['ShardCount'] = request.shard_count
|
|
1906
1910
|
if not UtilClient.is_unset(request.shard_type):
|
|
1907
1911
|
query['ShardType'] = request.shard_type
|
|
1912
|
+
if not UtilClient.is_unset(request.slave_read_only_count):
|
|
1913
|
+
query['SlaveReadOnlyCount'] = request.slave_read_only_count
|
|
1908
1914
|
if not UtilClient.is_unset(request.src_dbinstance_id):
|
|
1909
1915
|
query['SrcDBInstanceId'] = request.src_dbinstance_id
|
|
1910
1916
|
if not UtilClient.is_unset(request.storage):
|
|
@@ -1943,10 +1949,11 @@ class Client(OpenApiClient):
|
|
|
1943
1949
|
request: r_kvstore_20150101_models.CreateTairInstanceRequest,
|
|
1944
1950
|
) -> r_kvstore_20150101_models.CreateTairInstanceResponse:
|
|
1945
1951
|
"""
|
|
1946
|
-
For
|
|
1952
|
+
For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
|
|
1947
1953
|
Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
|
|
1948
|
-
>
|
|
1949
|
-
|
|
1954
|
+
>
|
|
1955
|
+
* For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
|
|
1956
|
+
* If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
|
|
1950
1957
|
|
|
1951
1958
|
@param request: CreateTairInstanceRequest
|
|
1952
1959
|
@return: CreateTairInstanceResponse
|
|
@@ -1959,10 +1966,11 @@ class Client(OpenApiClient):
|
|
|
1959
1966
|
request: r_kvstore_20150101_models.CreateTairInstanceRequest,
|
|
1960
1967
|
) -> r_kvstore_20150101_models.CreateTairInstanceResponse:
|
|
1961
1968
|
"""
|
|
1962
|
-
For
|
|
1969
|
+
For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
|
|
1963
1970
|
Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
|
|
1964
|
-
>
|
|
1965
|
-
|
|
1971
|
+
>
|
|
1972
|
+
* For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
|
|
1973
|
+
* If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation.
|
|
1966
1974
|
|
|
1967
1975
|
@param request: CreateTairInstanceRequest
|
|
1968
1976
|
@return: CreateTairInstanceResponse
|
|
@@ -3385,14 +3393,6 @@ class Client(OpenApiClient):
|
|
|
3385
3393
|
request: r_kvstore_20150101_models.DescribeBackupsRequest,
|
|
3386
3394
|
runtime: util_models.RuntimeOptions,
|
|
3387
3395
|
) -> r_kvstore_20150101_models.DescribeBackupsResponse:
|
|
3388
|
-
"""
|
|
3389
|
-
## Debugging
|
|
3390
|
-
[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeBackups\\&type=RPC\\&version=2015-01-01)
|
|
3391
|
-
|
|
3392
|
-
@param request: DescribeBackupsRequest
|
|
3393
|
-
@param runtime: runtime options for this request RuntimeOptions
|
|
3394
|
-
@return: DescribeBackupsResponse
|
|
3395
|
-
"""
|
|
3396
3396
|
UtilClient.validate_model(request)
|
|
3397
3397
|
query = {}
|
|
3398
3398
|
if not UtilClient.is_unset(request.backup_id):
|
|
@@ -3445,14 +3445,6 @@ class Client(OpenApiClient):
|
|
|
3445
3445
|
request: r_kvstore_20150101_models.DescribeBackupsRequest,
|
|
3446
3446
|
runtime: util_models.RuntimeOptions,
|
|
3447
3447
|
) -> r_kvstore_20150101_models.DescribeBackupsResponse:
|
|
3448
|
-
"""
|
|
3449
|
-
## Debugging
|
|
3450
|
-
[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeBackups\\&type=RPC\\&version=2015-01-01)
|
|
3451
|
-
|
|
3452
|
-
@param request: DescribeBackupsRequest
|
|
3453
|
-
@param runtime: runtime options for this request RuntimeOptions
|
|
3454
|
-
@return: DescribeBackupsResponse
|
|
3455
|
-
"""
|
|
3456
3448
|
UtilClient.validate_model(request)
|
|
3457
3449
|
query = {}
|
|
3458
3450
|
if not UtilClient.is_unset(request.backup_id):
|
|
@@ -3504,13 +3496,6 @@ class Client(OpenApiClient):
|
|
|
3504
3496
|
self,
|
|
3505
3497
|
request: r_kvstore_20150101_models.DescribeBackupsRequest,
|
|
3506
3498
|
) -> r_kvstore_20150101_models.DescribeBackupsResponse:
|
|
3507
|
-
"""
|
|
3508
|
-
## Debugging
|
|
3509
|
-
[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeBackups\\&type=RPC\\&version=2015-01-01)
|
|
3510
|
-
|
|
3511
|
-
@param request: DescribeBackupsRequest
|
|
3512
|
-
@return: DescribeBackupsResponse
|
|
3513
|
-
"""
|
|
3514
3499
|
runtime = util_models.RuntimeOptions()
|
|
3515
3500
|
return self.describe_backups_with_options(request, runtime)
|
|
3516
3501
|
|
|
@@ -3518,13 +3503,6 @@ class Client(OpenApiClient):
|
|
|
3518
3503
|
self,
|
|
3519
3504
|
request: r_kvstore_20150101_models.DescribeBackupsRequest,
|
|
3520
3505
|
) -> r_kvstore_20150101_models.DescribeBackupsResponse:
|
|
3521
|
-
"""
|
|
3522
|
-
## Debugging
|
|
3523
|
-
[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeBackups\\&type=RPC\\&version=2015-01-01)
|
|
3524
|
-
|
|
3525
|
-
@param request: DescribeBackupsRequest
|
|
3526
|
-
@return: DescribeBackupsResponse
|
|
3527
|
-
"""
|
|
3528
3506
|
runtime = util_models.RuntimeOptions()
|
|
3529
3507
|
return await self.describe_backups_with_options_async(request, runtime)
|
|
3530
3508
|
|
|
@@ -7938,8 +7916,9 @@ class Client(OpenApiClient):
|
|
|
7938
7916
|
runtime: util_models.RuntimeOptions,
|
|
7939
7917
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
7940
7918
|
"""
|
|
7941
|
-
|
|
7942
|
-
|
|
7919
|
+
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~~).
|
|
7920
|
+
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~~).
|
|
7921
|
+
> Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance.
|
|
7943
7922
|
|
|
7944
7923
|
@param request: EnableAdditionalBandwidthRequest
|
|
7945
7924
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -8002,8 +7981,9 @@ class Client(OpenApiClient):
|
|
|
8002
7981
|
runtime: util_models.RuntimeOptions,
|
|
8003
7982
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
8004
7983
|
"""
|
|
8005
|
-
|
|
8006
|
-
|
|
7984
|
+
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~~).
|
|
7985
|
+
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~~).
|
|
7986
|
+
> Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance.
|
|
8007
7987
|
|
|
8008
7988
|
@param request: EnableAdditionalBandwidthRequest
|
|
8009
7989
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -8065,8 +8045,9 @@ class Client(OpenApiClient):
|
|
|
8065
8045
|
request: r_kvstore_20150101_models.EnableAdditionalBandwidthRequest,
|
|
8066
8046
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
8067
8047
|
"""
|
|
8068
|
-
|
|
8069
|
-
|
|
8048
|
+
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~~).
|
|
8049
|
+
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~~).
|
|
8050
|
+
> Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance.
|
|
8070
8051
|
|
|
8071
8052
|
@param request: EnableAdditionalBandwidthRequest
|
|
8072
8053
|
@return: EnableAdditionalBandwidthResponse
|
|
@@ -8079,8 +8060,9 @@ class Client(OpenApiClient):
|
|
|
8079
8060
|
request: r_kvstore_20150101_models.EnableAdditionalBandwidthRequest,
|
|
8080
8061
|
) -> r_kvstore_20150101_models.EnableAdditionalBandwidthResponse:
|
|
8081
8062
|
"""
|
|
8082
|
-
|
|
8083
|
-
|
|
8063
|
+
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~~).
|
|
8064
|
+
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~~).
|
|
8065
|
+
> 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
8066
|
|
|
8085
8067
|
@param request: EnableAdditionalBandwidthRequest
|
|
8086
8068
|
@return: EnableAdditionalBandwidthResponse
|
|
@@ -11190,6 +11172,8 @@ class Client(OpenApiClient):
|
|
|
11190
11172
|
query['SecurityToken'] = request.security_token
|
|
11191
11173
|
if not UtilClient.is_unset(request.shard_count):
|
|
11192
11174
|
query['ShardCount'] = request.shard_count
|
|
11175
|
+
if not UtilClient.is_unset(request.slave_read_only_count):
|
|
11176
|
+
query['SlaveReadOnlyCount'] = request.slave_read_only_count
|
|
11193
11177
|
if not UtilClient.is_unset(request.source_biz):
|
|
11194
11178
|
query['SourceBiz'] = request.source_biz
|
|
11195
11179
|
req = open_api_models.OpenApiRequest(
|
|
@@ -11263,6 +11247,8 @@ class Client(OpenApiClient):
|
|
|
11263
11247
|
query['SecurityToken'] = request.security_token
|
|
11264
11248
|
if not UtilClient.is_unset(request.shard_count):
|
|
11265
11249
|
query['ShardCount'] = request.shard_count
|
|
11250
|
+
if not UtilClient.is_unset(request.slave_read_only_count):
|
|
11251
|
+
query['SlaveReadOnlyCount'] = request.slave_read_only_count
|
|
11266
11252
|
if not UtilClient.is_unset(request.source_biz):
|
|
11267
11253
|
query['SourceBiz'] = request.source_biz
|
|
11268
11254
|
req = open_api_models.OpenApiRequest(
|