byteplus-python-sdk-v2 3.0.37__py2.py3-none-any.whl → 3.0.38__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.
- {byteplus_python_sdk_v2-3.0.37.dist-info → byteplus_python_sdk_v2-3.0.38.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.37.dist-info → byteplus_python_sdk_v2-3.0.38.dist-info}/RECORD +14 -12
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkrdsmysqlv2/__init__.py +2 -0
- byteplussdkrdsmysqlv2/api/rds_mysql_v2_api.py +97 -0
- byteplussdkrdsmysqlv2/models/__init__.py +2 -0
- byteplussdkrdsmysqlv2/models/create_db_instance_request.py +1 -27
- byteplussdkrdsmysqlv2/models/rebuild_db_green_instance_request.py +124 -0
- byteplussdkrdsmysqlv2/models/rebuild_db_green_instance_response.py +95 -0
- {byteplus_python_sdk_v2-3.0.37.dist-info → byteplus_python_sdk_v2-3.0.38.dist-info}/WHEEL +0 -0
- {byteplus_python_sdk_v2-3.0.37.dist-info → byteplus_python_sdk_v2-3.0.38.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.37.dist-info → byteplus_python_sdk_v2-3.0.38.dist-info}/licenses/NOTICE.md +0 -0
- {byteplus_python_sdk_v2-3.0.37.dist-info → byteplus_python_sdk_v2-3.0.38.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
byteplus_python_sdk_v2-3.0.
|
|
2
|
-
byteplus_python_sdk_v2-3.0.
|
|
1
|
+
byteplus_python_sdk_v2-3.0.38.dist-info/licenses/LICENSE.txt,sha256=jG2zQEdRNt88EgHUWPpXVWmOrOduUQRx7MnYV9YIPaw,11359
|
|
2
|
+
byteplus_python_sdk_v2-3.0.38.dist-info/licenses/NOTICE.md,sha256=vSw_bTkZl1MYBrGol3tpO6B6OLLFRpaw0z5cun0_0QE,85
|
|
3
3
|
byteplussdkalb/__init__.py,sha256=hgNQF2o0CFabtxQHh0xHHZ5oHcz3bQ6wHpRkA9B8nuo,30746
|
|
4
4
|
byteplussdkalb/api/__init__.py,sha256=H6iQBCnNKuvuPDr57uNOlglabIkEAd4CncI0rnwwEoE,133
|
|
5
5
|
byteplussdkalb/api/alb_api.py,sha256=kWP7DNDolXb02v4nD5VmEjSmeddM-aBrHPGCIdC7ogY,249907
|
|
@@ -1901,8 +1901,8 @@ byteplussdkcloudmonitor/models/update_silence_policy_response.py,sha256=3PZTcDF2
|
|
|
1901
1901
|
byteplussdkcloudmonitor/models/update_webhook_request.py,sha256=IzYI0KM7_lMgLNNjq6x_jgrZefAFAr0oj-caGsGkRBg,5681
|
|
1902
1902
|
byteplussdkcloudmonitor/models/update_webhook_response.py,sha256=Icjg1daq1uG0V3l7R_QVPkHvLCe1uXU1OphnDhoZ91A,3424
|
|
1903
1903
|
byteplussdkcore/__init__.py,sha256=QD2qSwKMsMeYxsEQIdWce5ekPilRexqkWCP_q3YOqvo,308
|
|
1904
|
-
byteplussdkcore/api_client.py,sha256=
|
|
1905
|
-
byteplussdkcore/configuration.py,sha256=
|
|
1904
|
+
byteplussdkcore/api_client.py,sha256=2Y3S6BLVIsxtNHQCJlXONHxMgR4kcVsooZwmaQzRX1s,18239
|
|
1905
|
+
byteplussdkcore/configuration.py,sha256=fbsXmqD74ic2V3ImwtYRzjoNX4bpw2e6GxyGoeoSllE,11924
|
|
1906
1906
|
byteplussdkcore/endpoint.py,sha256=L5Dw0-Cia9ezYxGJFgZ9td-mCM4AqSIZv67ll1sSzMY,1630
|
|
1907
1907
|
byteplussdkcore/flatten.py,sha256=g3r61JS_AO7WV6ClRDkXgtnVXcw3c7tbZjeLAJxkSLc,3811
|
|
1908
1908
|
byteplussdkcore/metadata.py,sha256=Km5jOllvPViXn0rdx604nIq0OF1RBF3Q2x-xA2cDXc8,4518
|
|
@@ -4894,10 +4894,10 @@ byteplussdkrdsmssql/models/tag_for_create_db_instance_input.py,sha256=q-pGVNq870
|
|
|
4894
4894
|
byteplussdkrdsmssql/models/tag_for_describe_db_instance_detail_output.py,sha256=6OGiwxdYvAnaXSPESmrx0IwBl0jZZYM1mMcjKltdXKc,4211
|
|
4895
4895
|
byteplussdkrdsmssql/models/tag_for_describe_db_instances_output.py,sha256=5dWErYuARtVRg8rrstagU_75nOgghmZ16QbR5rizlOc,4146
|
|
4896
4896
|
byteplussdkrdsmssql/models/zone_for_describe_availability_zones_output.py,sha256=eFCGCuEH9sXm4f6_ECpuL-_R08UwSahC8LSz2EczYHs,5216
|
|
4897
|
-
byteplussdkrdsmysqlv2/__init__.py,sha256=
|
|
4897
|
+
byteplussdkrdsmysqlv2/__init__.py,sha256=ZaLGFELK02W6KMPchdoXwzt-rLNu4Cwnc8mt0wZXP8Y,63982
|
|
4898
4898
|
byteplussdkrdsmysqlv2/api/__init__.py,sha256=yyRMgjLj_yhRpxJQ9hT3Y7I430MFtdGYGhwUB1fhzj8,156
|
|
4899
|
-
byteplussdkrdsmysqlv2/api/rds_mysql_v2_api.py,sha256
|
|
4900
|
-
byteplussdkrdsmysqlv2/models/__init__.py,sha256=
|
|
4899
|
+
byteplussdkrdsmysqlv2/api/rds_mysql_v2_api.py,sha256=-tc0N3qMdWvIWqXUjxxLtgN_rA-ukzxtEGjrYA7e404,630968
|
|
4900
|
+
byteplussdkrdsmysqlv2/models/__init__.py,sha256=DRyYxHDdNb8VOnZ1gNsLfg1X5fYlESvI3jniz0eb85U,63882
|
|
4901
4901
|
byteplussdkrdsmysqlv2/models/account_for_describe_db_accounts_output.py,sha256=vK33rIE572d2peS0aNLg0wveCrK6CRA6UVjQNzGB0cM,12345
|
|
4902
4902
|
byteplussdkrdsmysqlv2/models/account_privilege_for_create_db_account_input.py,sha256=HbH5CQY905gnd-lBSyGBS2TPuXHj7kMqlTENC5BwTAI,5654
|
|
4903
4903
|
byteplussdkrdsmysqlv2/models/account_privilege_for_describe_db_accounts_output.py,sha256=AMEimNYSVF-zRhHk3cS3s9nXtw1Jr6aUChFG03oTaYE,5722
|
|
@@ -4981,7 +4981,7 @@ byteplussdkrdsmysqlv2/models/create_db_endpoint_public_address_response.py,sha25
|
|
|
4981
4981
|
byteplussdkrdsmysqlv2/models/create_db_endpoint_req_for_modify_db_endpoint_connection_mode_input.py,sha256=ibSRjFcH2x-W06pOozfEio0fOGe7M95_saGpvFi5YJE,21979
|
|
4982
4982
|
byteplussdkrdsmysqlv2/models/create_db_endpoint_request.py,sha256=TPLzHGZieb5UwWxSHE6a7lygt7R6-9TnrouWCZ0RvDQ,21537
|
|
4983
4983
|
byteplussdkrdsmysqlv2/models/create_db_endpoint_response.py,sha256=0KtvORGVDk3aBFg7fnCbHUEDATxg-DSvusYATn2YP1U,4336
|
|
4984
|
-
byteplussdkrdsmysqlv2/models/create_db_instance_request.py,sha256=
|
|
4984
|
+
byteplussdkrdsmysqlv2/models/create_db_instance_request.py,sha256=YxqtdWIDS-USRGI-2SRI99ZrztcGbGhvJA6zsouLRno,31386
|
|
4985
4985
|
byteplussdkrdsmysqlv2/models/create_db_instance_response.py,sha256=pg1SbZR7Ktx3D_t0CXAjyYy3Yin9KB19tBz84ivQKS8,4276
|
|
4986
4986
|
byteplussdkrdsmysqlv2/models/create_db_nodes_request.py,sha256=1BZMkysSp8TglGAjwBKc9IZujHhNoSd06s9zlXplcr8,8916
|
|
4987
4987
|
byteplussdkrdsmysqlv2/models/create_db_nodes_response.py,sha256=W73_WUIAywfmuGkaVHkoWX3z06eK1HkPN5y3rO6aFX0,5214
|
|
@@ -5329,6 +5329,8 @@ byteplussdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_deta
|
|
|
5329
5329
|
byteplussdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py,sha256=PrFqes2GPnYv_zvnUF3Sc1wK4mL1Zh85qgSCEOKhBfU,5391
|
|
5330
5330
|
byteplussdkrdsmysqlv2/models/read_only_node_weight_for_modify_db_endpoint_connection_mode_input.py,sha256=fLHvdHhaWaCzbSyTT3wkrie44N0RNdgM5Atc62o4pxg,5425
|
|
5331
5331
|
byteplussdkrdsmysqlv2/models/read_only_node_weight_for_modify_db_endpoint_input.py,sha256=gL-0HnfG2S7TcyfCSZSCgsHgQZlVG0xy0Ssq0ctMA6M,5187
|
|
5332
|
+
byteplussdkrdsmysqlv2/models/rebuild_db_green_instance_request.py,sha256=xyHwMvsDP6dOd0iAzFUsVtt2XZY0v50EqJc3aY98sqo,3754
|
|
5333
|
+
byteplussdkrdsmysqlv2/models/rebuild_db_green_instance_response.py,sha256=J1PksCUpjKpZifAYJNrCb0e_C-N68dYlGjTFCoCOS_4,2838
|
|
5332
5334
|
byteplussdkrdsmysqlv2/models/rebuild_db_instance_request.py,sha256=Z_UaAl3aoDjQPdIqr2zdV5OgUlX7e3UOr5WTwHXmh0s,18823
|
|
5333
5335
|
byteplussdkrdsmysqlv2/models/rebuild_db_instance_response.py,sha256=osi62okN6IV8OPwy5EicjNqFmPPtstNvj73dTL2bCcs,4289
|
|
5334
5336
|
byteplussdkrdsmysqlv2/models/rebuild_dr_instance_request.py,sha256=ZpHO7_BfetXrh6JOqVph_ARO7AOe-eLenOznYgn4uT0,3709
|
|
@@ -8121,7 +8123,7 @@ byteplussdkvpn/models/vpn_connection_for_describe_vpn_connections_output.py,sha2
|
|
|
8121
8123
|
byteplussdkvpn/models/vpn_gateway_for_describe_vpn_gateways_billing_output.py,sha256=PVoxecEDX9kyxj0C2lvvak-Dcj6Ob-S_dVO7cDUfONA,11033
|
|
8122
8124
|
byteplussdkvpn/models/vpn_gateway_for_describe_vpn_gateways_output.py,sha256=Vws178kEWlj6cvHc6Pknd6DS_kQCMvVFI1PalrlXcio,28961
|
|
8123
8125
|
byteplussdkvpn/models/vpn_gateway_route_for_describe_vpn_gateway_routes_output.py,sha256=f14Ld4PWButLCb0GGdne7tSbfN8NxNR4icaxRCRYkw0,12000
|
|
8124
|
-
byteplus_python_sdk_v2-3.0.
|
|
8125
|
-
byteplus_python_sdk_v2-3.0.
|
|
8126
|
-
byteplus_python_sdk_v2-3.0.
|
|
8127
|
-
byteplus_python_sdk_v2-3.0.
|
|
8126
|
+
byteplus_python_sdk_v2-3.0.38.dist-info/METADATA,sha256=YjNERn_n2r59dSl_vBWjpFF1vlYxSp4YrleqGH0GO8A,3582
|
|
8127
|
+
byteplus_python_sdk_v2-3.0.38.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
|
|
8128
|
+
byteplus_python_sdk_v2-3.0.38.dist-info/top_level.txt,sha256=YxZfdoc_hJsXDUG8oXRtBwaen82Dm7173gmI4VAFnls,879
|
|
8129
|
+
byteplus_python_sdk_v2-3.0.38.dist-info/RECORD,,
|
byteplussdkcore/api_client.py
CHANGED
|
@@ -63,7 +63,7 @@ class ApiClient(object):
|
|
|
63
63
|
self.default_headers[header_name] = header_value
|
|
64
64
|
self.cookie = cookie
|
|
65
65
|
# Set default User-Agent.
|
|
66
|
-
self.user_agent = 'byteplus-python-sdk-v2/3.0.
|
|
66
|
+
self.user_agent = 'byteplus-python-sdk-v2/3.0.38'
|
|
67
67
|
self.client_side_validation = configuration.client_side_validation
|
|
68
68
|
|
|
69
69
|
self.interceptor_chain = InterceptorChain()
|
byteplussdkcore/configuration.py
CHANGED
|
@@ -287,7 +287,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
287
287
|
"OS: {env}\n" \
|
|
288
288
|
"Python Version: {pyversion}\n" \
|
|
289
289
|
"Version of the API: 0.1.0\n" \
|
|
290
|
-
"SDK Package Version: 3.0.
|
|
290
|
+
"SDK Package Version: 3.0.38".\
|
|
291
291
|
format(env=sys.platform, pyversion=sys.version)
|
|
292
292
|
|
|
293
293
|
@property
|
|
@@ -450,6 +450,8 @@ from byteplussdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instance
|
|
|
450
450
|
from byteplussdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instance_endpoints_output import ReadOnlyNodeWeightForDescribeDBInstanceEndpointsOutput
|
|
451
451
|
from byteplussdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_connection_mode_input import ReadOnlyNodeWeightForModifyDBEndpointConnectionModeInput
|
|
452
452
|
from byteplussdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_input import ReadOnlyNodeWeightForModifyDBEndpointInput
|
|
453
|
+
from byteplussdkrdsmysqlv2.models.rebuild_db_green_instance_request import RebuildDBGreenInstanceRequest
|
|
454
|
+
from byteplussdkrdsmysqlv2.models.rebuild_db_green_instance_response import RebuildDBGreenInstanceResponse
|
|
453
455
|
from byteplussdkrdsmysqlv2.models.rebuild_db_instance_request import RebuildDBInstanceRequest
|
|
454
456
|
from byteplussdkrdsmysqlv2.models.rebuild_db_instance_response import RebuildDBInstanceResponse
|
|
455
457
|
from byteplussdkrdsmysqlv2.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 = ['byteplusSign'] # 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 byteplussdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instance
|
|
|
446
446
|
from byteplussdkrdsmysqlv2.models.read_only_node_weight_for_describe_db_instance_endpoints_output import ReadOnlyNodeWeightForDescribeDBInstanceEndpointsOutput
|
|
447
447
|
from byteplussdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_connection_mode_input import ReadOnlyNodeWeightForModifyDBEndpointConnectionModeInput
|
|
448
448
|
from byteplussdkrdsmysqlv2.models.read_only_node_weight_for_modify_db_endpoint_input import ReadOnlyNodeWeightForModifyDBEndpointInput
|
|
449
|
+
from byteplussdkrdsmysqlv2.models.rebuild_db_green_instance_request import RebuildDBGreenInstanceRequest
|
|
450
|
+
from byteplussdkrdsmysqlv2.models.rebuild_db_green_instance_response import RebuildDBGreenInstanceResponse
|
|
449
451
|
from byteplussdkrdsmysqlv2.models.rebuild_db_instance_request import RebuildDBInstanceRequest
|
|
450
452
|
from byteplussdkrdsmysqlv2.models.rebuild_db_instance_response import RebuildDBInstanceResponse
|
|
451
453
|
from byteplussdkrdsmysqlv2.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 byteplussdkcore.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 byteplussdkcore.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
|
|
File without changes
|
{byteplus_python_sdk_v2-3.0.37.dist-info → byteplus_python_sdk_v2-3.0.38.dist-info}/top_level.txt
RENAMED
|
File without changes
|