huaweicloudsdkdcs 3.1.92__py2.py3-none-any.whl → 3.1.94__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 huaweicloudsdkdcs might be problematic. Click here for more details.

@@ -18,15 +18,29 @@ class SourceInstanceBody:
18
18
 
19
19
  openapi_types = {
20
20
  'addrs': 'str',
21
- 'password': 'str'
21
+ 'password': 'str',
22
+ 'task_status': 'str',
23
+ 'id': 'str',
24
+ 'ip': 'str',
25
+ 'port': 'str',
26
+ 'name': 'str',
27
+ 'proxy_multi_db': 'bool',
28
+ 'db': 'str'
22
29
  }
23
30
 
24
31
  attribute_map = {
25
32
  'addrs': 'addrs',
26
- 'password': 'password'
33
+ 'password': 'password',
34
+ 'task_status': 'task_status',
35
+ 'id': 'id',
36
+ 'ip': 'ip',
37
+ 'port': 'port',
38
+ 'name': 'name',
39
+ 'proxy_multi_db': 'proxy_multi_db',
40
+ 'db': 'db'
27
41
  }
28
42
 
29
- def __init__(self, addrs=None, password=None):
43
+ def __init__(self, addrs=None, password=None, task_status=None, id=None, ip=None, port=None, name=None, proxy_multi_db=None, db=None):
30
44
  """SourceInstanceBody
31
45
 
32
46
  The model defined in huaweicloud sdk
@@ -35,17 +49,52 @@ class SourceInstanceBody:
35
49
  :type addrs: str
36
50
  :param password: Redis密码,如果设置了密码,则必须填写。
37
51
  :type password: str
52
+ :param task_status: 任务状态。
53
+ :type task_status: str
54
+ :param id: Redis实例ID。
55
+ :type id: str
56
+ :param ip: Redis IP地址。
57
+ :type ip: str
58
+ :param port: Redis端口。
59
+ :type port: str
60
+ :param name: Redis名称。
61
+ :type name: str
62
+ :param proxy_multi_db: proxy实例是否开启了多DB。
63
+ :type proxy_multi_db: bool
64
+ :param db: Redis数据库。
65
+ :type db: str
38
66
  """
39
67
 
40
68
 
41
69
 
42
70
  self._addrs = None
43
71
  self._password = None
72
+ self._task_status = None
73
+ self._id = None
74
+ self._ip = None
75
+ self._port = None
76
+ self._name = None
77
+ self._proxy_multi_db = None
78
+ self._db = None
44
79
  self.discriminator = None
45
80
 
46
81
  self.addrs = addrs
47
82
  if password is not None:
48
83
  self.password = password
84
+ if task_status is not None:
85
+ self.task_status = task_status
86
+ if id is not None:
87
+ self.id = id
88
+ if ip is not None:
89
+ self.ip = ip
90
+ if port is not None:
91
+ self.port = port
92
+ if name is not None:
93
+ self.name = name
94
+ if proxy_multi_db is not None:
95
+ self.proxy_multi_db = proxy_multi_db
96
+ if db is not None:
97
+ self.db = db
49
98
 
50
99
  @property
51
100
  def addrs(self):
@@ -91,6 +140,160 @@ class SourceInstanceBody:
91
140
  """
92
141
  self._password = password
93
142
 
143
+ @property
144
+ def task_status(self):
145
+ """Gets the task_status of this SourceInstanceBody.
146
+
147
+ 任务状态。
148
+
149
+ :return: The task_status of this SourceInstanceBody.
150
+ :rtype: str
151
+ """
152
+ return self._task_status
153
+
154
+ @task_status.setter
155
+ def task_status(self, task_status):
156
+ """Sets the task_status of this SourceInstanceBody.
157
+
158
+ 任务状态。
159
+
160
+ :param task_status: The task_status of this SourceInstanceBody.
161
+ :type task_status: str
162
+ """
163
+ self._task_status = task_status
164
+
165
+ @property
166
+ def id(self):
167
+ """Gets the id of this SourceInstanceBody.
168
+
169
+ Redis实例ID。
170
+
171
+ :return: The id of this SourceInstanceBody.
172
+ :rtype: str
173
+ """
174
+ return self._id
175
+
176
+ @id.setter
177
+ def id(self, id):
178
+ """Sets the id of this SourceInstanceBody.
179
+
180
+ Redis实例ID。
181
+
182
+ :param id: The id of this SourceInstanceBody.
183
+ :type id: str
184
+ """
185
+ self._id = id
186
+
187
+ @property
188
+ def ip(self):
189
+ """Gets the ip of this SourceInstanceBody.
190
+
191
+ Redis IP地址。
192
+
193
+ :return: The ip of this SourceInstanceBody.
194
+ :rtype: str
195
+ """
196
+ return self._ip
197
+
198
+ @ip.setter
199
+ def ip(self, ip):
200
+ """Sets the ip of this SourceInstanceBody.
201
+
202
+ Redis IP地址。
203
+
204
+ :param ip: The ip of this SourceInstanceBody.
205
+ :type ip: str
206
+ """
207
+ self._ip = ip
208
+
209
+ @property
210
+ def port(self):
211
+ """Gets the port of this SourceInstanceBody.
212
+
213
+ Redis端口。
214
+
215
+ :return: The port of this SourceInstanceBody.
216
+ :rtype: str
217
+ """
218
+ return self._port
219
+
220
+ @port.setter
221
+ def port(self, port):
222
+ """Sets the port of this SourceInstanceBody.
223
+
224
+ Redis端口。
225
+
226
+ :param port: The port of this SourceInstanceBody.
227
+ :type port: str
228
+ """
229
+ self._port = port
230
+
231
+ @property
232
+ def name(self):
233
+ """Gets the name of this SourceInstanceBody.
234
+
235
+ Redis名称。
236
+
237
+ :return: The name of this SourceInstanceBody.
238
+ :rtype: str
239
+ """
240
+ return self._name
241
+
242
+ @name.setter
243
+ def name(self, name):
244
+ """Sets the name of this SourceInstanceBody.
245
+
246
+ Redis名称。
247
+
248
+ :param name: The name of this SourceInstanceBody.
249
+ :type name: str
250
+ """
251
+ self._name = name
252
+
253
+ @property
254
+ def proxy_multi_db(self):
255
+ """Gets the proxy_multi_db of this SourceInstanceBody.
256
+
257
+ proxy实例是否开启了多DB。
258
+
259
+ :return: The proxy_multi_db of this SourceInstanceBody.
260
+ :rtype: bool
261
+ """
262
+ return self._proxy_multi_db
263
+
264
+ @proxy_multi_db.setter
265
+ def proxy_multi_db(self, proxy_multi_db):
266
+ """Sets the proxy_multi_db of this SourceInstanceBody.
267
+
268
+ proxy实例是否开启了多DB。
269
+
270
+ :param proxy_multi_db: The proxy_multi_db of this SourceInstanceBody.
271
+ :type proxy_multi_db: bool
272
+ """
273
+ self._proxy_multi_db = proxy_multi_db
274
+
275
+ @property
276
+ def db(self):
277
+ """Gets the db of this SourceInstanceBody.
278
+
279
+ Redis数据库。
280
+
281
+ :return: The db of this SourceInstanceBody.
282
+ :rtype: str
283
+ """
284
+ return self._db
285
+
286
+ @db.setter
287
+ def db(self, db):
288
+ """Sets the db of this SourceInstanceBody.
289
+
290
+ Redis数据库。
291
+
292
+ :param db: The db of this SourceInstanceBody.
293
+ :type db: str
294
+ """
295
+ self._db = db
296
+
94
297
  def to_dict(self):
95
298
  """Returns the model properties as a dict"""
96
299
  result = {}
@@ -19,16 +19,26 @@ class TargetInstanceBody:
19
19
  openapi_types = {
20
20
  'id': 'str',
21
21
  'name': 'str',
22
- 'password': 'str'
22
+ 'password': 'str',
23
+ 'ip': 'str',
24
+ 'port': 'str',
25
+ 'addrs': 'str',
26
+ 'proxy_multi_db': 'bool',
27
+ 'db': 'str'
23
28
  }
24
29
 
25
30
  attribute_map = {
26
31
  'id': 'id',
27
32
  'name': 'name',
28
- 'password': 'password'
33
+ 'password': 'password',
34
+ 'ip': 'ip',
35
+ 'port': 'port',
36
+ 'addrs': 'addrs',
37
+ 'proxy_multi_db': 'proxy_multi_db',
38
+ 'db': 'db'
29
39
  }
30
40
 
31
- def __init__(self, id=None, name=None, password=None):
41
+ def __init__(self, id=None, name=None, password=None, ip=None, port=None, addrs=None, proxy_multi_db=None, db=None):
32
42
  """TargetInstanceBody
33
43
 
34
44
  The model defined in huaweicloud sdk
@@ -39,6 +49,16 @@ class TargetInstanceBody:
39
49
  :type name: str
40
50
  :param password: Redis密码,如果设置了密码,则必须填写。
41
51
  :type password: str
52
+ :param ip: Redis IP地址。
53
+ :type ip: str
54
+ :param port: Redis端口。
55
+ :type port: str
56
+ :param addrs: Redis实例地址。
57
+ :type addrs: str
58
+ :param proxy_multi_db: proxy实例是否开启了多DB。
59
+ :type proxy_multi_db: bool
60
+ :param db: Redis数据库。
61
+ :type db: str
42
62
  """
43
63
 
44
64
 
@@ -46,6 +66,11 @@ class TargetInstanceBody:
46
66
  self._id = None
47
67
  self._name = None
48
68
  self._password = None
69
+ self._ip = None
70
+ self._port = None
71
+ self._addrs = None
72
+ self._proxy_multi_db = None
73
+ self._db = None
49
74
  self.discriminator = None
50
75
 
51
76
  self.id = id
@@ -53,6 +78,16 @@ class TargetInstanceBody:
53
78
  self.name = name
54
79
  if password is not None:
55
80
  self.password = password
81
+ if ip is not None:
82
+ self.ip = ip
83
+ if port is not None:
84
+ self.port = port
85
+ if addrs is not None:
86
+ self.addrs = addrs
87
+ if proxy_multi_db is not None:
88
+ self.proxy_multi_db = proxy_multi_db
89
+ if db is not None:
90
+ self.db = db
56
91
 
57
92
  @property
58
93
  def id(self):
@@ -120,6 +155,116 @@ class TargetInstanceBody:
120
155
  """
121
156
  self._password = password
122
157
 
158
+ @property
159
+ def ip(self):
160
+ """Gets the ip of this TargetInstanceBody.
161
+
162
+ Redis IP地址。
163
+
164
+ :return: The ip of this TargetInstanceBody.
165
+ :rtype: str
166
+ """
167
+ return self._ip
168
+
169
+ @ip.setter
170
+ def ip(self, ip):
171
+ """Sets the ip of this TargetInstanceBody.
172
+
173
+ Redis IP地址。
174
+
175
+ :param ip: The ip of this TargetInstanceBody.
176
+ :type ip: str
177
+ """
178
+ self._ip = ip
179
+
180
+ @property
181
+ def port(self):
182
+ """Gets the port of this TargetInstanceBody.
183
+
184
+ Redis端口。
185
+
186
+ :return: The port of this TargetInstanceBody.
187
+ :rtype: str
188
+ """
189
+ return self._port
190
+
191
+ @port.setter
192
+ def port(self, port):
193
+ """Sets the port of this TargetInstanceBody.
194
+
195
+ Redis端口。
196
+
197
+ :param port: The port of this TargetInstanceBody.
198
+ :type port: str
199
+ """
200
+ self._port = port
201
+
202
+ @property
203
+ def addrs(self):
204
+ """Gets the addrs of this TargetInstanceBody.
205
+
206
+ Redis实例地址。
207
+
208
+ :return: The addrs of this TargetInstanceBody.
209
+ :rtype: str
210
+ """
211
+ return self._addrs
212
+
213
+ @addrs.setter
214
+ def addrs(self, addrs):
215
+ """Sets the addrs of this TargetInstanceBody.
216
+
217
+ Redis实例地址。
218
+
219
+ :param addrs: The addrs of this TargetInstanceBody.
220
+ :type addrs: str
221
+ """
222
+ self._addrs = addrs
223
+
224
+ @property
225
+ def proxy_multi_db(self):
226
+ """Gets the proxy_multi_db of this TargetInstanceBody.
227
+
228
+ proxy实例是否开启了多DB。
229
+
230
+ :return: The proxy_multi_db of this TargetInstanceBody.
231
+ :rtype: bool
232
+ """
233
+ return self._proxy_multi_db
234
+
235
+ @proxy_multi_db.setter
236
+ def proxy_multi_db(self, proxy_multi_db):
237
+ """Sets the proxy_multi_db of this TargetInstanceBody.
238
+
239
+ proxy实例是否开启了多DB。
240
+
241
+ :param proxy_multi_db: The proxy_multi_db of this TargetInstanceBody.
242
+ :type proxy_multi_db: bool
243
+ """
244
+ self._proxy_multi_db = proxy_multi_db
245
+
246
+ @property
247
+ def db(self):
248
+ """Gets the db of this TargetInstanceBody.
249
+
250
+ Redis数据库。
251
+
252
+ :return: The db of this TargetInstanceBody.
253
+ :rtype: str
254
+ """
255
+ return self._db
256
+
257
+ @db.setter
258
+ def db(self, db):
259
+ """Sets the db of this TargetInstanceBody.
260
+
261
+ Redis数据库。
262
+
263
+ :param db: The db of this TargetInstanceBody.
264
+ :type db: str
265
+ """
266
+ self._db = db
267
+
123
268
  def to_dict(self):
124
269
  """Returns the model properties as a dict"""
125
270
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkdcs
3
- Version: 3.1.92
3
+ Version: 3.1.94
4
4
  Summary: DCS
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.92
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.94
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -298,7 +298,7 @@ huaweicloudsdkdcs/v2/model/show_tags_response.py,sha256=pxklDJZOHyqeMkGpWrOjWVs4
298
298
  huaweicloudsdkdcs/v2/model/simple_key_scan_record.py,sha256=nKr_8msHpgkQMhck5vH2v_2S10kStAbazF-CL8gIsr8,8617
299
299
  huaweicloudsdkdcs/v2/model/single_background_task.py,sha256=TBXQIDM5kslYHNCNV6Tv4Gx47Z-EgLWEX7ml_xP8UtA,11037
300
300
  huaweicloudsdkdcs/v2/model/slowlog_item.py,sha256=cRn4eJQOfPunlHDi1nrsK5R4GX3xWSFojT1sgj99uqA,7995
301
- huaweicloudsdkdcs/v2/model/source_instance_body.py,sha256=Ae1uxLLfTMhTeewkNmdhI52e9tkLrhm1-Is5deoiwiI,3971
301
+ huaweicloudsdkdcs/v2/model/source_instance_body.py,sha256=uXw6klP_K9Dcp-VHE8FZecg1tAFXQDfsuF-EwvtSDKo,8998
302
302
  huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_request.py,sha256=iIQqJ6JCNgi8y-CUBjw-D3Ac493TU0GGYezwd7zrClU,4143
303
303
  huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_request_body.py,sha256=nh8mcIAod5dbocrZYk4Fx4SqmBirOjyYSRnZnvTl1Ro,4226
304
304
  huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_response.py,sha256=NbEBoThjFChGTlfJL_BhYSlostV3J_J5dSBnRcUhRQ4,3256
@@ -311,7 +311,7 @@ huaweicloudsdkdcs/v2/model/stop_migration_task_sync_request.py,sha256=1IwLp2Baz4
311
311
  huaweicloudsdkdcs/v2/model/stop_migration_task_sync_response.py,sha256=dCt22ma-gT9BSEI0TvQ9eZAQ7b9bWokBdaBmFJFLxAM,2467
312
312
  huaweicloudsdkdcs/v2/model/sub_step_detail.py,sha256=UNkY2u7G4A5sqdL0XX3m8JUJQU2Ml9jNoppTUP1gGsg,8109
313
313
  huaweicloudsdkdcs/v2/model/tag.py,sha256=iQuhCI45N1Cdk7R8IKbICnDuRx1ztU5KdeLZCTEbtoQ,3613
314
- huaweicloudsdkdcs/v2/model/target_instance_body.py,sha256=_11jDhkv3WuLCy5iyR4MJ8sJraWgyywUWp-16tQUQCY,4706
314
+ huaweicloudsdkdcs/v2/model/target_instance_body.py,sha256=1PGBKjC67cqJgHZppkBiZUk0dH_zQTLYXSguWaZYZMQ,8312
315
315
  huaweicloudsdkdcs/v2/model/update_acl_account_pass_word_request.py,sha256=Jjl_biu1a0HgdXxUiqfO3BbxKXXMsmxh2sQL6NC_MiQ,4896
316
316
  huaweicloudsdkdcs/v2/model/update_acl_account_pass_word_response.py,sha256=efROicslXEQZQWWhwoJZ9MTJCxcRz81MEtChrpJmBes,7632
317
317
  huaweicloudsdkdcs/v2/model/update_acl_account_remark_request.py,sha256=BH5pvW4gX8MozbsH0u-p3PBzEoY49bycDCiIBeNIGcY,4884
@@ -356,8 +356,8 @@ huaweicloudsdkdcs/v2/model/validate_deletable_replica_response.py,sha256=kadAH-P
356
356
  huaweicloudsdkdcs/v2/model/whitelist.py,sha256=o3qGT2_1ARJ2RG6mEKaqXJHAT4eY9nTa6X_yLMzXdqQ,4334
357
357
  huaweicloudsdkdcs/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
358
358
  huaweicloudsdkdcs/v2/region/dcs_region.py,sha256=lMZHDmJnefb0rYZTe0qKQe6VbnyXI6ISNY_rauSWpeE,4726
359
- huaweicloudsdkdcs-3.1.92.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
360
- huaweicloudsdkdcs-3.1.92.dist-info/METADATA,sha256=dXI_OxOkuQU_nnj-gBgqGlPkNVuwasa50BrI67YbL98,1134
361
- huaweicloudsdkdcs-3.1.92.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
362
- huaweicloudsdkdcs-3.1.92.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
363
- huaweicloudsdkdcs-3.1.92.dist-info/RECORD,,
359
+ huaweicloudsdkdcs-3.1.94.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
360
+ huaweicloudsdkdcs-3.1.94.dist-info/METADATA,sha256=J3Z5MiU0KUTqyvuRUygiaf2nxjt2SW71ufHVPuawQvs,1134
361
+ huaweicloudsdkdcs-3.1.94.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
362
+ huaweicloudsdkdcs-3.1.94.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
363
+ huaweicloudsdkdcs-3.1.94.dist-info/RECORD,,