huaweicloudsdkdcs 3.1.86__py2.py3-none-any.whl → 3.1.132__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.

Files changed (56) hide show
  1. huaweicloudsdkdcs/v2/__init__.py +35 -0
  2. huaweicloudsdkdcs/v2/dcs_async_client.py +753 -28
  3. huaweicloudsdkdcs/v2/dcs_client.py +753 -28
  4. huaweicloudsdkdcs/v2/model/__init__.py +35 -0
  5. huaweicloudsdkdcs/v2/model/backup_files_body.py +2 -1
  6. huaweicloudsdkdcs/v2/model/bandwidth_auto_scaling_policy.py +257 -0
  7. huaweicloudsdkdcs/v2/model/bandwidth_info.py +61 -3
  8. huaweicloudsdkdcs/v2/model/batch_restart_migration_task_result.py +202 -0
  9. huaweicloudsdkdcs/v2/model/batch_restart_online_migration_tasks_body.py +114 -0
  10. huaweicloudsdkdcs/v2/model/batch_restart_online_migration_tasks_request.py +111 -0
  11. huaweicloudsdkdcs/v2/model/batch_restart_online_migration_tasks_response.py +116 -0
  12. huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_body.py +144 -0
  13. huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_request.py +139 -0
  14. huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_resp.py +84 -0
  15. huaweicloudsdkdcs/v2/model/change_nodes_start_stop_status_response.py +112 -0
  16. huaweicloudsdkdcs/v2/model/client_info.py +4 -4
  17. huaweicloudsdkdcs/v2/model/delete_instance_bandwidth_auto_scaling_policy_request.py +114 -0
  18. huaweicloudsdkdcs/v2/model/delete_instance_bandwidth_auto_scaling_policy_resp.py +84 -0
  19. huaweicloudsdkdcs/v2/model/delete_instance_bandwidth_auto_scaling_policy_response.py +112 -0
  20. huaweicloudsdkdcs/v2/model/delete_public_ip_request.py +114 -0
  21. huaweicloudsdkdcs/v2/model/delete_public_ip_response.py +116 -0
  22. huaweicloudsdkdcs/v2/model/details_body.py +549 -27
  23. huaweicloudsdkdcs/v2/model/group_bandwidth_info.py +231 -0
  24. huaweicloudsdkdcs/v2/model/migration_task_list.py +366 -18
  25. huaweicloudsdkdcs/v2/model/resize_instance_body.py +3 -3
  26. huaweicloudsdkdcs/v2/model/show_bandwidths_request.py +114 -0
  27. huaweicloudsdkdcs/v2/model/show_bandwidths_response.py +203 -0
  28. huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_request.py +114 -0
  29. huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_response.py +258 -0
  30. huaweicloudsdkdcs/v2/model/show_instance_version_request.py +114 -0
  31. huaweicloudsdkdcs/v2/model/show_instance_version_response.py +261 -0
  32. huaweicloudsdkdcs/v2/model/show_migration_task_response.py +264 -3
  33. huaweicloudsdkdcs/v2/model/source_instance_body.py +206 -3
  34. huaweicloudsdkdcs/v2/model/stop_migration_task_response.py +264 -3
  35. huaweicloudsdkdcs/v2/model/stop_migration_task_result.py +61 -3
  36. huaweicloudsdkdcs/v2/model/target_instance_body.py +177 -3
  37. huaweicloudsdkdcs/v2/model/update_bandwidth_info_request.py +115 -0
  38. huaweicloudsdkdcs/v2/model/update_bandwidth_request.py +139 -0
  39. huaweicloudsdkdcs/v2/model/update_bandwidth_resp.py +84 -0
  40. huaweicloudsdkdcs/v2/model/update_bandwidth_response.py +112 -0
  41. huaweicloudsdkdcs/v2/model/update_group_bandwidth_info_request.py +142 -0
  42. huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request.py +139 -0
  43. huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request_body.py +257 -0
  44. huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_response.py +258 -0
  45. huaweicloudsdkdcs/v2/model/update_public_ip_request.py +139 -0
  46. huaweicloudsdkdcs/v2/model/update_public_ip_request_body.py +173 -0
  47. huaweicloudsdkdcs/v2/model/update_public_ip_response.py +116 -0
  48. huaweicloudsdkdcs/v2/model/upgrade_instance_minor_version_request.py +139 -0
  49. huaweicloudsdkdcs/v2/model/upgrade_instance_minor_version_response.py +116 -0
  50. huaweicloudsdkdcs/v2/model/upgrade_minor_version_request_body.py +144 -0
  51. huaweicloudsdkdcs/v2/region/dcs_region.py +6 -0
  52. {huaweicloudsdkdcs-3.1.86.dist-info → huaweicloudsdkdcs-3.1.132.dist-info}/METADATA +2 -2
  53. {huaweicloudsdkdcs-3.1.86.dist-info → huaweicloudsdkdcs-3.1.132.dist-info}/RECORD +56 -21
  54. {huaweicloudsdkdcs-3.1.86.dist-info → huaweicloudsdkdcs-3.1.132.dist-info}/WHEEL +1 -1
  55. {huaweicloudsdkdcs-3.1.86.dist-info → huaweicloudsdkdcs-3.1.132.dist-info}/LICENSE +0 -0
  56. {huaweicloudsdkdcs-3.1.86.dist-info → huaweicloudsdkdcs-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,261 @@
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 ShowInstanceVersionResponse(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
+ 'engine_minor_version': 'str',
22
+ 'latest_engine_minor_version': 'str',
23
+ 'proxy_minor_version': 'str',
24
+ 'latest_proxy_minor_version': 'str',
25
+ 'engine_minor_version_upgradable': 'bool',
26
+ 'proxy_minor_version_upgradable': 'bool'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'engine_minor_version': 'engine_minor_version',
31
+ 'latest_engine_minor_version': 'latest_engine_minor_version',
32
+ 'proxy_minor_version': 'proxy_minor_version',
33
+ 'latest_proxy_minor_version': 'latest_proxy_minor_version',
34
+ 'engine_minor_version_upgradable': 'engine_minor_version_upgradable',
35
+ 'proxy_minor_version_upgradable': 'proxy_minor_version_upgradable'
36
+ }
37
+
38
+ def __init__(self, engine_minor_version=None, latest_engine_minor_version=None, proxy_minor_version=None, latest_proxy_minor_version=None, engine_minor_version_upgradable=None, proxy_minor_version_upgradable=None):
39
+ """ShowInstanceVersionResponse
40
+
41
+ The model defined in huaweicloud sdk
42
+
43
+ :param engine_minor_version: 当前实例内核小版本信息。
44
+ :type engine_minor_version: str
45
+ :param latest_engine_minor_version: DCS实例最新的内核小版本信息。
46
+ :type latest_engine_minor_version: str
47
+ :param proxy_minor_version: 当前实例proxy代理节点版本信息。
48
+ :type proxy_minor_version: str
49
+ :param latest_proxy_minor_version: DCS实例最新的proxy代理节点版本信息。
50
+ :type latest_proxy_minor_version: str
51
+ :param engine_minor_version_upgradable: 当前实例内核是否可以升级。
52
+ :type engine_minor_version_upgradable: bool
53
+ :param proxy_minor_version_upgradable: 当前实例proxy代理节点是否可以升级。
54
+ :type proxy_minor_version_upgradable: bool
55
+ """
56
+
57
+ super(ShowInstanceVersionResponse, self).__init__()
58
+
59
+ self._engine_minor_version = None
60
+ self._latest_engine_minor_version = None
61
+ self._proxy_minor_version = None
62
+ self._latest_proxy_minor_version = None
63
+ self._engine_minor_version_upgradable = None
64
+ self._proxy_minor_version_upgradable = None
65
+ self.discriminator = None
66
+
67
+ if engine_minor_version is not None:
68
+ self.engine_minor_version = engine_minor_version
69
+ if latest_engine_minor_version is not None:
70
+ self.latest_engine_minor_version = latest_engine_minor_version
71
+ if proxy_minor_version is not None:
72
+ self.proxy_minor_version = proxy_minor_version
73
+ if latest_proxy_minor_version is not None:
74
+ self.latest_proxy_minor_version = latest_proxy_minor_version
75
+ if engine_minor_version_upgradable is not None:
76
+ self.engine_minor_version_upgradable = engine_minor_version_upgradable
77
+ if proxy_minor_version_upgradable is not None:
78
+ self.proxy_minor_version_upgradable = proxy_minor_version_upgradable
79
+
80
+ @property
81
+ def engine_minor_version(self):
82
+ """Gets the engine_minor_version of this ShowInstanceVersionResponse.
83
+
84
+ 当前实例内核小版本信息。
85
+
86
+ :return: The engine_minor_version of this ShowInstanceVersionResponse.
87
+ :rtype: str
88
+ """
89
+ return self._engine_minor_version
90
+
91
+ @engine_minor_version.setter
92
+ def engine_minor_version(self, engine_minor_version):
93
+ """Sets the engine_minor_version of this ShowInstanceVersionResponse.
94
+
95
+ 当前实例内核小版本信息。
96
+
97
+ :param engine_minor_version: The engine_minor_version of this ShowInstanceVersionResponse.
98
+ :type engine_minor_version: str
99
+ """
100
+ self._engine_minor_version = engine_minor_version
101
+
102
+ @property
103
+ def latest_engine_minor_version(self):
104
+ """Gets the latest_engine_minor_version of this ShowInstanceVersionResponse.
105
+
106
+ DCS实例最新的内核小版本信息。
107
+
108
+ :return: The latest_engine_minor_version of this ShowInstanceVersionResponse.
109
+ :rtype: str
110
+ """
111
+ return self._latest_engine_minor_version
112
+
113
+ @latest_engine_minor_version.setter
114
+ def latest_engine_minor_version(self, latest_engine_minor_version):
115
+ """Sets the latest_engine_minor_version of this ShowInstanceVersionResponse.
116
+
117
+ DCS实例最新的内核小版本信息。
118
+
119
+ :param latest_engine_minor_version: The latest_engine_minor_version of this ShowInstanceVersionResponse.
120
+ :type latest_engine_minor_version: str
121
+ """
122
+ self._latest_engine_minor_version = latest_engine_minor_version
123
+
124
+ @property
125
+ def proxy_minor_version(self):
126
+ """Gets the proxy_minor_version of this ShowInstanceVersionResponse.
127
+
128
+ 当前实例proxy代理节点版本信息。
129
+
130
+ :return: The proxy_minor_version of this ShowInstanceVersionResponse.
131
+ :rtype: str
132
+ """
133
+ return self._proxy_minor_version
134
+
135
+ @proxy_minor_version.setter
136
+ def proxy_minor_version(self, proxy_minor_version):
137
+ """Sets the proxy_minor_version of this ShowInstanceVersionResponse.
138
+
139
+ 当前实例proxy代理节点版本信息。
140
+
141
+ :param proxy_minor_version: The proxy_minor_version of this ShowInstanceVersionResponse.
142
+ :type proxy_minor_version: str
143
+ """
144
+ self._proxy_minor_version = proxy_minor_version
145
+
146
+ @property
147
+ def latest_proxy_minor_version(self):
148
+ """Gets the latest_proxy_minor_version of this ShowInstanceVersionResponse.
149
+
150
+ DCS实例最新的proxy代理节点版本信息。
151
+
152
+ :return: The latest_proxy_minor_version of this ShowInstanceVersionResponse.
153
+ :rtype: str
154
+ """
155
+ return self._latest_proxy_minor_version
156
+
157
+ @latest_proxy_minor_version.setter
158
+ def latest_proxy_minor_version(self, latest_proxy_minor_version):
159
+ """Sets the latest_proxy_minor_version of this ShowInstanceVersionResponse.
160
+
161
+ DCS实例最新的proxy代理节点版本信息。
162
+
163
+ :param latest_proxy_minor_version: The latest_proxy_minor_version of this ShowInstanceVersionResponse.
164
+ :type latest_proxy_minor_version: str
165
+ """
166
+ self._latest_proxy_minor_version = latest_proxy_minor_version
167
+
168
+ @property
169
+ def engine_minor_version_upgradable(self):
170
+ """Gets the engine_minor_version_upgradable of this ShowInstanceVersionResponse.
171
+
172
+ 当前实例内核是否可以升级。
173
+
174
+ :return: The engine_minor_version_upgradable of this ShowInstanceVersionResponse.
175
+ :rtype: bool
176
+ """
177
+ return self._engine_minor_version_upgradable
178
+
179
+ @engine_minor_version_upgradable.setter
180
+ def engine_minor_version_upgradable(self, engine_minor_version_upgradable):
181
+ """Sets the engine_minor_version_upgradable of this ShowInstanceVersionResponse.
182
+
183
+ 当前实例内核是否可以升级。
184
+
185
+ :param engine_minor_version_upgradable: The engine_minor_version_upgradable of this ShowInstanceVersionResponse.
186
+ :type engine_minor_version_upgradable: bool
187
+ """
188
+ self._engine_minor_version_upgradable = engine_minor_version_upgradable
189
+
190
+ @property
191
+ def proxy_minor_version_upgradable(self):
192
+ """Gets the proxy_minor_version_upgradable of this ShowInstanceVersionResponse.
193
+
194
+ 当前实例proxy代理节点是否可以升级。
195
+
196
+ :return: The proxy_minor_version_upgradable of this ShowInstanceVersionResponse.
197
+ :rtype: bool
198
+ """
199
+ return self._proxy_minor_version_upgradable
200
+
201
+ @proxy_minor_version_upgradable.setter
202
+ def proxy_minor_version_upgradable(self, proxy_minor_version_upgradable):
203
+ """Sets the proxy_minor_version_upgradable of this ShowInstanceVersionResponse.
204
+
205
+ 当前实例proxy代理节点是否可以升级。
206
+
207
+ :param proxy_minor_version_upgradable: The proxy_minor_version_upgradable of this ShowInstanceVersionResponse.
208
+ :type proxy_minor_version_upgradable: bool
209
+ """
210
+ self._proxy_minor_version_upgradable = proxy_minor_version_upgradable
211
+
212
+ def to_dict(self):
213
+ """Returns the model properties as a dict"""
214
+ result = {}
215
+
216
+ for attr, _ in six.iteritems(self.openapi_types):
217
+ value = getattr(self, attr)
218
+ if isinstance(value, list):
219
+ result[attr] = list(map(
220
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
221
+ value
222
+ ))
223
+ elif hasattr(value, "to_dict"):
224
+ result[attr] = value.to_dict()
225
+ elif isinstance(value, dict):
226
+ result[attr] = dict(map(
227
+ lambda item: (item[0], item[1].to_dict())
228
+ if hasattr(item[1], "to_dict") else item,
229
+ value.items()
230
+ ))
231
+ else:
232
+ if attr in self.sensitive_list:
233
+ result[attr] = "****"
234
+ else:
235
+ result[attr] = value
236
+
237
+ return result
238
+
239
+ def to_str(self):
240
+ """Returns the string representation of the model"""
241
+ import simplejson as json
242
+ if six.PY2:
243
+ import sys
244
+ reload(sys)
245
+ sys.setdefaultencoding("utf-8")
246
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
247
+
248
+ def __repr__(self):
249
+ """For `print`"""
250
+ return self.to_str()
251
+
252
+ def __eq__(self, other):
253
+ """Returns true if both objects are equal"""
254
+ if not isinstance(other, ShowInstanceVersionResponse):
255
+ return False
256
+
257
+ return self.__dict__ == other.__dict__
258
+
259
+ def __ne__(self, other):
260
+ """Returns true if both objects are not equal"""
261
+ return not self == other
@@ -30,7 +30,16 @@ class ShowMigrationTaskResponse(SdkResponse):
30
30
  'source_instance': 'SourceInstanceBody',
31
31
  'target_instance': 'TargetInstanceBody',
32
32
  'created_at': 'str',
33
- 'updated_at': 'str'
33
+ 'updated_at': 'str',
34
+ 'released_at': 'str',
35
+ 'version': 'str',
36
+ 'resume_mode': 'str',
37
+ 'supported_features': 'list[str]',
38
+ 'tenant_vpc_id': 'str',
39
+ 'tenant_subnet_id': 'str',
40
+ 'tenant_security_group_id': 'str',
41
+ 'bandwidth_limit_mb': 'str',
42
+ 'task_status': 'str'
34
43
  }
35
44
 
36
45
  attribute_map = {
@@ -46,10 +55,19 @@ class ShowMigrationTaskResponse(SdkResponse):
46
55
  'source_instance': 'source_instance',
47
56
  'target_instance': 'target_instance',
48
57
  'created_at': 'created_at',
49
- 'updated_at': 'updated_at'
58
+ 'updated_at': 'updated_at',
59
+ 'released_at': 'released_at',
60
+ 'version': 'version',
61
+ 'resume_mode': 'resume_mode',
62
+ 'supported_features': 'supported_features',
63
+ 'tenant_vpc_id': 'tenant_vpc_id',
64
+ 'tenant_subnet_id': 'tenant_subnet_id',
65
+ 'tenant_security_group_id': 'tenant_security_group_id',
66
+ 'bandwidth_limit_mb': 'bandwidth_limit_mb',
67
+ 'task_status': 'task_status'
50
68
  }
51
69
 
52
- def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None):
70
+ def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None, released_at=None, version=None, resume_mode=None, supported_features=None, tenant_vpc_id=None, tenant_subnet_id=None, tenant_security_group_id=None, bandwidth_limit_mb=None, task_status=None):
53
71
  """ShowMigrationTaskResponse
54
72
 
55
73
  The model defined in huaweicloud sdk
@@ -80,6 +98,24 @@ class ShowMigrationTaskResponse(SdkResponse):
80
98
  :type created_at: str
81
99
  :param updated_at: 迁移任务完成时间。
82
100
  :type updated_at: str
101
+ :param released_at: 迁移机释放时间。
102
+ :type released_at: str
103
+ :param version: 版本。
104
+ :type version: str
105
+ :param resume_mode: 操作模式,分为auto和manual。
106
+ :type resume_mode: str
107
+ :param supported_features: 支持的特性。
108
+ :type supported_features: list[str]
109
+ :param tenant_vpc_id: 租户VPC ID。
110
+ :type tenant_vpc_id: str
111
+ :param tenant_subnet_id: 租户子网ID。
112
+ :type tenant_subnet_id: str
113
+ :param tenant_security_group_id: 租户安全组ID。
114
+ :type tenant_security_group_id: str
115
+ :param bandwidth_limit_mb: 带宽限制速度。
116
+ :type bandwidth_limit_mb: str
117
+ :param task_status: 任务状态。
118
+ :type task_status: str
83
119
  """
84
120
 
85
121
  super(ShowMigrationTaskResponse, self).__init__()
@@ -97,6 +133,15 @@ class ShowMigrationTaskResponse(SdkResponse):
97
133
  self._target_instance = None
98
134
  self._created_at = None
99
135
  self._updated_at = None
136
+ self._released_at = None
137
+ self._version = None
138
+ self._resume_mode = None
139
+ self._supported_features = None
140
+ self._tenant_vpc_id = None
141
+ self._tenant_subnet_id = None
142
+ self._tenant_security_group_id = None
143
+ self._bandwidth_limit_mb = None
144
+ self._task_status = None
100
145
  self.discriminator = None
101
146
 
102
147
  if task_id is not None:
@@ -125,6 +170,24 @@ class ShowMigrationTaskResponse(SdkResponse):
125
170
  self.created_at = created_at
126
171
  if updated_at is not None:
127
172
  self.updated_at = updated_at
173
+ if released_at is not None:
174
+ self.released_at = released_at
175
+ if version is not None:
176
+ self.version = version
177
+ if resume_mode is not None:
178
+ self.resume_mode = resume_mode
179
+ if supported_features is not None:
180
+ self.supported_features = supported_features
181
+ if tenant_vpc_id is not None:
182
+ self.tenant_vpc_id = tenant_vpc_id
183
+ if tenant_subnet_id is not None:
184
+ self.tenant_subnet_id = tenant_subnet_id
185
+ if tenant_security_group_id is not None:
186
+ self.tenant_security_group_id = tenant_security_group_id
187
+ if bandwidth_limit_mb is not None:
188
+ self.bandwidth_limit_mb = bandwidth_limit_mb
189
+ if task_status is not None:
190
+ self.task_status = task_status
128
191
 
129
192
  @property
130
193
  def task_id(self):
@@ -400,6 +463,204 @@ class ShowMigrationTaskResponse(SdkResponse):
400
463
  """
401
464
  self._updated_at = updated_at
402
465
 
466
+ @property
467
+ def released_at(self):
468
+ """Gets the released_at of this ShowMigrationTaskResponse.
469
+
470
+ 迁移机释放时间。
471
+
472
+ :return: The released_at of this ShowMigrationTaskResponse.
473
+ :rtype: str
474
+ """
475
+ return self._released_at
476
+
477
+ @released_at.setter
478
+ def released_at(self, released_at):
479
+ """Sets the released_at of this ShowMigrationTaskResponse.
480
+
481
+ 迁移机释放时间。
482
+
483
+ :param released_at: The released_at of this ShowMigrationTaskResponse.
484
+ :type released_at: str
485
+ """
486
+ self._released_at = released_at
487
+
488
+ @property
489
+ def version(self):
490
+ """Gets the version of this ShowMigrationTaskResponse.
491
+
492
+ 版本。
493
+
494
+ :return: The version of this ShowMigrationTaskResponse.
495
+ :rtype: str
496
+ """
497
+ return self._version
498
+
499
+ @version.setter
500
+ def version(self, version):
501
+ """Sets the version of this ShowMigrationTaskResponse.
502
+
503
+ 版本。
504
+
505
+ :param version: The version of this ShowMigrationTaskResponse.
506
+ :type version: str
507
+ """
508
+ self._version = version
509
+
510
+ @property
511
+ def resume_mode(self):
512
+ """Gets the resume_mode of this ShowMigrationTaskResponse.
513
+
514
+ 操作模式,分为auto和manual。
515
+
516
+ :return: The resume_mode of this ShowMigrationTaskResponse.
517
+ :rtype: str
518
+ """
519
+ return self._resume_mode
520
+
521
+ @resume_mode.setter
522
+ def resume_mode(self, resume_mode):
523
+ """Sets the resume_mode of this ShowMigrationTaskResponse.
524
+
525
+ 操作模式,分为auto和manual。
526
+
527
+ :param resume_mode: The resume_mode of this ShowMigrationTaskResponse.
528
+ :type resume_mode: str
529
+ """
530
+ self._resume_mode = resume_mode
531
+
532
+ @property
533
+ def supported_features(self):
534
+ """Gets the supported_features of this ShowMigrationTaskResponse.
535
+
536
+ 支持的特性。
537
+
538
+ :return: The supported_features of this ShowMigrationTaskResponse.
539
+ :rtype: list[str]
540
+ """
541
+ return self._supported_features
542
+
543
+ @supported_features.setter
544
+ def supported_features(self, supported_features):
545
+ """Sets the supported_features of this ShowMigrationTaskResponse.
546
+
547
+ 支持的特性。
548
+
549
+ :param supported_features: The supported_features of this ShowMigrationTaskResponse.
550
+ :type supported_features: list[str]
551
+ """
552
+ self._supported_features = supported_features
553
+
554
+ @property
555
+ def tenant_vpc_id(self):
556
+ """Gets the tenant_vpc_id of this ShowMigrationTaskResponse.
557
+
558
+ 租户VPC ID。
559
+
560
+ :return: The tenant_vpc_id of this ShowMigrationTaskResponse.
561
+ :rtype: str
562
+ """
563
+ return self._tenant_vpc_id
564
+
565
+ @tenant_vpc_id.setter
566
+ def tenant_vpc_id(self, tenant_vpc_id):
567
+ """Sets the tenant_vpc_id of this ShowMigrationTaskResponse.
568
+
569
+ 租户VPC ID。
570
+
571
+ :param tenant_vpc_id: The tenant_vpc_id of this ShowMigrationTaskResponse.
572
+ :type tenant_vpc_id: str
573
+ """
574
+ self._tenant_vpc_id = tenant_vpc_id
575
+
576
+ @property
577
+ def tenant_subnet_id(self):
578
+ """Gets the tenant_subnet_id of this ShowMigrationTaskResponse.
579
+
580
+ 租户子网ID。
581
+
582
+ :return: The tenant_subnet_id of this ShowMigrationTaskResponse.
583
+ :rtype: str
584
+ """
585
+ return self._tenant_subnet_id
586
+
587
+ @tenant_subnet_id.setter
588
+ def tenant_subnet_id(self, tenant_subnet_id):
589
+ """Sets the tenant_subnet_id of this ShowMigrationTaskResponse.
590
+
591
+ 租户子网ID。
592
+
593
+ :param tenant_subnet_id: The tenant_subnet_id of this ShowMigrationTaskResponse.
594
+ :type tenant_subnet_id: str
595
+ """
596
+ self._tenant_subnet_id = tenant_subnet_id
597
+
598
+ @property
599
+ def tenant_security_group_id(self):
600
+ """Gets the tenant_security_group_id of this ShowMigrationTaskResponse.
601
+
602
+ 租户安全组ID。
603
+
604
+ :return: The tenant_security_group_id of this ShowMigrationTaskResponse.
605
+ :rtype: str
606
+ """
607
+ return self._tenant_security_group_id
608
+
609
+ @tenant_security_group_id.setter
610
+ def tenant_security_group_id(self, tenant_security_group_id):
611
+ """Sets the tenant_security_group_id of this ShowMigrationTaskResponse.
612
+
613
+ 租户安全组ID。
614
+
615
+ :param tenant_security_group_id: The tenant_security_group_id of this ShowMigrationTaskResponse.
616
+ :type tenant_security_group_id: str
617
+ """
618
+ self._tenant_security_group_id = tenant_security_group_id
619
+
620
+ @property
621
+ def bandwidth_limit_mb(self):
622
+ """Gets the bandwidth_limit_mb of this ShowMigrationTaskResponse.
623
+
624
+ 带宽限制速度。
625
+
626
+ :return: The bandwidth_limit_mb of this ShowMigrationTaskResponse.
627
+ :rtype: str
628
+ """
629
+ return self._bandwidth_limit_mb
630
+
631
+ @bandwidth_limit_mb.setter
632
+ def bandwidth_limit_mb(self, bandwidth_limit_mb):
633
+ """Sets the bandwidth_limit_mb of this ShowMigrationTaskResponse.
634
+
635
+ 带宽限制速度。
636
+
637
+ :param bandwidth_limit_mb: The bandwidth_limit_mb of this ShowMigrationTaskResponse.
638
+ :type bandwidth_limit_mb: str
639
+ """
640
+ self._bandwidth_limit_mb = bandwidth_limit_mb
641
+
642
+ @property
643
+ def task_status(self):
644
+ """Gets the task_status of this ShowMigrationTaskResponse.
645
+
646
+ 任务状态。
647
+
648
+ :return: The task_status of this ShowMigrationTaskResponse.
649
+ :rtype: str
650
+ """
651
+ return self._task_status
652
+
653
+ @task_status.setter
654
+ def task_status(self, task_status):
655
+ """Sets the task_status of this ShowMigrationTaskResponse.
656
+
657
+ 任务状态。
658
+
659
+ :param task_status: The task_status of this ShowMigrationTaskResponse.
660
+ :type task_status: str
661
+ """
662
+ self._task_status = task_status
663
+
403
664
  def to_dict(self):
404
665
  """Returns the model properties as a dict"""
405
666
  result = {}