alibabacloud-r-kvstore20150101 6.0.0__tar.gz → 6.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/ChangeLog.md +27 -0
  2. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/PKG-INFO +1 -1
  3. alibabacloud_r-kvstore20150101-6.1.0/alibabacloud_r_kvstore20150101/__init__.py +1 -0
  4. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/alibabacloud_r_kvstore20150101/client.py +344 -2
  5. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/alibabacloud_r_kvstore20150101/models.py +539 -7
  6. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/alibabacloud_r_kvstore20150101.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/alibabacloud_r_kvstore20150101.egg-info/requires.txt +1 -1
  8. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/setup.py +2 -2
  9. alibabacloud_r-kvstore20150101-6.0.0/alibabacloud_r_kvstore20150101/__init__.py +0 -1
  10. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/LICENSE +0 -0
  11. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/MANIFEST.in +0 -0
  12. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/README-CN.md +0 -0
  13. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/README.md +0 -0
  14. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/alibabacloud_r_kvstore20150101.egg-info/SOURCES.txt +0 -0
  15. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/alibabacloud_r_kvstore20150101.egg-info/dependency_links.txt +0 -0
  16. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/alibabacloud_r_kvstore20150101.egg-info/top_level.txt +0 -0
  17. {alibabacloud_r-kvstore20150101-6.0.0 → alibabacloud_r-kvstore20150101-6.1.0}/setup.cfg +0 -0
@@ -1,3 +1,30 @@
1
+ 2025-07-30 Version: 6.0.1
2
+ - Generated python 2015-01-01 for R-kvstore.
3
+
4
+ 2025-07-09 Version: 6.0.0
5
+ - Support API DeleteBackup.
6
+ - Support API ModifyBackupExpireTime.
7
+ - Delete API DescribeTasks.
8
+ - Update API CreateBackup: add request parameters BackupRetentionPeriod.
9
+ - Update API CreateGlobalDistributeCache: add response parameters Body.GlobalInstanceId.
10
+ - Update API CreateGlobalDistributeCache: add response parameters Body.InstanceId.
11
+ - Update API DescribeBackups: add response parameters Body.Backups.$.ExpectExpireTime.
12
+ - Update API DescribeClusterBackupList: add response parameters Body.ClusterBackups.$.ExpectExpireTime.
13
+ - Update API DescribeHistoryMonitorValues: add request parameters Type.
14
+ - Update API DescribeTairKVCacheInferInstanceAttribute: add response parameters Body.Instances.$.ComputeUnitNum.
15
+ - Update API DescribeTairKVCacheInferInstanceAttribute: add response parameters Body.Instances.$.Model.
16
+ - Update API DescribeTairKVCacheInferInstanceAttribute: add response parameters Body.Instances.$.ModelServiceNum.
17
+ - Update API DescribeTairKVCacheInferInstanceAttribute: delete response parameters Body.Instances.$.ReserveGpuNum.
18
+ - Update API DescribeTairKVCacheInferInstanceAttribute: delete response parameters Body.Instances.$.SecurityGroupId.
19
+ - Update API DescribeTairKVCacheInferInstances: add response parameters Body.Instances.$.ComputeUnitNum.
20
+ - Update API DescribeTairKVCacheInferInstances: add response parameters Body.Instances.$.Model.
21
+ - Update API DescribeTairKVCacheInferInstances: add response parameters Body.Instances.$.ModelServiceNum.
22
+ - Update API DescribeTairKVCacheInferInstances: add response parameters Body.Instances.$.VNodeName.
23
+ - Update API DescribeTairKVCacheInferInstances: delete response parameters Body.Instances.$.ModuleName.
24
+ - Update API DescribeTairKVCacheInferInstances: delete response parameters Body.Instances.$.ReserveGpuNum.
25
+ - Update API DescribeTairKVCacheInferInstances: delete response parameters Body.Instances.$.UsedGpuNum.
26
+
27
+
1
28
  2025-04-01 Version: 5.0.0
2
29
  - Support API DescribeTairKVCacheInferInstanceAttribute.
3
30
  - Support API DescribeTairKVCacheInferInstances.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_r-kvstore20150101
3
- Version: 6.0.0
3
+ Version: 6.1.0
4
4
  Summary: Alibaba Cloud R-kvstore (20150101) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -30,9 +30,7 @@ class Client(OpenApiClient):
30
30
  'cn-shanghai': 'r-kvstore.aliyuncs.com',
31
31
  'cn-shenzhen': 'r-kvstore.aliyuncs.com',
32
32
  'cn-heyuan': 'r-kvstore.aliyuncs.com',
33
- 'cn-guangzhou': 'r-kvstore.aliyuncs.com',
34
33
  'cn-hangzhou-finance': 'r-kvstore.aliyuncs.com',
35
- 'cn-shanghai-finance-1': 'r-kvstore.aliyuncs.com',
36
34
  'ap-northeast-2-pop': 'r-kvstore.aliyuncs.com',
37
35
  'cn-beijing-finance-1': 'r-kvstore.aliyuncs.com',
38
36
  'cn-beijing-finance-pop': 'r-kvstore.aliyuncs.com',
@@ -2580,6 +2578,194 @@ class Client(OpenApiClient):
2580
2578
  runtime = util_models.RuntimeOptions()
2581
2579
  return await self.create_tair_instance_with_options_async(request, runtime)
2582
2580
 
2581
+ def create_tair_kvcache_vnode_with_options(
2582
+ self,
2583
+ request: r_kvstore_20150101_models.CreateTairKVCacheVNodeRequest,
2584
+ runtime: util_models.RuntimeOptions,
2585
+ ) -> r_kvstore_20150101_models.CreateTairKVCacheVNodeResponse:
2586
+ """
2587
+ @summary 创建Tair VNode实例
2588
+
2589
+ @param request: CreateTairKVCacheVNodeRequest
2590
+ @param runtime: runtime options for this request RuntimeOptions
2591
+ @return: CreateTairKVCacheVNodeResponse
2592
+ """
2593
+ UtilClient.validate_model(request)
2594
+ query = {}
2595
+ if not UtilClient.is_unset(request.auto_pay):
2596
+ query['AutoPay'] = request.auto_pay
2597
+ if not UtilClient.is_unset(request.auto_renew):
2598
+ query['AutoRenew'] = request.auto_renew
2599
+ if not UtilClient.is_unset(request.auto_renew_period):
2600
+ query['AutoRenewPeriod'] = request.auto_renew_period
2601
+ if not UtilClient.is_unset(request.auto_use_coupon):
2602
+ query['AutoUseCoupon'] = request.auto_use_coupon
2603
+ if not UtilClient.is_unset(request.business_info):
2604
+ query['BusinessInfo'] = request.business_info
2605
+ if not UtilClient.is_unset(request.charge_type):
2606
+ query['ChargeType'] = request.charge_type
2607
+ if not UtilClient.is_unset(request.client_token):
2608
+ query['ClientToken'] = request.client_token
2609
+ if not UtilClient.is_unset(request.compute_unit_num):
2610
+ query['ComputeUnitNum'] = request.compute_unit_num
2611
+ if not UtilClient.is_unset(request.coupon_no):
2612
+ query['CouponNo'] = request.coupon_no
2613
+ if not UtilClient.is_unset(request.dry_run):
2614
+ query['DryRun'] = request.dry_run
2615
+ if not UtilClient.is_unset(request.instance_class):
2616
+ query['InstanceClass'] = request.instance_class
2617
+ if not UtilClient.is_unset(request.instance_name):
2618
+ query['InstanceName'] = request.instance_name
2619
+ if not UtilClient.is_unset(request.owner_account):
2620
+ query['OwnerAccount'] = request.owner_account
2621
+ if not UtilClient.is_unset(request.owner_id):
2622
+ query['OwnerId'] = request.owner_id
2623
+ if not UtilClient.is_unset(request.period):
2624
+ query['Period'] = request.period
2625
+ if not UtilClient.is_unset(request.region_id):
2626
+ query['RegionId'] = request.region_id
2627
+ if not UtilClient.is_unset(request.resource_group_id):
2628
+ query['ResourceGroupId'] = request.resource_group_id
2629
+ if not UtilClient.is_unset(request.resource_owner_account):
2630
+ query['ResourceOwnerAccount'] = request.resource_owner_account
2631
+ if not UtilClient.is_unset(request.resource_owner_id):
2632
+ query['ResourceOwnerId'] = request.resource_owner_id
2633
+ if not UtilClient.is_unset(request.security_token):
2634
+ query['SecurityToken'] = request.security_token
2635
+ if not UtilClient.is_unset(request.tag):
2636
+ query['Tag'] = request.tag
2637
+ if not UtilClient.is_unset(request.v_switch_id):
2638
+ query['VSwitchId'] = request.v_switch_id
2639
+ if not UtilClient.is_unset(request.vk_name):
2640
+ query['VkName'] = request.vk_name
2641
+ if not UtilClient.is_unset(request.zone_id):
2642
+ query['ZoneId'] = request.zone_id
2643
+ req = open_api_models.OpenApiRequest(
2644
+ query=OpenApiUtilClient.query(query)
2645
+ )
2646
+ params = open_api_models.Params(
2647
+ action='CreateTairKVCacheVNode',
2648
+ version='2015-01-01',
2649
+ protocol='HTTPS',
2650
+ pathname='/',
2651
+ method='POST',
2652
+ auth_type='AK',
2653
+ style='RPC',
2654
+ req_body_type='formData',
2655
+ body_type='json'
2656
+ )
2657
+ return TeaCore.from_map(
2658
+ r_kvstore_20150101_models.CreateTairKVCacheVNodeResponse(),
2659
+ self.call_api(params, req, runtime)
2660
+ )
2661
+
2662
+ async def create_tair_kvcache_vnode_with_options_async(
2663
+ self,
2664
+ request: r_kvstore_20150101_models.CreateTairKVCacheVNodeRequest,
2665
+ runtime: util_models.RuntimeOptions,
2666
+ ) -> r_kvstore_20150101_models.CreateTairKVCacheVNodeResponse:
2667
+ """
2668
+ @summary 创建Tair VNode实例
2669
+
2670
+ @param request: CreateTairKVCacheVNodeRequest
2671
+ @param runtime: runtime options for this request RuntimeOptions
2672
+ @return: CreateTairKVCacheVNodeResponse
2673
+ """
2674
+ UtilClient.validate_model(request)
2675
+ query = {}
2676
+ if not UtilClient.is_unset(request.auto_pay):
2677
+ query['AutoPay'] = request.auto_pay
2678
+ if not UtilClient.is_unset(request.auto_renew):
2679
+ query['AutoRenew'] = request.auto_renew
2680
+ if not UtilClient.is_unset(request.auto_renew_period):
2681
+ query['AutoRenewPeriod'] = request.auto_renew_period
2682
+ if not UtilClient.is_unset(request.auto_use_coupon):
2683
+ query['AutoUseCoupon'] = request.auto_use_coupon
2684
+ if not UtilClient.is_unset(request.business_info):
2685
+ query['BusinessInfo'] = request.business_info
2686
+ if not UtilClient.is_unset(request.charge_type):
2687
+ query['ChargeType'] = request.charge_type
2688
+ if not UtilClient.is_unset(request.client_token):
2689
+ query['ClientToken'] = request.client_token
2690
+ if not UtilClient.is_unset(request.compute_unit_num):
2691
+ query['ComputeUnitNum'] = request.compute_unit_num
2692
+ if not UtilClient.is_unset(request.coupon_no):
2693
+ query['CouponNo'] = request.coupon_no
2694
+ if not UtilClient.is_unset(request.dry_run):
2695
+ query['DryRun'] = request.dry_run
2696
+ if not UtilClient.is_unset(request.instance_class):
2697
+ query['InstanceClass'] = request.instance_class
2698
+ if not UtilClient.is_unset(request.instance_name):
2699
+ query['InstanceName'] = request.instance_name
2700
+ if not UtilClient.is_unset(request.owner_account):
2701
+ query['OwnerAccount'] = request.owner_account
2702
+ if not UtilClient.is_unset(request.owner_id):
2703
+ query['OwnerId'] = request.owner_id
2704
+ if not UtilClient.is_unset(request.period):
2705
+ query['Period'] = request.period
2706
+ if not UtilClient.is_unset(request.region_id):
2707
+ query['RegionId'] = request.region_id
2708
+ if not UtilClient.is_unset(request.resource_group_id):
2709
+ query['ResourceGroupId'] = request.resource_group_id
2710
+ if not UtilClient.is_unset(request.resource_owner_account):
2711
+ query['ResourceOwnerAccount'] = request.resource_owner_account
2712
+ if not UtilClient.is_unset(request.resource_owner_id):
2713
+ query['ResourceOwnerId'] = request.resource_owner_id
2714
+ if not UtilClient.is_unset(request.security_token):
2715
+ query['SecurityToken'] = request.security_token
2716
+ if not UtilClient.is_unset(request.tag):
2717
+ query['Tag'] = request.tag
2718
+ if not UtilClient.is_unset(request.v_switch_id):
2719
+ query['VSwitchId'] = request.v_switch_id
2720
+ if not UtilClient.is_unset(request.vk_name):
2721
+ query['VkName'] = request.vk_name
2722
+ if not UtilClient.is_unset(request.zone_id):
2723
+ query['ZoneId'] = request.zone_id
2724
+ req = open_api_models.OpenApiRequest(
2725
+ query=OpenApiUtilClient.query(query)
2726
+ )
2727
+ params = open_api_models.Params(
2728
+ action='CreateTairKVCacheVNode',
2729
+ version='2015-01-01',
2730
+ protocol='HTTPS',
2731
+ pathname='/',
2732
+ method='POST',
2733
+ auth_type='AK',
2734
+ style='RPC',
2735
+ req_body_type='formData',
2736
+ body_type='json'
2737
+ )
2738
+ return TeaCore.from_map(
2739
+ r_kvstore_20150101_models.CreateTairKVCacheVNodeResponse(),
2740
+ await self.call_api_async(params, req, runtime)
2741
+ )
2742
+
2743
+ def create_tair_kvcache_vnode(
2744
+ self,
2745
+ request: r_kvstore_20150101_models.CreateTairKVCacheVNodeRequest,
2746
+ ) -> r_kvstore_20150101_models.CreateTairKVCacheVNodeResponse:
2747
+ """
2748
+ @summary 创建Tair VNode实例
2749
+
2750
+ @param request: CreateTairKVCacheVNodeRequest
2751
+ @return: CreateTairKVCacheVNodeResponse
2752
+ """
2753
+ runtime = util_models.RuntimeOptions()
2754
+ return self.create_tair_kvcache_vnode_with_options(request, runtime)
2755
+
2756
+ async def create_tair_kvcache_vnode_async(
2757
+ self,
2758
+ request: r_kvstore_20150101_models.CreateTairKVCacheVNodeRequest,
2759
+ ) -> r_kvstore_20150101_models.CreateTairKVCacheVNodeResponse:
2760
+ """
2761
+ @summary 创建Tair VNode实例
2762
+
2763
+ @param request: CreateTairKVCacheVNodeRequest
2764
+ @return: CreateTairKVCacheVNodeResponse
2765
+ """
2766
+ runtime = util_models.RuntimeOptions()
2767
+ return await self.create_tair_kvcache_vnode_with_options_async(request, runtime)
2768
+
2583
2769
  def delete_account_with_options(
2584
2770
  self,
2585
2771
  request: r_kvstore_20150101_models.DeleteAccountRequest,
@@ -7264,6 +7450,8 @@ class Client(OpenApiClient):
7264
7450
  query['InstanceType'] = request.instance_type
7265
7451
  if not UtilClient.is_unset(request.network_type):
7266
7452
  query['NetworkType'] = request.network_type
7453
+ if not UtilClient.is_unset(request.node_type):
7454
+ query['NodeType'] = request.node_type
7267
7455
  if not UtilClient.is_unset(request.owner_account):
7268
7456
  query['OwnerAccount'] = request.owner_account
7269
7457
  if not UtilClient.is_unset(request.owner_id):
@@ -7349,6 +7537,8 @@ class Client(OpenApiClient):
7349
7537
  query['InstanceType'] = request.instance_type
7350
7538
  if not UtilClient.is_unset(request.network_type):
7351
7539
  query['NetworkType'] = request.network_type
7540
+ if not UtilClient.is_unset(request.node_type):
7541
+ query['NodeType'] = request.node_type
7352
7542
  if not UtilClient.is_unset(request.owner_account):
7353
7543
  query['OwnerAccount'] = request.owner_account
7354
7544
  if not UtilClient.is_unset(request.owner_id):
@@ -8904,6 +9094,8 @@ class Client(OpenApiClient):
8904
9094
  query['ResourceOwnerAccount'] = request.resource_owner_account
8905
9095
  if not UtilClient.is_unset(request.resource_owner_id):
8906
9096
  query['ResourceOwnerId'] = request.resource_owner_id
9097
+ if not UtilClient.is_unset(request.secondary_zone_id):
9098
+ query['SecondaryZoneId'] = request.secondary_zone_id
8907
9099
  if not UtilClient.is_unset(request.security_token):
8908
9100
  query['SecurityToken'] = request.security_token
8909
9101
  if not UtilClient.is_unset(request.shard_count):
@@ -8981,6 +9173,8 @@ class Client(OpenApiClient):
8981
9173
  query['ResourceOwnerAccount'] = request.resource_owner_account
8982
9174
  if not UtilClient.is_unset(request.resource_owner_id):
8983
9175
  query['ResourceOwnerId'] = request.resource_owner_id
9176
+ if not UtilClient.is_unset(request.secondary_zone_id):
9177
+ query['SecondaryZoneId'] = request.secondary_zone_id
8984
9178
  if not UtilClient.is_unset(request.security_token):
8985
9179
  query['SecurityToken'] = request.security_token
8986
9180
  if not UtilClient.is_unset(request.shard_count):
@@ -18740,6 +18934,154 @@ class Client(OpenApiClient):
18740
18934
  runtime = util_models.RuntimeOptions()
18741
18935
  return await self.transform_instance_charge_type_with_options_async(request, runtime)
18742
18936
 
18937
+ def transform_to_ecs_with_options(
18938
+ self,
18939
+ request: r_kvstore_20150101_models.TransformToEcsRequest,
18940
+ runtime: util_models.RuntimeOptions,
18941
+ ) -> r_kvstore_20150101_models.TransformToEcsResponse:
18942
+ """
18943
+ @summary 转换本地盘到云原生
18944
+
18945
+ @param request: TransformToEcsRequest
18946
+ @param runtime: runtime options for this request RuntimeOptions
18947
+ @return: TransformToEcsResponse
18948
+ """
18949
+ UtilClient.validate_model(request)
18950
+ query = {}
18951
+ if not UtilClient.is_unset(request.auto_renew):
18952
+ query['AutoRenew'] = request.auto_renew
18953
+ if not UtilClient.is_unset(request.auto_renew_period):
18954
+ query['AutoRenewPeriod'] = request.auto_renew_period
18955
+ if not UtilClient.is_unset(request.charge_type):
18956
+ query['ChargeType'] = request.charge_type
18957
+ if not UtilClient.is_unset(request.dry_run):
18958
+ query['DryRun'] = request.dry_run
18959
+ if not UtilClient.is_unset(request.effective_time):
18960
+ query['EffectiveTime'] = request.effective_time
18961
+ if not UtilClient.is_unset(request.engine_version):
18962
+ query['EngineVersion'] = request.engine_version
18963
+ if not UtilClient.is_unset(request.instance_class):
18964
+ query['InstanceClass'] = request.instance_class
18965
+ if not UtilClient.is_unset(request.instance_id):
18966
+ query['InstanceId'] = request.instance_id
18967
+ if not UtilClient.is_unset(request.owner_account):
18968
+ query['OwnerAccount'] = request.owner_account
18969
+ if not UtilClient.is_unset(request.owner_id):
18970
+ query['OwnerId'] = request.owner_id
18971
+ if not UtilClient.is_unset(request.period):
18972
+ query['Period'] = request.period
18973
+ if not UtilClient.is_unset(request.resource_owner_account):
18974
+ query['ResourceOwnerAccount'] = request.resource_owner_account
18975
+ if not UtilClient.is_unset(request.resource_owner_id):
18976
+ query['ResourceOwnerId'] = request.resource_owner_id
18977
+ if not UtilClient.is_unset(request.shard_count):
18978
+ query['ShardCount'] = request.shard_count
18979
+ req = open_api_models.OpenApiRequest(
18980
+ query=OpenApiUtilClient.query(query)
18981
+ )
18982
+ params = open_api_models.Params(
18983
+ action='TransformToEcs',
18984
+ version='2015-01-01',
18985
+ protocol='HTTPS',
18986
+ pathname='/',
18987
+ method='POST',
18988
+ auth_type='AK',
18989
+ style='RPC',
18990
+ req_body_type='formData',
18991
+ body_type='json'
18992
+ )
18993
+ return TeaCore.from_map(
18994
+ r_kvstore_20150101_models.TransformToEcsResponse(),
18995
+ self.call_api(params, req, runtime)
18996
+ )
18997
+
18998
+ async def transform_to_ecs_with_options_async(
18999
+ self,
19000
+ request: r_kvstore_20150101_models.TransformToEcsRequest,
19001
+ runtime: util_models.RuntimeOptions,
19002
+ ) -> r_kvstore_20150101_models.TransformToEcsResponse:
19003
+ """
19004
+ @summary 转换本地盘到云原生
19005
+
19006
+ @param request: TransformToEcsRequest
19007
+ @param runtime: runtime options for this request RuntimeOptions
19008
+ @return: TransformToEcsResponse
19009
+ """
19010
+ UtilClient.validate_model(request)
19011
+ query = {}
19012
+ if not UtilClient.is_unset(request.auto_renew):
19013
+ query['AutoRenew'] = request.auto_renew
19014
+ if not UtilClient.is_unset(request.auto_renew_period):
19015
+ query['AutoRenewPeriod'] = request.auto_renew_period
19016
+ if not UtilClient.is_unset(request.charge_type):
19017
+ query['ChargeType'] = request.charge_type
19018
+ if not UtilClient.is_unset(request.dry_run):
19019
+ query['DryRun'] = request.dry_run
19020
+ if not UtilClient.is_unset(request.effective_time):
19021
+ query['EffectiveTime'] = request.effective_time
19022
+ if not UtilClient.is_unset(request.engine_version):
19023
+ query['EngineVersion'] = request.engine_version
19024
+ if not UtilClient.is_unset(request.instance_class):
19025
+ query['InstanceClass'] = request.instance_class
19026
+ if not UtilClient.is_unset(request.instance_id):
19027
+ query['InstanceId'] = request.instance_id
19028
+ if not UtilClient.is_unset(request.owner_account):
19029
+ query['OwnerAccount'] = request.owner_account
19030
+ if not UtilClient.is_unset(request.owner_id):
19031
+ query['OwnerId'] = request.owner_id
19032
+ if not UtilClient.is_unset(request.period):
19033
+ query['Period'] = request.period
19034
+ if not UtilClient.is_unset(request.resource_owner_account):
19035
+ query['ResourceOwnerAccount'] = request.resource_owner_account
19036
+ if not UtilClient.is_unset(request.resource_owner_id):
19037
+ query['ResourceOwnerId'] = request.resource_owner_id
19038
+ if not UtilClient.is_unset(request.shard_count):
19039
+ query['ShardCount'] = request.shard_count
19040
+ req = open_api_models.OpenApiRequest(
19041
+ query=OpenApiUtilClient.query(query)
19042
+ )
19043
+ params = open_api_models.Params(
19044
+ action='TransformToEcs',
19045
+ version='2015-01-01',
19046
+ protocol='HTTPS',
19047
+ pathname='/',
19048
+ method='POST',
19049
+ auth_type='AK',
19050
+ style='RPC',
19051
+ req_body_type='formData',
19052
+ body_type='json'
19053
+ )
19054
+ return TeaCore.from_map(
19055
+ r_kvstore_20150101_models.TransformToEcsResponse(),
19056
+ await self.call_api_async(params, req, runtime)
19057
+ )
19058
+
19059
+ def transform_to_ecs(
19060
+ self,
19061
+ request: r_kvstore_20150101_models.TransformToEcsRequest,
19062
+ ) -> r_kvstore_20150101_models.TransformToEcsResponse:
19063
+ """
19064
+ @summary 转换本地盘到云原生
19065
+
19066
+ @param request: TransformToEcsRequest
19067
+ @return: TransformToEcsResponse
19068
+ """
19069
+ runtime = util_models.RuntimeOptions()
19070
+ return self.transform_to_ecs_with_options(request, runtime)
19071
+
19072
+ async def transform_to_ecs_async(
19073
+ self,
19074
+ request: r_kvstore_20150101_models.TransformToEcsRequest,
19075
+ ) -> r_kvstore_20150101_models.TransformToEcsResponse:
19076
+ """
19077
+ @summary 转换本地盘到云原生
19078
+
19079
+ @param request: TransformToEcsRequest
19080
+ @return: TransformToEcsResponse
19081
+ """
19082
+ runtime = util_models.RuntimeOptions()
19083
+ return await self.transform_to_ecs_with_options_async(request, runtime)
19084
+
18743
19085
  def transform_to_pre_paid_with_options(
18744
19086
  self,
18745
19087
  request: r_kvstore_20150101_models.TransformToPrePaidRequest,
@@ -1769,7 +1769,7 @@ class CreateInstanceRequest(TeaModel):
1769
1769
  #
1770
1770
  # > You must specify at least one of the **Capacity** and **InstanceClass** parameters when you call this operation.
1771
1771
  self.capacity = capacity
1772
- # The billing method. Valid values:
1772
+ # The billing method of the instance. Valid values:
1773
1773
  #
1774
1774
  # * **PrePaid**: subscription
1775
1775
  # * **PostPaid** (default): pay-as-you-go
@@ -1785,9 +1785,9 @@ class CreateInstanceRequest(TeaModel):
1785
1785
  self.coupon_no = coupon_no
1786
1786
  # The ID of the dedicated cluster. This parameter is required if you create an instance in a dedicated cluster.
1787
1787
  self.dedicated_host_group_id = dedicated_host_group_id
1788
- # Specifies whether to perform a dry run. Valid values:
1788
+ # Specifies whether to perform only a dry run, without performing the actual request. Valid values:
1789
1789
  #
1790
- # * **true**: performs a dry run and does not create the instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails the dry run, an error code is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
1790
+ # * **true**: performs a dry run and does not create the instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails to pass the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
1791
1791
  # * **false**: performs a dry run and sends the request. If the request passes the dry run, the instance is created.
1792
1792
  self.dry_run = dry_run
1793
1793
  # The engine version. Valid values for **classic instances**:
@@ -1809,8 +1809,11 @@ class CreateInstanceRequest(TeaModel):
1809
1809
  # * **true**: uses the new instance as the first child instance.
1810
1810
  # * **false** (default): does not use the new instance as the first child instance.
1811
1811
  #
1812
- # > * If you want to create a Tair DRAM-based instance that runs Redis 5.0, you must set this parameter to **true**.
1813
- # > * This parameter is available only on the China site (aliyun.com).
1812
+ # >
1813
+ #
1814
+ # * If you want to create a Tair DRAM-based instance that runs Redis 5.0, you must set this parameter to **true**.
1815
+ #
1816
+ # * This parameter is available only on the China site (aliyun.com).
1814
1817
  self.global_instance = global_instance
1815
1818
  # The ID of the distributed instance. This parameter is available only on the China site (aliyun.com).
1816
1819
  self.global_instance_id = global_instance_id
@@ -1829,7 +1832,7 @@ class CreateInstanceRequest(TeaModel):
1829
1832
  # * **Redis** (default)
1830
1833
  # * **Memcache**\
1831
1834
  self.instance_type = instance_type
1832
- # The network type. Valid values:
1835
+ # The network type. Valid value:
1833
1836
  #
1834
1837
  # * **VPC** (default)
1835
1838
  self.network_type = network_type
@@ -1887,7 +1890,7 @@ class CreateInstanceRequest(TeaModel):
1887
1890
  self.secondary_zone_id = secondary_zone_id
1888
1891
  # 系统自动生成的安全 Token,无需传入
1889
1892
  self.security_token = security_token
1890
- # The number of shards. This parameter is applicable only to cloud-native cluster instances. You can use this parameter to customize the number of shards.
1893
+ # The number of shards. This parameter applies only to cloud-native cluster instances.
1891
1894
  self.shard_count = shard_count
1892
1895
  # 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. The sum of the values of this parameter and ReadOnlyCount cannot be greater than 9.
1893
1896
  #
@@ -3833,6 +3836,328 @@ class CreateTairInstanceResponse(TeaModel):
3833
3836
  return self
3834
3837
 
3835
3838
 
3839
+ class CreateTairKVCacheVNodeRequestTag(TeaModel):
3840
+ def __init__(
3841
+ self,
3842
+ key: str = None,
3843
+ value: str = None,
3844
+ ):
3845
+ self.key = key
3846
+ self.value = value
3847
+
3848
+ def validate(self):
3849
+ pass
3850
+
3851
+ def to_map(self):
3852
+ _map = super().to_map()
3853
+ if _map is not None:
3854
+ return _map
3855
+
3856
+ result = dict()
3857
+ if self.key is not None:
3858
+ result['Key'] = self.key
3859
+ if self.value is not None:
3860
+ result['Value'] = self.value
3861
+ return result
3862
+
3863
+ def from_map(self, m: dict = None):
3864
+ m = m or dict()
3865
+ if m.get('Key') is not None:
3866
+ self.key = m.get('Key')
3867
+ if m.get('Value') is not None:
3868
+ self.value = m.get('Value')
3869
+ return self
3870
+
3871
+
3872
+ class CreateTairKVCacheVNodeRequest(TeaModel):
3873
+ def __init__(
3874
+ self,
3875
+ auto_pay: bool = None,
3876
+ auto_renew: bool = None,
3877
+ auto_renew_period: str = None,
3878
+ auto_use_coupon: bool = None,
3879
+ business_info: str = None,
3880
+ charge_type: str = None,
3881
+ client_token: str = None,
3882
+ compute_unit_num: int = None,
3883
+ coupon_no: str = None,
3884
+ dry_run: bool = None,
3885
+ instance_class: str = None,
3886
+ instance_name: str = None,
3887
+ owner_account: str = None,
3888
+ owner_id: int = None,
3889
+ period: int = None,
3890
+ region_id: str = None,
3891
+ resource_group_id: str = None,
3892
+ resource_owner_account: str = None,
3893
+ resource_owner_id: int = None,
3894
+ security_token: str = None,
3895
+ tag: List[CreateTairKVCacheVNodeRequestTag] = None,
3896
+ v_switch_id: str = None,
3897
+ vk_name: str = None,
3898
+ zone_id: str = None,
3899
+ ):
3900
+ self.auto_pay = auto_pay
3901
+ self.auto_renew = auto_renew
3902
+ self.auto_renew_period = auto_renew_period
3903
+ self.auto_use_coupon = auto_use_coupon
3904
+ self.business_info = business_info
3905
+ self.charge_type = charge_type
3906
+ self.client_token = client_token
3907
+ # This parameter is required.
3908
+ self.compute_unit_num = compute_unit_num
3909
+ self.coupon_no = coupon_no
3910
+ self.dry_run = dry_run
3911
+ # This parameter is required.
3912
+ self.instance_class = instance_class
3913
+ self.instance_name = instance_name
3914
+ self.owner_account = owner_account
3915
+ self.owner_id = owner_id
3916
+ self.period = period
3917
+ # This parameter is required.
3918
+ self.region_id = region_id
3919
+ self.resource_group_id = resource_group_id
3920
+ self.resource_owner_account = resource_owner_account
3921
+ self.resource_owner_id = resource_owner_id
3922
+ self.security_token = security_token
3923
+ self.tag = tag
3924
+ # This parameter is required.
3925
+ self.v_switch_id = v_switch_id
3926
+ # This parameter is required.
3927
+ self.vk_name = vk_name
3928
+ # This parameter is required.
3929
+ self.zone_id = zone_id
3930
+
3931
+ def validate(self):
3932
+ if self.tag:
3933
+ for k in self.tag:
3934
+ if k:
3935
+ k.validate()
3936
+
3937
+ def to_map(self):
3938
+ _map = super().to_map()
3939
+ if _map is not None:
3940
+ return _map
3941
+
3942
+ result = dict()
3943
+ if self.auto_pay is not None:
3944
+ result['AutoPay'] = self.auto_pay
3945
+ if self.auto_renew is not None:
3946
+ result['AutoRenew'] = self.auto_renew
3947
+ if self.auto_renew_period is not None:
3948
+ result['AutoRenewPeriod'] = self.auto_renew_period
3949
+ if self.auto_use_coupon is not None:
3950
+ result['AutoUseCoupon'] = self.auto_use_coupon
3951
+ if self.business_info is not None:
3952
+ result['BusinessInfo'] = self.business_info
3953
+ if self.charge_type is not None:
3954
+ result['ChargeType'] = self.charge_type
3955
+ if self.client_token is not None:
3956
+ result['ClientToken'] = self.client_token
3957
+ if self.compute_unit_num is not None:
3958
+ result['ComputeUnitNum'] = self.compute_unit_num
3959
+ if self.coupon_no is not None:
3960
+ result['CouponNo'] = self.coupon_no
3961
+ if self.dry_run is not None:
3962
+ result['DryRun'] = self.dry_run
3963
+ if self.instance_class is not None:
3964
+ result['InstanceClass'] = self.instance_class
3965
+ if self.instance_name is not None:
3966
+ result['InstanceName'] = self.instance_name
3967
+ if self.owner_account is not None:
3968
+ result['OwnerAccount'] = self.owner_account
3969
+ if self.owner_id is not None:
3970
+ result['OwnerId'] = self.owner_id
3971
+ if self.period is not None:
3972
+ result['Period'] = self.period
3973
+ if self.region_id is not None:
3974
+ result['RegionId'] = self.region_id
3975
+ if self.resource_group_id is not None:
3976
+ result['ResourceGroupId'] = self.resource_group_id
3977
+ if self.resource_owner_account is not None:
3978
+ result['ResourceOwnerAccount'] = self.resource_owner_account
3979
+ if self.resource_owner_id is not None:
3980
+ result['ResourceOwnerId'] = self.resource_owner_id
3981
+ if self.security_token is not None:
3982
+ result['SecurityToken'] = self.security_token
3983
+ result['Tag'] = []
3984
+ if self.tag is not None:
3985
+ for k in self.tag:
3986
+ result['Tag'].append(k.to_map() if k else None)
3987
+ if self.v_switch_id is not None:
3988
+ result['VSwitchId'] = self.v_switch_id
3989
+ if self.vk_name is not None:
3990
+ result['VkName'] = self.vk_name
3991
+ if self.zone_id is not None:
3992
+ result['ZoneId'] = self.zone_id
3993
+ return result
3994
+
3995
+ def from_map(self, m: dict = None):
3996
+ m = m or dict()
3997
+ if m.get('AutoPay') is not None:
3998
+ self.auto_pay = m.get('AutoPay')
3999
+ if m.get('AutoRenew') is not None:
4000
+ self.auto_renew = m.get('AutoRenew')
4001
+ if m.get('AutoRenewPeriod') is not None:
4002
+ self.auto_renew_period = m.get('AutoRenewPeriod')
4003
+ if m.get('AutoUseCoupon') is not None:
4004
+ self.auto_use_coupon = m.get('AutoUseCoupon')
4005
+ if m.get('BusinessInfo') is not None:
4006
+ self.business_info = m.get('BusinessInfo')
4007
+ if m.get('ChargeType') is not None:
4008
+ self.charge_type = m.get('ChargeType')
4009
+ if m.get('ClientToken') is not None:
4010
+ self.client_token = m.get('ClientToken')
4011
+ if m.get('ComputeUnitNum') is not None:
4012
+ self.compute_unit_num = m.get('ComputeUnitNum')
4013
+ if m.get('CouponNo') is not None:
4014
+ self.coupon_no = m.get('CouponNo')
4015
+ if m.get('DryRun') is not None:
4016
+ self.dry_run = m.get('DryRun')
4017
+ if m.get('InstanceClass') is not None:
4018
+ self.instance_class = m.get('InstanceClass')
4019
+ if m.get('InstanceName') is not None:
4020
+ self.instance_name = m.get('InstanceName')
4021
+ if m.get('OwnerAccount') is not None:
4022
+ self.owner_account = m.get('OwnerAccount')
4023
+ if m.get('OwnerId') is not None:
4024
+ self.owner_id = m.get('OwnerId')
4025
+ if m.get('Period') is not None:
4026
+ self.period = m.get('Period')
4027
+ if m.get('RegionId') is not None:
4028
+ self.region_id = m.get('RegionId')
4029
+ if m.get('ResourceGroupId') is not None:
4030
+ self.resource_group_id = m.get('ResourceGroupId')
4031
+ if m.get('ResourceOwnerAccount') is not None:
4032
+ self.resource_owner_account = m.get('ResourceOwnerAccount')
4033
+ if m.get('ResourceOwnerId') is not None:
4034
+ self.resource_owner_id = m.get('ResourceOwnerId')
4035
+ if m.get('SecurityToken') is not None:
4036
+ self.security_token = m.get('SecurityToken')
4037
+ self.tag = []
4038
+ if m.get('Tag') is not None:
4039
+ for k in m.get('Tag'):
4040
+ temp_model = CreateTairKVCacheVNodeRequestTag()
4041
+ self.tag.append(temp_model.from_map(k))
4042
+ if m.get('VSwitchId') is not None:
4043
+ self.v_switch_id = m.get('VSwitchId')
4044
+ if m.get('VkName') is not None:
4045
+ self.vk_name = m.get('VkName')
4046
+ if m.get('ZoneId') is not None:
4047
+ self.zone_id = m.get('ZoneId')
4048
+ return self
4049
+
4050
+
4051
+ class CreateTairKVCacheVNodeResponseBody(TeaModel):
4052
+ def __init__(
4053
+ self,
4054
+ instance_id: str = None,
4055
+ node_id: str = None,
4056
+ order_id: int = None,
4057
+ region_id: str = None,
4058
+ request_id: str = None,
4059
+ vcluster_id: str = None,
4060
+ vk_name: str = None,
4061
+ zone_id: str = None,
4062
+ ):
4063
+ self.instance_id = instance_id
4064
+ self.node_id = node_id
4065
+ self.order_id = order_id
4066
+ self.region_id = region_id
4067
+ self.request_id = request_id
4068
+ self.vcluster_id = vcluster_id
4069
+ self.vk_name = vk_name
4070
+ self.zone_id = zone_id
4071
+
4072
+ def validate(self):
4073
+ pass
4074
+
4075
+ def to_map(self):
4076
+ _map = super().to_map()
4077
+ if _map is not None:
4078
+ return _map
4079
+
4080
+ result = dict()
4081
+ if self.instance_id is not None:
4082
+ result['InstanceId'] = self.instance_id
4083
+ if self.node_id is not None:
4084
+ result['NodeId'] = self.node_id
4085
+ if self.order_id is not None:
4086
+ result['OrderId'] = self.order_id
4087
+ if self.region_id is not None:
4088
+ result['RegionId'] = self.region_id
4089
+ if self.request_id is not None:
4090
+ result['RequestId'] = self.request_id
4091
+ if self.vcluster_id is not None:
4092
+ result['VClusterId'] = self.vcluster_id
4093
+ if self.vk_name is not None:
4094
+ result['VkName'] = self.vk_name
4095
+ if self.zone_id is not None:
4096
+ result['ZoneId'] = self.zone_id
4097
+ return result
4098
+
4099
+ def from_map(self, m: dict = None):
4100
+ m = m or dict()
4101
+ if m.get('InstanceId') is not None:
4102
+ self.instance_id = m.get('InstanceId')
4103
+ if m.get('NodeId') is not None:
4104
+ self.node_id = m.get('NodeId')
4105
+ if m.get('OrderId') is not None:
4106
+ self.order_id = m.get('OrderId')
4107
+ if m.get('RegionId') is not None:
4108
+ self.region_id = m.get('RegionId')
4109
+ if m.get('RequestId') is not None:
4110
+ self.request_id = m.get('RequestId')
4111
+ if m.get('VClusterId') is not None:
4112
+ self.vcluster_id = m.get('VClusterId')
4113
+ if m.get('VkName') is not None:
4114
+ self.vk_name = m.get('VkName')
4115
+ if m.get('ZoneId') is not None:
4116
+ self.zone_id = m.get('ZoneId')
4117
+ return self
4118
+
4119
+
4120
+ class CreateTairKVCacheVNodeResponse(TeaModel):
4121
+ def __init__(
4122
+ self,
4123
+ headers: Dict[str, str] = None,
4124
+ status_code: int = None,
4125
+ body: CreateTairKVCacheVNodeResponseBody = None,
4126
+ ):
4127
+ self.headers = headers
4128
+ self.status_code = status_code
4129
+ self.body = body
4130
+
4131
+ def validate(self):
4132
+ if self.body:
4133
+ self.body.validate()
4134
+
4135
+ def to_map(self):
4136
+ _map = super().to_map()
4137
+ if _map is not None:
4138
+ return _map
4139
+
4140
+ result = dict()
4141
+ if self.headers is not None:
4142
+ result['headers'] = self.headers
4143
+ if self.status_code is not None:
4144
+ result['statusCode'] = self.status_code
4145
+ if self.body is not None:
4146
+ result['body'] = self.body.to_map()
4147
+ return result
4148
+
4149
+ def from_map(self, m: dict = None):
4150
+ m = m or dict()
4151
+ if m.get('headers') is not None:
4152
+ self.headers = m.get('headers')
4153
+ if m.get('statusCode') is not None:
4154
+ self.status_code = m.get('statusCode')
4155
+ if m.get('body') is not None:
4156
+ temp_model = CreateTairKVCacheVNodeResponseBody()
4157
+ self.body = temp_model.from_map(m['body'])
4158
+ return self
4159
+
4160
+
3836
4161
  class DeleteAccountRequest(TeaModel):
3837
4162
  def __init__(
3838
4163
  self,
@@ -14862,6 +15187,7 @@ class DescribeInstancesRequest(TeaModel):
14862
15187
  instance_status: str = None,
14863
15188
  instance_type: str = None,
14864
15189
  network_type: str = None,
15190
+ node_type: str = None,
14865
15191
  owner_account: str = None,
14866
15192
  owner_id: int = None,
14867
15193
  page_number: int = None,
@@ -14952,6 +15278,7 @@ class DescribeInstancesRequest(TeaModel):
14952
15278
  # * **CLASSIC**\
14953
15279
  # * **VPC**\
14954
15280
  self.network_type = network_type
15281
+ self.node_type = node_type
14955
15282
  self.owner_account = owner_account
14956
15283
  self.owner_id = owner_id
14957
15284
  # The page number. Pages start from page **1**. Default value: **1**.
@@ -15016,6 +15343,8 @@ class DescribeInstancesRequest(TeaModel):
15016
15343
  result['InstanceType'] = self.instance_type
15017
15344
  if self.network_type is not None:
15018
15345
  result['NetworkType'] = self.network_type
15346
+ if self.node_type is not None:
15347
+ result['NodeType'] = self.node_type
15019
15348
  if self.owner_account is not None:
15020
15349
  result['OwnerAccount'] = self.owner_account
15021
15350
  if self.owner_id is not None:
@@ -15074,6 +15403,8 @@ class DescribeInstancesRequest(TeaModel):
15074
15403
  self.instance_type = m.get('InstanceType')
15075
15404
  if m.get('NetworkType') is not None:
15076
15405
  self.network_type = m.get('NetworkType')
15406
+ if m.get('NodeType') is not None:
15407
+ self.node_type = m.get('NodeType')
15077
15408
  if m.get('OwnerAccount') is not None:
15078
15409
  self.owner_account = m.get('OwnerAccount')
15079
15410
  if m.get('OwnerId') is not None:
@@ -18943,6 +19274,7 @@ class DescribePriceRequest(TeaModel):
18943
19274
  region_id: str = None,
18944
19275
  resource_owner_account: str = None,
18945
19276
  resource_owner_id: int = None,
19277
+ secondary_zone_id: str = None,
18946
19278
  security_token: str = None,
18947
19279
  shard_count: int = None,
18948
19280
  zone_id: str = None,
@@ -19019,6 +19351,7 @@ class DescribePriceRequest(TeaModel):
19019
19351
  self.region_id = region_id
19020
19352
  self.resource_owner_account = resource_owner_account
19021
19353
  self.resource_owner_id = resource_owner_id
19354
+ self.secondary_zone_id = secondary_zone_id
19022
19355
  self.security_token = security_token
19023
19356
  # The number of data shards in the cloud-native cluster instance.
19024
19357
  self.shard_count = shard_count
@@ -19072,6 +19405,8 @@ class DescribePriceRequest(TeaModel):
19072
19405
  result['ResourceOwnerAccount'] = self.resource_owner_account
19073
19406
  if self.resource_owner_id is not None:
19074
19407
  result['ResourceOwnerId'] = self.resource_owner_id
19408
+ if self.secondary_zone_id is not None:
19409
+ result['SecondaryZoneId'] = self.secondary_zone_id
19075
19410
  if self.security_token is not None:
19076
19411
  result['SecurityToken'] = self.security_token
19077
19412
  if self.shard_count is not None:
@@ -19120,6 +19455,8 @@ class DescribePriceRequest(TeaModel):
19120
19455
  self.resource_owner_account = m.get('ResourceOwnerAccount')
19121
19456
  if m.get('ResourceOwnerId') is not None:
19122
19457
  self.resource_owner_id = m.get('ResourceOwnerId')
19458
+ if m.get('SecondaryZoneId') is not None:
19459
+ self.secondary_zone_id = m.get('SecondaryZoneId')
19123
19460
  if m.get('SecurityToken') is not None:
19124
19461
  self.security_token = m.get('SecurityToken')
19125
19462
  if m.get('ShardCount') is not None:
@@ -24310,6 +24647,7 @@ class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO
24310
24647
  class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO(TeaModel):
24311
24648
  def __init__(
24312
24649
  self,
24650
+ ack_id: str = None,
24313
24651
  capacity: int = None,
24314
24652
  charge_type: str = None,
24315
24653
  compute_unit_num: int = None,
@@ -24328,11 +24666,13 @@ class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO
24328
24666
  region_id: str = None,
24329
24667
  resource_group_id: str = None,
24330
24668
  tags: DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTOTags = None,
24669
+ vnode_count: int = None,
24331
24670
  vnode_name: str = None,
24332
24671
  v_switch_id: str = None,
24333
24672
  vpc_id: str = None,
24334
24673
  zone_id: str = None,
24335
24674
  ):
24675
+ self.ack_id = ack_id
24336
24676
  self.capacity = capacity
24337
24677
  self.charge_type = charge_type
24338
24678
  self.compute_unit_num = compute_unit_num
@@ -24351,6 +24691,7 @@ class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO
24351
24691
  self.region_id = region_id
24352
24692
  self.resource_group_id = resource_group_id
24353
24693
  self.tags = tags
24694
+ self.vnode_count = vnode_count
24354
24695
  self.vnode_name = vnode_name
24355
24696
  self.v_switch_id = v_switch_id
24356
24697
  self.vpc_id = vpc_id
@@ -24366,6 +24707,8 @@ class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO
24366
24707
  return _map
24367
24708
 
24368
24709
  result = dict()
24710
+ if self.ack_id is not None:
24711
+ result['AckId'] = self.ack_id
24369
24712
  if self.capacity is not None:
24370
24713
  result['Capacity'] = self.capacity
24371
24714
  if self.charge_type is not None:
@@ -24402,6 +24745,8 @@ class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO
24402
24745
  result['ResourceGroupId'] = self.resource_group_id
24403
24746
  if self.tags is not None:
24404
24747
  result['Tags'] = self.tags.to_map()
24748
+ if self.vnode_count is not None:
24749
+ result['VNodeCount'] = self.vnode_count
24405
24750
  if self.vnode_name is not None:
24406
24751
  result['VNodeName'] = self.vnode_name
24407
24752
  if self.v_switch_id is not None:
@@ -24414,6 +24759,8 @@ class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO
24414
24759
 
24415
24760
  def from_map(self, m: dict = None):
24416
24761
  m = m or dict()
24762
+ if m.get('AckId') is not None:
24763
+ self.ack_id = m.get('AckId')
24417
24764
  if m.get('Capacity') is not None:
24418
24765
  self.capacity = m.get('Capacity')
24419
24766
  if m.get('ChargeType') is not None:
@@ -24451,6 +24798,8 @@ class DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTO
24451
24798
  if m.get('Tags') is not None:
24452
24799
  temp_model = DescribeTairKVCacheInferInstancesResponseBodyInstancesTairInferInstanceDTOTags()
24453
24800
  self.tags = temp_model.from_map(m['Tags'])
24801
+ if m.get('VNodeCount') is not None:
24802
+ self.vnode_count = m.get('VNodeCount')
24454
24803
  if m.get('VNodeName') is not None:
24455
24804
  self.vnode_name = m.get('VNodeName')
24456
24805
  if m.get('VSwitchId') is not None:
@@ -35058,6 +35407,189 @@ class TransformInstanceChargeTypeResponse(TeaModel):
35058
35407
  return self
35059
35408
 
35060
35409
 
35410
+ class TransformToEcsRequest(TeaModel):
35411
+ def __init__(
35412
+ self,
35413
+ auto_renew: str = None,
35414
+ auto_renew_period: int = None,
35415
+ charge_type: str = None,
35416
+ dry_run: bool = None,
35417
+ effective_time: str = None,
35418
+ engine_version: str = None,
35419
+ instance_class: str = None,
35420
+ instance_id: str = None,
35421
+ owner_account: str = None,
35422
+ owner_id: int = None,
35423
+ period: int = None,
35424
+ resource_owner_account: str = None,
35425
+ resource_owner_id: int = None,
35426
+ shard_count: int = None,
35427
+ ):
35428
+ self.auto_renew = auto_renew
35429
+ self.auto_renew_period = auto_renew_period
35430
+ self.charge_type = charge_type
35431
+ self.dry_run = dry_run
35432
+ self.effective_time = effective_time
35433
+ # This parameter is required.
35434
+ self.engine_version = engine_version
35435
+ # This parameter is required.
35436
+ self.instance_class = instance_class
35437
+ # This parameter is required.
35438
+ self.instance_id = instance_id
35439
+ self.owner_account = owner_account
35440
+ self.owner_id = owner_id
35441
+ self.period = period
35442
+ self.resource_owner_account = resource_owner_account
35443
+ self.resource_owner_id = resource_owner_id
35444
+ self.shard_count = shard_count
35445
+
35446
+ def validate(self):
35447
+ pass
35448
+
35449
+ def to_map(self):
35450
+ _map = super().to_map()
35451
+ if _map is not None:
35452
+ return _map
35453
+
35454
+ result = dict()
35455
+ if self.auto_renew is not None:
35456
+ result['AutoRenew'] = self.auto_renew
35457
+ if self.auto_renew_period is not None:
35458
+ result['AutoRenewPeriod'] = self.auto_renew_period
35459
+ if self.charge_type is not None:
35460
+ result['ChargeType'] = self.charge_type
35461
+ if self.dry_run is not None:
35462
+ result['DryRun'] = self.dry_run
35463
+ if self.effective_time is not None:
35464
+ result['EffectiveTime'] = self.effective_time
35465
+ if self.engine_version is not None:
35466
+ result['EngineVersion'] = self.engine_version
35467
+ if self.instance_class is not None:
35468
+ result['InstanceClass'] = self.instance_class
35469
+ if self.instance_id is not None:
35470
+ result['InstanceId'] = self.instance_id
35471
+ if self.owner_account is not None:
35472
+ result['OwnerAccount'] = self.owner_account
35473
+ if self.owner_id is not None:
35474
+ result['OwnerId'] = self.owner_id
35475
+ if self.period is not None:
35476
+ result['Period'] = self.period
35477
+ if self.resource_owner_account is not None:
35478
+ result['ResourceOwnerAccount'] = self.resource_owner_account
35479
+ if self.resource_owner_id is not None:
35480
+ result['ResourceOwnerId'] = self.resource_owner_id
35481
+ if self.shard_count is not None:
35482
+ result['ShardCount'] = self.shard_count
35483
+ return result
35484
+
35485
+ def from_map(self, m: dict = None):
35486
+ m = m or dict()
35487
+ if m.get('AutoRenew') is not None:
35488
+ self.auto_renew = m.get('AutoRenew')
35489
+ if m.get('AutoRenewPeriod') is not None:
35490
+ self.auto_renew_period = m.get('AutoRenewPeriod')
35491
+ if m.get('ChargeType') is not None:
35492
+ self.charge_type = m.get('ChargeType')
35493
+ if m.get('DryRun') is not None:
35494
+ self.dry_run = m.get('DryRun')
35495
+ if m.get('EffectiveTime') is not None:
35496
+ self.effective_time = m.get('EffectiveTime')
35497
+ if m.get('EngineVersion') is not None:
35498
+ self.engine_version = m.get('EngineVersion')
35499
+ if m.get('InstanceClass') is not None:
35500
+ self.instance_class = m.get('InstanceClass')
35501
+ if m.get('InstanceId') is not None:
35502
+ self.instance_id = m.get('InstanceId')
35503
+ if m.get('OwnerAccount') is not None:
35504
+ self.owner_account = m.get('OwnerAccount')
35505
+ if m.get('OwnerId') is not None:
35506
+ self.owner_id = m.get('OwnerId')
35507
+ if m.get('Period') is not None:
35508
+ self.period = m.get('Period')
35509
+ if m.get('ResourceOwnerAccount') is not None:
35510
+ self.resource_owner_account = m.get('ResourceOwnerAccount')
35511
+ if m.get('ResourceOwnerId') is not None:
35512
+ self.resource_owner_id = m.get('ResourceOwnerId')
35513
+ if m.get('ShardCount') is not None:
35514
+ self.shard_count = m.get('ShardCount')
35515
+ return self
35516
+
35517
+
35518
+ class TransformToEcsResponseBody(TeaModel):
35519
+ def __init__(
35520
+ self,
35521
+ order_id: str = None,
35522
+ request_id: str = None,
35523
+ ):
35524
+ self.order_id = order_id
35525
+ # Id of the request
35526
+ self.request_id = request_id
35527
+
35528
+ def validate(self):
35529
+ pass
35530
+
35531
+ def to_map(self):
35532
+ _map = super().to_map()
35533
+ if _map is not None:
35534
+ return _map
35535
+
35536
+ result = dict()
35537
+ if self.order_id is not None:
35538
+ result['OrderId'] = self.order_id
35539
+ if self.request_id is not None:
35540
+ result['RequestId'] = self.request_id
35541
+ return result
35542
+
35543
+ def from_map(self, m: dict = None):
35544
+ m = m or dict()
35545
+ if m.get('OrderId') is not None:
35546
+ self.order_id = m.get('OrderId')
35547
+ if m.get('RequestId') is not None:
35548
+ self.request_id = m.get('RequestId')
35549
+ return self
35550
+
35551
+
35552
+ class TransformToEcsResponse(TeaModel):
35553
+ def __init__(
35554
+ self,
35555
+ headers: Dict[str, str] = None,
35556
+ status_code: int = None,
35557
+ body: TransformToEcsResponseBody = None,
35558
+ ):
35559
+ self.headers = headers
35560
+ self.status_code = status_code
35561
+ self.body = body
35562
+
35563
+ def validate(self):
35564
+ if self.body:
35565
+ self.body.validate()
35566
+
35567
+ def to_map(self):
35568
+ _map = super().to_map()
35569
+ if _map is not None:
35570
+ return _map
35571
+
35572
+ result = dict()
35573
+ if self.headers is not None:
35574
+ result['headers'] = self.headers
35575
+ if self.status_code is not None:
35576
+ result['statusCode'] = self.status_code
35577
+ if self.body is not None:
35578
+ result['body'] = self.body.to_map()
35579
+ return result
35580
+
35581
+ def from_map(self, m: dict = None):
35582
+ m = m or dict()
35583
+ if m.get('headers') is not None:
35584
+ self.headers = m.get('headers')
35585
+ if m.get('statusCode') is not None:
35586
+ self.status_code = m.get('statusCode')
35587
+ if m.get('body') is not None:
35588
+ temp_model = TransformToEcsResponseBody()
35589
+ self.body = temp_model.from_map(m['body'])
35590
+ return self
35591
+
35592
+
35061
35593
  class TransformToPrePaidRequest(TeaModel):
35062
35594
  def __init__(
35063
35595
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-r-kvstore20150101
3
- Version: 6.0.0
3
+ Version: 6.1.0
4
4
  Summary: Alibaba Cloud R-kvstore (20150101) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -1,4 +1,4 @@
1
1
  alibabacloud_endpoint_util<1.0.0,>=0.0.4
2
2
  alibabacloud_openapi_util<1.0.0,>=0.2.2
3
- alibabacloud_tea_openapi<1.0.0,>=0.3.15
3
+ alibabacloud_tea_openapi<1.0.0,>=0.3.16
4
4
  alibabacloud_tea_util<1.0.0,>=0.3.13
@@ -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 09/07/2025
27
+ Created on 28/08/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -38,7 +38,7 @@ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "alibabacloud_tea_util>=0.3.13, <1.0.0",
41
- "alibabacloud_tea_openapi>=0.3.15, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.16, <1.0.0",
42
42
  "alibabacloud_openapi_util>=0.2.2, <1.0.0",
43
43
  "alibabacloud_endpoint_util>=0.0.4, <1.0.0"
44
44
  ]