huaweicloudsdkgaussdb 3.1.164__py3-none-any.whl → 3.1.166__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.
- huaweicloudsdkgaussdb/v3/__init__.py +54 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +1239 -48
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +1239 -48
- huaweicloudsdkgaussdb/v3/model/__init__.py +54 -0
- huaweicloudsdkgaussdb/v3/model/audit_log_detail.py +231 -0
- huaweicloudsdkgaussdb/v3/model/audit_log_download_link_request_body.py +114 -0
- huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_request.py +140 -0
- huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_request_body.py +171 -0
- huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/create_proxy_dns_name_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/create_proxy_dns_name_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/database_tables_info.py +144 -0
- huaweicloudsdkgaussdb/v3/model/delete_proxy_private_dns_name_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/delete_proxy_private_dns_name_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/htap_error_log_detail_response_error_log_list.py +226 -0
- huaweicloudsdkgaussdb/v3/model/htap_error_log_query_request_body.py +255 -0
- huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_instance.py +284 -0
- huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_instance_lts_configs.py +138 -0
- huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_lts_configs.py +198 -0
- huaweicloudsdkgaussdb/v3/model/htap_node_info_response_body_node_list.py +170 -0
- huaweicloudsdkgaussdb/v3/model/list_audit_logs_request.py +255 -0
- huaweicloudsdkgaussdb/v3/model/list_audit_logs_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/list_instance_node_request.py +142 -0
- huaweicloudsdkgaussdb/v3/model/list_instance_node_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_req.py +114 -0
- huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/proxy_flavor.py +260 -0
- huaweicloudsdkgaussdb/v3/model/proxy_flavor_group.py +144 -0
- huaweicloudsdkgaussdb/v3/model/query_data_base_request_v3.py +144 -0
- huaweicloudsdkgaussdb/v3/model/query_table_request_v3.py +202 -0
- huaweicloudsdkgaussdb/v3/model/rds_error_log_download.py +289 -0
- huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_request_body.py +172 -0
- huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_audit_log_download_link_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/show_audit_log_download_link_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/show_audit_log_policy_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/show_audit_log_policy_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/show_error_log_download_link_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/show_error_log_download_link_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_htap_error_log_detail_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/show_htap_error_log_detail_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/show_htap_lts_config_request.py +259 -0
- huaweicloudsdkgaussdb/v3/model/show_htap_lts_config_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_instance_databases_for_htap_request.py +225 -0
- huaweicloudsdkgaussdb/v3/model/show_instance_databases_for_htap_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/show_instance_tables_for_htap_request.py +225 -0
- huaweicloudsdkgaussdb/v3/model/show_instance_tables_for_htap_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_proxy_flavors_by_az_code_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/show_proxy_flavors_by_az_code_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/show_table_meta_info_request.py +201 -0
- huaweicloudsdkgaussdb/v3/model/show_table_meta_info_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/table_meta_info.py +260 -0
- huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name.py +142 -0
- huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name_request.py +196 -0
- huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/upgrade_databases_single_instance.py +142 -0
- {huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/METADATA +9 -10
- {huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/RECORD +62 -9
- {huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/WHEEL +1 -2
- huaweicloudsdkgaussdb-3.1.164.dist-info/top_level.txt +0 -1
- {huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,196 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UpdateProxyPrivateDnsNameRequest:
|
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
|
+
'x_language': 'str',
|
21
|
+
'instance_id': 'str',
|
22
|
+
'proxy_id': 'str',
|
23
|
+
'body': 'UpdateProxyPrivateDnsName'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'x_language': 'X-Language',
|
28
|
+
'instance_id': 'instance_id',
|
29
|
+
'proxy_id': 'proxy_id',
|
30
|
+
'body': 'body'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, x_language=None, instance_id=None, proxy_id=None, body=None):
|
34
|
+
r"""UpdateProxyPrivateDnsNameRequest
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param x_language: **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
|
39
|
+
:type x_language: str
|
40
|
+
:param instance_id: **参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
|
41
|
+
:type instance_id: str
|
42
|
+
:param proxy_id: **参数解释**: 数据库代理ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为po01,长度为36个字符。 **默认取值**: 不涉及。
|
43
|
+
:type proxy_id: str
|
44
|
+
:param body: Body of the UpdateProxyPrivateDnsNameRequest
|
45
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.UpdateProxyPrivateDnsName`
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._x_language = None
|
51
|
+
self._instance_id = None
|
52
|
+
self._proxy_id = None
|
53
|
+
self._body = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if x_language is not None:
|
57
|
+
self.x_language = x_language
|
58
|
+
self.instance_id = instance_id
|
59
|
+
self.proxy_id = proxy_id
|
60
|
+
if body is not None:
|
61
|
+
self.body = body
|
62
|
+
|
63
|
+
@property
|
64
|
+
def x_language(self):
|
65
|
+
r"""Gets the x_language of this UpdateProxyPrivateDnsNameRequest.
|
66
|
+
|
67
|
+
**参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
|
68
|
+
|
69
|
+
:return: The x_language of this UpdateProxyPrivateDnsNameRequest.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._x_language
|
73
|
+
|
74
|
+
@x_language.setter
|
75
|
+
def x_language(self, x_language):
|
76
|
+
r"""Sets the x_language of this UpdateProxyPrivateDnsNameRequest.
|
77
|
+
|
78
|
+
**参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
|
79
|
+
|
80
|
+
:param x_language: The x_language of this UpdateProxyPrivateDnsNameRequest.
|
81
|
+
:type x_language: str
|
82
|
+
"""
|
83
|
+
self._x_language = x_language
|
84
|
+
|
85
|
+
@property
|
86
|
+
def instance_id(self):
|
87
|
+
r"""Gets the instance_id of this UpdateProxyPrivateDnsNameRequest.
|
88
|
+
|
89
|
+
**参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
|
90
|
+
|
91
|
+
:return: The instance_id of this UpdateProxyPrivateDnsNameRequest.
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._instance_id
|
95
|
+
|
96
|
+
@instance_id.setter
|
97
|
+
def instance_id(self, instance_id):
|
98
|
+
r"""Sets the instance_id of this UpdateProxyPrivateDnsNameRequest.
|
99
|
+
|
100
|
+
**参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
|
101
|
+
|
102
|
+
:param instance_id: The instance_id of this UpdateProxyPrivateDnsNameRequest.
|
103
|
+
:type instance_id: str
|
104
|
+
"""
|
105
|
+
self._instance_id = instance_id
|
106
|
+
|
107
|
+
@property
|
108
|
+
def proxy_id(self):
|
109
|
+
r"""Gets the proxy_id of this UpdateProxyPrivateDnsNameRequest.
|
110
|
+
|
111
|
+
**参数解释**: 数据库代理ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为po01,长度为36个字符。 **默认取值**: 不涉及。
|
112
|
+
|
113
|
+
:return: The proxy_id of this UpdateProxyPrivateDnsNameRequest.
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._proxy_id
|
117
|
+
|
118
|
+
@proxy_id.setter
|
119
|
+
def proxy_id(self, proxy_id):
|
120
|
+
r"""Sets the proxy_id of this UpdateProxyPrivateDnsNameRequest.
|
121
|
+
|
122
|
+
**参数解释**: 数据库代理ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为po01,长度为36个字符。 **默认取值**: 不涉及。
|
123
|
+
|
124
|
+
:param proxy_id: The proxy_id of this UpdateProxyPrivateDnsNameRequest.
|
125
|
+
:type proxy_id: str
|
126
|
+
"""
|
127
|
+
self._proxy_id = proxy_id
|
128
|
+
|
129
|
+
@property
|
130
|
+
def body(self):
|
131
|
+
r"""Gets the body of this UpdateProxyPrivateDnsNameRequest.
|
132
|
+
|
133
|
+
:return: The body of this UpdateProxyPrivateDnsNameRequest.
|
134
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.UpdateProxyPrivateDnsName`
|
135
|
+
"""
|
136
|
+
return self._body
|
137
|
+
|
138
|
+
@body.setter
|
139
|
+
def body(self, body):
|
140
|
+
r"""Sets the body of this UpdateProxyPrivateDnsNameRequest.
|
141
|
+
|
142
|
+
:param body: The body of this UpdateProxyPrivateDnsNameRequest.
|
143
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.UpdateProxyPrivateDnsName`
|
144
|
+
"""
|
145
|
+
self._body = body
|
146
|
+
|
147
|
+
def to_dict(self):
|
148
|
+
"""Returns the model properties as a dict"""
|
149
|
+
result = {}
|
150
|
+
|
151
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
152
|
+
value = getattr(self, attr)
|
153
|
+
if isinstance(value, list):
|
154
|
+
result[attr] = list(map(
|
155
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
156
|
+
value
|
157
|
+
))
|
158
|
+
elif hasattr(value, "to_dict"):
|
159
|
+
result[attr] = value.to_dict()
|
160
|
+
elif isinstance(value, dict):
|
161
|
+
result[attr] = dict(map(
|
162
|
+
lambda item: (item[0], item[1].to_dict())
|
163
|
+
if hasattr(item[1], "to_dict") else item,
|
164
|
+
value.items()
|
165
|
+
))
|
166
|
+
else:
|
167
|
+
if attr in self.sensitive_list:
|
168
|
+
result[attr] = "****"
|
169
|
+
else:
|
170
|
+
result[attr] = value
|
171
|
+
|
172
|
+
return result
|
173
|
+
|
174
|
+
def to_str(self):
|
175
|
+
"""Returns the string representation of the model"""
|
176
|
+
import simplejson as json
|
177
|
+
if six.PY2:
|
178
|
+
import sys
|
179
|
+
reload(sys)
|
180
|
+
sys.setdefaultencoding("utf-8")
|
181
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
182
|
+
|
183
|
+
def __repr__(self):
|
184
|
+
"""For `print`"""
|
185
|
+
return self.to_str()
|
186
|
+
|
187
|
+
def __eq__(self, other):
|
188
|
+
"""Returns true if both objects are equal"""
|
189
|
+
if not isinstance(other, UpdateProxyPrivateDnsNameRequest):
|
190
|
+
return False
|
191
|
+
|
192
|
+
return self.__dict__ == other.__dict__
|
193
|
+
|
194
|
+
def __ne__(self, other):
|
195
|
+
"""Returns true if both objects are not equal"""
|
196
|
+
return not self == other
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class UpdateProxyPrivateDnsNameResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'job_id': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'job_id': 'job_id'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, job_id=None):
|
29
|
+
r"""UpdateProxyPrivateDnsNameResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param job_id: 任务ID。
|
34
|
+
:type job_id: str
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(UpdateProxyPrivateDnsNameResponse, self).__init__()
|
38
|
+
|
39
|
+
self._job_id = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if job_id is not None:
|
43
|
+
self.job_id = job_id
|
44
|
+
|
45
|
+
@property
|
46
|
+
def job_id(self):
|
47
|
+
r"""Gets the job_id of this UpdateProxyPrivateDnsNameResponse.
|
48
|
+
|
49
|
+
任务ID。
|
50
|
+
|
51
|
+
:return: The job_id of this UpdateProxyPrivateDnsNameResponse.
|
52
|
+
:rtype: str
|
53
|
+
"""
|
54
|
+
return self._job_id
|
55
|
+
|
56
|
+
@job_id.setter
|
57
|
+
def job_id(self, job_id):
|
58
|
+
r"""Sets the job_id of this UpdateProxyPrivateDnsNameResponse.
|
59
|
+
|
60
|
+
任务ID。
|
61
|
+
|
62
|
+
:param job_id: The job_id of this UpdateProxyPrivateDnsNameResponse.
|
63
|
+
:type job_id: str
|
64
|
+
"""
|
65
|
+
self._job_id = job_id
|
66
|
+
|
67
|
+
def to_dict(self):
|
68
|
+
"""Returns the model properties as a dict"""
|
69
|
+
result = {}
|
70
|
+
|
71
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
72
|
+
value = getattr(self, attr)
|
73
|
+
if isinstance(value, list):
|
74
|
+
result[attr] = list(map(
|
75
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
76
|
+
value
|
77
|
+
))
|
78
|
+
elif hasattr(value, "to_dict"):
|
79
|
+
result[attr] = value.to_dict()
|
80
|
+
elif isinstance(value, dict):
|
81
|
+
result[attr] = dict(map(
|
82
|
+
lambda item: (item[0], item[1].to_dict())
|
83
|
+
if hasattr(item[1], "to_dict") else item,
|
84
|
+
value.items()
|
85
|
+
))
|
86
|
+
else:
|
87
|
+
if attr in self.sensitive_list:
|
88
|
+
result[attr] = "****"
|
89
|
+
else:
|
90
|
+
result[attr] = value
|
91
|
+
|
92
|
+
return result
|
93
|
+
|
94
|
+
def to_str(self):
|
95
|
+
"""Returns the string representation of the model"""
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
"""For `print`"""
|
105
|
+
return self.to_str()
|
106
|
+
|
107
|
+
def __eq__(self, other):
|
108
|
+
"""Returns true if both objects are equal"""
|
109
|
+
if not isinstance(other, UpdateProxyPrivateDnsNameResponse):
|
110
|
+
return False
|
111
|
+
|
112
|
+
return self.__dict__ == other.__dict__
|
113
|
+
|
114
|
+
def __ne__(self, other):
|
115
|
+
"""Returns true if both objects are not equal"""
|
116
|
+
return not self == other
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UpgradeDatabasesSingleInstance:
|
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
|
+
'current_version': 'str',
|
21
|
+
'instance_id': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'current_version': 'current_version',
|
26
|
+
'instance_id': 'instance_id'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, current_version=None, instance_id=None):
|
30
|
+
r"""UpgradeDatabasesSingleInstance
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param current_version: 实例当前的内核版本。
|
35
|
+
:type current_version: str
|
36
|
+
:param instance_id: 实例id。
|
37
|
+
:type instance_id: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._current_version = None
|
43
|
+
self._instance_id = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.current_version = current_version
|
47
|
+
self.instance_id = instance_id
|
48
|
+
|
49
|
+
@property
|
50
|
+
def current_version(self):
|
51
|
+
r"""Gets the current_version of this UpgradeDatabasesSingleInstance.
|
52
|
+
|
53
|
+
实例当前的内核版本。
|
54
|
+
|
55
|
+
:return: The current_version of this UpgradeDatabasesSingleInstance.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._current_version
|
59
|
+
|
60
|
+
@current_version.setter
|
61
|
+
def current_version(self, current_version):
|
62
|
+
r"""Sets the current_version of this UpgradeDatabasesSingleInstance.
|
63
|
+
|
64
|
+
实例当前的内核版本。
|
65
|
+
|
66
|
+
:param current_version: The current_version of this UpgradeDatabasesSingleInstance.
|
67
|
+
:type current_version: str
|
68
|
+
"""
|
69
|
+
self._current_version = current_version
|
70
|
+
|
71
|
+
@property
|
72
|
+
def instance_id(self):
|
73
|
+
r"""Gets the instance_id of this UpgradeDatabasesSingleInstance.
|
74
|
+
|
75
|
+
实例id。
|
76
|
+
|
77
|
+
:return: The instance_id of this UpgradeDatabasesSingleInstance.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._instance_id
|
81
|
+
|
82
|
+
@instance_id.setter
|
83
|
+
def instance_id(self, instance_id):
|
84
|
+
r"""Sets the instance_id of this UpgradeDatabasesSingleInstance.
|
85
|
+
|
86
|
+
实例id。
|
87
|
+
|
88
|
+
:param instance_id: The instance_id of this UpgradeDatabasesSingleInstance.
|
89
|
+
:type instance_id: str
|
90
|
+
"""
|
91
|
+
self._instance_id = instance_id
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, UpgradeDatabasesSingleInstance):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|
{huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/METADATA
RENAMED
@@ -1,12 +1,12 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: huaweicloudsdkgaussdb
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.166
|
4
4
|
Summary: GaussDB
|
5
|
-
|
6
|
-
Author: HuaweiCloud SDK
|
7
|
-
|
8
|
-
License:
|
9
|
-
Keywords: huaweicloud,sdk
|
5
|
+
Project-URL: Homepage, https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
|
+
Author-email: HuaweiCloud SDK <hwcloudsdk@huawei.com>
|
7
|
+
License-Expression: Apache-2.0
|
8
|
+
License-File: LICENSE
|
9
|
+
Keywords: GaussDB,huaweicloud,sdk
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
11
11
|
Classifier: Intended Audience :: Developers
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
@@ -19,8 +19,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
20
20
|
Classifier: Topic :: Software Development
|
21
21
|
Requires-Python: >=3.6
|
22
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.166
|
22
23
|
Description-Content-Type: text/markdown
|
23
|
-
License-File: LICENSE
|
24
|
-
Requires-Dist: huaweicloudsdkcore>=3.1.164
|
25
24
|
|
26
|
-
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
25
|
+
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|