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,435 @@
|
|
|
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 NodeForDescribeDBInstanceHAConfigOutput(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
|
+
'create_time': 'str',
|
|
37
|
+
'delay_replication_time': 'int',
|
|
38
|
+
'instance_id': 'str',
|
|
39
|
+
'memory': 'int',
|
|
40
|
+
'node_id': 'str',
|
|
41
|
+
'node_spec': 'str',
|
|
42
|
+
'node_status': 'str',
|
|
43
|
+
'node_type': 'str',
|
|
44
|
+
'region_id': 'str',
|
|
45
|
+
'sync_delay': 'int',
|
|
46
|
+
'update_time': 'str',
|
|
47
|
+
'vcpu': 'int',
|
|
48
|
+
'zone_id': 'str'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
attribute_map = {
|
|
52
|
+
'create_time': 'CreateTime',
|
|
53
|
+
'delay_replication_time': 'DelayReplicationTime',
|
|
54
|
+
'instance_id': 'InstanceId',
|
|
55
|
+
'memory': 'Memory',
|
|
56
|
+
'node_id': 'NodeId',
|
|
57
|
+
'node_spec': 'NodeSpec',
|
|
58
|
+
'node_status': 'NodeStatus',
|
|
59
|
+
'node_type': 'NodeType',
|
|
60
|
+
'region_id': 'RegionId',
|
|
61
|
+
'sync_delay': 'SyncDelay',
|
|
62
|
+
'update_time': 'UpdateTime',
|
|
63
|
+
'vcpu': 'VCPU',
|
|
64
|
+
'zone_id': 'ZoneId'
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
def __init__(self, create_time=None, delay_replication_time=None, instance_id=None, memory=None, node_id=None, node_spec=None, node_status=None, node_type=None, region_id=None, sync_delay=None, update_time=None, vcpu=None, zone_id=None, _configuration=None): # noqa: E501
|
|
68
|
+
"""NodeForDescribeDBInstanceHAConfigOutput - a model defined in Swagger""" # noqa: E501
|
|
69
|
+
if _configuration is None:
|
|
70
|
+
_configuration = Configuration()
|
|
71
|
+
self._configuration = _configuration
|
|
72
|
+
|
|
73
|
+
self._create_time = None
|
|
74
|
+
self._delay_replication_time = None
|
|
75
|
+
self._instance_id = None
|
|
76
|
+
self._memory = None
|
|
77
|
+
self._node_id = None
|
|
78
|
+
self._node_spec = None
|
|
79
|
+
self._node_status = None
|
|
80
|
+
self._node_type = None
|
|
81
|
+
self._region_id = None
|
|
82
|
+
self._sync_delay = None
|
|
83
|
+
self._update_time = None
|
|
84
|
+
self._vcpu = None
|
|
85
|
+
self._zone_id = None
|
|
86
|
+
self.discriminator = None
|
|
87
|
+
|
|
88
|
+
if create_time is not None:
|
|
89
|
+
self.create_time = create_time
|
|
90
|
+
if delay_replication_time is not None:
|
|
91
|
+
self.delay_replication_time = delay_replication_time
|
|
92
|
+
if instance_id is not None:
|
|
93
|
+
self.instance_id = instance_id
|
|
94
|
+
if memory is not None:
|
|
95
|
+
self.memory = memory
|
|
96
|
+
if node_id is not None:
|
|
97
|
+
self.node_id = node_id
|
|
98
|
+
if node_spec is not None:
|
|
99
|
+
self.node_spec = node_spec
|
|
100
|
+
if node_status is not None:
|
|
101
|
+
self.node_status = node_status
|
|
102
|
+
if node_type is not None:
|
|
103
|
+
self.node_type = node_type
|
|
104
|
+
if region_id is not None:
|
|
105
|
+
self.region_id = region_id
|
|
106
|
+
if sync_delay is not None:
|
|
107
|
+
self.sync_delay = sync_delay
|
|
108
|
+
if update_time is not None:
|
|
109
|
+
self.update_time = update_time
|
|
110
|
+
if vcpu is not None:
|
|
111
|
+
self.vcpu = vcpu
|
|
112
|
+
if zone_id is not None:
|
|
113
|
+
self.zone_id = zone_id
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
def create_time(self):
|
|
117
|
+
"""Gets the create_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:return: The create_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
121
|
+
:rtype: str
|
|
122
|
+
"""
|
|
123
|
+
return self._create_time
|
|
124
|
+
|
|
125
|
+
@create_time.setter
|
|
126
|
+
def create_time(self, create_time):
|
|
127
|
+
"""Sets the create_time of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:param create_time: The create_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
131
|
+
:type: str
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
self._create_time = create_time
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def delay_replication_time(self):
|
|
138
|
+
"""Gets the delay_replication_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
:return: The delay_replication_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
142
|
+
:rtype: int
|
|
143
|
+
"""
|
|
144
|
+
return self._delay_replication_time
|
|
145
|
+
|
|
146
|
+
@delay_replication_time.setter
|
|
147
|
+
def delay_replication_time(self, delay_replication_time):
|
|
148
|
+
"""Sets the delay_replication_time of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:param delay_replication_time: The delay_replication_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
152
|
+
:type: int
|
|
153
|
+
"""
|
|
154
|
+
|
|
155
|
+
self._delay_replication_time = delay_replication_time
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def instance_id(self):
|
|
159
|
+
"""Gets the instance_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
:return: The instance_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
163
|
+
:rtype: str
|
|
164
|
+
"""
|
|
165
|
+
return self._instance_id
|
|
166
|
+
|
|
167
|
+
@instance_id.setter
|
|
168
|
+
def instance_id(self, instance_id):
|
|
169
|
+
"""Sets the instance_id of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
:param instance_id: The instance_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
173
|
+
:type: str
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
self._instance_id = instance_id
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
def memory(self):
|
|
180
|
+
"""Gets the memory of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
:return: The memory of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
184
|
+
:rtype: int
|
|
185
|
+
"""
|
|
186
|
+
return self._memory
|
|
187
|
+
|
|
188
|
+
@memory.setter
|
|
189
|
+
def memory(self, memory):
|
|
190
|
+
"""Sets the memory of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
:param memory: The memory of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
194
|
+
:type: int
|
|
195
|
+
"""
|
|
196
|
+
|
|
197
|
+
self._memory = memory
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
def node_id(self):
|
|
201
|
+
"""Gets the node_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
:return: The node_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
205
|
+
:rtype: str
|
|
206
|
+
"""
|
|
207
|
+
return self._node_id
|
|
208
|
+
|
|
209
|
+
@node_id.setter
|
|
210
|
+
def node_id(self, node_id):
|
|
211
|
+
"""Sets the node_id of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
:param node_id: The node_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
215
|
+
:type: str
|
|
216
|
+
"""
|
|
217
|
+
|
|
218
|
+
self._node_id = node_id
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
def node_spec(self):
|
|
222
|
+
"""Gets the node_spec of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
:return: The node_spec of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
226
|
+
:rtype: str
|
|
227
|
+
"""
|
|
228
|
+
return self._node_spec
|
|
229
|
+
|
|
230
|
+
@node_spec.setter
|
|
231
|
+
def node_spec(self, node_spec):
|
|
232
|
+
"""Sets the node_spec of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
:param node_spec: The node_spec of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
236
|
+
:type: str
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
self._node_spec = node_spec
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
def node_status(self):
|
|
243
|
+
"""Gets the node_status of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
:return: The node_status of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
247
|
+
:rtype: str
|
|
248
|
+
"""
|
|
249
|
+
return self._node_status
|
|
250
|
+
|
|
251
|
+
@node_status.setter
|
|
252
|
+
def node_status(self, node_status):
|
|
253
|
+
"""Sets the node_status of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
:param node_status: The node_status of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
257
|
+
:type: str
|
|
258
|
+
"""
|
|
259
|
+
|
|
260
|
+
self._node_status = node_status
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
def node_type(self):
|
|
264
|
+
"""Gets the node_type of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
:return: The node_type of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
268
|
+
:rtype: str
|
|
269
|
+
"""
|
|
270
|
+
return self._node_type
|
|
271
|
+
|
|
272
|
+
@node_type.setter
|
|
273
|
+
def node_type(self, node_type):
|
|
274
|
+
"""Sets the node_type of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
:param node_type: The node_type of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
278
|
+
:type: str
|
|
279
|
+
"""
|
|
280
|
+
|
|
281
|
+
self._node_type = node_type
|
|
282
|
+
|
|
283
|
+
@property
|
|
284
|
+
def region_id(self):
|
|
285
|
+
"""Gets the region_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:return: The region_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
289
|
+
:rtype: str
|
|
290
|
+
"""
|
|
291
|
+
return self._region_id
|
|
292
|
+
|
|
293
|
+
@region_id.setter
|
|
294
|
+
def region_id(self, region_id):
|
|
295
|
+
"""Sets the region_id of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
:param region_id: The region_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
299
|
+
:type: str
|
|
300
|
+
"""
|
|
301
|
+
|
|
302
|
+
self._region_id = region_id
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
def sync_delay(self):
|
|
306
|
+
"""Gets the sync_delay of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:return: The sync_delay of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
310
|
+
:rtype: int
|
|
311
|
+
"""
|
|
312
|
+
return self._sync_delay
|
|
313
|
+
|
|
314
|
+
@sync_delay.setter
|
|
315
|
+
def sync_delay(self, sync_delay):
|
|
316
|
+
"""Sets the sync_delay of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
:param sync_delay: The sync_delay of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
320
|
+
:type: int
|
|
321
|
+
"""
|
|
322
|
+
|
|
323
|
+
self._sync_delay = sync_delay
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
def update_time(self):
|
|
327
|
+
"""Gets the update_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
:return: The update_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
331
|
+
:rtype: str
|
|
332
|
+
"""
|
|
333
|
+
return self._update_time
|
|
334
|
+
|
|
335
|
+
@update_time.setter
|
|
336
|
+
def update_time(self, update_time):
|
|
337
|
+
"""Sets the update_time of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
:param update_time: The update_time of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
341
|
+
:type: str
|
|
342
|
+
"""
|
|
343
|
+
|
|
344
|
+
self._update_time = update_time
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
def vcpu(self):
|
|
348
|
+
"""Gets the vcpu of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
:return: The vcpu of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
352
|
+
:rtype: int
|
|
353
|
+
"""
|
|
354
|
+
return self._vcpu
|
|
355
|
+
|
|
356
|
+
@vcpu.setter
|
|
357
|
+
def vcpu(self, vcpu):
|
|
358
|
+
"""Sets the vcpu of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
:param vcpu: The vcpu of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
362
|
+
:type: int
|
|
363
|
+
"""
|
|
364
|
+
|
|
365
|
+
self._vcpu = vcpu
|
|
366
|
+
|
|
367
|
+
@property
|
|
368
|
+
def zone_id(self):
|
|
369
|
+
"""Gets the zone_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
:return: The zone_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
373
|
+
:rtype: str
|
|
374
|
+
"""
|
|
375
|
+
return self._zone_id
|
|
376
|
+
|
|
377
|
+
@zone_id.setter
|
|
378
|
+
def zone_id(self, zone_id):
|
|
379
|
+
"""Sets the zone_id of this NodeForDescribeDBInstanceHAConfigOutput.
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
:param zone_id: The zone_id of this NodeForDescribeDBInstanceHAConfigOutput. # noqa: E501
|
|
383
|
+
:type: str
|
|
384
|
+
"""
|
|
385
|
+
|
|
386
|
+
self._zone_id = zone_id
|
|
387
|
+
|
|
388
|
+
def to_dict(self):
|
|
389
|
+
"""Returns the model properties as a dict"""
|
|
390
|
+
result = {}
|
|
391
|
+
|
|
392
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
393
|
+
value = getattr(self, attr)
|
|
394
|
+
if isinstance(value, list):
|
|
395
|
+
result[attr] = list(map(
|
|
396
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
397
|
+
value
|
|
398
|
+
))
|
|
399
|
+
elif hasattr(value, "to_dict"):
|
|
400
|
+
result[attr] = value.to_dict()
|
|
401
|
+
elif isinstance(value, dict):
|
|
402
|
+
result[attr] = dict(map(
|
|
403
|
+
lambda item: (item[0], item[1].to_dict())
|
|
404
|
+
if hasattr(item[1], "to_dict") else item,
|
|
405
|
+
value.items()
|
|
406
|
+
))
|
|
407
|
+
else:
|
|
408
|
+
result[attr] = value
|
|
409
|
+
if issubclass(NodeForDescribeDBInstanceHAConfigOutput, dict):
|
|
410
|
+
for key, value in self.items():
|
|
411
|
+
result[key] = value
|
|
412
|
+
|
|
413
|
+
return result
|
|
414
|
+
|
|
415
|
+
def to_str(self):
|
|
416
|
+
"""Returns the string representation of the model"""
|
|
417
|
+
return pprint.pformat(self.to_dict())
|
|
418
|
+
|
|
419
|
+
def __repr__(self):
|
|
420
|
+
"""For `print` and `pprint`"""
|
|
421
|
+
return self.to_str()
|
|
422
|
+
|
|
423
|
+
def __eq__(self, other):
|
|
424
|
+
"""Returns true if both objects are equal"""
|
|
425
|
+
if not isinstance(other, NodeForDescribeDBInstanceHAConfigOutput):
|
|
426
|
+
return False
|
|
427
|
+
|
|
428
|
+
return self.to_dict() == other.to_dict()
|
|
429
|
+
|
|
430
|
+
def __ne__(self, other):
|
|
431
|
+
"""Returns true if both objects are not equal"""
|
|
432
|
+
if not isinstance(other, NodeForDescribeDBInstanceHAConfigOutput):
|
|
433
|
+
return True
|
|
434
|
+
|
|
435
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -19,7 +19,7 @@ import six
|
|
|
19
19
|
from volcenginesdkcore.configuration import Configuration
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class NodeInfoForModifyDBInstanceTypeInput(object):
|
|
23
23
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
24
|
|
|
25
25
|
Do not edit the class manually.
|
|
@@ -49,7 +49,7 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
def __init__(self, node_id=None, node_operate_type=None, node_spec=None, node_type=None, zone_id=None, _configuration=None): # noqa: E501
|
|
52
|
-
"""
|
|
52
|
+
"""NodeInfoForModifyDBInstanceTypeInput - a model defined in Swagger""" # noqa: E501
|
|
53
53
|
if _configuration is None:
|
|
54
54
|
_configuration = Configuration()
|
|
55
55
|
self._configuration = _configuration
|
|
@@ -74,20 +74,20 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
74
74
|
|
|
75
75
|
@property
|
|
76
76
|
def node_id(self):
|
|
77
|
-
"""Gets the node_id of this
|
|
77
|
+
"""Gets the node_id of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
:return: The node_id of this
|
|
80
|
+
:return: The node_id of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
81
81
|
:rtype: str
|
|
82
82
|
"""
|
|
83
83
|
return self._node_id
|
|
84
84
|
|
|
85
85
|
@node_id.setter
|
|
86
86
|
def node_id(self, node_id):
|
|
87
|
-
"""Sets the node_id of this
|
|
87
|
+
"""Sets the node_id of this NodeInfoForModifyDBInstanceTypeInput.
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
:param node_id: The node_id of this
|
|
90
|
+
:param node_id: The node_id of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
91
91
|
:type: str
|
|
92
92
|
"""
|
|
93
93
|
|
|
@@ -95,20 +95,20 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
95
95
|
|
|
96
96
|
@property
|
|
97
97
|
def node_operate_type(self):
|
|
98
|
-
"""Gets the node_operate_type of this
|
|
98
|
+
"""Gets the node_operate_type of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
:return: The node_operate_type of this
|
|
101
|
+
:return: The node_operate_type of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
102
102
|
:rtype: str
|
|
103
103
|
"""
|
|
104
104
|
return self._node_operate_type
|
|
105
105
|
|
|
106
106
|
@node_operate_type.setter
|
|
107
107
|
def node_operate_type(self, node_operate_type):
|
|
108
|
-
"""Sets the node_operate_type of this
|
|
108
|
+
"""Sets the node_operate_type of this NodeInfoForModifyDBInstanceTypeInput.
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
:param node_operate_type: The node_operate_type of this
|
|
111
|
+
:param node_operate_type: The node_operate_type of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
112
112
|
:type: str
|
|
113
113
|
"""
|
|
114
114
|
|
|
@@ -116,20 +116,20 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
116
116
|
|
|
117
117
|
@property
|
|
118
118
|
def node_spec(self):
|
|
119
|
-
"""Gets the node_spec of this
|
|
119
|
+
"""Gets the node_spec of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
:return: The node_spec of this
|
|
122
|
+
:return: The node_spec of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
123
123
|
:rtype: str
|
|
124
124
|
"""
|
|
125
125
|
return self._node_spec
|
|
126
126
|
|
|
127
127
|
@node_spec.setter
|
|
128
128
|
def node_spec(self, node_spec):
|
|
129
|
-
"""Sets the node_spec of this
|
|
129
|
+
"""Sets the node_spec of this NodeInfoForModifyDBInstanceTypeInput.
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
:param node_spec: The node_spec of this
|
|
132
|
+
:param node_spec: The node_spec of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
133
133
|
:type: str
|
|
134
134
|
"""
|
|
135
135
|
|
|
@@ -137,20 +137,20 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
137
137
|
|
|
138
138
|
@property
|
|
139
139
|
def node_type(self):
|
|
140
|
-
"""Gets the node_type of this
|
|
140
|
+
"""Gets the node_type of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
:return: The node_type of this
|
|
143
|
+
:return: The node_type of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
144
144
|
:rtype: str
|
|
145
145
|
"""
|
|
146
146
|
return self._node_type
|
|
147
147
|
|
|
148
148
|
@node_type.setter
|
|
149
149
|
def node_type(self, node_type):
|
|
150
|
-
"""Sets the node_type of this
|
|
150
|
+
"""Sets the node_type of this NodeInfoForModifyDBInstanceTypeInput.
|
|
151
151
|
|
|
152
152
|
|
|
153
|
-
:param node_type: The node_type of this
|
|
153
|
+
:param node_type: The node_type of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
154
154
|
:type: str
|
|
155
155
|
"""
|
|
156
156
|
|
|
@@ -158,20 +158,20 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
158
158
|
|
|
159
159
|
@property
|
|
160
160
|
def zone_id(self):
|
|
161
|
-
"""Gets the zone_id of this
|
|
161
|
+
"""Gets the zone_id of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
:return: The zone_id of this
|
|
164
|
+
:return: The zone_id of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
165
165
|
:rtype: str
|
|
166
166
|
"""
|
|
167
167
|
return self._zone_id
|
|
168
168
|
|
|
169
169
|
@zone_id.setter
|
|
170
170
|
def zone_id(self, zone_id):
|
|
171
|
-
"""Sets the zone_id of this
|
|
171
|
+
"""Sets the zone_id of this NodeInfoForModifyDBInstanceTypeInput.
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
:param zone_id: The zone_id of this
|
|
174
|
+
:param zone_id: The zone_id of this NodeInfoForModifyDBInstanceTypeInput. # noqa: E501
|
|
175
175
|
:type: str
|
|
176
176
|
"""
|
|
177
177
|
|
|
@@ -198,7 +198,7 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
198
198
|
))
|
|
199
199
|
else:
|
|
200
200
|
result[attr] = value
|
|
201
|
-
if issubclass(
|
|
201
|
+
if issubclass(NodeInfoForModifyDBInstanceTypeInput, dict):
|
|
202
202
|
for key, value in self.items():
|
|
203
203
|
result[key] = value
|
|
204
204
|
|
|
@@ -214,14 +214,14 @@ class NodeInfoForRestoreToCrossRegionInstanceInput(object):
|
|
|
214
214
|
|
|
215
215
|
def __eq__(self, other):
|
|
216
216
|
"""Returns true if both objects are equal"""
|
|
217
|
-
if not isinstance(other,
|
|
217
|
+
if not isinstance(other, NodeInfoForModifyDBInstanceTypeInput):
|
|
218
218
|
return False
|
|
219
219
|
|
|
220
220
|
return self.to_dict() == other.to_dict()
|
|
221
221
|
|
|
222
222
|
def __ne__(self, other):
|
|
223
223
|
"""Returns true if both objects are not equal"""
|
|
224
|
-
if not isinstance(other,
|
|
224
|
+
if not isinstance(other, NodeInfoForModifyDBInstanceTypeInput):
|
|
225
225
|
return True
|
|
226
226
|
|
|
227
227
|
return self.to_dict() != other.to_dict()
|