huaweicloudsdkgaussdb 3.1.140__py2.py3-none-any.whl → 3.1.142__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.
@@ -348,6 +348,7 @@ from huaweicloudsdkgaussdb.v3.model.modify_gauss_my_sql_proxy_route_mode_respons
348
348
  from huaweicloudsdkgaussdb.v3.model.modify_gauss_mysql_dns_request import ModifyGaussMysqlDnsRequest
349
349
  from huaweicloudsdkgaussdb.v3.model.modify_gauss_mysql_dns_response import ModifyGaussMysqlDnsResponse
350
350
  from huaweicloudsdkgaussdb.v3.model.modify_internal_ip_request import ModifyInternalIpRequest
351
+ from huaweicloudsdkgaussdb.v3.model.modify_node_data_ip_request import ModifyNodeDataIpRequest
351
352
  from huaweicloudsdkgaussdb.v3.model.modify_node_priority_request import ModifyNodePriorityRequest
352
353
  from huaweicloudsdkgaussdb.v3.model.modify_node_priority_request_body import ModifyNodePriorityRequestBody
353
354
  from huaweicloudsdkgaussdb.v3.model.modify_node_priority_response import ModifyNodePriorityResponse
@@ -715,6 +716,8 @@ from huaweicloudsdkgaussdb.v3.model.update_star_rocks_database_user_permission_r
715
716
  from huaweicloudsdkgaussdb.v3.model.update_star_rocks_database_user_permission_response import UpdateStarRocksDatabaseUserPermissionResponse
716
717
  from huaweicloudsdkgaussdb.v3.model.update_starrocks_params_request import UpdateStarrocksParamsRequest
717
718
  from huaweicloudsdkgaussdb.v3.model.update_starrocks_params_response import UpdateStarrocksParamsResponse
719
+ from huaweicloudsdkgaussdb.v3.model.update_taurus_node_data_ip_request import UpdateTaurusNodeDataIpRequest
720
+ from huaweicloudsdkgaussdb.v3.model.update_taurus_node_data_ip_response import UpdateTaurusNodeDataIpResponse
718
721
  from huaweicloudsdkgaussdb.v3.model.update_transaction_split_status_request import UpdateTransactionSplitStatusRequest
719
722
  from huaweicloudsdkgaussdb.v3.model.update_transaction_split_status_response import UpdateTransactionSplitStatusResponse
720
723
  from huaweicloudsdkgaussdb.v3.model.upgrade_database_request import UpgradeDatabaseRequest
@@ -9505,6 +9505,77 @@ class GaussDBAsyncClient(Client):
9505
9505
 
9506
9506
  return http_info
9507
9507
 
9508
+ def update_taurus_node_data_ip_async(self, request):
9509
+ """修改只读节点的读内网地址
9510
+
9511
+ 修改只读节点的读内网地址。
9512
+
9513
+ Please refer to HUAWEI cloud API Explorer for details.
9514
+
9515
+
9516
+ :param request: Request instance for UpdateTaurusNodeDataIp
9517
+ :type request: :class:`huaweicloudsdkgaussdb.v3.UpdateTaurusNodeDataIpRequest`
9518
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.UpdateTaurusNodeDataIpResponse`
9519
+ """
9520
+ http_info = self._update_taurus_node_data_ip_http_info(request)
9521
+ return self._call_api(**http_info)
9522
+
9523
+ def update_taurus_node_data_ip_async_invoker(self, request):
9524
+ http_info = self._update_taurus_node_data_ip_http_info(request)
9525
+ return AsyncInvoker(self, http_info)
9526
+
9527
+ def _update_taurus_node_data_ip_http_info(self, request):
9528
+ http_info = {
9529
+ "method": "PUT",
9530
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/{node_id}/internal-ip",
9531
+ "request_type": request.__class__.__name__,
9532
+ "response_type": "UpdateTaurusNodeDataIpResponse"
9533
+ }
9534
+
9535
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
9536
+
9537
+ cname = None
9538
+
9539
+ collection_formats = {}
9540
+
9541
+ path_params = {}
9542
+ if 'instance_id' in local_var_params:
9543
+ path_params['instance_id'] = local_var_params['instance_id']
9544
+ if 'node_id' in local_var_params:
9545
+ path_params['node_id'] = local_var_params['node_id']
9546
+
9547
+ query_params = []
9548
+
9549
+ header_params = {}
9550
+ if 'x_language' in local_var_params:
9551
+ header_params['X-Language'] = local_var_params['x_language']
9552
+
9553
+ form_params = {}
9554
+
9555
+ body = None
9556
+ if 'body' in local_var_params:
9557
+ body = local_var_params['body']
9558
+ if isinstance(request, SdkStreamRequest):
9559
+ body = request.get_file_stream()
9560
+
9561
+ response_headers = []
9562
+
9563
+ header_params['Content-Type'] = http_utils.select_header_content_type(
9564
+ ['application/json;charset=UTF-8'])
9565
+
9566
+ auth_settings = []
9567
+
9568
+ http_info["cname"] = cname
9569
+ http_info["collection_formats"] = collection_formats
9570
+ http_info["path_params"] = path_params
9571
+ http_info["query_params"] = query_params
9572
+ http_info["header_params"] = header_params
9573
+ http_info["post_params"] = form_params
9574
+ http_info["body"] = body
9575
+ http_info["response_headers"] = response_headers
9576
+
9577
+ return http_info
9578
+
9508
9579
  def update_transaction_split_status_async(self, request):
9509
9580
  """设置proxy事务拆分
9510
9581
 
@@ -9505,6 +9505,77 @@ class GaussDBClient(Client):
9505
9505
 
9506
9506
  return http_info
9507
9507
 
9508
+ def update_taurus_node_data_ip(self, request):
9509
+ """修改只读节点的读内网地址
9510
+
9511
+ 修改只读节点的读内网地址。
9512
+
9513
+ Please refer to HUAWEI cloud API Explorer for details.
9514
+
9515
+ :param request: Request instance for UpdateTaurusNodeDataIp
9516
+ :type request: :class:`huaweicloudsdkgaussdb.v3.UpdateTaurusNodeDataIpRequest`
9517
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.UpdateTaurusNodeDataIpResponse`
9518
+ """
9519
+ http_info = self._update_taurus_node_data_ip_http_info(request)
9520
+ return self._call_api(**http_info)
9521
+
9522
+ def update_taurus_node_data_ip_invoker(self, request):
9523
+ http_info = self._update_taurus_node_data_ip_http_info(request)
9524
+ return SyncInvoker(self, http_info)
9525
+
9526
+ @classmethod
9527
+ def _update_taurus_node_data_ip_http_info(cls, request):
9528
+ http_info = {
9529
+ "method": "PUT",
9530
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/{node_id}/internal-ip",
9531
+ "request_type": request.__class__.__name__,
9532
+ "response_type": "UpdateTaurusNodeDataIpResponse"
9533
+ }
9534
+
9535
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
9536
+
9537
+ cname = None
9538
+
9539
+ collection_formats = {}
9540
+
9541
+ path_params = {}
9542
+ if 'instance_id' in local_var_params:
9543
+ path_params['instance_id'] = local_var_params['instance_id']
9544
+ if 'node_id' in local_var_params:
9545
+ path_params['node_id'] = local_var_params['node_id']
9546
+
9547
+ query_params = []
9548
+
9549
+ header_params = {}
9550
+ if 'x_language' in local_var_params:
9551
+ header_params['X-Language'] = local_var_params['x_language']
9552
+
9553
+ form_params = {}
9554
+
9555
+ body = None
9556
+ if 'body' in local_var_params:
9557
+ body = local_var_params['body']
9558
+ if isinstance(request, SdkStreamRequest):
9559
+ body = request.get_file_stream()
9560
+
9561
+ response_headers = []
9562
+
9563
+ header_params['Content-Type'] = http_utils.select_header_content_type(
9564
+ ['application/json;charset=UTF-8'])
9565
+
9566
+ auth_settings = []
9567
+
9568
+ http_info["cname"] = cname
9569
+ http_info["collection_formats"] = collection_formats
9570
+ http_info["path_params"] = path_params
9571
+ http_info["query_params"] = query_params
9572
+ http_info["header_params"] = header_params
9573
+ http_info["post_params"] = form_params
9574
+ http_info["body"] = body
9575
+ http_info["response_headers"] = response_headers
9576
+
9577
+ return http_info
9578
+
9508
9579
  def update_transaction_split_status(self, request):
9509
9580
  """设置proxy事务拆分
9510
9581
 
@@ -346,6 +346,7 @@ from huaweicloudsdkgaussdb.v3.model.modify_gauss_my_sql_proxy_route_mode_respons
346
346
  from huaweicloudsdkgaussdb.v3.model.modify_gauss_mysql_dns_request import ModifyGaussMysqlDnsRequest
347
347
  from huaweicloudsdkgaussdb.v3.model.modify_gauss_mysql_dns_response import ModifyGaussMysqlDnsResponse
348
348
  from huaweicloudsdkgaussdb.v3.model.modify_internal_ip_request import ModifyInternalIpRequest
349
+ from huaweicloudsdkgaussdb.v3.model.modify_node_data_ip_request import ModifyNodeDataIpRequest
349
350
  from huaweicloudsdkgaussdb.v3.model.modify_node_priority_request import ModifyNodePriorityRequest
350
351
  from huaweicloudsdkgaussdb.v3.model.modify_node_priority_request_body import ModifyNodePriorityRequestBody
351
352
  from huaweicloudsdkgaussdb.v3.model.modify_node_priority_response import ModifyNodePriorityResponse
@@ -713,6 +714,8 @@ from huaweicloudsdkgaussdb.v3.model.update_star_rocks_database_user_permission_r
713
714
  from huaweicloudsdkgaussdb.v3.model.update_star_rocks_database_user_permission_response import UpdateStarRocksDatabaseUserPermissionResponse
714
715
  from huaweicloudsdkgaussdb.v3.model.update_starrocks_params_request import UpdateStarrocksParamsRequest
715
716
  from huaweicloudsdkgaussdb.v3.model.update_starrocks_params_response import UpdateStarrocksParamsResponse
717
+ from huaweicloudsdkgaussdb.v3.model.update_taurus_node_data_ip_request import UpdateTaurusNodeDataIpRequest
718
+ from huaweicloudsdkgaussdb.v3.model.update_taurus_node_data_ip_response import UpdateTaurusNodeDataIpResponse
716
719
  from huaweicloudsdkgaussdb.v3.model.update_transaction_split_status_request import UpdateTransactionSplitStatusRequest
717
720
  from huaweicloudsdkgaussdb.v3.model.update_transaction_split_status_response import UpdateTransactionSplitStatusResponse
718
721
  from huaweicloudsdkgaussdb.v3.model.upgrade_database_request import UpgradeDatabaseRequest
@@ -0,0 +1,114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ModifyNodeDataIpRequest:
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
+ 'internal_ip': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'internal_ip': 'internal_ip'
25
+ }
26
+
27
+ def __init__(self, internal_ip=None):
28
+ """ModifyNodeDataIpRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param internal_ip: **参数解释**: 内网IP地址。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认值**: 不涉及。
33
+ :type internal_ip: str
34
+ """
35
+
36
+
37
+
38
+ self._internal_ip = None
39
+ self.discriminator = None
40
+
41
+ self.internal_ip = internal_ip
42
+
43
+ @property
44
+ def internal_ip(self):
45
+ """Gets the internal_ip of this ModifyNodeDataIpRequest.
46
+
47
+ **参数解释**: 内网IP地址。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认值**: 不涉及。
48
+
49
+ :return: The internal_ip of this ModifyNodeDataIpRequest.
50
+ :rtype: str
51
+ """
52
+ return self._internal_ip
53
+
54
+ @internal_ip.setter
55
+ def internal_ip(self, internal_ip):
56
+ """Sets the internal_ip of this ModifyNodeDataIpRequest.
57
+
58
+ **参数解释**: 内网IP地址。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认值**: 不涉及。
59
+
60
+ :param internal_ip: The internal_ip of this ModifyNodeDataIpRequest.
61
+ :type internal_ip: str
62
+ """
63
+ self._internal_ip = internal_ip
64
+
65
+ def to_dict(self):
66
+ """Returns the model properties as a dict"""
67
+ result = {}
68
+
69
+ for attr, _ in six.iteritems(self.openapi_types):
70
+ value = getattr(self, attr)
71
+ if isinstance(value, list):
72
+ result[attr] = list(map(
73
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
+ value
75
+ ))
76
+ elif hasattr(value, "to_dict"):
77
+ result[attr] = value.to_dict()
78
+ elif isinstance(value, dict):
79
+ result[attr] = dict(map(
80
+ lambda item: (item[0], item[1].to_dict())
81
+ if hasattr(item[1], "to_dict") else item,
82
+ value.items()
83
+ ))
84
+ else:
85
+ if attr in self.sensitive_list:
86
+ result[attr] = "****"
87
+ else:
88
+ result[attr] = value
89
+
90
+ return result
91
+
92
+ def to_str(self):
93
+ """Returns the string representation of the model"""
94
+ import simplejson as json
95
+ if six.PY2:
96
+ import sys
97
+ reload(sys)
98
+ sys.setdefaultencoding("utf-8")
99
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
+
101
+ def __repr__(self):
102
+ """For `print`"""
103
+ return self.to_str()
104
+
105
+ def __eq__(self, other):
106
+ """Returns true if both objects are equal"""
107
+ if not isinstance(other, ModifyNodeDataIpRequest):
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ """Returns true if both objects are not equal"""
114
+ return not self == other
@@ -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 UpdateTaurusNodeDataIpRequest:
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
+ 'node_id': 'str',
23
+ 'body': 'ModifyNodeDataIpRequest'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'x_language': 'X-Language',
28
+ 'instance_id': 'instance_id',
29
+ 'node_id': 'node_id',
30
+ 'body': 'body'
31
+ }
32
+
33
+ def __init__(self, x_language=None, instance_id=None, node_id=None, body=None):
34
+ """UpdateTaurusNodeDataIpRequest
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 node_id: **参数解释**: 节点ID。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,前面为UUID,后缀为no07,长度为36个字符。 **默认取值**: 不涉及。
43
+ :type node_id: str
44
+ :param body: Body of the UpdateTaurusNodeDataIpRequest
45
+ :type body: :class:`huaweicloudsdkgaussdb.v3.ModifyNodeDataIpRequest`
46
+ """
47
+
48
+
49
+
50
+ self._x_language = None
51
+ self._instance_id = None
52
+ self._node_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.node_id = node_id
60
+ if body is not None:
61
+ self.body = body
62
+
63
+ @property
64
+ def x_language(self):
65
+ """Gets the x_language of this UpdateTaurusNodeDataIpRequest.
66
+
67
+ **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us。
68
+
69
+ :return: The x_language of this UpdateTaurusNodeDataIpRequest.
70
+ :rtype: str
71
+ """
72
+ return self._x_language
73
+
74
+ @x_language.setter
75
+ def x_language(self, x_language):
76
+ """Sets the x_language of this UpdateTaurusNodeDataIpRequest.
77
+
78
+ **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us。
79
+
80
+ :param x_language: The x_language of this UpdateTaurusNodeDataIpRequest.
81
+ :type x_language: str
82
+ """
83
+ self._x_language = x_language
84
+
85
+ @property
86
+ def instance_id(self):
87
+ """Gets the instance_id of this UpdateTaurusNodeDataIpRequest.
88
+
89
+ **参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
90
+
91
+ :return: The instance_id of this UpdateTaurusNodeDataIpRequest.
92
+ :rtype: str
93
+ """
94
+ return self._instance_id
95
+
96
+ @instance_id.setter
97
+ def instance_id(self, instance_id):
98
+ """Sets the instance_id of this UpdateTaurusNodeDataIpRequest.
99
+
100
+ **参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
101
+
102
+ :param instance_id: The instance_id of this UpdateTaurusNodeDataIpRequest.
103
+ :type instance_id: str
104
+ """
105
+ self._instance_id = instance_id
106
+
107
+ @property
108
+ def node_id(self):
109
+ """Gets the node_id of this UpdateTaurusNodeDataIpRequest.
110
+
111
+ **参数解释**: 节点ID。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,前面为UUID,后缀为no07,长度为36个字符。 **默认取值**: 不涉及。
112
+
113
+ :return: The node_id of this UpdateTaurusNodeDataIpRequest.
114
+ :rtype: str
115
+ """
116
+ return self._node_id
117
+
118
+ @node_id.setter
119
+ def node_id(self, node_id):
120
+ """Sets the node_id of this UpdateTaurusNodeDataIpRequest.
121
+
122
+ **参数解释**: 节点ID。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,前面为UUID,后缀为no07,长度为36个字符。 **默认取值**: 不涉及。
123
+
124
+ :param node_id: The node_id of this UpdateTaurusNodeDataIpRequest.
125
+ :type node_id: str
126
+ """
127
+ self._node_id = node_id
128
+
129
+ @property
130
+ def body(self):
131
+ """Gets the body of this UpdateTaurusNodeDataIpRequest.
132
+
133
+ :return: The body of this UpdateTaurusNodeDataIpRequest.
134
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ModifyNodeDataIpRequest`
135
+ """
136
+ return self._body
137
+
138
+ @body.setter
139
+ def body(self, body):
140
+ """Sets the body of this UpdateTaurusNodeDataIpRequest.
141
+
142
+ :param body: The body of this UpdateTaurusNodeDataIpRequest.
143
+ :type body: :class:`huaweicloudsdkgaussdb.v3.ModifyNodeDataIpRequest`
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, UpdateTaurusNodeDataIpRequest):
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 UpdateTaurusNodeDataIpResponse(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
+ """UpdateTaurusNodeDataIpResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param job_id: 任务ID。
34
+ :type job_id: str
35
+ """
36
+
37
+ super(UpdateTaurusNodeDataIpResponse, 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
+ """Gets the job_id of this UpdateTaurusNodeDataIpResponse.
48
+
49
+ 任务ID。
50
+
51
+ :return: The job_id of this UpdateTaurusNodeDataIpResponse.
52
+ :rtype: str
53
+ """
54
+ return self._job_id
55
+
56
+ @job_id.setter
57
+ def job_id(self, job_id):
58
+ """Sets the job_id of this UpdateTaurusNodeDataIpResponse.
59
+
60
+ 任务ID。
61
+
62
+ :param job_id: The job_id of this UpdateTaurusNodeDataIpResponse.
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, UpdateTaurusNodeDataIpResponse):
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkgaussdb
3
- Version: 3.1.140
3
+ Version: 3.1.142
4
4
  Summary: GaussDB
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore>=3.1.140
25
+ Requires-Dist: huaweicloudsdkcore>=3.1.142
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -1,8 +1,8 @@
1
1
  huaweicloudsdkgaussdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- huaweicloudsdkgaussdb/v3/__init__.py,sha256=aLRUEuk9aXamLpPI0Bfmvr8ahjQC6tfCYV0tkBl3uLs,77000
3
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py,sha256=r9i3izPEiZcoI3sCvgsWyZPWddDm2eyqKA1QZuHQUnw,509527
4
- huaweicloudsdkgaussdb/v3/gaussdb_client.py,sha256=J4mEehbi5sshz5sWzniJYpEnFxyXuW9DkpSCeGP3To4,509832
5
- huaweicloudsdkgaussdb/v3/model/__init__.py,sha256=WEH0ia3v4jSk_SfZXYA_-mvWWLfBURIKMxbTfQuRTvI,76890
2
+ huaweicloudsdkgaussdb/v3/__init__.py,sha256=vDXEQlA64ETgpIwrsM_kkm_sNY72dyDUCiyAaoenVSY,77313
3
+ huaweicloudsdkgaussdb/v3/gaussdb_async_client.py,sha256=Sa8VhrgkXRekNOQeMef7ftbH-xnlXQsxrVd3IinnFEQ,512061
4
+ huaweicloudsdkgaussdb/v3/gaussdb_client.py,sha256=l5i9BFMhFJKNo-oBbD_y5na3_v_sH_3kD0J5EDfZodk,512368
5
+ huaweicloudsdkgaussdb/v3/model/__init__.py,sha256=m86lbfI1PhePKxQOjGeOqVPMzHBGUiNpsxNRaYqceXs,77203
6
6
  huaweicloudsdkgaussdb/v3/model/access_control_rule.py,sha256=_hNgePJ5yjgiFJfw2hRCvIyyEYvaY8KZp0ESAA0O6WY,3900
7
7
  huaweicloudsdkgaussdb/v3/model/add_database_permission_request.py,sha256=m011GCLKS0xNt-1WbYaBZZoSSEBfxXADeCw4HL-3fhs,4908
8
8
  huaweicloudsdkgaussdb/v3/model/add_database_permission_response.py,sha256=FyiFrYFcWD0uMzPwyg-nB8mnk20HzgjTaal4kGyMmIc,3280
@@ -346,6 +346,7 @@ huaweicloudsdkgaussdb/v3/model/modify_gauss_my_sql_proxy_route_mode_response.py,
346
346
  huaweicloudsdkgaussdb/v3/model/modify_gauss_mysql_dns_request.py,sha256=ARrBvQSyzsWu8jJlbpgKohrl1ZkAJ4YO0z-dsXDKIS0,4804
347
347
  huaweicloudsdkgaussdb/v3/model/modify_gauss_mysql_dns_response.py,sha256=OPMD3xkeN0gdd4GbJhv78b2dvkUZL3EULkJz1mNG82Y,3201
348
348
  huaweicloudsdkgaussdb/v3/model/modify_internal_ip_request.py,sha256=yjo8AsMiVKtv8Z82LOmRyexnUu8aYv4fKCP9nBFvexI,3128
349
+ huaweicloudsdkgaussdb/v3/model/modify_node_data_ip_request.py,sha256=QsBo-YOZZXDjJEIMwjPz84Xa1MwelAmnfxpm93QaNSo,3551
349
350
  huaweicloudsdkgaussdb/v3/model/modify_node_priority_request.py,sha256=ybmvnoTWBWDpOPAfUjnU66r55k7r_8TGtFFdq83LDGg,5561
350
351
  huaweicloudsdkgaussdb/v3/model/modify_node_priority_request_body.py,sha256=b0GJPSqSyuJ4v7cusnD-9rvwyByK7ndWGUtzMtE1Hh8,4391
351
352
  huaweicloudsdkgaussdb/v3/model/modify_node_priority_response.py,sha256=8iLaZZoNKq0sf1pF3kWa-AizOPHc8SACR0H0ywMeTAg,3202
@@ -713,6 +714,8 @@ huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_reques
713
714
  huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_response.py,sha256=8K8TXSXVcKB2bF0HY3k4xnDZX-F_zNuC9pDvS1-49HQ,3357
714
715
  huaweicloudsdkgaussdb/v3/model/update_starrocks_params_request.py,sha256=tD4WVlMC9xIPpPYHJqx53MZdxfup2Ab32gB5OC3pcbA,5081
715
716
  huaweicloudsdkgaussdb/v3/model/update_starrocks_params_response.py,sha256=ULU6lOlIyuYFxYenStzaBftNKg7AkhlVUXc79AU4HPY,4399
717
+ huaweicloudsdkgaussdb/v3/model/update_taurus_node_data_ip_request.py,sha256=olTwZzs_etOCnrYVGTC2FS4sgb3-R-K1Pf_KiuqeWBU,7387
718
+ huaweicloudsdkgaussdb/v3/model/update_taurus_node_data_ip_response.py,sha256=r6-8u9qWtQLORpIgXC3FdHzL41980YcO0ZG5nSwqAmQ,3225
716
719
  huaweicloudsdkgaussdb/v3/model/update_transaction_split_status_request.py,sha256=--NhIkEBF0PzZYNI_tj46dVEXCDS-20hgfzkP5G6NTk,4996
717
720
  huaweicloudsdkgaussdb/v3/model/update_transaction_split_status_response.py,sha256=n_qivGA1JBPPf-prTpzFXUDwPWhvkk5BAyY161LOC5U,3273
718
721
  huaweicloudsdkgaussdb/v3/model/upgrade_database_request.py,sha256=LzeptRXrswDKsXNtBC9G6LkgLZSjsx-RjRiGfiN0EiY,3447
@@ -726,8 +729,8 @@ huaweicloudsdkgaussdb/v3/model/upgrade_sr_kernel_version_response.py,sha256=zNdn
726
729
  huaweicloudsdkgaussdb/v3/model/user_sync_req.py,sha256=_jObFGs0zxCcpg4K4j2Yh6Vwx1cBu4lt5Lwr650ryVw,2991
727
730
  huaweicloudsdkgaussdb/v3/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
728
731
  huaweicloudsdkgaussdb/v3/region/gaussdb_region.py,sha256=0vAaSAswkafpnej5GNqX7rGHtq2vGs6HsrIxoE3qWlw,3442
729
- huaweicloudsdkgaussdb-3.1.140.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
730
- huaweicloudsdkgaussdb-3.1.140.dist-info/METADATA,sha256=0Q6eUMVFrm3aat0S1FBKm3MXigdJmp-dIIYzGTwY4Sk,1147
731
- huaweicloudsdkgaussdb-3.1.140.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
732
- huaweicloudsdkgaussdb-3.1.140.dist-info/top_level.txt,sha256=_exDbngu-ivLzntD1UgfR3aRI7WoXQUaayhgYshbpyA,22
733
- huaweicloudsdkgaussdb-3.1.140.dist-info/RECORD,,
732
+ huaweicloudsdkgaussdb-3.1.142.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
733
+ huaweicloudsdkgaussdb-3.1.142.dist-info/METADATA,sha256=KpliPKikV7MsEP1m8oyIYcTnXNKoiUij6LgtduDaqGY,1147
734
+ huaweicloudsdkgaussdb-3.1.142.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
735
+ huaweicloudsdkgaussdb-3.1.142.dist-info/top_level.txt,sha256=_exDbngu-ivLzntD1UgfR3aRI7WoXQUaayhgYshbpyA,22
736
+ huaweicloudsdkgaussdb-3.1.142.dist-info/RECORD,,