alibabacloud-rds20140815 14.2.0__py3-none-any.whl → 15.0.0__py3-none-any.whl
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_rds20140815/__init__.py +1 -1
- alibabacloud_rds20140815/client.py +0 -270
- alibabacloud_rds20140815/models/__init__.py +0 -18
- alibabacloud_rds20140815/models/_create_rcsnapshot_request.py +2 -0
- alibabacloud_rds20140815/models/_delete_rcdisk_request.py +2 -0
- alibabacloud_rds20140815/models/_describe_dbinstance_replication_response_body.py +0 -8
- alibabacloud_rds20140815/models/_describe_rcdisks_response_body.py +0 -16
- alibabacloud_rds20140815/models/_describe_rcinstances_response_body.py +0 -40
- alibabacloud_rds20140815/models/_describe_rcsnapshots_request.py +2 -8
- alibabacloud_rds20140815/models/_describe_rcsnapshots_response_body.py +0 -8
- alibabacloud_rds20140815/models/_detach_rcdisk_request.py +2 -0
- alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_request.py +1 -24
- alibabacloud_rds20140815/models/_modify_rcinstance_charge_type_request.py +2 -0
- alibabacloud_rds20140815/models/_stop_rcinstance_request.py +0 -8
- alibabacloud_rds20140815/models/_stop_rcinstances_request.py +0 -8
- alibabacloud_rds20140815/models/_stop_rcinstances_shrink_request.py +0 -8
- {alibabacloud_rds20140815-14.2.0.dist-info → alibabacloud_rds20140815-15.0.0.dist-info}/METADATA +2 -2
- {alibabacloud_rds20140815-14.2.0.dist-info → alibabacloud_rds20140815-15.0.0.dist-info}/RECORD +21 -30
- alibabacloud_rds20140815/models/_create_rcimage_request.py +0 -61
- alibabacloud_rds20140815/models/_create_rcimage_response.py +0 -54
- alibabacloud_rds20140815/models/_create_rcimage_response_body.py +0 -34
- alibabacloud_rds20140815/models/_modify_dbinstance_vector_support_status_request.py +0 -43
- alibabacloud_rds20140815/models/_modify_dbinstance_vector_support_status_response.py +0 -54
- alibabacloud_rds20140815/models/_modify_dbinstance_vector_support_status_response_body.py +0 -33
- alibabacloud_rds20140815/models/_modify_rcdisk_attribute_request.py +0 -75
- alibabacloud_rds20140815/models/_modify_rcdisk_attribute_response.py +0 -54
- alibabacloud_rds20140815/models/_modify_rcdisk_attribute_response_body.py +0 -34
- {alibabacloud_rds20140815-14.2.0.dist-info → alibabacloud_rds20140815-15.0.0.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-14.2.0.dist-info → alibabacloud_rds20140815-15.0.0.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-14.2.0.dist-info → alibabacloud_rds20140815-15.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '
|
|
1
|
+
__version__ = '15.0.0'
|
|
@@ -5221,88 +5221,6 @@ class Client(OpenApiClient):
|
|
|
5221
5221
|
runtime = RuntimeOptions()
|
|
5222
5222
|
return await self.create_rcdisk_with_options_async(request, runtime)
|
|
5223
5223
|
|
|
5224
|
-
def create_rcimage_with_options(
|
|
5225
|
-
self,
|
|
5226
|
-
request: main_models.CreateRCImageRequest,
|
|
5227
|
-
runtime: RuntimeOptions,
|
|
5228
|
-
) -> main_models.CreateRCImageResponse:
|
|
5229
|
-
request.validate()
|
|
5230
|
-
query = {}
|
|
5231
|
-
if not DaraCore.is_null(request.image_name):
|
|
5232
|
-
query['ImageName'] = request.image_name
|
|
5233
|
-
if not DaraCore.is_null(request.instance_id):
|
|
5234
|
-
query['InstanceId'] = request.instance_id
|
|
5235
|
-
if not DaraCore.is_null(request.region_id):
|
|
5236
|
-
query['RegionId'] = request.region_id
|
|
5237
|
-
if not DaraCore.is_null(request.snapshot_id):
|
|
5238
|
-
query['SnapshotId'] = request.snapshot_id
|
|
5239
|
-
req = open_api_util_models.OpenApiRequest(
|
|
5240
|
-
query = Utils.query(query)
|
|
5241
|
-
)
|
|
5242
|
-
params = open_api_util_models.Params(
|
|
5243
|
-
action = 'CreateRCImage',
|
|
5244
|
-
version = '2014-08-15',
|
|
5245
|
-
protocol = 'HTTPS',
|
|
5246
|
-
pathname = '/',
|
|
5247
|
-
method = 'POST',
|
|
5248
|
-
auth_type = 'AK',
|
|
5249
|
-
style = 'RPC',
|
|
5250
|
-
req_body_type = 'formData',
|
|
5251
|
-
body_type = 'json'
|
|
5252
|
-
)
|
|
5253
|
-
return DaraCore.from_map(
|
|
5254
|
-
main_models.CreateRCImageResponse(),
|
|
5255
|
-
self.call_api(params, req, runtime)
|
|
5256
|
-
)
|
|
5257
|
-
|
|
5258
|
-
async def create_rcimage_with_options_async(
|
|
5259
|
-
self,
|
|
5260
|
-
request: main_models.CreateRCImageRequest,
|
|
5261
|
-
runtime: RuntimeOptions,
|
|
5262
|
-
) -> main_models.CreateRCImageResponse:
|
|
5263
|
-
request.validate()
|
|
5264
|
-
query = {}
|
|
5265
|
-
if not DaraCore.is_null(request.image_name):
|
|
5266
|
-
query['ImageName'] = request.image_name
|
|
5267
|
-
if not DaraCore.is_null(request.instance_id):
|
|
5268
|
-
query['InstanceId'] = request.instance_id
|
|
5269
|
-
if not DaraCore.is_null(request.region_id):
|
|
5270
|
-
query['RegionId'] = request.region_id
|
|
5271
|
-
if not DaraCore.is_null(request.snapshot_id):
|
|
5272
|
-
query['SnapshotId'] = request.snapshot_id
|
|
5273
|
-
req = open_api_util_models.OpenApiRequest(
|
|
5274
|
-
query = Utils.query(query)
|
|
5275
|
-
)
|
|
5276
|
-
params = open_api_util_models.Params(
|
|
5277
|
-
action = 'CreateRCImage',
|
|
5278
|
-
version = '2014-08-15',
|
|
5279
|
-
protocol = 'HTTPS',
|
|
5280
|
-
pathname = '/',
|
|
5281
|
-
method = 'POST',
|
|
5282
|
-
auth_type = 'AK',
|
|
5283
|
-
style = 'RPC',
|
|
5284
|
-
req_body_type = 'formData',
|
|
5285
|
-
body_type = 'json'
|
|
5286
|
-
)
|
|
5287
|
-
return DaraCore.from_map(
|
|
5288
|
-
main_models.CreateRCImageResponse(),
|
|
5289
|
-
await self.call_api_async(params, req, runtime)
|
|
5290
|
-
)
|
|
5291
|
-
|
|
5292
|
-
def create_rcimage(
|
|
5293
|
-
self,
|
|
5294
|
-
request: main_models.CreateRCImageRequest,
|
|
5295
|
-
) -> main_models.CreateRCImageResponse:
|
|
5296
|
-
runtime = RuntimeOptions()
|
|
5297
|
-
return self.create_rcimage_with_options(request, runtime)
|
|
5298
|
-
|
|
5299
|
-
async def create_rcimage_async(
|
|
5300
|
-
self,
|
|
5301
|
-
request: main_models.CreateRCImageRequest,
|
|
5302
|
-
) -> main_models.CreateRCImageResponse:
|
|
5303
|
-
runtime = RuntimeOptions()
|
|
5304
|
-
return await self.create_rcimage_with_options_async(request, runtime)
|
|
5305
|
-
|
|
5306
5224
|
def create_rcnode_pool_with_options(
|
|
5307
5225
|
self,
|
|
5308
5226
|
tmp_req: main_models.CreateRCNodePoolRequest,
|
|
@@ -20460,8 +20378,6 @@ class Client(OpenApiClient):
|
|
|
20460
20378
|
query = {}
|
|
20461
20379
|
if not DaraCore.is_null(request.disk_id):
|
|
20462
20380
|
query['DiskId'] = request.disk_id
|
|
20463
|
-
if not DaraCore.is_null(request.instance_id):
|
|
20464
|
-
query['InstanceId'] = request.instance_id
|
|
20465
20381
|
if not DaraCore.is_null(request.page_number):
|
|
20466
20382
|
query['PageNumber'] = request.page_number
|
|
20467
20383
|
if not DaraCore.is_null(request.page_size):
|
|
@@ -20500,8 +20416,6 @@ class Client(OpenApiClient):
|
|
|
20500
20416
|
query = {}
|
|
20501
20417
|
if not DaraCore.is_null(request.disk_id):
|
|
20502
20418
|
query['DiskId'] = request.disk_id
|
|
20503
|
-
if not DaraCore.is_null(request.instance_id):
|
|
20504
|
-
query['InstanceId'] = request.instance_id
|
|
20505
20419
|
if not DaraCore.is_null(request.page_number):
|
|
20506
20420
|
query['PageNumber'] = request.page_number
|
|
20507
20421
|
if not DaraCore.is_null(request.page_size):
|
|
@@ -28717,80 +28631,6 @@ class Client(OpenApiClient):
|
|
|
28717
28631
|
runtime = RuntimeOptions()
|
|
28718
28632
|
return await self.modify_dbinstance_tdewith_options_async(request, runtime)
|
|
28719
28633
|
|
|
28720
|
-
def modify_dbinstance_vector_support_status_with_options(
|
|
28721
|
-
self,
|
|
28722
|
-
request: main_models.ModifyDBInstanceVectorSupportStatusRequest,
|
|
28723
|
-
runtime: RuntimeOptions,
|
|
28724
|
-
) -> main_models.ModifyDBInstanceVectorSupportStatusResponse:
|
|
28725
|
-
request.validate()
|
|
28726
|
-
query = {}
|
|
28727
|
-
if not DaraCore.is_null(request.dbinstance_id):
|
|
28728
|
-
query['DBInstanceId'] = request.dbinstance_id
|
|
28729
|
-
if not DaraCore.is_null(request.status):
|
|
28730
|
-
query['Status'] = request.status
|
|
28731
|
-
req = open_api_util_models.OpenApiRequest(
|
|
28732
|
-
query = Utils.query(query)
|
|
28733
|
-
)
|
|
28734
|
-
params = open_api_util_models.Params(
|
|
28735
|
-
action = 'ModifyDBInstanceVectorSupportStatus',
|
|
28736
|
-
version = '2014-08-15',
|
|
28737
|
-
protocol = 'HTTPS',
|
|
28738
|
-
pathname = '/',
|
|
28739
|
-
method = 'POST',
|
|
28740
|
-
auth_type = 'AK',
|
|
28741
|
-
style = 'RPC',
|
|
28742
|
-
req_body_type = 'formData',
|
|
28743
|
-
body_type = 'json'
|
|
28744
|
-
)
|
|
28745
|
-
return DaraCore.from_map(
|
|
28746
|
-
main_models.ModifyDBInstanceVectorSupportStatusResponse(),
|
|
28747
|
-
self.call_api(params, req, runtime)
|
|
28748
|
-
)
|
|
28749
|
-
|
|
28750
|
-
async def modify_dbinstance_vector_support_status_with_options_async(
|
|
28751
|
-
self,
|
|
28752
|
-
request: main_models.ModifyDBInstanceVectorSupportStatusRequest,
|
|
28753
|
-
runtime: RuntimeOptions,
|
|
28754
|
-
) -> main_models.ModifyDBInstanceVectorSupportStatusResponse:
|
|
28755
|
-
request.validate()
|
|
28756
|
-
query = {}
|
|
28757
|
-
if not DaraCore.is_null(request.dbinstance_id):
|
|
28758
|
-
query['DBInstanceId'] = request.dbinstance_id
|
|
28759
|
-
if not DaraCore.is_null(request.status):
|
|
28760
|
-
query['Status'] = request.status
|
|
28761
|
-
req = open_api_util_models.OpenApiRequest(
|
|
28762
|
-
query = Utils.query(query)
|
|
28763
|
-
)
|
|
28764
|
-
params = open_api_util_models.Params(
|
|
28765
|
-
action = 'ModifyDBInstanceVectorSupportStatus',
|
|
28766
|
-
version = '2014-08-15',
|
|
28767
|
-
protocol = 'HTTPS',
|
|
28768
|
-
pathname = '/',
|
|
28769
|
-
method = 'POST',
|
|
28770
|
-
auth_type = 'AK',
|
|
28771
|
-
style = 'RPC',
|
|
28772
|
-
req_body_type = 'formData',
|
|
28773
|
-
body_type = 'json'
|
|
28774
|
-
)
|
|
28775
|
-
return DaraCore.from_map(
|
|
28776
|
-
main_models.ModifyDBInstanceVectorSupportStatusResponse(),
|
|
28777
|
-
await self.call_api_async(params, req, runtime)
|
|
28778
|
-
)
|
|
28779
|
-
|
|
28780
|
-
def modify_dbinstance_vector_support_status(
|
|
28781
|
-
self,
|
|
28782
|
-
request: main_models.ModifyDBInstanceVectorSupportStatusRequest,
|
|
28783
|
-
) -> main_models.ModifyDBInstanceVectorSupportStatusResponse:
|
|
28784
|
-
runtime = RuntimeOptions()
|
|
28785
|
-
return self.modify_dbinstance_vector_support_status_with_options(request, runtime)
|
|
28786
|
-
|
|
28787
|
-
async def modify_dbinstance_vector_support_status_async(
|
|
28788
|
-
self,
|
|
28789
|
-
request: main_models.ModifyDBInstanceVectorSupportStatusRequest,
|
|
28790
|
-
) -> main_models.ModifyDBInstanceVectorSupportStatusResponse:
|
|
28791
|
-
runtime = RuntimeOptions()
|
|
28792
|
-
return await self.modify_dbinstance_vector_support_status_with_options_async(request, runtime)
|
|
28793
|
-
|
|
28794
28634
|
def modify_dbnode_with_options(
|
|
28795
28635
|
self,
|
|
28796
28636
|
tmp_req: main_models.ModifyDBNodeRequest,
|
|
@@ -30755,96 +30595,6 @@ class Client(OpenApiClient):
|
|
|
30755
30595
|
runtime = RuntimeOptions()
|
|
30756
30596
|
return await self.modify_parameter_group_with_options_async(request, runtime)
|
|
30757
30597
|
|
|
30758
|
-
def modify_rcdisk_attribute_with_options(
|
|
30759
|
-
self,
|
|
30760
|
-
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30761
|
-
runtime: RuntimeOptions,
|
|
30762
|
-
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30763
|
-
request.validate()
|
|
30764
|
-
query = {}
|
|
30765
|
-
if not DaraCore.is_null(request.bursting_enabled):
|
|
30766
|
-
query['BurstingEnabled'] = request.bursting_enabled
|
|
30767
|
-
if not DaraCore.is_null(request.delete_with_instance):
|
|
30768
|
-
query['DeleteWithInstance'] = request.delete_with_instance
|
|
30769
|
-
if not DaraCore.is_null(request.description):
|
|
30770
|
-
query['Description'] = request.description
|
|
30771
|
-
if not DaraCore.is_null(request.disk_id):
|
|
30772
|
-
query['DiskId'] = request.disk_id
|
|
30773
|
-
if not DaraCore.is_null(request.disk_name):
|
|
30774
|
-
query['DiskName'] = request.disk_name
|
|
30775
|
-
if not DaraCore.is_null(request.region_id):
|
|
30776
|
-
query['RegionId'] = request.region_id
|
|
30777
|
-
req = open_api_util_models.OpenApiRequest(
|
|
30778
|
-
query = Utils.query(query)
|
|
30779
|
-
)
|
|
30780
|
-
params = open_api_util_models.Params(
|
|
30781
|
-
action = 'ModifyRCDiskAttribute',
|
|
30782
|
-
version = '2014-08-15',
|
|
30783
|
-
protocol = 'HTTPS',
|
|
30784
|
-
pathname = '/',
|
|
30785
|
-
method = 'POST',
|
|
30786
|
-
auth_type = 'AK',
|
|
30787
|
-
style = 'RPC',
|
|
30788
|
-
req_body_type = 'formData',
|
|
30789
|
-
body_type = 'json'
|
|
30790
|
-
)
|
|
30791
|
-
return DaraCore.from_map(
|
|
30792
|
-
main_models.ModifyRCDiskAttributeResponse(),
|
|
30793
|
-
self.call_api(params, req, runtime)
|
|
30794
|
-
)
|
|
30795
|
-
|
|
30796
|
-
async def modify_rcdisk_attribute_with_options_async(
|
|
30797
|
-
self,
|
|
30798
|
-
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30799
|
-
runtime: RuntimeOptions,
|
|
30800
|
-
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30801
|
-
request.validate()
|
|
30802
|
-
query = {}
|
|
30803
|
-
if not DaraCore.is_null(request.bursting_enabled):
|
|
30804
|
-
query['BurstingEnabled'] = request.bursting_enabled
|
|
30805
|
-
if not DaraCore.is_null(request.delete_with_instance):
|
|
30806
|
-
query['DeleteWithInstance'] = request.delete_with_instance
|
|
30807
|
-
if not DaraCore.is_null(request.description):
|
|
30808
|
-
query['Description'] = request.description
|
|
30809
|
-
if not DaraCore.is_null(request.disk_id):
|
|
30810
|
-
query['DiskId'] = request.disk_id
|
|
30811
|
-
if not DaraCore.is_null(request.disk_name):
|
|
30812
|
-
query['DiskName'] = request.disk_name
|
|
30813
|
-
if not DaraCore.is_null(request.region_id):
|
|
30814
|
-
query['RegionId'] = request.region_id
|
|
30815
|
-
req = open_api_util_models.OpenApiRequest(
|
|
30816
|
-
query = Utils.query(query)
|
|
30817
|
-
)
|
|
30818
|
-
params = open_api_util_models.Params(
|
|
30819
|
-
action = 'ModifyRCDiskAttribute',
|
|
30820
|
-
version = '2014-08-15',
|
|
30821
|
-
protocol = 'HTTPS',
|
|
30822
|
-
pathname = '/',
|
|
30823
|
-
method = 'POST',
|
|
30824
|
-
auth_type = 'AK',
|
|
30825
|
-
style = 'RPC',
|
|
30826
|
-
req_body_type = 'formData',
|
|
30827
|
-
body_type = 'json'
|
|
30828
|
-
)
|
|
30829
|
-
return DaraCore.from_map(
|
|
30830
|
-
main_models.ModifyRCDiskAttributeResponse(),
|
|
30831
|
-
await self.call_api_async(params, req, runtime)
|
|
30832
|
-
)
|
|
30833
|
-
|
|
30834
|
-
def modify_rcdisk_attribute(
|
|
30835
|
-
self,
|
|
30836
|
-
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30837
|
-
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30838
|
-
runtime = RuntimeOptions()
|
|
30839
|
-
return self.modify_rcdisk_attribute_with_options(request, runtime)
|
|
30840
|
-
|
|
30841
|
-
async def modify_rcdisk_attribute_async(
|
|
30842
|
-
self,
|
|
30843
|
-
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30844
|
-
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30845
|
-
runtime = RuntimeOptions()
|
|
30846
|
-
return await self.modify_rcdisk_attribute_with_options_async(request, runtime)
|
|
30847
|
-
|
|
30848
30598
|
def modify_rcdisk_charge_type_with_options(
|
|
30849
30599
|
self,
|
|
30850
30600
|
request: main_models.ModifyRCDiskChargeTypeRequest,
|
|
@@ -30852,8 +30602,6 @@ class Client(OpenApiClient):
|
|
|
30852
30602
|
) -> main_models.ModifyRCDiskChargeTypeResponse:
|
|
30853
30603
|
request.validate()
|
|
30854
30604
|
query = {}
|
|
30855
|
-
if not DaraCore.is_null(request.auto_pay):
|
|
30856
|
-
query['AutoPay'] = request.auto_pay
|
|
30857
30605
|
if not DaraCore.is_null(request.auto_renew):
|
|
30858
30606
|
query['AutoRenew'] = request.auto_renew
|
|
30859
30607
|
if not DaraCore.is_null(request.auto_use_coupon):
|
|
@@ -30866,14 +30614,10 @@ class Client(OpenApiClient):
|
|
|
30866
30614
|
query['InstanceId'] = request.instance_id
|
|
30867
30615
|
if not DaraCore.is_null(request.pay_type):
|
|
30868
30616
|
query['PayType'] = request.pay_type
|
|
30869
|
-
if not DaraCore.is_null(request.period):
|
|
30870
|
-
query['Period'] = request.period
|
|
30871
30617
|
if not DaraCore.is_null(request.promotion_code):
|
|
30872
30618
|
query['PromotionCode'] = request.promotion_code
|
|
30873
30619
|
if not DaraCore.is_null(request.region_id):
|
|
30874
30620
|
query['RegionId'] = request.region_id
|
|
30875
|
-
if not DaraCore.is_null(request.used_time):
|
|
30876
|
-
query['UsedTime'] = request.used_time
|
|
30877
30621
|
req = open_api_util_models.OpenApiRequest(
|
|
30878
30622
|
query = Utils.query(query)
|
|
30879
30623
|
)
|
|
@@ -30900,8 +30644,6 @@ class Client(OpenApiClient):
|
|
|
30900
30644
|
) -> main_models.ModifyRCDiskChargeTypeResponse:
|
|
30901
30645
|
request.validate()
|
|
30902
30646
|
query = {}
|
|
30903
|
-
if not DaraCore.is_null(request.auto_pay):
|
|
30904
|
-
query['AutoPay'] = request.auto_pay
|
|
30905
30647
|
if not DaraCore.is_null(request.auto_renew):
|
|
30906
30648
|
query['AutoRenew'] = request.auto_renew
|
|
30907
30649
|
if not DaraCore.is_null(request.auto_use_coupon):
|
|
@@ -30914,14 +30656,10 @@ class Client(OpenApiClient):
|
|
|
30914
30656
|
query['InstanceId'] = request.instance_id
|
|
30915
30657
|
if not DaraCore.is_null(request.pay_type):
|
|
30916
30658
|
query['PayType'] = request.pay_type
|
|
30917
|
-
if not DaraCore.is_null(request.period):
|
|
30918
|
-
query['Period'] = request.period
|
|
30919
30659
|
if not DaraCore.is_null(request.promotion_code):
|
|
30920
30660
|
query['PromotionCode'] = request.promotion_code
|
|
30921
30661
|
if not DaraCore.is_null(request.region_id):
|
|
30922
30662
|
query['RegionId'] = request.region_id
|
|
30923
|
-
if not DaraCore.is_null(request.used_time):
|
|
30924
|
-
query['UsedTime'] = request.used_time
|
|
30925
30663
|
req = open_api_util_models.OpenApiRequest(
|
|
30926
30664
|
query = Utils.query(query)
|
|
30927
30665
|
)
|
|
@@ -36454,8 +36192,6 @@ class Client(OpenApiClient):
|
|
|
36454
36192
|
query['InstanceId'] = request.instance_id
|
|
36455
36193
|
if not DaraCore.is_null(request.region_id):
|
|
36456
36194
|
query['RegionId'] = request.region_id
|
|
36457
|
-
if not DaraCore.is_null(request.stopped_mode):
|
|
36458
|
-
query['StoppedMode'] = request.stopped_mode
|
|
36459
36195
|
req = open_api_util_models.OpenApiRequest(
|
|
36460
36196
|
query = Utils.query(query)
|
|
36461
36197
|
)
|
|
@@ -36488,8 +36224,6 @@ class Client(OpenApiClient):
|
|
|
36488
36224
|
query['InstanceId'] = request.instance_id
|
|
36489
36225
|
if not DaraCore.is_null(request.region_id):
|
|
36490
36226
|
query['RegionId'] = request.region_id
|
|
36491
|
-
if not DaraCore.is_null(request.stopped_mode):
|
|
36492
|
-
query['StoppedMode'] = request.stopped_mode
|
|
36493
36227
|
req = open_api_util_models.OpenApiRequest(
|
|
36494
36228
|
query = Utils.query(query)
|
|
36495
36229
|
)
|
|
@@ -36542,8 +36276,6 @@ class Client(OpenApiClient):
|
|
|
36542
36276
|
query['InstanceIds'] = request.instance_ids_shrink
|
|
36543
36277
|
if not DaraCore.is_null(request.region_id):
|
|
36544
36278
|
query['RegionId'] = request.region_id
|
|
36545
|
-
if not DaraCore.is_null(request.stopped_mode):
|
|
36546
|
-
query['StoppedMode'] = request.stopped_mode
|
|
36547
36279
|
req = open_api_util_models.OpenApiRequest(
|
|
36548
36280
|
query = Utils.query(query)
|
|
36549
36281
|
)
|
|
@@ -36582,8 +36314,6 @@ class Client(OpenApiClient):
|
|
|
36582
36314
|
query['InstanceIds'] = request.instance_ids_shrink
|
|
36583
36315
|
if not DaraCore.is_null(request.region_id):
|
|
36584
36316
|
query['RegionId'] = request.region_id
|
|
36585
|
-
if not DaraCore.is_null(request.stopped_mode):
|
|
36586
|
-
query['StoppedMode'] = request.stopped_mode
|
|
36587
36317
|
req = open_api_util_models.OpenApiRequest(
|
|
36588
36318
|
query = Utils.query(query)
|
|
36589
36319
|
)
|
|
@@ -152,9 +152,6 @@ from ._create_rcdeployment_set_response import CreateRCDeploymentSetResponse
|
|
|
152
152
|
from ._create_rcdisk_request import CreateRCDiskRequest
|
|
153
153
|
from ._create_rcdisk_response_body import CreateRCDiskResponseBody
|
|
154
154
|
from ._create_rcdisk_response import CreateRCDiskResponse
|
|
155
|
-
from ._create_rcimage_request import CreateRCImageRequest
|
|
156
|
-
from ._create_rcimage_response_body import CreateRCImageResponseBody
|
|
157
|
-
from ._create_rcimage_response import CreateRCImageResponse
|
|
158
155
|
from ._create_rcnode_pool_request import CreateRCNodePoolRequest
|
|
159
156
|
from ._create_rcnode_pool_shrink_request import CreateRCNodePoolShrinkRequest
|
|
160
157
|
from ._create_rcnode_pool_response_body import CreateRCNodePoolResponseBody
|
|
@@ -885,9 +882,6 @@ from ._modify_dbinstance_spec_response import ModifyDBInstanceSpecResponse
|
|
|
885
882
|
from ._modify_dbinstance_tderequest import ModifyDBInstanceTDERequest
|
|
886
883
|
from ._modify_dbinstance_tderesponse_body import ModifyDBInstanceTDEResponseBody
|
|
887
884
|
from ._modify_dbinstance_tderesponse import ModifyDBInstanceTDEResponse
|
|
888
|
-
from ._modify_dbinstance_vector_support_status_request import ModifyDBInstanceVectorSupportStatusRequest
|
|
889
|
-
from ._modify_dbinstance_vector_support_status_response_body import ModifyDBInstanceVectorSupportStatusResponseBody
|
|
890
|
-
from ._modify_dbinstance_vector_support_status_response import ModifyDBInstanceVectorSupportStatusResponse
|
|
891
885
|
from ._modify_dbnode_request import ModifyDBNodeRequest
|
|
892
886
|
from ._modify_dbnode_shrink_request import ModifyDBNodeShrinkRequest
|
|
893
887
|
from ._modify_dbnode_response_body import ModifyDBNodeResponseBody
|
|
@@ -946,9 +940,6 @@ from ._modify_parameter_response import ModifyParameterResponse
|
|
|
946
940
|
from ._modify_parameter_group_request import ModifyParameterGroupRequest
|
|
947
941
|
from ._modify_parameter_group_response_body import ModifyParameterGroupResponseBody
|
|
948
942
|
from ._modify_parameter_group_response import ModifyParameterGroupResponse
|
|
949
|
-
from ._modify_rcdisk_attribute_request import ModifyRCDiskAttributeRequest
|
|
950
|
-
from ._modify_rcdisk_attribute_response_body import ModifyRCDiskAttributeResponseBody
|
|
951
|
-
from ._modify_rcdisk_attribute_response import ModifyRCDiskAttributeResponse
|
|
952
943
|
from ._modify_rcdisk_charge_type_request import ModifyRCDiskChargeTypeRequest
|
|
953
944
|
from ._modify_rcdisk_charge_type_response_body import ModifyRCDiskChargeTypeResponseBody
|
|
954
945
|
from ._modify_rcdisk_charge_type_response import ModifyRCDiskChargeTypeResponse
|
|
@@ -1744,9 +1735,6 @@ __all__ = [
|
|
|
1744
1735
|
CreateRCDiskRequest,
|
|
1745
1736
|
CreateRCDiskResponseBody,
|
|
1746
1737
|
CreateRCDiskResponse,
|
|
1747
|
-
CreateRCImageRequest,
|
|
1748
|
-
CreateRCImageResponseBody,
|
|
1749
|
-
CreateRCImageResponse,
|
|
1750
1738
|
CreateRCNodePoolRequest,
|
|
1751
1739
|
CreateRCNodePoolShrinkRequest,
|
|
1752
1740
|
CreateRCNodePoolResponseBody,
|
|
@@ -2477,9 +2465,6 @@ __all__ = [
|
|
|
2477
2465
|
ModifyDBInstanceTDERequest,
|
|
2478
2466
|
ModifyDBInstanceTDEResponseBody,
|
|
2479
2467
|
ModifyDBInstanceTDEResponse,
|
|
2480
|
-
ModifyDBInstanceVectorSupportStatusRequest,
|
|
2481
|
-
ModifyDBInstanceVectorSupportStatusResponseBody,
|
|
2482
|
-
ModifyDBInstanceVectorSupportStatusResponse,
|
|
2483
2468
|
ModifyDBNodeRequest,
|
|
2484
2469
|
ModifyDBNodeShrinkRequest,
|
|
2485
2470
|
ModifyDBNodeResponseBody,
|
|
@@ -2538,9 +2523,6 @@ __all__ = [
|
|
|
2538
2523
|
ModifyParameterGroupRequest,
|
|
2539
2524
|
ModifyParameterGroupResponseBody,
|
|
2540
2525
|
ModifyParameterGroupResponse,
|
|
2541
|
-
ModifyRCDiskAttributeRequest,
|
|
2542
|
-
ModifyRCDiskAttributeResponseBody,
|
|
2543
|
-
ModifyRCDiskAttributeResponse,
|
|
2544
2526
|
ModifyRCDiskChargeTypeRequest,
|
|
2545
2527
|
ModifyRCDiskChargeTypeResponseBody,
|
|
2546
2528
|
ModifyRCDiskChargeTypeResponse,
|
|
@@ -31,6 +31,8 @@ class CreateRCSnapshotRequest(DaraModel):
|
|
|
31
31
|
# This parameter is deprecated.
|
|
32
32
|
self.instant_access_retention_days = instant_access_retention_days
|
|
33
33
|
# The region ID.
|
|
34
|
+
#
|
|
35
|
+
# This parameter is required.
|
|
34
36
|
self.region_id = region_id
|
|
35
37
|
self.resource_group_id = resource_group_id
|
|
36
38
|
# The retention period of the snapshot. Valid values: 1 to 65536. Unit: days. The snapshot is automatically released when its retention period expires.
|
|
@@ -9,7 +9,6 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
9
9
|
self,
|
|
10
10
|
external_replication: str = None,
|
|
11
11
|
gtid_executed: str = None,
|
|
12
|
-
import_status: str = None,
|
|
13
12
|
replication_delay: str = None,
|
|
14
13
|
replication_error_message: str = None,
|
|
15
14
|
replication_ip: str = None,
|
|
@@ -24,7 +23,6 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
24
23
|
# * **OFF**
|
|
25
24
|
self.external_replication = external_replication
|
|
26
25
|
self.gtid_executed = gtid_executed
|
|
27
|
-
self.import_status = import_status
|
|
28
26
|
# The replication latency. Unit: seconds.
|
|
29
27
|
self.replication_delay = replication_delay
|
|
30
28
|
# The replication error message.
|
|
@@ -57,9 +55,6 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
57
55
|
if self.gtid_executed is not None:
|
|
58
56
|
result['GtidExecuted'] = self.gtid_executed
|
|
59
57
|
|
|
60
|
-
if self.import_status is not None:
|
|
61
|
-
result['ImportStatus'] = self.import_status
|
|
62
|
-
|
|
63
58
|
if self.replication_delay is not None:
|
|
64
59
|
result['ReplicationDelay'] = self.replication_delay
|
|
65
60
|
|
|
@@ -91,9 +86,6 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
91
86
|
if m.get('GtidExecuted') is not None:
|
|
92
87
|
self.gtid_executed = m.get('GtidExecuted')
|
|
93
88
|
|
|
94
|
-
if m.get('ImportStatus') is not None:
|
|
95
|
-
self.import_status = m.get('ImportStatus')
|
|
96
|
-
|
|
97
89
|
if m.get('ReplicationDelay') is not None:
|
|
98
90
|
self.replication_delay = m.get('ReplicationDelay')
|
|
99
91
|
|
|
@@ -83,7 +83,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
83
83
|
def __init__(
|
|
84
84
|
self,
|
|
85
85
|
attached_time: str = None,
|
|
86
|
-
bursting_enabled: bool = None,
|
|
87
86
|
category: str = None,
|
|
88
87
|
creation_time: str = None,
|
|
89
88
|
delete_auto_snapshot: bool = None,
|
|
@@ -99,7 +98,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
99
98
|
image_id: str = None,
|
|
100
99
|
instance_id: str = None,
|
|
101
100
|
performance_level: str = None,
|
|
102
|
-
portable: bool = None,
|
|
103
101
|
region_id: str = None,
|
|
104
102
|
resource_group_id: str = None,
|
|
105
103
|
serial_number: str = None,
|
|
@@ -113,7 +111,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
113
111
|
zone_id: str = None,
|
|
114
112
|
):
|
|
115
113
|
self.attached_time = attached_time
|
|
116
|
-
self.bursting_enabled = bursting_enabled
|
|
117
114
|
# The category of the disk. Valid values:
|
|
118
115
|
#
|
|
119
116
|
# * **cloud_efficiency**: ultra disk.
|
|
@@ -167,7 +164,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
167
164
|
# * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
168
165
|
# * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
169
166
|
self.performance_level = performance_level
|
|
170
|
-
self.portable = portable
|
|
171
167
|
# The region ID.
|
|
172
168
|
self.region_id = region_id
|
|
173
169
|
# The ID of the resource group to which the disk belongs.
|
|
@@ -217,9 +213,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
217
213
|
if self.attached_time is not None:
|
|
218
214
|
result['AttachedTime'] = self.attached_time
|
|
219
215
|
|
|
220
|
-
if self.bursting_enabled is not None:
|
|
221
|
-
result['BurstingEnabled'] = self.bursting_enabled
|
|
222
|
-
|
|
223
216
|
if self.category is not None:
|
|
224
217
|
result['Category'] = self.category
|
|
225
218
|
|
|
@@ -265,9 +258,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
265
258
|
if self.performance_level is not None:
|
|
266
259
|
result['PerformanceLevel'] = self.performance_level
|
|
267
260
|
|
|
268
|
-
if self.portable is not None:
|
|
269
|
-
result['Portable'] = self.portable
|
|
270
|
-
|
|
271
261
|
if self.region_id is not None:
|
|
272
262
|
result['RegionId'] = self.region_id
|
|
273
263
|
|
|
@@ -310,9 +300,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
310
300
|
if m.get('AttachedTime') is not None:
|
|
311
301
|
self.attached_time = m.get('AttachedTime')
|
|
312
302
|
|
|
313
|
-
if m.get('BurstingEnabled') is not None:
|
|
314
|
-
self.bursting_enabled = m.get('BurstingEnabled')
|
|
315
|
-
|
|
316
303
|
if m.get('Category') is not None:
|
|
317
304
|
self.category = m.get('Category')
|
|
318
305
|
|
|
@@ -358,9 +345,6 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
358
345
|
if m.get('PerformanceLevel') is not None:
|
|
359
346
|
self.performance_level = m.get('PerformanceLevel')
|
|
360
347
|
|
|
361
|
-
if m.get('Portable') is not None:
|
|
362
|
-
self.portable = m.get('Portable')
|
|
363
|
-
|
|
364
348
|
if m.get('RegionId') is not None:
|
|
365
349
|
self.region_id = m.get('RegionId')
|
|
366
350
|
|
|
@@ -88,7 +88,6 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
88
88
|
db_type: str = None,
|
|
89
89
|
deployment_set_id: str = None,
|
|
90
90
|
description: str = None,
|
|
91
|
-
ecs_host_name: str = None,
|
|
92
91
|
expired_time: str = None,
|
|
93
92
|
gmt_created: str = None,
|
|
94
93
|
host_ip: str = None,
|
|
@@ -101,15 +100,11 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
101
100
|
instance_type_family: str = None,
|
|
102
101
|
memory: int = None,
|
|
103
102
|
node_type: str = None,
|
|
104
|
-
osname: str = None,
|
|
105
|
-
ostype: str = None,
|
|
106
103
|
public_ip: str = None,
|
|
107
104
|
region_id: str = None,
|
|
108
105
|
security_group_id: str = None,
|
|
109
106
|
spot_strategy: str = None,
|
|
110
|
-
start_time: str = None,
|
|
111
107
|
status: str = None,
|
|
112
|
-
stopped_mode: str = None,
|
|
113
108
|
tag_resources: List[main_models.DescribeRCInstancesResponseBodyRCInstancesTagResources] = None,
|
|
114
109
|
tags: List[main_models.DescribeRCInstancesResponseBodyRCInstancesTags] = None,
|
|
115
110
|
vpc_attributes: main_models.DescribeRCInstancesResponseBodyRCInstancesVpcAttributes = None,
|
|
@@ -125,7 +120,6 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
125
120
|
self.deployment_set_id = deployment_set_id
|
|
126
121
|
# The instance description.
|
|
127
122
|
self.description = description
|
|
128
|
-
self.ecs_host_name = ecs_host_name
|
|
129
123
|
self.expired_time = expired_time
|
|
130
124
|
# The time when the task was created. The time is displayed in GMT.
|
|
131
125
|
self.gmt_created = gmt_created
|
|
@@ -142,14 +136,11 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
142
136
|
self.instance_type_family = instance_type_family
|
|
143
137
|
self.memory = memory
|
|
144
138
|
self.node_type = node_type
|
|
145
|
-
self.osname = osname
|
|
146
|
-
self.ostype = ostype
|
|
147
139
|
self.public_ip = public_ip
|
|
148
140
|
# The region ID.
|
|
149
141
|
self.region_id = region_id
|
|
150
142
|
self.security_group_id = security_group_id
|
|
151
143
|
self.spot_strategy = spot_strategy
|
|
152
|
-
self.start_time = start_time
|
|
153
144
|
# The instance status. Valid values:
|
|
154
145
|
#
|
|
155
146
|
# * **Pending**
|
|
@@ -160,7 +151,6 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
160
151
|
#
|
|
161
152
|
# > If the value returned for the DescribeRCInstances operation is different from the value that is returned for the **DescribeRCInstanceAttribute** operation, the value returned for the **DescribeRCInstanceAttribute** operation shall prevail.
|
|
162
153
|
self.status = status
|
|
163
|
-
self.stopped_mode = stopped_mode
|
|
164
154
|
self.tag_resources = tag_resources
|
|
165
155
|
self.tags = tags
|
|
166
156
|
self.vpc_attributes = vpc_attributes
|
|
@@ -203,9 +193,6 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
203
193
|
if self.description is not None:
|
|
204
194
|
result['Description'] = self.description
|
|
205
195
|
|
|
206
|
-
if self.ecs_host_name is not None:
|
|
207
|
-
result['EcsHostName'] = self.ecs_host_name
|
|
208
|
-
|
|
209
196
|
if self.expired_time is not None:
|
|
210
197
|
result['ExpiredTime'] = self.expired_time
|
|
211
198
|
|
|
@@ -242,12 +229,6 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
242
229
|
if self.node_type is not None:
|
|
243
230
|
result['NodeType'] = self.node_type
|
|
244
231
|
|
|
245
|
-
if self.osname is not None:
|
|
246
|
-
result['OSName'] = self.osname
|
|
247
|
-
|
|
248
|
-
if self.ostype is not None:
|
|
249
|
-
result['OSType'] = self.ostype
|
|
250
|
-
|
|
251
232
|
if self.public_ip is not None:
|
|
252
233
|
result['PublicIp'] = self.public_ip
|
|
253
234
|
|
|
@@ -260,15 +241,9 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
260
241
|
if self.spot_strategy is not None:
|
|
261
242
|
result['SpotStrategy'] = self.spot_strategy
|
|
262
243
|
|
|
263
|
-
if self.start_time is not None:
|
|
264
|
-
result['StartTime'] = self.start_time
|
|
265
|
-
|
|
266
244
|
if self.status is not None:
|
|
267
245
|
result['Status'] = self.status
|
|
268
246
|
|
|
269
|
-
if self.stopped_mode is not None:
|
|
270
|
-
result['StoppedMode'] = self.stopped_mode
|
|
271
|
-
|
|
272
247
|
result['TagResources'] = []
|
|
273
248
|
if self.tag_resources is not None:
|
|
274
249
|
for k1 in self.tag_resources:
|
|
@@ -310,9 +285,6 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
310
285
|
if m.get('Description') is not None:
|
|
311
286
|
self.description = m.get('Description')
|
|
312
287
|
|
|
313
|
-
if m.get('EcsHostName') is not None:
|
|
314
|
-
self.ecs_host_name = m.get('EcsHostName')
|
|
315
|
-
|
|
316
288
|
if m.get('ExpiredTime') is not None:
|
|
317
289
|
self.expired_time = m.get('ExpiredTime')
|
|
318
290
|
|
|
@@ -349,12 +321,6 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
349
321
|
if m.get('NodeType') is not None:
|
|
350
322
|
self.node_type = m.get('NodeType')
|
|
351
323
|
|
|
352
|
-
if m.get('OSName') is not None:
|
|
353
|
-
self.osname = m.get('OSName')
|
|
354
|
-
|
|
355
|
-
if m.get('OSType') is not None:
|
|
356
|
-
self.ostype = m.get('OSType')
|
|
357
|
-
|
|
358
324
|
if m.get('PublicIp') is not None:
|
|
359
325
|
self.public_ip = m.get('PublicIp')
|
|
360
326
|
|
|
@@ -367,15 +333,9 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
367
333
|
if m.get('SpotStrategy') is not None:
|
|
368
334
|
self.spot_strategy = m.get('SpotStrategy')
|
|
369
335
|
|
|
370
|
-
if m.get('StartTime') is not None:
|
|
371
|
-
self.start_time = m.get('StartTime')
|
|
372
|
-
|
|
373
336
|
if m.get('Status') is not None:
|
|
374
337
|
self.status = m.get('Status')
|
|
375
338
|
|
|
376
|
-
if m.get('StoppedMode') is not None:
|
|
377
|
-
self.stopped_mode = m.get('StoppedMode')
|
|
378
|
-
|
|
379
339
|
self.tag_resources = []
|
|
380
340
|
if m.get('TagResources') is not None:
|
|
381
341
|
for k1 in m.get('TagResources'):
|