huaweicloudsdkgaussdbforopengauss 3.1.103__py2.py3-none-any.whl → 3.1.105__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.
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +17 -1
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +408 -0
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +408 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +17 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request_body.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastore.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/plugin_extensions.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_source.py +8 -65
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request_body.py +198 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_response.py +112 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/RECORD +28 -12
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_table_list_detail.py +0 -259
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/top_level.txt +0 -0
@@ -1,259 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
import six
|
4
|
-
|
5
|
-
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
-
|
7
|
-
|
8
|
-
class RestoreTableListDetail:
|
9
|
-
|
10
|
-
"""
|
11
|
-
Attributes:
|
12
|
-
openapi_types (dict): The key is attribute name
|
13
|
-
and the value is attribute type.
|
14
|
-
attribute_map (dict): The key is attribute name
|
15
|
-
and the value is json key in definition.
|
16
|
-
"""
|
17
|
-
sensitive_list = []
|
18
|
-
|
19
|
-
openapi_types = {
|
20
|
-
'db_name': 'str',
|
21
|
-
'schema_name': 'str',
|
22
|
-
'table_name': 'str',
|
23
|
-
'new_db_name': 'str',
|
24
|
-
'new_schema_name': 'str',
|
25
|
-
'new_table_name': 'str'
|
26
|
-
}
|
27
|
-
|
28
|
-
attribute_map = {
|
29
|
-
'db_name': 'db_name',
|
30
|
-
'schema_name': 'schema_name',
|
31
|
-
'table_name': 'table_name',
|
32
|
-
'new_db_name': 'new_db_name',
|
33
|
-
'new_schema_name': 'new_schema_name',
|
34
|
-
'new_table_name': 'new_table_name'
|
35
|
-
}
|
36
|
-
|
37
|
-
def __init__(self, db_name=None, schema_name=None, table_name=None, new_db_name=None, new_schema_name=None, new_table_name=None):
|
38
|
-
"""RestoreTableListDetail
|
39
|
-
|
40
|
-
The model defined in huaweicloud sdk
|
41
|
-
|
42
|
-
:param db_name: 库名参数必传
|
43
|
-
:type db_name: str
|
44
|
-
:param schema_name: schema名 备份恢复到新实例和当前实例:使用DATABASE_TABLE级别恢复参数必传, 使用DATABASE类型恢复参数无效。
|
45
|
-
:type schema_name: str
|
46
|
-
:param table_name: 表名 备份恢复到新实例和当前实例:使用DATABASE_TABLE级别恢复参数必传, 使用DATABASE类型恢复参数无效。
|
47
|
-
:type table_name: str
|
48
|
-
:param new_db_name: 新库名 备份恢复到新实例和当前实例: 使用DATABASE级别恢复:需注意目标实例不存在当前一样的库名,否则无法下发。 使用DATABASE_TABLE级别恢复,不填时与源库名一致。
|
49
|
-
:type new_db_name: str
|
50
|
-
:param new_schema_name: 新schema_name 备份恢复到新实例和当前实例: 使用DATABASE类型恢复参数无效。 使用DATABASE_TABLE级别恢复,不填时与源schema名一致。
|
51
|
-
:type new_schema_name: str
|
52
|
-
:param new_table_name: 新表名 备份恢复到新实例和当前实例: 使用DATABASE类型恢复参数无效。 使用DATABASE_TABLE级别恢复,需注意目标实例里不存在当前的表名,否则无法下发。
|
53
|
-
:type new_table_name: str
|
54
|
-
"""
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
self._db_name = None
|
59
|
-
self._schema_name = None
|
60
|
-
self._table_name = None
|
61
|
-
self._new_db_name = None
|
62
|
-
self._new_schema_name = None
|
63
|
-
self._new_table_name = None
|
64
|
-
self.discriminator = None
|
65
|
-
|
66
|
-
self.db_name = db_name
|
67
|
-
if schema_name is not None:
|
68
|
-
self.schema_name = schema_name
|
69
|
-
if table_name is not None:
|
70
|
-
self.table_name = table_name
|
71
|
-
if new_db_name is not None:
|
72
|
-
self.new_db_name = new_db_name
|
73
|
-
if new_schema_name is not None:
|
74
|
-
self.new_schema_name = new_schema_name
|
75
|
-
if new_table_name is not None:
|
76
|
-
self.new_table_name = new_table_name
|
77
|
-
|
78
|
-
@property
|
79
|
-
def db_name(self):
|
80
|
-
"""Gets the db_name of this RestoreTableListDetail.
|
81
|
-
|
82
|
-
库名参数必传
|
83
|
-
|
84
|
-
:return: The db_name of this RestoreTableListDetail.
|
85
|
-
:rtype: str
|
86
|
-
"""
|
87
|
-
return self._db_name
|
88
|
-
|
89
|
-
@db_name.setter
|
90
|
-
def db_name(self, db_name):
|
91
|
-
"""Sets the db_name of this RestoreTableListDetail.
|
92
|
-
|
93
|
-
库名参数必传
|
94
|
-
|
95
|
-
:param db_name: The db_name of this RestoreTableListDetail.
|
96
|
-
:type db_name: str
|
97
|
-
"""
|
98
|
-
self._db_name = db_name
|
99
|
-
|
100
|
-
@property
|
101
|
-
def schema_name(self):
|
102
|
-
"""Gets the schema_name of this RestoreTableListDetail.
|
103
|
-
|
104
|
-
schema名 备份恢复到新实例和当前实例:使用DATABASE_TABLE级别恢复参数必传, 使用DATABASE类型恢复参数无效。
|
105
|
-
|
106
|
-
:return: The schema_name of this RestoreTableListDetail.
|
107
|
-
:rtype: str
|
108
|
-
"""
|
109
|
-
return self._schema_name
|
110
|
-
|
111
|
-
@schema_name.setter
|
112
|
-
def schema_name(self, schema_name):
|
113
|
-
"""Sets the schema_name of this RestoreTableListDetail.
|
114
|
-
|
115
|
-
schema名 备份恢复到新实例和当前实例:使用DATABASE_TABLE级别恢复参数必传, 使用DATABASE类型恢复参数无效。
|
116
|
-
|
117
|
-
:param schema_name: The schema_name of this RestoreTableListDetail.
|
118
|
-
:type schema_name: str
|
119
|
-
"""
|
120
|
-
self._schema_name = schema_name
|
121
|
-
|
122
|
-
@property
|
123
|
-
def table_name(self):
|
124
|
-
"""Gets the table_name of this RestoreTableListDetail.
|
125
|
-
|
126
|
-
表名 备份恢复到新实例和当前实例:使用DATABASE_TABLE级别恢复参数必传, 使用DATABASE类型恢复参数无效。
|
127
|
-
|
128
|
-
:return: The table_name of this RestoreTableListDetail.
|
129
|
-
:rtype: str
|
130
|
-
"""
|
131
|
-
return self._table_name
|
132
|
-
|
133
|
-
@table_name.setter
|
134
|
-
def table_name(self, table_name):
|
135
|
-
"""Sets the table_name of this RestoreTableListDetail.
|
136
|
-
|
137
|
-
表名 备份恢复到新实例和当前实例:使用DATABASE_TABLE级别恢复参数必传, 使用DATABASE类型恢复参数无效。
|
138
|
-
|
139
|
-
:param table_name: The table_name of this RestoreTableListDetail.
|
140
|
-
:type table_name: str
|
141
|
-
"""
|
142
|
-
self._table_name = table_name
|
143
|
-
|
144
|
-
@property
|
145
|
-
def new_db_name(self):
|
146
|
-
"""Gets the new_db_name of this RestoreTableListDetail.
|
147
|
-
|
148
|
-
新库名 备份恢复到新实例和当前实例: 使用DATABASE级别恢复:需注意目标实例不存在当前一样的库名,否则无法下发。 使用DATABASE_TABLE级别恢复,不填时与源库名一致。
|
149
|
-
|
150
|
-
:return: The new_db_name of this RestoreTableListDetail.
|
151
|
-
:rtype: str
|
152
|
-
"""
|
153
|
-
return self._new_db_name
|
154
|
-
|
155
|
-
@new_db_name.setter
|
156
|
-
def new_db_name(self, new_db_name):
|
157
|
-
"""Sets the new_db_name of this RestoreTableListDetail.
|
158
|
-
|
159
|
-
新库名 备份恢复到新实例和当前实例: 使用DATABASE级别恢复:需注意目标实例不存在当前一样的库名,否则无法下发。 使用DATABASE_TABLE级别恢复,不填时与源库名一致。
|
160
|
-
|
161
|
-
:param new_db_name: The new_db_name of this RestoreTableListDetail.
|
162
|
-
:type new_db_name: str
|
163
|
-
"""
|
164
|
-
self._new_db_name = new_db_name
|
165
|
-
|
166
|
-
@property
|
167
|
-
def new_schema_name(self):
|
168
|
-
"""Gets the new_schema_name of this RestoreTableListDetail.
|
169
|
-
|
170
|
-
新schema_name 备份恢复到新实例和当前实例: 使用DATABASE类型恢复参数无效。 使用DATABASE_TABLE级别恢复,不填时与源schema名一致。
|
171
|
-
|
172
|
-
:return: The new_schema_name of this RestoreTableListDetail.
|
173
|
-
:rtype: str
|
174
|
-
"""
|
175
|
-
return self._new_schema_name
|
176
|
-
|
177
|
-
@new_schema_name.setter
|
178
|
-
def new_schema_name(self, new_schema_name):
|
179
|
-
"""Sets the new_schema_name of this RestoreTableListDetail.
|
180
|
-
|
181
|
-
新schema_name 备份恢复到新实例和当前实例: 使用DATABASE类型恢复参数无效。 使用DATABASE_TABLE级别恢复,不填时与源schema名一致。
|
182
|
-
|
183
|
-
:param new_schema_name: The new_schema_name of this RestoreTableListDetail.
|
184
|
-
:type new_schema_name: str
|
185
|
-
"""
|
186
|
-
self._new_schema_name = new_schema_name
|
187
|
-
|
188
|
-
@property
|
189
|
-
def new_table_name(self):
|
190
|
-
"""Gets the new_table_name of this RestoreTableListDetail.
|
191
|
-
|
192
|
-
新表名 备份恢复到新实例和当前实例: 使用DATABASE类型恢复参数无效。 使用DATABASE_TABLE级别恢复,需注意目标实例里不存在当前的表名,否则无法下发。
|
193
|
-
|
194
|
-
:return: The new_table_name of this RestoreTableListDetail.
|
195
|
-
:rtype: str
|
196
|
-
"""
|
197
|
-
return self._new_table_name
|
198
|
-
|
199
|
-
@new_table_name.setter
|
200
|
-
def new_table_name(self, new_table_name):
|
201
|
-
"""Sets the new_table_name of this RestoreTableListDetail.
|
202
|
-
|
203
|
-
新表名 备份恢复到新实例和当前实例: 使用DATABASE类型恢复参数无效。 使用DATABASE_TABLE级别恢复,需注意目标实例里不存在当前的表名,否则无法下发。
|
204
|
-
|
205
|
-
:param new_table_name: The new_table_name of this RestoreTableListDetail.
|
206
|
-
:type new_table_name: str
|
207
|
-
"""
|
208
|
-
self._new_table_name = new_table_name
|
209
|
-
|
210
|
-
def to_dict(self):
|
211
|
-
"""Returns the model properties as a dict"""
|
212
|
-
result = {}
|
213
|
-
|
214
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
215
|
-
value = getattr(self, attr)
|
216
|
-
if isinstance(value, list):
|
217
|
-
result[attr] = list(map(
|
218
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
219
|
-
value
|
220
|
-
))
|
221
|
-
elif hasattr(value, "to_dict"):
|
222
|
-
result[attr] = value.to_dict()
|
223
|
-
elif isinstance(value, dict):
|
224
|
-
result[attr] = dict(map(
|
225
|
-
lambda item: (item[0], item[1].to_dict())
|
226
|
-
if hasattr(item[1], "to_dict") else item,
|
227
|
-
value.items()
|
228
|
-
))
|
229
|
-
else:
|
230
|
-
if attr in self.sensitive_list:
|
231
|
-
result[attr] = "****"
|
232
|
-
else:
|
233
|
-
result[attr] = value
|
234
|
-
|
235
|
-
return result
|
236
|
-
|
237
|
-
def to_str(self):
|
238
|
-
"""Returns the string representation of the model"""
|
239
|
-
import simplejson as json
|
240
|
-
if six.PY2:
|
241
|
-
import sys
|
242
|
-
reload(sys)
|
243
|
-
sys.setdefaultencoding("utf-8")
|
244
|
-
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
245
|
-
|
246
|
-
def __repr__(self):
|
247
|
-
"""For `print`"""
|
248
|
-
return self.to_str()
|
249
|
-
|
250
|
-
def __eq__(self, other):
|
251
|
-
"""Returns true if both objects are equal"""
|
252
|
-
if not isinstance(other, RestoreTableListDetail):
|
253
|
-
return False
|
254
|
-
|
255
|
-
return self.__dict__ == other.__dict__
|
256
|
-
|
257
|
-
def __ne__(self, other):
|
258
|
-
"""Returns true if both objects are not equal"""
|
259
|
-
return not self == other
|
File without changes
|
File without changes
|