volcengine-python-sdk 4.0.20__py2.py3-none-any.whl → 4.0.21__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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +88 -62
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
- volcenginesdkarkruntime/resources/images/images.py +1 -1
- volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
- volcenginesdkarkruntime/resources/responses/responses.py +4 -1
- volcenginesdkarkruntime/types/images/images.py +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkrdsmysqlv2/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
- volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
- volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
- volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
- volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
- volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
- volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
- volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
- volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
- volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
- volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
- volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
- volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
- volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
- volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
- volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
- volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
- volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
- volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_request.py → proxy_detail_for_describe_db_proxy_output.py} +36 -37
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
- volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
- volcenginesdkresourceshare/__init__.py +12 -0
- volcenginesdkresourceshare/api/resource_share_api.py +291 -0
- volcenginesdkresourceshare/models/__init__.py +12 -0
- volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
- volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
- volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
- volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
- volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
- volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
- volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
- volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
- volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
- volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
- volcengine_python_sdk-4.0.20.dist-info/METADATA +0 -20
- volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
- volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
- volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
- volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
- volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
- volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
- volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
- volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,383 @@
|
|
|
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 ChargeDetailForDescribeDBInstanceChargeDetailOutput(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
|
+
'auto_renew': 'bool',
|
|
37
|
+
'charge_end_time': 'str',
|
|
38
|
+
'charge_start_time': 'str',
|
|
39
|
+
'charge_status': 'str',
|
|
40
|
+
'charge_type': 'str',
|
|
41
|
+
'overdue_reclaim_time': 'str',
|
|
42
|
+
'overdue_time': 'str',
|
|
43
|
+
'period': 'int',
|
|
44
|
+
'period_unit': 'str',
|
|
45
|
+
'temp_modify_end_time': 'str',
|
|
46
|
+
'temp_modify_start_time': 'str'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
attribute_map = {
|
|
50
|
+
'auto_renew': 'AutoRenew',
|
|
51
|
+
'charge_end_time': 'ChargeEndTime',
|
|
52
|
+
'charge_start_time': 'ChargeStartTime',
|
|
53
|
+
'charge_status': 'ChargeStatus',
|
|
54
|
+
'charge_type': 'ChargeType',
|
|
55
|
+
'overdue_reclaim_time': 'OverdueReclaimTime',
|
|
56
|
+
'overdue_time': 'OverdueTime',
|
|
57
|
+
'period': 'Period',
|
|
58
|
+
'period_unit': 'PeriodUnit',
|
|
59
|
+
'temp_modify_end_time': 'TempModifyEndTime',
|
|
60
|
+
'temp_modify_start_time': 'TempModifyStartTime'
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
def __init__(self, auto_renew=None, charge_end_time=None, charge_start_time=None, charge_status=None, charge_type=None, overdue_reclaim_time=None, overdue_time=None, period=None, period_unit=None, temp_modify_end_time=None, temp_modify_start_time=None, _configuration=None): # noqa: E501
|
|
64
|
+
"""ChargeDetailForDescribeDBInstanceChargeDetailOutput - a model defined in Swagger""" # noqa: E501
|
|
65
|
+
if _configuration is None:
|
|
66
|
+
_configuration = Configuration()
|
|
67
|
+
self._configuration = _configuration
|
|
68
|
+
|
|
69
|
+
self._auto_renew = None
|
|
70
|
+
self._charge_end_time = None
|
|
71
|
+
self._charge_start_time = None
|
|
72
|
+
self._charge_status = None
|
|
73
|
+
self._charge_type = None
|
|
74
|
+
self._overdue_reclaim_time = None
|
|
75
|
+
self._overdue_time = None
|
|
76
|
+
self._period = None
|
|
77
|
+
self._period_unit = None
|
|
78
|
+
self._temp_modify_end_time = None
|
|
79
|
+
self._temp_modify_start_time = None
|
|
80
|
+
self.discriminator = None
|
|
81
|
+
|
|
82
|
+
if auto_renew is not None:
|
|
83
|
+
self.auto_renew = auto_renew
|
|
84
|
+
if charge_end_time is not None:
|
|
85
|
+
self.charge_end_time = charge_end_time
|
|
86
|
+
if charge_start_time is not None:
|
|
87
|
+
self.charge_start_time = charge_start_time
|
|
88
|
+
if charge_status is not None:
|
|
89
|
+
self.charge_status = charge_status
|
|
90
|
+
if charge_type is not None:
|
|
91
|
+
self.charge_type = charge_type
|
|
92
|
+
if overdue_reclaim_time is not None:
|
|
93
|
+
self.overdue_reclaim_time = overdue_reclaim_time
|
|
94
|
+
if overdue_time is not None:
|
|
95
|
+
self.overdue_time = overdue_time
|
|
96
|
+
if period is not None:
|
|
97
|
+
self.period = period
|
|
98
|
+
if period_unit is not None:
|
|
99
|
+
self.period_unit = period_unit
|
|
100
|
+
if temp_modify_end_time is not None:
|
|
101
|
+
self.temp_modify_end_time = temp_modify_end_time
|
|
102
|
+
if temp_modify_start_time is not None:
|
|
103
|
+
self.temp_modify_start_time = temp_modify_start_time
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def auto_renew(self):
|
|
107
|
+
"""Gets the auto_renew of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:return: The auto_renew of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
111
|
+
:rtype: bool
|
|
112
|
+
"""
|
|
113
|
+
return self._auto_renew
|
|
114
|
+
|
|
115
|
+
@auto_renew.setter
|
|
116
|
+
def auto_renew(self, auto_renew):
|
|
117
|
+
"""Sets the auto_renew of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:param auto_renew: The auto_renew of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
121
|
+
:type: bool
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
self._auto_renew = auto_renew
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def charge_end_time(self):
|
|
128
|
+
"""Gets the charge_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:return: The charge_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
132
|
+
:rtype: str
|
|
133
|
+
"""
|
|
134
|
+
return self._charge_end_time
|
|
135
|
+
|
|
136
|
+
@charge_end_time.setter
|
|
137
|
+
def charge_end_time(self, charge_end_time):
|
|
138
|
+
"""Sets the charge_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
:param charge_end_time: The charge_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
142
|
+
:type: str
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
self._charge_end_time = charge_end_time
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
def charge_start_time(self):
|
|
149
|
+
"""Gets the charge_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:return: The charge_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
153
|
+
:rtype: str
|
|
154
|
+
"""
|
|
155
|
+
return self._charge_start_time
|
|
156
|
+
|
|
157
|
+
@charge_start_time.setter
|
|
158
|
+
def charge_start_time(self, charge_start_time):
|
|
159
|
+
"""Sets the charge_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
:param charge_start_time: The charge_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
163
|
+
:type: str
|
|
164
|
+
"""
|
|
165
|
+
|
|
166
|
+
self._charge_start_time = charge_start_time
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
def charge_status(self):
|
|
170
|
+
"""Gets the charge_status of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:return: The charge_status of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
174
|
+
:rtype: str
|
|
175
|
+
"""
|
|
176
|
+
return self._charge_status
|
|
177
|
+
|
|
178
|
+
@charge_status.setter
|
|
179
|
+
def charge_status(self, charge_status):
|
|
180
|
+
"""Sets the charge_status of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
:param charge_status: The charge_status of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
184
|
+
:type: str
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
self._charge_status = charge_status
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def charge_type(self):
|
|
191
|
+
"""Gets the charge_type of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:return: The charge_type of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
195
|
+
:rtype: str
|
|
196
|
+
"""
|
|
197
|
+
return self._charge_type
|
|
198
|
+
|
|
199
|
+
@charge_type.setter
|
|
200
|
+
def charge_type(self, charge_type):
|
|
201
|
+
"""Sets the charge_type of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
:param charge_type: The charge_type of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
205
|
+
:type: str
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
self._charge_type = charge_type
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
def overdue_reclaim_time(self):
|
|
212
|
+
"""Gets the overdue_reclaim_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:return: The overdue_reclaim_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
216
|
+
:rtype: str
|
|
217
|
+
"""
|
|
218
|
+
return self._overdue_reclaim_time
|
|
219
|
+
|
|
220
|
+
@overdue_reclaim_time.setter
|
|
221
|
+
def overdue_reclaim_time(self, overdue_reclaim_time):
|
|
222
|
+
"""Sets the overdue_reclaim_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
:param overdue_reclaim_time: The overdue_reclaim_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
226
|
+
:type: str
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
self._overdue_reclaim_time = overdue_reclaim_time
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
def overdue_time(self):
|
|
233
|
+
"""Gets the overdue_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:return: The overdue_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
237
|
+
:rtype: str
|
|
238
|
+
"""
|
|
239
|
+
return self._overdue_time
|
|
240
|
+
|
|
241
|
+
@overdue_time.setter
|
|
242
|
+
def overdue_time(self, overdue_time):
|
|
243
|
+
"""Sets the overdue_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
:param overdue_time: The overdue_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
247
|
+
:type: str
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
self._overdue_time = overdue_time
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def period(self):
|
|
254
|
+
"""Gets the period of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:return: The period of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
258
|
+
:rtype: int
|
|
259
|
+
"""
|
|
260
|
+
return self._period
|
|
261
|
+
|
|
262
|
+
@period.setter
|
|
263
|
+
def period(self, period):
|
|
264
|
+
"""Sets the period of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
:param period: The period of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
268
|
+
:type: int
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
self._period = period
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
def period_unit(self):
|
|
275
|
+
"""Gets the period_unit of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:return: The period_unit of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
279
|
+
:rtype: str
|
|
280
|
+
"""
|
|
281
|
+
return self._period_unit
|
|
282
|
+
|
|
283
|
+
@period_unit.setter
|
|
284
|
+
def period_unit(self, period_unit):
|
|
285
|
+
"""Sets the period_unit of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:param period_unit: The period_unit of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
289
|
+
:type: str
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
self._period_unit = period_unit
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
def temp_modify_end_time(self):
|
|
296
|
+
"""Gets the temp_modify_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
:return: The temp_modify_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
300
|
+
:rtype: str
|
|
301
|
+
"""
|
|
302
|
+
return self._temp_modify_end_time
|
|
303
|
+
|
|
304
|
+
@temp_modify_end_time.setter
|
|
305
|
+
def temp_modify_end_time(self, temp_modify_end_time):
|
|
306
|
+
"""Sets the temp_modify_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:param temp_modify_end_time: The temp_modify_end_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
310
|
+
:type: str
|
|
311
|
+
"""
|
|
312
|
+
|
|
313
|
+
self._temp_modify_end_time = temp_modify_end_time
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
def temp_modify_start_time(self):
|
|
317
|
+
"""Gets the temp_modify_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
:return: The temp_modify_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
321
|
+
:rtype: str
|
|
322
|
+
"""
|
|
323
|
+
return self._temp_modify_start_time
|
|
324
|
+
|
|
325
|
+
@temp_modify_start_time.setter
|
|
326
|
+
def temp_modify_start_time(self, temp_modify_start_time):
|
|
327
|
+
"""Sets the temp_modify_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput.
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
:param temp_modify_start_time: The temp_modify_start_time of this ChargeDetailForDescribeDBInstanceChargeDetailOutput. # noqa: E501
|
|
331
|
+
:type: str
|
|
332
|
+
"""
|
|
333
|
+
|
|
334
|
+
self._temp_modify_start_time = temp_modify_start_time
|
|
335
|
+
|
|
336
|
+
def to_dict(self):
|
|
337
|
+
"""Returns the model properties as a dict"""
|
|
338
|
+
result = {}
|
|
339
|
+
|
|
340
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
341
|
+
value = getattr(self, attr)
|
|
342
|
+
if isinstance(value, list):
|
|
343
|
+
result[attr] = list(map(
|
|
344
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
345
|
+
value
|
|
346
|
+
))
|
|
347
|
+
elif hasattr(value, "to_dict"):
|
|
348
|
+
result[attr] = value.to_dict()
|
|
349
|
+
elif isinstance(value, dict):
|
|
350
|
+
result[attr] = dict(map(
|
|
351
|
+
lambda item: (item[0], item[1].to_dict())
|
|
352
|
+
if hasattr(item[1], "to_dict") else item,
|
|
353
|
+
value.items()
|
|
354
|
+
))
|
|
355
|
+
else:
|
|
356
|
+
result[attr] = value
|
|
357
|
+
if issubclass(ChargeDetailForDescribeDBInstanceChargeDetailOutput, dict):
|
|
358
|
+
for key, value in self.items():
|
|
359
|
+
result[key] = value
|
|
360
|
+
|
|
361
|
+
return result
|
|
362
|
+
|
|
363
|
+
def to_str(self):
|
|
364
|
+
"""Returns the string representation of the model"""
|
|
365
|
+
return pprint.pformat(self.to_dict())
|
|
366
|
+
|
|
367
|
+
def __repr__(self):
|
|
368
|
+
"""For `print` and `pprint`"""
|
|
369
|
+
return self.to_str()
|
|
370
|
+
|
|
371
|
+
def __eq__(self, other):
|
|
372
|
+
"""Returns true if both objects are equal"""
|
|
373
|
+
if not isinstance(other, ChargeDetailForDescribeDBInstanceChargeDetailOutput):
|
|
374
|
+
return False
|
|
375
|
+
|
|
376
|
+
return self.to_dict() == other.to_dict()
|
|
377
|
+
|
|
378
|
+
def __ne__(self, other):
|
|
379
|
+
"""Returns true if both objects are not equal"""
|
|
380
|
+
if not isinstance(other, ChargeDetailForDescribeDBInstanceChargeDetailOutput):
|
|
381
|
+
return True
|
|
382
|
+
|
|
383
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -37,6 +37,7 @@ class CreateDBEndpointRequest(object):
|
|
|
37
37
|
'connection_mode': 'str',
|
|
38
38
|
'connection_pool_type': 'str',
|
|
39
39
|
'description': 'str',
|
|
40
|
+
'enable_connection_persistent': 'bool',
|
|
40
41
|
'endpoint_name': 'str',
|
|
41
42
|
'endpoint_type': 'str',
|
|
42
43
|
'idle_connection_reclaim': 'bool',
|
|
@@ -59,6 +60,7 @@ class CreateDBEndpointRequest(object):
|
|
|
59
60
|
'connection_mode': 'ConnectionMode',
|
|
60
61
|
'connection_pool_type': 'ConnectionPoolType',
|
|
61
62
|
'description': 'Description',
|
|
63
|
+
'enable_connection_persistent': 'EnableConnectionPersistent',
|
|
62
64
|
'endpoint_name': 'EndpointName',
|
|
63
65
|
'endpoint_type': 'EndpointType',
|
|
64
66
|
'idle_connection_reclaim': 'IdleConnectionReclaim',
|
|
@@ -76,7 +78,7 @@ class CreateDBEndpointRequest(object):
|
|
|
76
78
|
'read_write_spliting': 'ReadWriteSpliting'
|
|
77
79
|
}
|
|
78
80
|
|
|
79
|
-
def __init__(self, auto_add_new_nodes=None, connection_mode=None, connection_pool_type=None, description=None, endpoint_name=None, endpoint_type=None, idle_connection_reclaim=None, implicit_trans_split=None, instance_id=None, master_node_routing=None, master_protector_timeout=None, multi_statements_mode=None, nodes=None, overload_protection=None, read_only_node_distribution_type=None, read_only_node_max_delay_time=None, read_only_node_weight=None, read_write_mode=None, read_write_spliting=None, _configuration=None): # noqa: E501
|
|
81
|
+
def __init__(self, auto_add_new_nodes=None, connection_mode=None, connection_pool_type=None, description=None, enable_connection_persistent=None, endpoint_name=None, endpoint_type=None, idle_connection_reclaim=None, implicit_trans_split=None, instance_id=None, master_node_routing=None, master_protector_timeout=None, multi_statements_mode=None, nodes=None, overload_protection=None, read_only_node_distribution_type=None, read_only_node_max_delay_time=None, read_only_node_weight=None, read_write_mode=None, read_write_spliting=None, _configuration=None): # noqa: E501
|
|
80
82
|
"""CreateDBEndpointRequest - a model defined in Swagger""" # noqa: E501
|
|
81
83
|
if _configuration is None:
|
|
82
84
|
_configuration = Configuration()
|
|
@@ -86,6 +88,7 @@ class CreateDBEndpointRequest(object):
|
|
|
86
88
|
self._connection_mode = None
|
|
87
89
|
self._connection_pool_type = None
|
|
88
90
|
self._description = None
|
|
91
|
+
self._enable_connection_persistent = None
|
|
89
92
|
self._endpoint_name = None
|
|
90
93
|
self._endpoint_type = None
|
|
91
94
|
self._idle_connection_reclaim = None
|
|
@@ -111,6 +114,8 @@ class CreateDBEndpointRequest(object):
|
|
|
111
114
|
self.connection_pool_type = connection_pool_type
|
|
112
115
|
if description is not None:
|
|
113
116
|
self.description = description
|
|
117
|
+
if enable_connection_persistent is not None:
|
|
118
|
+
self.enable_connection_persistent = enable_connection_persistent
|
|
114
119
|
if endpoint_name is not None:
|
|
115
120
|
self.endpoint_name = endpoint_name
|
|
116
121
|
self.endpoint_type = endpoint_type
|
|
@@ -224,6 +229,27 @@ class CreateDBEndpointRequest(object):
|
|
|
224
229
|
|
|
225
230
|
self._description = description
|
|
226
231
|
|
|
232
|
+
@property
|
|
233
|
+
def enable_connection_persistent(self):
|
|
234
|
+
"""Gets the enable_connection_persistent of this CreateDBEndpointRequest. # noqa: E501
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
:return: The enable_connection_persistent of this CreateDBEndpointRequest. # noqa: E501
|
|
238
|
+
:rtype: bool
|
|
239
|
+
"""
|
|
240
|
+
return self._enable_connection_persistent
|
|
241
|
+
|
|
242
|
+
@enable_connection_persistent.setter
|
|
243
|
+
def enable_connection_persistent(self, enable_connection_persistent):
|
|
244
|
+
"""Sets the enable_connection_persistent of this CreateDBEndpointRequest.
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:param enable_connection_persistent: The enable_connection_persistent of this CreateDBEndpointRequest. # noqa: E501
|
|
248
|
+
:type: bool
|
|
249
|
+
"""
|
|
250
|
+
|
|
251
|
+
self._enable_connection_persistent = enable_connection_persistent
|
|
252
|
+
|
|
227
253
|
@property
|
|
228
254
|
def endpoint_name(self):
|
|
229
255
|
"""Gets the endpoint_name of this CreateDBEndpointRequest. # noqa: E501
|
|
@@ -48,6 +48,7 @@ class CreateDBInstanceRequest(object):
|
|
|
48
48
|
'node_info': 'list[NodeInfoForCreateDBInstanceInput]',
|
|
49
49
|
'port': 'int',
|
|
50
50
|
'project_name': 'str',
|
|
51
|
+
'proxy_node_custom': 'ProxyNodeCustomForCreateDBInstanceInput',
|
|
51
52
|
'storage_space': 'int',
|
|
52
53
|
'storage_type': 'str',
|
|
53
54
|
'subnet_id': 'str',
|
|
@@ -72,6 +73,7 @@ class CreateDBInstanceRequest(object):
|
|
|
72
73
|
'node_info': 'NodeInfo',
|
|
73
74
|
'port': 'Port',
|
|
74
75
|
'project_name': 'ProjectName',
|
|
76
|
+
'proxy_node_custom': 'ProxyNodeCustom',
|
|
75
77
|
'storage_space': 'StorageSpace',
|
|
76
78
|
'storage_type': 'StorageType',
|
|
77
79
|
'subnet_id': 'SubnetId',
|
|
@@ -80,7 +82,7 @@ class CreateDBInstanceRequest(object):
|
|
|
80
82
|
'vpc_id': 'VpcId'
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
def __init__(self, allow_list_ids=None, auto_storage_scaling_config=None, charge_info=None, db_engine_version=None, db_param_group_id=None, db_time_zone=None, deletion_protection=None, instance_name=None, instance_tags=None, instance_type=None, lower_case_table_names=None, maintenance_window=None, node_info=None, port=None, project_name=None, storage_space=None, storage_type=None, subnet_id=None, super_account_name=None, super_account_password=None, vpc_id=None, _configuration=None): # noqa: E501
|
|
85
|
+
def __init__(self, allow_list_ids=None, auto_storage_scaling_config=None, charge_info=None, db_engine_version=None, db_param_group_id=None, db_time_zone=None, deletion_protection=None, instance_name=None, instance_tags=None, instance_type=None, lower_case_table_names=None, maintenance_window=None, node_info=None, port=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, vpc_id=None, _configuration=None): # noqa: E501
|
|
84
86
|
"""CreateDBInstanceRequest - a model defined in Swagger""" # noqa: E501
|
|
85
87
|
if _configuration is None:
|
|
86
88
|
_configuration = Configuration()
|
|
@@ -101,6 +103,7 @@ class CreateDBInstanceRequest(object):
|
|
|
101
103
|
self._node_info = None
|
|
102
104
|
self._port = None
|
|
103
105
|
self._project_name = None
|
|
106
|
+
self._proxy_node_custom = None
|
|
104
107
|
self._storage_space = None
|
|
105
108
|
self._storage_type = None
|
|
106
109
|
self._subnet_id = None
|
|
@@ -138,6 +141,8 @@ class CreateDBInstanceRequest(object):
|
|
|
138
141
|
self.port = port
|
|
139
142
|
if project_name is not None:
|
|
140
143
|
self.project_name = project_name
|
|
144
|
+
if proxy_node_custom is not None:
|
|
145
|
+
self.proxy_node_custom = proxy_node_custom
|
|
141
146
|
self.storage_space = storage_space
|
|
142
147
|
self.storage_type = storage_type
|
|
143
148
|
self.subnet_id = subnet_id
|
|
@@ -464,6 +469,27 @@ class CreateDBInstanceRequest(object):
|
|
|
464
469
|
|
|
465
470
|
self._project_name = project_name
|
|
466
471
|
|
|
472
|
+
@property
|
|
473
|
+
def proxy_node_custom(self):
|
|
474
|
+
"""Gets the proxy_node_custom of this CreateDBInstanceRequest. # noqa: E501
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
:return: The proxy_node_custom of this CreateDBInstanceRequest. # noqa: E501
|
|
478
|
+
:rtype: ProxyNodeCustomForCreateDBInstanceInput
|
|
479
|
+
"""
|
|
480
|
+
return self._proxy_node_custom
|
|
481
|
+
|
|
482
|
+
@proxy_node_custom.setter
|
|
483
|
+
def proxy_node_custom(self, proxy_node_custom):
|
|
484
|
+
"""Sets the proxy_node_custom of this CreateDBInstanceRequest.
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
:param proxy_node_custom: The proxy_node_custom of this CreateDBInstanceRequest. # noqa: E501
|
|
488
|
+
:type: ProxyNodeCustomForCreateDBInstanceInput
|
|
489
|
+
"""
|
|
490
|
+
|
|
491
|
+
self._proxy_node_custom = proxy_node_custom
|
|
492
|
+
|
|
467
493
|
@property
|
|
468
494
|
def storage_space(self):
|
|
469
495
|
"""Gets the storage_space of this CreateDBInstanceRequest. # noqa: E501
|
|
@@ -39,6 +39,7 @@ class CreateDrDBInstanceRequest(object):
|
|
|
39
39
|
'master_instance_id': 'str',
|
|
40
40
|
'master_region': 'str',
|
|
41
41
|
'node_info': 'list[NodeInfoForCreateDrDBInstanceInput]',
|
|
42
|
+
'proxy_node_custom': 'ProxyNodeCustomForCreateDrDBInstanceInput',
|
|
42
43
|
'storage_space': 'int',
|
|
43
44
|
'subnet_id': 'str',
|
|
44
45
|
'vpc_id': 'str'
|
|
@@ -51,12 +52,13 @@ class CreateDrDBInstanceRequest(object):
|
|
|
51
52
|
'master_instance_id': 'MasterInstanceId',
|
|
52
53
|
'master_region': 'MasterRegion',
|
|
53
54
|
'node_info': 'NodeInfo',
|
|
55
|
+
'proxy_node_custom': 'ProxyNodeCustom',
|
|
54
56
|
'storage_space': 'StorageSpace',
|
|
55
57
|
'subnet_id': 'SubnetId',
|
|
56
58
|
'vpc_id': 'VpcId'
|
|
57
59
|
}
|
|
58
60
|
|
|
59
|
-
def __init__(self, auto_storage_scaling_config=None, deletion_protection=None, instance_name=None, master_instance_id=None, master_region=None, node_info=None, storage_space=None, subnet_id=None, vpc_id=None, _configuration=None): # noqa: E501
|
|
61
|
+
def __init__(self, auto_storage_scaling_config=None, deletion_protection=None, instance_name=None, master_instance_id=None, master_region=None, node_info=None, proxy_node_custom=None, storage_space=None, subnet_id=None, vpc_id=None, _configuration=None): # noqa: E501
|
|
60
62
|
"""CreateDrDBInstanceRequest - a model defined in Swagger""" # noqa: E501
|
|
61
63
|
if _configuration is None:
|
|
62
64
|
_configuration = Configuration()
|
|
@@ -68,6 +70,7 @@ class CreateDrDBInstanceRequest(object):
|
|
|
68
70
|
self._master_instance_id = None
|
|
69
71
|
self._master_region = None
|
|
70
72
|
self._node_info = None
|
|
73
|
+
self._proxy_node_custom = None
|
|
71
74
|
self._storage_space = None
|
|
72
75
|
self._subnet_id = None
|
|
73
76
|
self._vpc_id = None
|
|
@@ -83,6 +86,8 @@ class CreateDrDBInstanceRequest(object):
|
|
|
83
86
|
self.master_region = master_region
|
|
84
87
|
if node_info is not None:
|
|
85
88
|
self.node_info = node_info
|
|
89
|
+
if proxy_node_custom is not None:
|
|
90
|
+
self.proxy_node_custom = proxy_node_custom
|
|
86
91
|
self.storage_space = storage_space
|
|
87
92
|
self.subnet_id = subnet_id
|
|
88
93
|
self.vpc_id = vpc_id
|
|
@@ -217,6 +222,27 @@ class CreateDrDBInstanceRequest(object):
|
|
|
217
222
|
|
|
218
223
|
self._node_info = node_info
|
|
219
224
|
|
|
225
|
+
@property
|
|
226
|
+
def proxy_node_custom(self):
|
|
227
|
+
"""Gets the proxy_node_custom of this CreateDrDBInstanceRequest. # noqa: E501
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
:return: The proxy_node_custom of this CreateDrDBInstanceRequest. # noqa: E501
|
|
231
|
+
:rtype: ProxyNodeCustomForCreateDrDBInstanceInput
|
|
232
|
+
"""
|
|
233
|
+
return self._proxy_node_custom
|
|
234
|
+
|
|
235
|
+
@proxy_node_custom.setter
|
|
236
|
+
def proxy_node_custom(self, proxy_node_custom):
|
|
237
|
+
"""Sets the proxy_node_custom of this CreateDrDBInstanceRequest.
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
:param proxy_node_custom: The proxy_node_custom of this CreateDrDBInstanceRequest. # noqa: E501
|
|
241
|
+
:type: ProxyNodeCustomForCreateDrDBInstanceInput
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
self._proxy_node_custom = proxy_node_custom
|
|
245
|
+
|
|
220
246
|
@property
|
|
221
247
|
def storage_space(self):
|
|
222
248
|
"""Gets the storage_space of this CreateDrDBInstanceRequest. # noqa: E501
|