volcengine-python-sdk 5.0.18__py2.py3-none-any.whl → 5.0.19__py2.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.
- {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/RECORD +14 -12
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkrdsmysqlv2/__init__.py +2 -0
- volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +97 -0
- volcenginesdkrdsmysqlv2/models/__init__.py +2 -0
- volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +1 -27
- volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_response.py +95 -0
- {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/licenses/NOTICE.md +0 -0
- {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
volcengine_python_sdk-5.0.
|
|
2
|
-
volcengine_python_sdk-5.0.
|
|
1
|
+
volcengine_python_sdk-5.0.19.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
2
|
+
volcengine_python_sdk-5.0.19.dist-info/licenses/NOTICE.md,sha256=dqWX0O4-gFqGLdHJsXAiF6Q8JHlu_3nFaQSmrMHzujM,254
|
|
3
3
|
volcenginesdkacep/__init__.py,sha256=3_nKhFpizIsTpBXZMZ9n7GRkl-jOPeA9vJJ7vGfTZ9M,27782
|
|
4
4
|
volcenginesdkacep/api/__init__.py,sha256=MCzGEBg4XwY5aDIDy8nitUz4vu_2xmRRY83V6lqt460,138
|
|
5
5
|
volcenginesdkacep/api/acep_api.py,sha256=c-iD0QWzPLiEf96e8tLJmf_aELSsVKAzeUTjeOuFbXc,364887
|
|
@@ -4812,8 +4812,8 @@ volcenginesdkconfig/models/tag_for_list_discovered_resources_output.py,sha256=gs
|
|
|
4812
4812
|
volcenginesdkconfig/models/update_account_group_request.py,sha256=E-63Vq7Fgmi5oXU8NGyNsMyy2v1KhyWZprrpgVZA2h0,5608
|
|
4813
4813
|
volcenginesdkconfig/models/update_account_group_response.py,sha256=NwAkFJCOSds-noYdJhcn6Mu0psvvWV9mwA4RNXyMxfE,2814
|
|
4814
4814
|
volcenginesdkcore/__init__.py,sha256=WkgQAEhL6zg4ofQI82LD-3K-ij28yT-lpMiDoKmppwM,318
|
|
4815
|
-
volcenginesdkcore/api_client.py,sha256=
|
|
4816
|
-
volcenginesdkcore/configuration.py,sha256=
|
|
4815
|
+
volcenginesdkcore/api_client.py,sha256=lVcwNWDZn0WRojM13eK9YoGnKqc0yxGS2P2KuNDJq5U,18326
|
|
4816
|
+
volcenginesdkcore/configuration.py,sha256=T7aHXD60AbWif-6jkkpoWleYAHn6PAiUof9zJTmjocY,12082
|
|
4817
4817
|
volcenginesdkcore/flatten.py,sha256=g3r61JS_AO7WV6ClRDkXgtnVXcw3c7tbZjeLAJxkSLc,3811
|
|
4818
4818
|
volcenginesdkcore/metadata.py,sha256=lHsOz9JcwdM7oqBb5dhSl6z3qF-M3TnTFbCzxRV89f4,4529
|
|
4819
4819
|
volcenginesdkcore/model.py,sha256=f3cvQ6QiQfecClucu-_-l5xVI3W5_vF-EKkjwZu7Vjc,177
|
|
@@ -13089,10 +13089,10 @@ volcenginesdkrdsmysql/models/template_param_for_list_parameter_templates_output.
|
|
|
13089
13089
|
volcenginesdkrdsmysql/models/template_param_for_modify_parameter_template_input.py,sha256=ZEajamtVF9XR4ZXDatCPIIFSlZwdQEBtfMgaTWHhWZo,8701
|
|
13090
13090
|
volcenginesdkrdsmysql/models/upgrade_allow_list_version_request.py,sha256=1nvCNjZV4Ofg81BIR417NCIzh6-MCmpIyomaODT31p8,3762
|
|
13091
13091
|
volcenginesdkrdsmysql/models/upgrade_allow_list_version_response.py,sha256=aqIBM6j326b8TwJza7UZLTLHynLD5roUvPmscjTuUHY,2842
|
|
13092
|
-
volcenginesdkrdsmysqlv2/__init__.py,sha256=
|
|
13092
|
+
volcenginesdkrdsmysqlv2/__init__.py,sha256=w_auEfyUxkrNYa8m3mrUW3SetRMD93ZoxuJXxktTtzs,65034
|
|
13093
13093
|
volcenginesdkrdsmysqlv2/api/__init__.py,sha256=m9b6H7N50diXjCjnj08o2DSjNsNIUkFmgP572k9K8fA,158
|
|
13094
|
-
volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py,sha256=
|
|
13095
|
-
volcenginesdkrdsmysqlv2/models/__init__.py,sha256=
|
|
13094
|
+
volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py,sha256=x4OV4l_lEib2X6oBXdfMEgmj_hDm1h3ndDFLHyXhW3I,631290
|
|
13095
|
+
volcenginesdkrdsmysqlv2/models/__init__.py,sha256=erG6Z03xjM0YDzK9IOVq-Z8k8fmWy6c58dXGSlCfOF4,64932
|
|
13096
13096
|
volcenginesdkrdsmysqlv2/models/account_for_describe_db_accounts_output.py,sha256=7b-ih7NRVmv1vK4XF31Xs6RYdeytGPcGjyIBa8MHqMI,12347
|
|
13097
13097
|
volcenginesdkrdsmysqlv2/models/account_privilege_for_create_db_account_input.py,sha256=Pk52oKLpWsy2hkOMVeuH2PdEzv9Psb-E4ulIamTZvIs,5656
|
|
13098
13098
|
volcenginesdkrdsmysqlv2/models/account_privilege_for_describe_db_accounts_output.py,sha256=oj2f6PpYEgeu1yV77SxXawTj41RvTjP6ArkmWLoC83M,5724
|
|
@@ -13176,7 +13176,7 @@ volcenginesdkrdsmysqlv2/models/create_db_endpoint_public_address_response.py,sha
|
|
|
13176
13176
|
volcenginesdkrdsmysqlv2/models/create_db_endpoint_req_for_modify_db_endpoint_connection_mode_input.py,sha256=IDhKe0PUuwZAg0K-6D4sunBxnp-UnRvfqY7Bnw-CJW4,21981
|
|
13177
13177
|
volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py,sha256=pJijAIKutBhIcKojdRv81ckg1hjXNoMRLQLi4HFQWdA,21539
|
|
13178
13178
|
volcenginesdkrdsmysqlv2/models/create_db_endpoint_response.py,sha256=3XdI1S6jHbM4jgiA8LIHDZ08NJ4OyOvB8jbMuCnIpII,4338
|
|
13179
|
-
volcenginesdkrdsmysqlv2/models/create_db_instance_request.py,sha256=
|
|
13179
|
+
volcenginesdkrdsmysqlv2/models/create_db_instance_request.py,sha256=OnjfiXJFeUwktvrrtF-rkcmyiUVvs2M87hTQgnst1Uc,31388
|
|
13180
13180
|
volcenginesdkrdsmysqlv2/models/create_db_instance_response.py,sha256=EQiahL5rRNisUwlfiyuTuJsAqqa68gOYkE4m3h146sk,4278
|
|
13181
13181
|
volcenginesdkrdsmysqlv2/models/create_db_nodes_request.py,sha256=wuEWnrpjZrtpkKG1mcUJHyatco7W0p0_TX9efMZhRKY,8918
|
|
13182
13182
|
volcenginesdkrdsmysqlv2/models/create_db_nodes_response.py,sha256=EsB5P7dH_zGUgdU61ihGKHQw1q9S4ODGPi4Jj5mANTg,5216
|
|
@@ -13524,6 +13524,8 @@ volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_de
|
|
|
13524
13524
|
volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py,sha256=lpkKqXSVxxlqMkp2d1DT867Vqp0cIJmPfM235hpLumU,5393
|
|
13525
13525
|
volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_modify_db_endpoint_connection_mode_input.py,sha256=HxoUcQiP1pkUEDwX03sY5ytlodohPy9k0la0wzb31hY,5427
|
|
13526
13526
|
volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_modify_db_endpoint_input.py,sha256=6vhVEcoBF1tT35qCfI8Ih1kAOZHXFBT3LClBrz2PAsQ,5189
|
|
13527
|
+
volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_request.py,sha256=uqYU-5bhVJVjt8eW99P1DJtwj-l2sCBiOH-icNOFSxQ,3756
|
|
13528
|
+
volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_response.py,sha256=0KIEB2POT65YuTsykbjfC9eCkm_cRGIqHbooeOgvuXY,2840
|
|
13527
13529
|
volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py,sha256=ThxPBe6l411zmnfOQM1PIVPrJwrMT2XwokePiGf90EY,18825
|
|
13528
13530
|
volcenginesdkrdsmysqlv2/models/rebuild_db_instance_response.py,sha256=nrU-yKHAmSj2Y2oZozsy_2756UxtM7fp3m195XU3YPg,4291
|
|
13529
13531
|
volcenginesdkrdsmysqlv2/models/rebuild_dr_instance_request.py,sha256=pz5zrOckdY2vcVJ9emuuI-pg5aZZJ92EJQOACtDdY2U,3711
|
|
@@ -19877,7 +19879,7 @@ volcenginesdkwafruntime/api/__init__.py,sha256=di_9IIKQ0HCuzkGrTyZ6h38iP7y1xelH8
|
|
|
19877
19879
|
volcenginesdkwafruntime/api/waf_runtime_api.py,sha256=eWgdzFcwflEkhkNrPzZL1mqSid7O1OWiwHGUyWJvZNA,4035
|
|
19878
19880
|
volcenginesdkwafruntime/models/__init__.py,sha256=di_9IIKQ0HCuzkGrTyZ6h38iP7y1xelH8_IJbKi4aWA,71
|
|
19879
19881
|
volcenginesdkwafruntime/models/llm_stream_session.py,sha256=U9cig3fuZRBT4Ov8_cUsWDKXcMLNjBDxKt-7IoewoUw,1589
|
|
19880
|
-
volcengine_python_sdk-5.0.
|
|
19881
|
-
volcengine_python_sdk-5.0.
|
|
19882
|
-
volcengine_python_sdk-5.0.
|
|
19883
|
-
volcengine_python_sdk-5.0.
|
|
19882
|
+
volcengine_python_sdk-5.0.19.dist-info/METADATA,sha256=9Acg2kOD7GCffqn3dGHEO9RCpHFTDGUVhZePuoaEfqQ,8200
|
|
19883
|
+
volcengine_python_sdk-5.0.19.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
|
|
19884
|
+
volcengine_python_sdk-5.0.19.dist-info/top_level.txt,sha256=9_qsS8ya_4cXJ35kD2F88yVTQYsTeKR8vMGx4-TTJRc,2704
|
|
19885
|
+
volcengine_python_sdk-5.0.19.dist-info/RECORD,,
|
volcenginesdkcore/api_client.py
CHANGED
|
@@ -64,7 +64,7 @@ class ApiClient(object):
|
|
|
64
64
|
self.default_headers[header_name] = header_value
|
|
65
65
|
self.cookie = cookie
|
|
66
66
|
# Set default User-Agent.
|
|
67
|
-
self.user_agent = 'volcstack-python-sdk/5.0.
|
|
67
|
+
self.user_agent = 'volcstack-python-sdk/5.0.19'
|
|
68
68
|
self.client_side_validation = configuration.client_side_validation
|
|
69
69
|
|
|
70
70
|
self.interceptor_chain = InterceptorChain()
|
|
@@ -291,7 +291,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
291
291
|
"OS: {env}\n" \
|
|
292
292
|
"Python Version: {pyversion}\n" \
|
|
293
293
|
"Version of the API: 0.1.0\n" \
|
|
294
|
-
"SDK Package Version: 5.0.
|
|
294
|
+
"SDK Package Version: 5.0.19".\
|
|
295
295
|
format(env=sys.platform, pyversion=sys.version)
|
|
296
296
|
|
|
297
297
|
@property
|
|
@@ -450,6 +450,8 @@ from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instan
|
|
|
450
450
|
from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instance_endpoints_output import ReadOnlyNodeWeightForDescribeDBInstanceEndpointsOutput
|
|
451
451
|
from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_connection_mode_input import ReadOnlyNodeWeightForModifyDBEndpointConnectionModeInput
|
|
452
452
|
from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_input import ReadOnlyNodeWeightForModifyDBEndpointInput
|
|
453
|
+
from volcenginesdkrdsmysqlv2.models.rebuild_db_green_instance_request import RebuildDBGreenInstanceRequest
|
|
454
|
+
from volcenginesdkrdsmysqlv2.models.rebuild_db_green_instance_response import RebuildDBGreenInstanceResponse
|
|
453
455
|
from volcenginesdkrdsmysqlv2.models.rebuild_db_instance_request import RebuildDBInstanceRequest
|
|
454
456
|
from volcenginesdkrdsmysqlv2.models.rebuild_db_instance_response import RebuildDBInstanceResponse
|
|
455
457
|
from volcenginesdkrdsmysqlv2.models.rebuild_dr_instance_request import RebuildDrInstanceRequest
|
|
@@ -12934,6 +12934,103 @@ class RDSMYSQLV2Api(object):
|
|
|
12934
12934
|
_request_timeout=params.get('_request_timeout'),
|
|
12935
12935
|
collection_formats=collection_formats)
|
|
12936
12936
|
|
|
12937
|
+
def rebuild_db_green_instance(self, body, **kwargs): # noqa: E501
|
|
12938
|
+
"""rebuild_db_green_instance # noqa: E501
|
|
12939
|
+
|
|
12940
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
12941
|
+
asynchronous HTTP request, please pass async_req=True
|
|
12942
|
+
>>> thread = api.rebuild_db_green_instance(body, async_req=True)
|
|
12943
|
+
>>> result = thread.get()
|
|
12944
|
+
|
|
12945
|
+
:param async_req bool
|
|
12946
|
+
:param RebuildDBGreenInstanceRequest body: (required)
|
|
12947
|
+
:return: RebuildDBGreenInstanceResponse
|
|
12948
|
+
If the method is called asynchronously,
|
|
12949
|
+
returns the request thread.
|
|
12950
|
+
"""
|
|
12951
|
+
kwargs['_return_http_data_only'] = True
|
|
12952
|
+
if kwargs.get('async_req'):
|
|
12953
|
+
return self.rebuild_db_green_instance_with_http_info(body, **kwargs) # noqa: E501
|
|
12954
|
+
else:
|
|
12955
|
+
(data) = self.rebuild_db_green_instance_with_http_info(body, **kwargs) # noqa: E501
|
|
12956
|
+
return data
|
|
12957
|
+
|
|
12958
|
+
def rebuild_db_green_instance_with_http_info(self, body, **kwargs): # noqa: E501
|
|
12959
|
+
"""rebuild_db_green_instance # noqa: E501
|
|
12960
|
+
|
|
12961
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
12962
|
+
asynchronous HTTP request, please pass async_req=True
|
|
12963
|
+
>>> thread = api.rebuild_db_green_instance_with_http_info(body, async_req=True)
|
|
12964
|
+
>>> result = thread.get()
|
|
12965
|
+
|
|
12966
|
+
:param async_req bool
|
|
12967
|
+
:param RebuildDBGreenInstanceRequest body: (required)
|
|
12968
|
+
:return: RebuildDBGreenInstanceResponse
|
|
12969
|
+
If the method is called asynchronously,
|
|
12970
|
+
returns the request thread.
|
|
12971
|
+
"""
|
|
12972
|
+
|
|
12973
|
+
all_params = ['body'] # noqa: E501
|
|
12974
|
+
all_params.append('async_req')
|
|
12975
|
+
all_params.append('_return_http_data_only')
|
|
12976
|
+
all_params.append('_preload_content')
|
|
12977
|
+
all_params.append('_request_timeout')
|
|
12978
|
+
|
|
12979
|
+
params = locals()
|
|
12980
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
12981
|
+
if key not in all_params:
|
|
12982
|
+
raise TypeError(
|
|
12983
|
+
"Got an unexpected keyword argument '%s'"
|
|
12984
|
+
" to method rebuild_db_green_instance" % key
|
|
12985
|
+
)
|
|
12986
|
+
params[key] = val
|
|
12987
|
+
del params['kwargs']
|
|
12988
|
+
# verify the required parameter 'body' is set
|
|
12989
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
12990
|
+
params['body'] is None): # noqa: E501
|
|
12991
|
+
raise ValueError("Missing the required parameter `body` when calling `rebuild_db_green_instance`") # noqa: E501
|
|
12992
|
+
|
|
12993
|
+
collection_formats = {}
|
|
12994
|
+
|
|
12995
|
+
path_params = {}
|
|
12996
|
+
|
|
12997
|
+
query_params = []
|
|
12998
|
+
|
|
12999
|
+
header_params = {}
|
|
13000
|
+
|
|
13001
|
+
form_params = []
|
|
13002
|
+
local_var_files = {}
|
|
13003
|
+
|
|
13004
|
+
body_params = None
|
|
13005
|
+
if 'body' in params:
|
|
13006
|
+
body_params = params['body']
|
|
13007
|
+
# HTTP header `Accept`
|
|
13008
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
13009
|
+
['application/json']) # noqa: E501
|
|
13010
|
+
|
|
13011
|
+
# HTTP header `Content-Type`
|
|
13012
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
13013
|
+
['application/json']) # noqa: E501
|
|
13014
|
+
|
|
13015
|
+
# Authentication setting
|
|
13016
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
13017
|
+
|
|
13018
|
+
return self.api_client.call_api(
|
|
13019
|
+
'/RebuildDBGreenInstance/2022-01-01/rds_mysql/post/application_json/', 'POST',
|
|
13020
|
+
path_params,
|
|
13021
|
+
query_params,
|
|
13022
|
+
header_params,
|
|
13023
|
+
body=body_params,
|
|
13024
|
+
post_params=form_params,
|
|
13025
|
+
files=local_var_files,
|
|
13026
|
+
response_type='RebuildDBGreenInstanceResponse', # noqa: E501
|
|
13027
|
+
auth_settings=auth_settings,
|
|
13028
|
+
async_req=params.get('async_req'),
|
|
13029
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
13030
|
+
_preload_content=params.get('_preload_content', True),
|
|
13031
|
+
_request_timeout=params.get('_request_timeout'),
|
|
13032
|
+
collection_formats=collection_formats)
|
|
13033
|
+
|
|
12937
13034
|
def rebuild_db_instance(self, body, **kwargs): # noqa: E501
|
|
12938
13035
|
"""rebuild_db_instance # noqa: E501
|
|
12939
13036
|
|
|
@@ -446,6 +446,8 @@ from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instan
|
|
|
446
446
|
from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instance_endpoints_output import ReadOnlyNodeWeightForDescribeDBInstanceEndpointsOutput
|
|
447
447
|
from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_connection_mode_input import ReadOnlyNodeWeightForModifyDBEndpointConnectionModeInput
|
|
448
448
|
from volcenginesdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_input import ReadOnlyNodeWeightForModifyDBEndpointInput
|
|
449
|
+
from volcenginesdkrdsmysqlv2.models.rebuild_db_green_instance_request import RebuildDBGreenInstanceRequest
|
|
450
|
+
from volcenginesdkrdsmysqlv2.models.rebuild_db_green_instance_response import RebuildDBGreenInstanceResponse
|
|
449
451
|
from volcenginesdkrdsmysqlv2.models.rebuild_db_instance_request import RebuildDBInstanceRequest
|
|
450
452
|
from volcenginesdkrdsmysqlv2.models.rebuild_db_instance_response import RebuildDBInstanceResponse
|
|
451
453
|
from volcenginesdkrdsmysqlv2.models.rebuild_dr_instance_request import RebuildDrInstanceRequest
|
|
@@ -65,7 +65,6 @@ class CreateDBInstanceRequest(object):
|
|
|
65
65
|
'super_account_password': 'str',
|
|
66
66
|
'used_time': 'str',
|
|
67
67
|
'vpc_id': 'str',
|
|
68
|
-
'vpc_id': 'str',
|
|
69
68
|
'zone': 'str'
|
|
70
69
|
}
|
|
71
70
|
|
|
@@ -101,12 +100,11 @@ class CreateDBInstanceRequest(object):
|
|
|
101
100
|
'super_account_name': 'SuperAccountName',
|
|
102
101
|
'super_account_password': 'SuperAccountPassword',
|
|
103
102
|
'used_time': 'UsedTime',
|
|
104
|
-
'vpc_id': 'VpcID',
|
|
105
103
|
'vpc_id': 'VpcId',
|
|
106
104
|
'zone': 'Zone'
|
|
107
105
|
}
|
|
108
106
|
|
|
109
|
-
def __init__(self, allow_list_ids=None, auto_renew=None, auto_storage_scaling_config=None, charge_info=None, charge_type=None, db_engine=None, db_engine_version=None, db_param_group_id=None, db_time_zone=None, deletion_protection=None, enable_external_replication=None, engine_type=None, instance_name=None, instance_spec_name=None, instance_tags=None, instance_type=None, lower_case_table_names=None, maintenance_window=None, node_info=None, parameter_template_id=None, port=None, prepaid_period=None, private_ip_address=None, project_name=None, proxy_node_custom=None, storage_space=None, storage_type=None, subnet_id=None, super_account_name=None, super_account_password=None, used_time=None, vpc_id=None,
|
|
107
|
+
def __init__(self, allow_list_ids=None, auto_renew=None, auto_storage_scaling_config=None, charge_info=None, charge_type=None, db_engine=None, db_engine_version=None, db_param_group_id=None, db_time_zone=None, deletion_protection=None, enable_external_replication=None, engine_type=None, instance_name=None, instance_spec_name=None, instance_tags=None, instance_type=None, lower_case_table_names=None, maintenance_window=None, node_info=None, parameter_template_id=None, port=None, prepaid_period=None, private_ip_address=None, project_name=None, proxy_node_custom=None, storage_space=None, storage_type=None, subnet_id=None, super_account_name=None, super_account_password=None, used_time=None, vpc_id=None, zone=None, _configuration=None): # noqa: E501
|
|
110
108
|
"""CreateDBInstanceRequest - a model defined in Swagger""" # noqa: E501
|
|
111
109
|
if _configuration is None:
|
|
112
110
|
_configuration = Configuration()
|
|
@@ -144,7 +142,6 @@ class CreateDBInstanceRequest(object):
|
|
|
144
142
|
self._super_account_password = None
|
|
145
143
|
self._used_time = None
|
|
146
144
|
self._vpc_id = None
|
|
147
|
-
self._vpc_id = None
|
|
148
145
|
self._zone = None
|
|
149
146
|
self.discriminator = None
|
|
150
147
|
|
|
@@ -206,8 +203,6 @@ class CreateDBInstanceRequest(object):
|
|
|
206
203
|
self.super_account_password = super_account_password
|
|
207
204
|
if used_time is not None:
|
|
208
205
|
self.used_time = used_time
|
|
209
|
-
if vpc_id is not None:
|
|
210
|
-
self.vpc_id = vpc_id
|
|
211
206
|
self.vpc_id = vpc_id
|
|
212
207
|
if zone is not None:
|
|
213
208
|
self.zone = zone
|
|
@@ -886,27 +881,6 @@ class CreateDBInstanceRequest(object):
|
|
|
886
881
|
"""Sets the vpc_id of this CreateDBInstanceRequest.
|
|
887
882
|
|
|
888
883
|
|
|
889
|
-
:param vpc_id: The vpc_id of this CreateDBInstanceRequest. # noqa: E501
|
|
890
|
-
:type: str
|
|
891
|
-
"""
|
|
892
|
-
|
|
893
|
-
self._vpc_id = vpc_id
|
|
894
|
-
|
|
895
|
-
@property
|
|
896
|
-
def vpc_id(self):
|
|
897
|
-
"""Gets the vpc_id of this CreateDBInstanceRequest. # noqa: E501
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
:return: The vpc_id of this CreateDBInstanceRequest. # noqa: E501
|
|
901
|
-
:rtype: str
|
|
902
|
-
"""
|
|
903
|
-
return self._vpc_id
|
|
904
|
-
|
|
905
|
-
@vpc_id.setter
|
|
906
|
-
def vpc_id(self, vpc_id):
|
|
907
|
-
"""Sets the vpc_id of this CreateDBInstanceRequest.
|
|
908
|
-
|
|
909
|
-
|
|
910
884
|
:param vpc_id: The vpc_id of this CreateDBInstanceRequest. # noqa: E501
|
|
911
885
|
:type: str
|
|
912
886
|
"""
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
rds_mysql_v2
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class RebuildDBGreenInstanceRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'instance_id': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'instance_id': 'InstanceId'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, instance_id=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""RebuildDBGreenInstanceRequest - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._instance_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
self.instance_id = instance_id
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def instance_id(self):
|
|
56
|
+
"""Gets the instance_id of this RebuildDBGreenInstanceRequest. # noqa: E501
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
:return: The instance_id of this RebuildDBGreenInstanceRequest. # noqa: E501
|
|
60
|
+
:rtype: str
|
|
61
|
+
"""
|
|
62
|
+
return self._instance_id
|
|
63
|
+
|
|
64
|
+
@instance_id.setter
|
|
65
|
+
def instance_id(self, instance_id):
|
|
66
|
+
"""Sets the instance_id of this RebuildDBGreenInstanceRequest.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:param instance_id: The instance_id of this RebuildDBGreenInstanceRequest. # noqa: E501
|
|
70
|
+
:type: str
|
|
71
|
+
"""
|
|
72
|
+
if self._configuration.client_side_validation and instance_id is None:
|
|
73
|
+
raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
|
|
74
|
+
|
|
75
|
+
self._instance_id = instance_id
|
|
76
|
+
|
|
77
|
+
def to_dict(self):
|
|
78
|
+
"""Returns the model properties as a dict"""
|
|
79
|
+
result = {}
|
|
80
|
+
|
|
81
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
82
|
+
value = getattr(self, attr)
|
|
83
|
+
if isinstance(value, list):
|
|
84
|
+
result[attr] = list(map(
|
|
85
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
86
|
+
value
|
|
87
|
+
))
|
|
88
|
+
elif hasattr(value, "to_dict"):
|
|
89
|
+
result[attr] = value.to_dict()
|
|
90
|
+
elif isinstance(value, dict):
|
|
91
|
+
result[attr] = dict(map(
|
|
92
|
+
lambda item: (item[0], item[1].to_dict())
|
|
93
|
+
if hasattr(item[1], "to_dict") else item,
|
|
94
|
+
value.items()
|
|
95
|
+
))
|
|
96
|
+
else:
|
|
97
|
+
result[attr] = value
|
|
98
|
+
if issubclass(RebuildDBGreenInstanceRequest, dict):
|
|
99
|
+
for key, value in self.items():
|
|
100
|
+
result[key] = value
|
|
101
|
+
|
|
102
|
+
return result
|
|
103
|
+
|
|
104
|
+
def to_str(self):
|
|
105
|
+
"""Returns the string representation of the model"""
|
|
106
|
+
return pprint.pformat(self.to_dict())
|
|
107
|
+
|
|
108
|
+
def __repr__(self):
|
|
109
|
+
"""For `print` and `pprint`"""
|
|
110
|
+
return self.to_str()
|
|
111
|
+
|
|
112
|
+
def __eq__(self, other):
|
|
113
|
+
"""Returns true if both objects are equal"""
|
|
114
|
+
if not isinstance(other, RebuildDBGreenInstanceRequest):
|
|
115
|
+
return False
|
|
116
|
+
|
|
117
|
+
return self.to_dict() == other.to_dict()
|
|
118
|
+
|
|
119
|
+
def __ne__(self, other):
|
|
120
|
+
"""Returns true if both objects are not equal"""
|
|
121
|
+
if not isinstance(other, RebuildDBGreenInstanceRequest):
|
|
122
|
+
return True
|
|
123
|
+
|
|
124
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
rds_mysql_v2
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class RebuildDBGreenInstanceResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, _configuration=None): # noqa: E501
|
|
42
|
+
"""RebuildDBGreenInstanceResponse - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
if _configuration is None:
|
|
44
|
+
_configuration = Configuration()
|
|
45
|
+
self._configuration = _configuration
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
|
|
48
|
+
def to_dict(self):
|
|
49
|
+
"""Returns the model properties as a dict"""
|
|
50
|
+
result = {}
|
|
51
|
+
|
|
52
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
53
|
+
value = getattr(self, attr)
|
|
54
|
+
if isinstance(value, list):
|
|
55
|
+
result[attr] = list(map(
|
|
56
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
+
value
|
|
58
|
+
))
|
|
59
|
+
elif hasattr(value, "to_dict"):
|
|
60
|
+
result[attr] = value.to_dict()
|
|
61
|
+
elif isinstance(value, dict):
|
|
62
|
+
result[attr] = dict(map(
|
|
63
|
+
lambda item: (item[0], item[1].to_dict())
|
|
64
|
+
if hasattr(item[1], "to_dict") else item,
|
|
65
|
+
value.items()
|
|
66
|
+
))
|
|
67
|
+
else:
|
|
68
|
+
result[attr] = value
|
|
69
|
+
if issubclass(RebuildDBGreenInstanceResponse, dict):
|
|
70
|
+
for key, value in self.items():
|
|
71
|
+
result[key] = value
|
|
72
|
+
|
|
73
|
+
return result
|
|
74
|
+
|
|
75
|
+
def to_str(self):
|
|
76
|
+
"""Returns the string representation of the model"""
|
|
77
|
+
return pprint.pformat(self.to_dict())
|
|
78
|
+
|
|
79
|
+
def __repr__(self):
|
|
80
|
+
"""For `print` and `pprint`"""
|
|
81
|
+
return self.to_str()
|
|
82
|
+
|
|
83
|
+
def __eq__(self, other):
|
|
84
|
+
"""Returns true if both objects are equal"""
|
|
85
|
+
if not isinstance(other, RebuildDBGreenInstanceResponse):
|
|
86
|
+
return False
|
|
87
|
+
|
|
88
|
+
return self.to_dict() == other.to_dict()
|
|
89
|
+
|
|
90
|
+
def __ne__(self, other):
|
|
91
|
+
"""Returns true if both objects are not equal"""
|
|
92
|
+
if not isinstance(other, RebuildDBGreenInstanceResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|
|
File without changes
|
|
File without changes
|
{volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/licenses/NOTICE.md
RENAMED
|
File without changes
|
{volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.19.dist-info}/top_level.txt
RENAMED
|
File without changes
|