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

Files changed (63) hide show
  1. huaweicloudsdkworkspace/v2/__init__.py +54 -0
  2. huaweicloudsdkworkspace/v2/model/__init__.py +54 -0
  3. huaweicloudsdkworkspace/v2/model/add_desktop_pool_volumes_req.py +144 -0
  4. huaweicloudsdkworkspace/v2/model/add_desktop_pool_volumes_request.py +168 -0
  5. huaweicloudsdkworkspace/v2/model/add_desktop_pool_volumes_response.py +319 -0
  6. huaweicloudsdkworkspace/v2/model/authorized_objects.py +227 -0
  7. huaweicloudsdkworkspace/v2/model/autoscale_policy.py +202 -0
  8. huaweicloudsdkworkspace/v2/model/base_error.py +144 -0
  9. huaweicloudsdkworkspace/v2/model/batch_delete_user_req.py +114 -0
  10. huaweicloudsdkworkspace/v2/model/batch_delete_user_request.py +111 -0
  11. huaweicloudsdkworkspace/v2/model/batch_delete_user_response.py +85 -0
  12. huaweicloudsdkworkspace/v2/model/cbc_callback_rsp.py +289 -0
  13. huaweicloudsdkworkspace/v2/model/create_desktop_pool_authorized_objects_request.py +139 -0
  14. huaweicloudsdkworkspace/v2/model/create_desktop_pool_authorized_objects_request_body.py +143 -0
  15. huaweicloudsdkworkspace/v2/model/create_desktop_pool_authorized_objects_response.py +85 -0
  16. huaweicloudsdkworkspace/v2/model/create_desktop_pool_req.py +708 -0
  17. huaweicloudsdkworkspace/v2/model/create_desktop_pool_request.py +140 -0
  18. huaweicloudsdkworkspace/v2/model/create_desktop_pool_response.py +116 -0
  19. huaweicloudsdkworkspace/v2/model/create_desktop_rsp.py +115 -0
  20. huaweicloudsdkworkspace/v2/model/delete_desktop_pool_request.py +114 -0
  21. huaweicloudsdkworkspace/v2/model/delete_desktop_pool_response.py +85 -0
  22. huaweicloudsdkworkspace/v2/model/delete_desktop_pool_volumes_req.py +115 -0
  23. huaweicloudsdkworkspace/v2/model/delete_desktop_pool_volumes_request.py +139 -0
  24. huaweicloudsdkworkspace/v2/model/delete_desktop_pool_volumes_response.py +116 -0
  25. huaweicloudsdkworkspace/v2/model/desktop_pool_action_req.py +143 -0
  26. huaweicloudsdkworkspace/v2/model/execute_desktop_pool_action_request.py +139 -0
  27. huaweicloudsdkworkspace/v2/model/execute_desktop_pool_action_response.py +116 -0
  28. huaweicloudsdkworkspace/v2/model/expand_desktop_pool_req.py +143 -0
  29. huaweicloudsdkworkspace/v2/model/expand_desktop_pool_request.py +168 -0
  30. huaweicloudsdkworkspace/v2/model/expand_desktop_pool_response.py +116 -0
  31. huaweicloudsdkworkspace/v2/model/expand_desktop_pool_volumes_req.py +144 -0
  32. huaweicloudsdkworkspace/v2/model/expand_desktop_pool_volumes_request.py +168 -0
  33. huaweicloudsdkworkspace/v2/model/expand_desktop_pool_volumes_response.py +319 -0
  34. huaweicloudsdkworkspace/v2/model/list_desktop_pool_authorized_objects_request.py +172 -0
  35. huaweicloudsdkworkspace/v2/model/list_desktop_pool_authorized_objects_response.py +145 -0
  36. huaweicloudsdkworkspace/v2/model/list_desktop_pools_request.py +260 -0
  37. huaweicloudsdkworkspace/v2/model/list_desktop_pools_response.py +145 -0
  38. huaweicloudsdkworkspace/v2/model/list_pool_desktops_detail_request.py +201 -0
  39. huaweicloudsdkworkspace/v2/model/list_pool_desktops_detail_response.py +203 -0
  40. huaweicloudsdkworkspace/v2/model/pool_desktops_detail_info.py +1147 -0
  41. huaweicloudsdkworkspace/v2/model/rebuild_desktop_pool_req.py +288 -0
  42. huaweicloudsdkworkspace/v2/model/rebuild_desktop_pool_request.py +168 -0
  43. huaweicloudsdkworkspace/v2/model/rebuild_desktop_pool_response.py +232 -0
  44. huaweicloudsdkworkspace/v2/model/resize_desktop_extend_param.py +115 -0
  45. huaweicloudsdkworkspace/v2/model/resize_desktop_pool_job_response.py +144 -0
  46. huaweicloudsdkworkspace/v2/model/resize_desktop_pool_req.py +197 -0
  47. huaweicloudsdkworkspace/v2/model/resize_desktop_pool_request.py +168 -0
  48. huaweicloudsdkworkspace/v2/model/resize_desktop_pool_response.py +174 -0
  49. huaweicloudsdkworkspace/v2/model/show_desktop_pool_detail_request.py +114 -0
  50. huaweicloudsdkworkspace/v2/model/show_desktop_pool_detail_response.py +887 -0
  51. huaweicloudsdkworkspace/v2/model/simple_desktop_pool_info.py +886 -0
  52. huaweicloudsdkworkspace/v2/model/update_desktop_pool_attributes_req.py +372 -0
  53. huaweicloudsdkworkspace/v2/model/update_desktop_pool_request.py +139 -0
  54. huaweicloudsdkworkspace/v2/model/update_desktop_pool_response.py +85 -0
  55. huaweicloudsdkworkspace/v2/model/volume_add_info.py +200 -0
  56. huaweicloudsdkworkspace/v2/model/volume_info.py +229 -0
  57. huaweicloudsdkworkspace/v2/workspace_async_client.py +1091 -0
  58. huaweicloudsdkworkspace/v2/workspace_client.py +1091 -0
  59. {huaweicloudsdkworkspace-3.1.123.dist-info → huaweicloudsdkworkspace-3.1.125.dist-info}/METADATA +2 -2
  60. {huaweicloudsdkworkspace-3.1.123.dist-info → huaweicloudsdkworkspace-3.1.125.dist-info}/RECORD +63 -9
  61. {huaweicloudsdkworkspace-3.1.123.dist-info → huaweicloudsdkworkspace-3.1.125.dist-info}/WHEEL +1 -1
  62. {huaweicloudsdkworkspace-3.1.123.dist-info → huaweicloudsdkworkspace-3.1.125.dist-info}/LICENSE +0 -0
  63. {huaweicloudsdkworkspace-3.1.123.dist-info → huaweicloudsdkworkspace-3.1.125.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1147 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class PoolDesktopsDetailInfo:
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
+ 'desktop_id': 'str',
21
+ 'computer_name': 'str',
22
+ 'addresses': 'dict(str, list[AddressInfo])',
23
+ 'ip_addresses': 'list[str]',
24
+ 'user_list': 'list[str]',
25
+ 'user_group_list': 'list[str]',
26
+ 'desktop_type': 'str',
27
+ 'metadata': 'dict(str, str)',
28
+ 'flavor': 'FlavorInfo',
29
+ 'status': 'str',
30
+ 'task_status': 'str',
31
+ 'created': 'str',
32
+ 'security_groups': 'list[SecurityGroup]',
33
+ 'login_status': 'str',
34
+ 'user_name': 'str',
35
+ 'attach_user_infos': 'list[AttachInstancesUserInfo]',
36
+ 'product_id': 'str',
37
+ 'root_volume': 'VolumeDetail',
38
+ 'data_volumes': 'list[VolumeDetail]',
39
+ 'user_group': 'str',
40
+ 'availability_zone': 'str',
41
+ 'site_type': 'str',
42
+ 'site_name': 'str',
43
+ 'product': 'ProductDetailInfo',
44
+ 'ou_name': 'str',
45
+ 'os_version': 'str',
46
+ 'sid': 'str',
47
+ 'order_id': 'str',
48
+ 'tags': 'list[Tag]',
49
+ 'internet_mode': 'str',
50
+ 'is_attaching_eip': 'bool',
51
+ 'attach_state': 'str',
52
+ 'enterprise_project_id': 'str',
53
+ 'subnet_id': 'str',
54
+ 'bill_resource_id': 'str',
55
+ 'process': 'int',
56
+ 'inconsistent_types': 'list[str]'
57
+ }
58
+
59
+ attribute_map = {
60
+ 'desktop_id': 'desktop_id',
61
+ 'computer_name': 'computer_name',
62
+ 'addresses': 'addresses',
63
+ 'ip_addresses': 'ip_addresses',
64
+ 'user_list': 'user_list',
65
+ 'user_group_list': 'user_group_list',
66
+ 'desktop_type': 'desktop_type',
67
+ 'metadata': 'metadata',
68
+ 'flavor': 'flavor',
69
+ 'status': 'status',
70
+ 'task_status': 'task_status',
71
+ 'created': 'created',
72
+ 'security_groups': 'security_groups',
73
+ 'login_status': 'login_status',
74
+ 'user_name': 'user_name',
75
+ 'attach_user_infos': 'attach_user_infos',
76
+ 'product_id': 'product_id',
77
+ 'root_volume': 'root_volume',
78
+ 'data_volumes': 'data_volumes',
79
+ 'user_group': 'user_group',
80
+ 'availability_zone': 'availability_zone',
81
+ 'site_type': 'site_type',
82
+ 'site_name': 'site_name',
83
+ 'product': 'product',
84
+ 'ou_name': 'ou_name',
85
+ 'os_version': 'os_version',
86
+ 'sid': 'sid',
87
+ 'order_id': 'order_id',
88
+ 'tags': 'tags',
89
+ 'internet_mode': 'internet_mode',
90
+ 'is_attaching_eip': 'is_attaching_eip',
91
+ 'attach_state': 'attach_state',
92
+ 'enterprise_project_id': 'enterprise_project_id',
93
+ 'subnet_id': 'subnet_id',
94
+ 'bill_resource_id': 'bill_resource_id',
95
+ 'process': 'process',
96
+ 'inconsistent_types': 'inconsistent_types'
97
+ }
98
+
99
+ def __init__(self, desktop_id=None, computer_name=None, addresses=None, ip_addresses=None, user_list=None, user_group_list=None, desktop_type=None, metadata=None, flavor=None, status=None, task_status=None, created=None, security_groups=None, login_status=None, user_name=None, attach_user_infos=None, product_id=None, root_volume=None, data_volumes=None, user_group=None, availability_zone=None, site_type=None, site_name=None, product=None, ou_name=None, os_version=None, sid=None, order_id=None, tags=None, internet_mode=None, is_attaching_eip=None, attach_state=None, enterprise_project_id=None, subnet_id=None, bill_resource_id=None, process=None, inconsistent_types=None):
100
+ """PoolDesktopsDetailInfo
101
+
102
+ The model defined in huaweicloud sdk
103
+
104
+ :param desktop_id: 桌面ID。
105
+ :type desktop_id: str
106
+ :param computer_name: 桌面名。
107
+ :type computer_name: str
108
+ :param addresses: 桌面IP地址列表。
109
+ :type addresses: dict(str, list[AddressInfo])
110
+ :param ip_addresses: IP地址列表。
111
+ :type ip_addresses: list[str]
112
+ :param user_list: 用户列表
113
+ :type user_list: list[str]
114
+ :param user_group_list: 用户组列表
115
+ :type user_group_list: list[str]
116
+ :param desktop_type: 桌面类型。 - DEDICATED:专属桌面。
117
+ :type desktop_type: str
118
+ :param metadata: 桌面元数据。 - charging_mode 周期套餐标识,1表示包周期,0表示按需。 - image_name 创建桌面的镜像名称。 - bill_resource_id 镜像计费资源ID。 - metering.image_id 镜像ID。 - metering.resourcespeccode 桌面资源编码。 - metering.resourcetype 桌面资源类型。 - os_bit 操作系统位数:32或64。 - os_type 操作系统类型:Linux、Windows或Others。 - desktop_os_version 操作系统版本。
119
+ :type metadata: dict(str, str)
120
+ :param flavor:
121
+ :type flavor: :class:`huaweicloudsdkworkspace.v2.FlavorInfo`
122
+ :param status: 桌面状态。
123
+ :type status: str
124
+ :param task_status: 任务状态。 - scheduling:创建中,正在进行调度。 - block_device_mapping:创建中,正在准备磁盘。 - networking:创建中,正在准备网络。 - spawning:创建中,正在内部创建。 - rebooting:重启中。 - reboot_pending:重启中,正在下发重启。 - reboot_started:重启中,开始内部重启。 - rebooting_hard:强制重启中。 - reboot_pending_hard:强制重启中,正在下发重启。 - reboot_started_hard:强制重启中,开始内部重启。 - rebuilding:重建中。 - rebuild_block_device_mapping:重建中,正在准备磁盘。 - rebuild_spawning:重建中,正在内部重建。 - migrating:热迁移中。 - resize_prep:调整规格中,正在准备阶段。 - resize_migrating:调整规格中,正在迁移阶段。 - resize_migrated:调整规格中,已经完成迁移。 - resize_finish:调整规格中,正在完成调整。 - resize_reverting:调整规格中,正在回退调整。 - powering-off:停止中。 - powering-on:启动中。 - deleting:删除中。 - deleteFailed:删除失败。
125
+ :type task_status: str
126
+ :param created: 桌面创建时间。
127
+ :type created: str
128
+ :param security_groups: 桌面安全组。
129
+ :type security_groups: list[:class:`huaweicloudsdkworkspace.v2.SecurityGroup`]
130
+ :param login_status: 桌面的登录状态。 - UNREGISTER:表示桌面未注册时的状态(桌面启动后,会自动注册)。关机后也会出现未注册的状态。 - REGISTERED:表示桌面注册以后,等待用户连接的状态。 - CONNECTED:表示用户已经成功登录,正在使用桌面。 - DISCONNECTED:表示桌面与客户端断开会话后显示的状态,可能为关闭客户端窗口,或客户端与桌面网络断开引起。
131
+ :type login_status: str
132
+ :param user_name: 桌面所属用户。
133
+ :type user_name: str
134
+ :param attach_user_infos: 桌面已分配的用户信息列表。
135
+ :type attach_user_infos: list[:class:`huaweicloudsdkworkspace.v2.AttachInstancesUserInfo`]
136
+ :param product_id: 产品ID。
137
+ :type product_id: str
138
+ :param root_volume:
139
+ :type root_volume: :class:`huaweicloudsdkworkspace.v2.VolumeDetail`
140
+ :param data_volumes: 数据盘列表。
141
+ :type data_volumes: list[:class:`huaweicloudsdkworkspace.v2.VolumeDetail`]
142
+ :param user_group: 桌面用户所属的用户组。 - sudo:Linux管理员组。 - default:Linux默认用户组。 - administrators:Windows管理员组。管理员拥有对该桌面的完全访问权,可以做任何需要的更改(禁用操作除外)。 - users:Windows标准用户组。标准用户可以使用大多数软件,并可以更改不影响其他用户的系统设置。
143
+ :type user_group: str
144
+ :param availability_zone: 可用分区。
145
+ :type availability_zone: str
146
+ :param site_type: 站点类型
147
+ :type site_type: str
148
+ :param site_name: 站点名字
149
+ :type site_name: str
150
+ :param product:
151
+ :type product: :class:`huaweicloudsdkworkspace.v2.ProductDetailInfo`
152
+ :param ou_name: 创建桌面时加入的OU名称。
153
+ :type ou_name: str
154
+ :param os_version: 操作系统版本号。
155
+ :type os_version: str
156
+ :param sid: SID
157
+ :type sid: str
158
+ :param order_id: 包周期产品的订单ID。
159
+ :type order_id: str
160
+ :param tags: 桌面标签列表。
161
+ :type tags: list[:class:`huaweicloudsdkworkspace.v2.Tag`]
162
+ :param internet_mode: 上网方式。 - NAT:表示NAT上网方式。 - EIP:表示EIP上网方式。 - BOTH:表示两种上网方式都支持。
163
+ :type internet_mode: str
164
+ :param is_attaching_eip: 桌面是否正在绑定EIP。
165
+ :type is_attaching_eip: bool
166
+ :param attach_state: 分配状态。 - ATTACHED:已分配。 - UNATTACH:未分配 表示未关联。 - DEATTACHED:已解分配。 - ATTACHING:分配中。 - DEATTACHING:解分配中。 - ATTACHFAIL:分配失败。 - DEATTACHFAIL:解分配失败。 - WAITING:等待被分配中,描述从批量分配(解分配)下发到转入分配(解分配)的中间状态 同时方便单个关联流程的状态独立性。 - ATTACH_FAIL_CAN_ATTACH_AGAIN:分配失败,还可以再关联。 - DEATTACH_FAIL_CAN_DEATTACH_AGAIN:解分配失败,还可以再解分配。
167
+ :type attach_state: str
168
+ :param enterprise_project_id: 企业项目ID
169
+ :type enterprise_project_id: str
170
+ :param subnet_id: 桌面的子网ID。
171
+ :type subnet_id: str
172
+ :param bill_resource_id: 桌面计费资源ID
173
+ :type bill_resource_id: str
174
+ :param process: 桌面任务进度, 取值范围0-100以及null,null表示该桌面无任务,0-100表明该任务进度的百分比。
175
+ :type process: int
176
+ :param inconsistent_types: 桌面与桌面池不一致的规格类型: - PRODUCT: 产品ID不一致 - IMAGE: 镜像ID不一致
177
+ :type inconsistent_types: list[str]
178
+ """
179
+
180
+
181
+
182
+ self._desktop_id = None
183
+ self._computer_name = None
184
+ self._addresses = None
185
+ self._ip_addresses = None
186
+ self._user_list = None
187
+ self._user_group_list = None
188
+ self._desktop_type = None
189
+ self._metadata = None
190
+ self._flavor = None
191
+ self._status = None
192
+ self._task_status = None
193
+ self._created = None
194
+ self._security_groups = None
195
+ self._login_status = None
196
+ self._user_name = None
197
+ self._attach_user_infos = None
198
+ self._product_id = None
199
+ self._root_volume = None
200
+ self._data_volumes = None
201
+ self._user_group = None
202
+ self._availability_zone = None
203
+ self._site_type = None
204
+ self._site_name = None
205
+ self._product = None
206
+ self._ou_name = None
207
+ self._os_version = None
208
+ self._sid = None
209
+ self._order_id = None
210
+ self._tags = None
211
+ self._internet_mode = None
212
+ self._is_attaching_eip = None
213
+ self._attach_state = None
214
+ self._enterprise_project_id = None
215
+ self._subnet_id = None
216
+ self._bill_resource_id = None
217
+ self._process = None
218
+ self._inconsistent_types = None
219
+ self.discriminator = None
220
+
221
+ if desktop_id is not None:
222
+ self.desktop_id = desktop_id
223
+ if computer_name is not None:
224
+ self.computer_name = computer_name
225
+ if addresses is not None:
226
+ self.addresses = addresses
227
+ if ip_addresses is not None:
228
+ self.ip_addresses = ip_addresses
229
+ if user_list is not None:
230
+ self.user_list = user_list
231
+ if user_group_list is not None:
232
+ self.user_group_list = user_group_list
233
+ if desktop_type is not None:
234
+ self.desktop_type = desktop_type
235
+ if metadata is not None:
236
+ self.metadata = metadata
237
+ if flavor is not None:
238
+ self.flavor = flavor
239
+ if status is not None:
240
+ self.status = status
241
+ if task_status is not None:
242
+ self.task_status = task_status
243
+ if created is not None:
244
+ self.created = created
245
+ if security_groups is not None:
246
+ self.security_groups = security_groups
247
+ if login_status is not None:
248
+ self.login_status = login_status
249
+ if user_name is not None:
250
+ self.user_name = user_name
251
+ if attach_user_infos is not None:
252
+ self.attach_user_infos = attach_user_infos
253
+ if product_id is not None:
254
+ self.product_id = product_id
255
+ if root_volume is not None:
256
+ self.root_volume = root_volume
257
+ if data_volumes is not None:
258
+ self.data_volumes = data_volumes
259
+ if user_group is not None:
260
+ self.user_group = user_group
261
+ if availability_zone is not None:
262
+ self.availability_zone = availability_zone
263
+ if site_type is not None:
264
+ self.site_type = site_type
265
+ if site_name is not None:
266
+ self.site_name = site_name
267
+ if product is not None:
268
+ self.product = product
269
+ if ou_name is not None:
270
+ self.ou_name = ou_name
271
+ if os_version is not None:
272
+ self.os_version = os_version
273
+ if sid is not None:
274
+ self.sid = sid
275
+ if order_id is not None:
276
+ self.order_id = order_id
277
+ if tags is not None:
278
+ self.tags = tags
279
+ if internet_mode is not None:
280
+ self.internet_mode = internet_mode
281
+ if is_attaching_eip is not None:
282
+ self.is_attaching_eip = is_attaching_eip
283
+ if attach_state is not None:
284
+ self.attach_state = attach_state
285
+ if enterprise_project_id is not None:
286
+ self.enterprise_project_id = enterprise_project_id
287
+ if subnet_id is not None:
288
+ self.subnet_id = subnet_id
289
+ if bill_resource_id is not None:
290
+ self.bill_resource_id = bill_resource_id
291
+ if process is not None:
292
+ self.process = process
293
+ if inconsistent_types is not None:
294
+ self.inconsistent_types = inconsistent_types
295
+
296
+ @property
297
+ def desktop_id(self):
298
+ """Gets the desktop_id of this PoolDesktopsDetailInfo.
299
+
300
+ 桌面ID。
301
+
302
+ :return: The desktop_id of this PoolDesktopsDetailInfo.
303
+ :rtype: str
304
+ """
305
+ return self._desktop_id
306
+
307
+ @desktop_id.setter
308
+ def desktop_id(self, desktop_id):
309
+ """Sets the desktop_id of this PoolDesktopsDetailInfo.
310
+
311
+ 桌面ID。
312
+
313
+ :param desktop_id: The desktop_id of this PoolDesktopsDetailInfo.
314
+ :type desktop_id: str
315
+ """
316
+ self._desktop_id = desktop_id
317
+
318
+ @property
319
+ def computer_name(self):
320
+ """Gets the computer_name of this PoolDesktopsDetailInfo.
321
+
322
+ 桌面名。
323
+
324
+ :return: The computer_name of this PoolDesktopsDetailInfo.
325
+ :rtype: str
326
+ """
327
+ return self._computer_name
328
+
329
+ @computer_name.setter
330
+ def computer_name(self, computer_name):
331
+ """Sets the computer_name of this PoolDesktopsDetailInfo.
332
+
333
+ 桌面名。
334
+
335
+ :param computer_name: The computer_name of this PoolDesktopsDetailInfo.
336
+ :type computer_name: str
337
+ """
338
+ self._computer_name = computer_name
339
+
340
+ @property
341
+ def addresses(self):
342
+ """Gets the addresses of this PoolDesktopsDetailInfo.
343
+
344
+ 桌面IP地址列表。
345
+
346
+ :return: The addresses of this PoolDesktopsDetailInfo.
347
+ :rtype: dict(str, list[AddressInfo])
348
+ """
349
+ return self._addresses
350
+
351
+ @addresses.setter
352
+ def addresses(self, addresses):
353
+ """Sets the addresses of this PoolDesktopsDetailInfo.
354
+
355
+ 桌面IP地址列表。
356
+
357
+ :param addresses: The addresses of this PoolDesktopsDetailInfo.
358
+ :type addresses: dict(str, list[AddressInfo])
359
+ """
360
+ self._addresses = addresses
361
+
362
+ @property
363
+ def ip_addresses(self):
364
+ """Gets the ip_addresses of this PoolDesktopsDetailInfo.
365
+
366
+ IP地址列表。
367
+
368
+ :return: The ip_addresses of this PoolDesktopsDetailInfo.
369
+ :rtype: list[str]
370
+ """
371
+ return self._ip_addresses
372
+
373
+ @ip_addresses.setter
374
+ def ip_addresses(self, ip_addresses):
375
+ """Sets the ip_addresses of this PoolDesktopsDetailInfo.
376
+
377
+ IP地址列表。
378
+
379
+ :param ip_addresses: The ip_addresses of this PoolDesktopsDetailInfo.
380
+ :type ip_addresses: list[str]
381
+ """
382
+ self._ip_addresses = ip_addresses
383
+
384
+ @property
385
+ def user_list(self):
386
+ """Gets the user_list of this PoolDesktopsDetailInfo.
387
+
388
+ 用户列表
389
+
390
+ :return: The user_list of this PoolDesktopsDetailInfo.
391
+ :rtype: list[str]
392
+ """
393
+ return self._user_list
394
+
395
+ @user_list.setter
396
+ def user_list(self, user_list):
397
+ """Sets the user_list of this PoolDesktopsDetailInfo.
398
+
399
+ 用户列表
400
+
401
+ :param user_list: The user_list of this PoolDesktopsDetailInfo.
402
+ :type user_list: list[str]
403
+ """
404
+ self._user_list = user_list
405
+
406
+ @property
407
+ def user_group_list(self):
408
+ """Gets the user_group_list of this PoolDesktopsDetailInfo.
409
+
410
+ 用户组列表
411
+
412
+ :return: The user_group_list of this PoolDesktopsDetailInfo.
413
+ :rtype: list[str]
414
+ """
415
+ return self._user_group_list
416
+
417
+ @user_group_list.setter
418
+ def user_group_list(self, user_group_list):
419
+ """Sets the user_group_list of this PoolDesktopsDetailInfo.
420
+
421
+ 用户组列表
422
+
423
+ :param user_group_list: The user_group_list of this PoolDesktopsDetailInfo.
424
+ :type user_group_list: list[str]
425
+ """
426
+ self._user_group_list = user_group_list
427
+
428
+ @property
429
+ def desktop_type(self):
430
+ """Gets the desktop_type of this PoolDesktopsDetailInfo.
431
+
432
+ 桌面类型。 - DEDICATED:专属桌面。
433
+
434
+ :return: The desktop_type of this PoolDesktopsDetailInfo.
435
+ :rtype: str
436
+ """
437
+ return self._desktop_type
438
+
439
+ @desktop_type.setter
440
+ def desktop_type(self, desktop_type):
441
+ """Sets the desktop_type of this PoolDesktopsDetailInfo.
442
+
443
+ 桌面类型。 - DEDICATED:专属桌面。
444
+
445
+ :param desktop_type: The desktop_type of this PoolDesktopsDetailInfo.
446
+ :type desktop_type: str
447
+ """
448
+ self._desktop_type = desktop_type
449
+
450
+ @property
451
+ def metadata(self):
452
+ """Gets the metadata of this PoolDesktopsDetailInfo.
453
+
454
+ 桌面元数据。 - charging_mode 周期套餐标识,1表示包周期,0表示按需。 - image_name 创建桌面的镜像名称。 - bill_resource_id 镜像计费资源ID。 - metering.image_id 镜像ID。 - metering.resourcespeccode 桌面资源编码。 - metering.resourcetype 桌面资源类型。 - os_bit 操作系统位数:32或64。 - os_type 操作系统类型:Linux、Windows或Others。 - desktop_os_version 操作系统版本。
455
+
456
+ :return: The metadata of this PoolDesktopsDetailInfo.
457
+ :rtype: dict(str, str)
458
+ """
459
+ return self._metadata
460
+
461
+ @metadata.setter
462
+ def metadata(self, metadata):
463
+ """Sets the metadata of this PoolDesktopsDetailInfo.
464
+
465
+ 桌面元数据。 - charging_mode 周期套餐标识,1表示包周期,0表示按需。 - image_name 创建桌面的镜像名称。 - bill_resource_id 镜像计费资源ID。 - metering.image_id 镜像ID。 - metering.resourcespeccode 桌面资源编码。 - metering.resourcetype 桌面资源类型。 - os_bit 操作系统位数:32或64。 - os_type 操作系统类型:Linux、Windows或Others。 - desktop_os_version 操作系统版本。
466
+
467
+ :param metadata: The metadata of this PoolDesktopsDetailInfo.
468
+ :type metadata: dict(str, str)
469
+ """
470
+ self._metadata = metadata
471
+
472
+ @property
473
+ def flavor(self):
474
+ """Gets the flavor of this PoolDesktopsDetailInfo.
475
+
476
+ :return: The flavor of this PoolDesktopsDetailInfo.
477
+ :rtype: :class:`huaweicloudsdkworkspace.v2.FlavorInfo`
478
+ """
479
+ return self._flavor
480
+
481
+ @flavor.setter
482
+ def flavor(self, flavor):
483
+ """Sets the flavor of this PoolDesktopsDetailInfo.
484
+
485
+ :param flavor: The flavor of this PoolDesktopsDetailInfo.
486
+ :type flavor: :class:`huaweicloudsdkworkspace.v2.FlavorInfo`
487
+ """
488
+ self._flavor = flavor
489
+
490
+ @property
491
+ def status(self):
492
+ """Gets the status of this PoolDesktopsDetailInfo.
493
+
494
+ 桌面状态。
495
+
496
+ :return: The status of this PoolDesktopsDetailInfo.
497
+ :rtype: str
498
+ """
499
+ return self._status
500
+
501
+ @status.setter
502
+ def status(self, status):
503
+ """Sets the status of this PoolDesktopsDetailInfo.
504
+
505
+ 桌面状态。
506
+
507
+ :param status: The status of this PoolDesktopsDetailInfo.
508
+ :type status: str
509
+ """
510
+ self._status = status
511
+
512
+ @property
513
+ def task_status(self):
514
+ """Gets the task_status of this PoolDesktopsDetailInfo.
515
+
516
+ 任务状态。 - scheduling:创建中,正在进行调度。 - block_device_mapping:创建中,正在准备磁盘。 - networking:创建中,正在准备网络。 - spawning:创建中,正在内部创建。 - rebooting:重启中。 - reboot_pending:重启中,正在下发重启。 - reboot_started:重启中,开始内部重启。 - rebooting_hard:强制重启中。 - reboot_pending_hard:强制重启中,正在下发重启。 - reboot_started_hard:强制重启中,开始内部重启。 - rebuilding:重建中。 - rebuild_block_device_mapping:重建中,正在准备磁盘。 - rebuild_spawning:重建中,正在内部重建。 - migrating:热迁移中。 - resize_prep:调整规格中,正在准备阶段。 - resize_migrating:调整规格中,正在迁移阶段。 - resize_migrated:调整规格中,已经完成迁移。 - resize_finish:调整规格中,正在完成调整。 - resize_reverting:调整规格中,正在回退调整。 - powering-off:停止中。 - powering-on:启动中。 - deleting:删除中。 - deleteFailed:删除失败。
517
+
518
+ :return: The task_status of this PoolDesktopsDetailInfo.
519
+ :rtype: str
520
+ """
521
+ return self._task_status
522
+
523
+ @task_status.setter
524
+ def task_status(self, task_status):
525
+ """Sets the task_status of this PoolDesktopsDetailInfo.
526
+
527
+ 任务状态。 - scheduling:创建中,正在进行调度。 - block_device_mapping:创建中,正在准备磁盘。 - networking:创建中,正在准备网络。 - spawning:创建中,正在内部创建。 - rebooting:重启中。 - reboot_pending:重启中,正在下发重启。 - reboot_started:重启中,开始内部重启。 - rebooting_hard:强制重启中。 - reboot_pending_hard:强制重启中,正在下发重启。 - reboot_started_hard:强制重启中,开始内部重启。 - rebuilding:重建中。 - rebuild_block_device_mapping:重建中,正在准备磁盘。 - rebuild_spawning:重建中,正在内部重建。 - migrating:热迁移中。 - resize_prep:调整规格中,正在准备阶段。 - resize_migrating:调整规格中,正在迁移阶段。 - resize_migrated:调整规格中,已经完成迁移。 - resize_finish:调整规格中,正在完成调整。 - resize_reverting:调整规格中,正在回退调整。 - powering-off:停止中。 - powering-on:启动中。 - deleting:删除中。 - deleteFailed:删除失败。
528
+
529
+ :param task_status: The task_status of this PoolDesktopsDetailInfo.
530
+ :type task_status: str
531
+ """
532
+ self._task_status = task_status
533
+
534
+ @property
535
+ def created(self):
536
+ """Gets the created of this PoolDesktopsDetailInfo.
537
+
538
+ 桌面创建时间。
539
+
540
+ :return: The created of this PoolDesktopsDetailInfo.
541
+ :rtype: str
542
+ """
543
+ return self._created
544
+
545
+ @created.setter
546
+ def created(self, created):
547
+ """Sets the created of this PoolDesktopsDetailInfo.
548
+
549
+ 桌面创建时间。
550
+
551
+ :param created: The created of this PoolDesktopsDetailInfo.
552
+ :type created: str
553
+ """
554
+ self._created = created
555
+
556
+ @property
557
+ def security_groups(self):
558
+ """Gets the security_groups of this PoolDesktopsDetailInfo.
559
+
560
+ 桌面安全组。
561
+
562
+ :return: The security_groups of this PoolDesktopsDetailInfo.
563
+ :rtype: list[:class:`huaweicloudsdkworkspace.v2.SecurityGroup`]
564
+ """
565
+ return self._security_groups
566
+
567
+ @security_groups.setter
568
+ def security_groups(self, security_groups):
569
+ """Sets the security_groups of this PoolDesktopsDetailInfo.
570
+
571
+ 桌面安全组。
572
+
573
+ :param security_groups: The security_groups of this PoolDesktopsDetailInfo.
574
+ :type security_groups: list[:class:`huaweicloudsdkworkspace.v2.SecurityGroup`]
575
+ """
576
+ self._security_groups = security_groups
577
+
578
+ @property
579
+ def login_status(self):
580
+ """Gets the login_status of this PoolDesktopsDetailInfo.
581
+
582
+ 桌面的登录状态。 - UNREGISTER:表示桌面未注册时的状态(桌面启动后,会自动注册)。关机后也会出现未注册的状态。 - REGISTERED:表示桌面注册以后,等待用户连接的状态。 - CONNECTED:表示用户已经成功登录,正在使用桌面。 - DISCONNECTED:表示桌面与客户端断开会话后显示的状态,可能为关闭客户端窗口,或客户端与桌面网络断开引起。
583
+
584
+ :return: The login_status of this PoolDesktopsDetailInfo.
585
+ :rtype: str
586
+ """
587
+ return self._login_status
588
+
589
+ @login_status.setter
590
+ def login_status(self, login_status):
591
+ """Sets the login_status of this PoolDesktopsDetailInfo.
592
+
593
+ 桌面的登录状态。 - UNREGISTER:表示桌面未注册时的状态(桌面启动后,会自动注册)。关机后也会出现未注册的状态。 - REGISTERED:表示桌面注册以后,等待用户连接的状态。 - CONNECTED:表示用户已经成功登录,正在使用桌面。 - DISCONNECTED:表示桌面与客户端断开会话后显示的状态,可能为关闭客户端窗口,或客户端与桌面网络断开引起。
594
+
595
+ :param login_status: The login_status of this PoolDesktopsDetailInfo.
596
+ :type login_status: str
597
+ """
598
+ self._login_status = login_status
599
+
600
+ @property
601
+ def user_name(self):
602
+ """Gets the user_name of this PoolDesktopsDetailInfo.
603
+
604
+ 桌面所属用户。
605
+
606
+ :return: The user_name of this PoolDesktopsDetailInfo.
607
+ :rtype: str
608
+ """
609
+ return self._user_name
610
+
611
+ @user_name.setter
612
+ def user_name(self, user_name):
613
+ """Sets the user_name of this PoolDesktopsDetailInfo.
614
+
615
+ 桌面所属用户。
616
+
617
+ :param user_name: The user_name of this PoolDesktopsDetailInfo.
618
+ :type user_name: str
619
+ """
620
+ self._user_name = user_name
621
+
622
+ @property
623
+ def attach_user_infos(self):
624
+ """Gets the attach_user_infos of this PoolDesktopsDetailInfo.
625
+
626
+ 桌面已分配的用户信息列表。
627
+
628
+ :return: The attach_user_infos of this PoolDesktopsDetailInfo.
629
+ :rtype: list[:class:`huaweicloudsdkworkspace.v2.AttachInstancesUserInfo`]
630
+ """
631
+ return self._attach_user_infos
632
+
633
+ @attach_user_infos.setter
634
+ def attach_user_infos(self, attach_user_infos):
635
+ """Sets the attach_user_infos of this PoolDesktopsDetailInfo.
636
+
637
+ 桌面已分配的用户信息列表。
638
+
639
+ :param attach_user_infos: The attach_user_infos of this PoolDesktopsDetailInfo.
640
+ :type attach_user_infos: list[:class:`huaweicloudsdkworkspace.v2.AttachInstancesUserInfo`]
641
+ """
642
+ self._attach_user_infos = attach_user_infos
643
+
644
+ @property
645
+ def product_id(self):
646
+ """Gets the product_id of this PoolDesktopsDetailInfo.
647
+
648
+ 产品ID。
649
+
650
+ :return: The product_id of this PoolDesktopsDetailInfo.
651
+ :rtype: str
652
+ """
653
+ return self._product_id
654
+
655
+ @product_id.setter
656
+ def product_id(self, product_id):
657
+ """Sets the product_id of this PoolDesktopsDetailInfo.
658
+
659
+ 产品ID。
660
+
661
+ :param product_id: The product_id of this PoolDesktopsDetailInfo.
662
+ :type product_id: str
663
+ """
664
+ self._product_id = product_id
665
+
666
+ @property
667
+ def root_volume(self):
668
+ """Gets the root_volume of this PoolDesktopsDetailInfo.
669
+
670
+ :return: The root_volume of this PoolDesktopsDetailInfo.
671
+ :rtype: :class:`huaweicloudsdkworkspace.v2.VolumeDetail`
672
+ """
673
+ return self._root_volume
674
+
675
+ @root_volume.setter
676
+ def root_volume(self, root_volume):
677
+ """Sets the root_volume of this PoolDesktopsDetailInfo.
678
+
679
+ :param root_volume: The root_volume of this PoolDesktopsDetailInfo.
680
+ :type root_volume: :class:`huaweicloudsdkworkspace.v2.VolumeDetail`
681
+ """
682
+ self._root_volume = root_volume
683
+
684
+ @property
685
+ def data_volumes(self):
686
+ """Gets the data_volumes of this PoolDesktopsDetailInfo.
687
+
688
+ 数据盘列表。
689
+
690
+ :return: The data_volumes of this PoolDesktopsDetailInfo.
691
+ :rtype: list[:class:`huaweicloudsdkworkspace.v2.VolumeDetail`]
692
+ """
693
+ return self._data_volumes
694
+
695
+ @data_volumes.setter
696
+ def data_volumes(self, data_volumes):
697
+ """Sets the data_volumes of this PoolDesktopsDetailInfo.
698
+
699
+ 数据盘列表。
700
+
701
+ :param data_volumes: The data_volumes of this PoolDesktopsDetailInfo.
702
+ :type data_volumes: list[:class:`huaweicloudsdkworkspace.v2.VolumeDetail`]
703
+ """
704
+ self._data_volumes = data_volumes
705
+
706
+ @property
707
+ def user_group(self):
708
+ """Gets the user_group of this PoolDesktopsDetailInfo.
709
+
710
+ 桌面用户所属的用户组。 - sudo:Linux管理员组。 - default:Linux默认用户组。 - administrators:Windows管理员组。管理员拥有对该桌面的完全访问权,可以做任何需要的更改(禁用操作除外)。 - users:Windows标准用户组。标准用户可以使用大多数软件,并可以更改不影响其他用户的系统设置。
711
+
712
+ :return: The user_group of this PoolDesktopsDetailInfo.
713
+ :rtype: str
714
+ """
715
+ return self._user_group
716
+
717
+ @user_group.setter
718
+ def user_group(self, user_group):
719
+ """Sets the user_group of this PoolDesktopsDetailInfo.
720
+
721
+ 桌面用户所属的用户组。 - sudo:Linux管理员组。 - default:Linux默认用户组。 - administrators:Windows管理员组。管理员拥有对该桌面的完全访问权,可以做任何需要的更改(禁用操作除外)。 - users:Windows标准用户组。标准用户可以使用大多数软件,并可以更改不影响其他用户的系统设置。
722
+
723
+ :param user_group: The user_group of this PoolDesktopsDetailInfo.
724
+ :type user_group: str
725
+ """
726
+ self._user_group = user_group
727
+
728
+ @property
729
+ def availability_zone(self):
730
+ """Gets the availability_zone of this PoolDesktopsDetailInfo.
731
+
732
+ 可用分区。
733
+
734
+ :return: The availability_zone of this PoolDesktopsDetailInfo.
735
+ :rtype: str
736
+ """
737
+ return self._availability_zone
738
+
739
+ @availability_zone.setter
740
+ def availability_zone(self, availability_zone):
741
+ """Sets the availability_zone of this PoolDesktopsDetailInfo.
742
+
743
+ 可用分区。
744
+
745
+ :param availability_zone: The availability_zone of this PoolDesktopsDetailInfo.
746
+ :type availability_zone: str
747
+ """
748
+ self._availability_zone = availability_zone
749
+
750
+ @property
751
+ def site_type(self):
752
+ """Gets the site_type of this PoolDesktopsDetailInfo.
753
+
754
+ 站点类型
755
+
756
+ :return: The site_type of this PoolDesktopsDetailInfo.
757
+ :rtype: str
758
+ """
759
+ return self._site_type
760
+
761
+ @site_type.setter
762
+ def site_type(self, site_type):
763
+ """Sets the site_type of this PoolDesktopsDetailInfo.
764
+
765
+ 站点类型
766
+
767
+ :param site_type: The site_type of this PoolDesktopsDetailInfo.
768
+ :type site_type: str
769
+ """
770
+ self._site_type = site_type
771
+
772
+ @property
773
+ def site_name(self):
774
+ """Gets the site_name of this PoolDesktopsDetailInfo.
775
+
776
+ 站点名字
777
+
778
+ :return: The site_name of this PoolDesktopsDetailInfo.
779
+ :rtype: str
780
+ """
781
+ return self._site_name
782
+
783
+ @site_name.setter
784
+ def site_name(self, site_name):
785
+ """Sets the site_name of this PoolDesktopsDetailInfo.
786
+
787
+ 站点名字
788
+
789
+ :param site_name: The site_name of this PoolDesktopsDetailInfo.
790
+ :type site_name: str
791
+ """
792
+ self._site_name = site_name
793
+
794
+ @property
795
+ def product(self):
796
+ """Gets the product of this PoolDesktopsDetailInfo.
797
+
798
+ :return: The product of this PoolDesktopsDetailInfo.
799
+ :rtype: :class:`huaweicloudsdkworkspace.v2.ProductDetailInfo`
800
+ """
801
+ return self._product
802
+
803
+ @product.setter
804
+ def product(self, product):
805
+ """Sets the product of this PoolDesktopsDetailInfo.
806
+
807
+ :param product: The product of this PoolDesktopsDetailInfo.
808
+ :type product: :class:`huaweicloudsdkworkspace.v2.ProductDetailInfo`
809
+ """
810
+ self._product = product
811
+
812
+ @property
813
+ def ou_name(self):
814
+ """Gets the ou_name of this PoolDesktopsDetailInfo.
815
+
816
+ 创建桌面时加入的OU名称。
817
+
818
+ :return: The ou_name of this PoolDesktopsDetailInfo.
819
+ :rtype: str
820
+ """
821
+ return self._ou_name
822
+
823
+ @ou_name.setter
824
+ def ou_name(self, ou_name):
825
+ """Sets the ou_name of this PoolDesktopsDetailInfo.
826
+
827
+ 创建桌面时加入的OU名称。
828
+
829
+ :param ou_name: The ou_name of this PoolDesktopsDetailInfo.
830
+ :type ou_name: str
831
+ """
832
+ self._ou_name = ou_name
833
+
834
+ @property
835
+ def os_version(self):
836
+ """Gets the os_version of this PoolDesktopsDetailInfo.
837
+
838
+ 操作系统版本号。
839
+
840
+ :return: The os_version of this PoolDesktopsDetailInfo.
841
+ :rtype: str
842
+ """
843
+ return self._os_version
844
+
845
+ @os_version.setter
846
+ def os_version(self, os_version):
847
+ """Sets the os_version of this PoolDesktopsDetailInfo.
848
+
849
+ 操作系统版本号。
850
+
851
+ :param os_version: The os_version of this PoolDesktopsDetailInfo.
852
+ :type os_version: str
853
+ """
854
+ self._os_version = os_version
855
+
856
+ @property
857
+ def sid(self):
858
+ """Gets the sid of this PoolDesktopsDetailInfo.
859
+
860
+ SID
861
+
862
+ :return: The sid of this PoolDesktopsDetailInfo.
863
+ :rtype: str
864
+ """
865
+ return self._sid
866
+
867
+ @sid.setter
868
+ def sid(self, sid):
869
+ """Sets the sid of this PoolDesktopsDetailInfo.
870
+
871
+ SID
872
+
873
+ :param sid: The sid of this PoolDesktopsDetailInfo.
874
+ :type sid: str
875
+ """
876
+ self._sid = sid
877
+
878
+ @property
879
+ def order_id(self):
880
+ """Gets the order_id of this PoolDesktopsDetailInfo.
881
+
882
+ 包周期产品的订单ID。
883
+
884
+ :return: The order_id of this PoolDesktopsDetailInfo.
885
+ :rtype: str
886
+ """
887
+ return self._order_id
888
+
889
+ @order_id.setter
890
+ def order_id(self, order_id):
891
+ """Sets the order_id of this PoolDesktopsDetailInfo.
892
+
893
+ 包周期产品的订单ID。
894
+
895
+ :param order_id: The order_id of this PoolDesktopsDetailInfo.
896
+ :type order_id: str
897
+ """
898
+ self._order_id = order_id
899
+
900
+ @property
901
+ def tags(self):
902
+ """Gets the tags of this PoolDesktopsDetailInfo.
903
+
904
+ 桌面标签列表。
905
+
906
+ :return: The tags of this PoolDesktopsDetailInfo.
907
+ :rtype: list[:class:`huaweicloudsdkworkspace.v2.Tag`]
908
+ """
909
+ return self._tags
910
+
911
+ @tags.setter
912
+ def tags(self, tags):
913
+ """Sets the tags of this PoolDesktopsDetailInfo.
914
+
915
+ 桌面标签列表。
916
+
917
+ :param tags: The tags of this PoolDesktopsDetailInfo.
918
+ :type tags: list[:class:`huaweicloudsdkworkspace.v2.Tag`]
919
+ """
920
+ self._tags = tags
921
+
922
+ @property
923
+ def internet_mode(self):
924
+ """Gets the internet_mode of this PoolDesktopsDetailInfo.
925
+
926
+ 上网方式。 - NAT:表示NAT上网方式。 - EIP:表示EIP上网方式。 - BOTH:表示两种上网方式都支持。
927
+
928
+ :return: The internet_mode of this PoolDesktopsDetailInfo.
929
+ :rtype: str
930
+ """
931
+ return self._internet_mode
932
+
933
+ @internet_mode.setter
934
+ def internet_mode(self, internet_mode):
935
+ """Sets the internet_mode of this PoolDesktopsDetailInfo.
936
+
937
+ 上网方式。 - NAT:表示NAT上网方式。 - EIP:表示EIP上网方式。 - BOTH:表示两种上网方式都支持。
938
+
939
+ :param internet_mode: The internet_mode of this PoolDesktopsDetailInfo.
940
+ :type internet_mode: str
941
+ """
942
+ self._internet_mode = internet_mode
943
+
944
+ @property
945
+ def is_attaching_eip(self):
946
+ """Gets the is_attaching_eip of this PoolDesktopsDetailInfo.
947
+
948
+ 桌面是否正在绑定EIP。
949
+
950
+ :return: The is_attaching_eip of this PoolDesktopsDetailInfo.
951
+ :rtype: bool
952
+ """
953
+ return self._is_attaching_eip
954
+
955
+ @is_attaching_eip.setter
956
+ def is_attaching_eip(self, is_attaching_eip):
957
+ """Sets the is_attaching_eip of this PoolDesktopsDetailInfo.
958
+
959
+ 桌面是否正在绑定EIP。
960
+
961
+ :param is_attaching_eip: The is_attaching_eip of this PoolDesktopsDetailInfo.
962
+ :type is_attaching_eip: bool
963
+ """
964
+ self._is_attaching_eip = is_attaching_eip
965
+
966
+ @property
967
+ def attach_state(self):
968
+ """Gets the attach_state of this PoolDesktopsDetailInfo.
969
+
970
+ 分配状态。 - ATTACHED:已分配。 - UNATTACH:未分配 表示未关联。 - DEATTACHED:已解分配。 - ATTACHING:分配中。 - DEATTACHING:解分配中。 - ATTACHFAIL:分配失败。 - DEATTACHFAIL:解分配失败。 - WAITING:等待被分配中,描述从批量分配(解分配)下发到转入分配(解分配)的中间状态 同时方便单个关联流程的状态独立性。 - ATTACH_FAIL_CAN_ATTACH_AGAIN:分配失败,还可以再关联。 - DEATTACH_FAIL_CAN_DEATTACH_AGAIN:解分配失败,还可以再解分配。
971
+
972
+ :return: The attach_state of this PoolDesktopsDetailInfo.
973
+ :rtype: str
974
+ """
975
+ return self._attach_state
976
+
977
+ @attach_state.setter
978
+ def attach_state(self, attach_state):
979
+ """Sets the attach_state of this PoolDesktopsDetailInfo.
980
+
981
+ 分配状态。 - ATTACHED:已分配。 - UNATTACH:未分配 表示未关联。 - DEATTACHED:已解分配。 - ATTACHING:分配中。 - DEATTACHING:解分配中。 - ATTACHFAIL:分配失败。 - DEATTACHFAIL:解分配失败。 - WAITING:等待被分配中,描述从批量分配(解分配)下发到转入分配(解分配)的中间状态 同时方便单个关联流程的状态独立性。 - ATTACH_FAIL_CAN_ATTACH_AGAIN:分配失败,还可以再关联。 - DEATTACH_FAIL_CAN_DEATTACH_AGAIN:解分配失败,还可以再解分配。
982
+
983
+ :param attach_state: The attach_state of this PoolDesktopsDetailInfo.
984
+ :type attach_state: str
985
+ """
986
+ self._attach_state = attach_state
987
+
988
+ @property
989
+ def enterprise_project_id(self):
990
+ """Gets the enterprise_project_id of this PoolDesktopsDetailInfo.
991
+
992
+ 企业项目ID
993
+
994
+ :return: The enterprise_project_id of this PoolDesktopsDetailInfo.
995
+ :rtype: str
996
+ """
997
+ return self._enterprise_project_id
998
+
999
+ @enterprise_project_id.setter
1000
+ def enterprise_project_id(self, enterprise_project_id):
1001
+ """Sets the enterprise_project_id of this PoolDesktopsDetailInfo.
1002
+
1003
+ 企业项目ID
1004
+
1005
+ :param enterprise_project_id: The enterprise_project_id of this PoolDesktopsDetailInfo.
1006
+ :type enterprise_project_id: str
1007
+ """
1008
+ self._enterprise_project_id = enterprise_project_id
1009
+
1010
+ @property
1011
+ def subnet_id(self):
1012
+ """Gets the subnet_id of this PoolDesktopsDetailInfo.
1013
+
1014
+ 桌面的子网ID。
1015
+
1016
+ :return: The subnet_id of this PoolDesktopsDetailInfo.
1017
+ :rtype: str
1018
+ """
1019
+ return self._subnet_id
1020
+
1021
+ @subnet_id.setter
1022
+ def subnet_id(self, subnet_id):
1023
+ """Sets the subnet_id of this PoolDesktopsDetailInfo.
1024
+
1025
+ 桌面的子网ID。
1026
+
1027
+ :param subnet_id: The subnet_id of this PoolDesktopsDetailInfo.
1028
+ :type subnet_id: str
1029
+ """
1030
+ self._subnet_id = subnet_id
1031
+
1032
+ @property
1033
+ def bill_resource_id(self):
1034
+ """Gets the bill_resource_id of this PoolDesktopsDetailInfo.
1035
+
1036
+ 桌面计费资源ID
1037
+
1038
+ :return: The bill_resource_id of this PoolDesktopsDetailInfo.
1039
+ :rtype: str
1040
+ """
1041
+ return self._bill_resource_id
1042
+
1043
+ @bill_resource_id.setter
1044
+ def bill_resource_id(self, bill_resource_id):
1045
+ """Sets the bill_resource_id of this PoolDesktopsDetailInfo.
1046
+
1047
+ 桌面计费资源ID
1048
+
1049
+ :param bill_resource_id: The bill_resource_id of this PoolDesktopsDetailInfo.
1050
+ :type bill_resource_id: str
1051
+ """
1052
+ self._bill_resource_id = bill_resource_id
1053
+
1054
+ @property
1055
+ def process(self):
1056
+ """Gets the process of this PoolDesktopsDetailInfo.
1057
+
1058
+ 桌面任务进度, 取值范围0-100以及null,null表示该桌面无任务,0-100表明该任务进度的百分比。
1059
+
1060
+ :return: The process of this PoolDesktopsDetailInfo.
1061
+ :rtype: int
1062
+ """
1063
+ return self._process
1064
+
1065
+ @process.setter
1066
+ def process(self, process):
1067
+ """Sets the process of this PoolDesktopsDetailInfo.
1068
+
1069
+ 桌面任务进度, 取值范围0-100以及null,null表示该桌面无任务,0-100表明该任务进度的百分比。
1070
+
1071
+ :param process: The process of this PoolDesktopsDetailInfo.
1072
+ :type process: int
1073
+ """
1074
+ self._process = process
1075
+
1076
+ @property
1077
+ def inconsistent_types(self):
1078
+ """Gets the inconsistent_types of this PoolDesktopsDetailInfo.
1079
+
1080
+ 桌面与桌面池不一致的规格类型: - PRODUCT: 产品ID不一致 - IMAGE: 镜像ID不一致
1081
+
1082
+ :return: The inconsistent_types of this PoolDesktopsDetailInfo.
1083
+ :rtype: list[str]
1084
+ """
1085
+ return self._inconsistent_types
1086
+
1087
+ @inconsistent_types.setter
1088
+ def inconsistent_types(self, inconsistent_types):
1089
+ """Sets the inconsistent_types of this PoolDesktopsDetailInfo.
1090
+
1091
+ 桌面与桌面池不一致的规格类型: - PRODUCT: 产品ID不一致 - IMAGE: 镜像ID不一致
1092
+
1093
+ :param inconsistent_types: The inconsistent_types of this PoolDesktopsDetailInfo.
1094
+ :type inconsistent_types: list[str]
1095
+ """
1096
+ self._inconsistent_types = inconsistent_types
1097
+
1098
+ def to_dict(self):
1099
+ """Returns the model properties as a dict"""
1100
+ result = {}
1101
+
1102
+ for attr, _ in six.iteritems(self.openapi_types):
1103
+ value = getattr(self, attr)
1104
+ if isinstance(value, list):
1105
+ result[attr] = list(map(
1106
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
1107
+ value
1108
+ ))
1109
+ elif hasattr(value, "to_dict"):
1110
+ result[attr] = value.to_dict()
1111
+ elif isinstance(value, dict):
1112
+ result[attr] = dict(map(
1113
+ lambda item: (item[0], item[1].to_dict())
1114
+ if hasattr(item[1], "to_dict") else item,
1115
+ value.items()
1116
+ ))
1117
+ else:
1118
+ if attr in self.sensitive_list:
1119
+ result[attr] = "****"
1120
+ else:
1121
+ result[attr] = value
1122
+
1123
+ return result
1124
+
1125
+ def to_str(self):
1126
+ """Returns the string representation of the model"""
1127
+ import simplejson as json
1128
+ if six.PY2:
1129
+ import sys
1130
+ reload(sys)
1131
+ sys.setdefaultencoding("utf-8")
1132
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
1133
+
1134
+ def __repr__(self):
1135
+ """For `print`"""
1136
+ return self.to_str()
1137
+
1138
+ def __eq__(self, other):
1139
+ """Returns true if both objects are equal"""
1140
+ if not isinstance(other, PoolDesktopsDetailInfo):
1141
+ return False
1142
+
1143
+ return self.__dict__ == other.__dict__
1144
+
1145
+ def __ne__(self, other):
1146
+ """Returns true if both objects are not equal"""
1147
+ return not self == other