huaweicloudsdkworkspace 3.1.38__py2.py3-none-any.whl → 3.1.40__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.
- huaweicloudsdkworkspace/v2/model/access_policy_detail_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/access_policy_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/access_policy_object_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/ad_domain.py +0 -3
- huaweicloudsdkworkspace/v2/model/ad_domain_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/ad_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/add_desktop_volumes_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/add_desktops_volumes_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/add_volumes_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/add_volumes_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/address_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/apply_workspace_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/apply_workspace_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/apply_workspace_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/assist_auth_method_config_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/auth_assist_enum.py +0 -3
- huaweicloudsdkworkspace/v2/model/auth_server_access_mode.py +0 -3
- huaweicloudsdkworkspace/v2/model/availability_zone.py +0 -3
- huaweicloudsdkworkspace/v2/model/batch_action_desktops_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/batch_delete_access_policies_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/batch_delete_access_policies_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/batch_delete_access_policies_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/batch_delete_desktops_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/batch_delete_desktops_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/batch_delete_otp_devices_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/batch_delete_otp_devices_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/batch_run_desktops_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/batch_run_desktops_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/cancel_workspace_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/cancel_workspace_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/change_user_status_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/change_user_status_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/create_access_policy_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_access_policy_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_access_policy_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/create_desktop_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_desktop_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_desktop_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/create_desktop_user_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_desktop_user_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/create_terminals_binding_desktops_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_terminals_binding_desktops_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_terminals_binding_desktops_request_body.py +0 -3
- huaweicloudsdkworkspace/v2/model/create_terminals_binding_desktops_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/create_user_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/del_otp_devices_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_desktop_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_desktop_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/delete_desktop_volumes_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_desktop_volumes_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/delete_desktops_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_terminals_binding_desktops_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_terminals_binding_desktops_request_body.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_terminals_binding_desktops_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/delete_terminals_binding_desktops_result.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_user_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/delete_user_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/delete_volumes_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/desktop.py +0 -3
- huaweicloudsdkworkspace/v2/model/desktop_detail_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/edit_user_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/expand_desktops_volumes_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/expand_volumes_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/expand_volumes_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/expand_volumes_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/export_user_login_info_new_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/export_user_login_info_new_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/flavor_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/flavor_link_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/image_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/job_detail_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/job_entities.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_access_policies_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_access_policies_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_access_policy_objects_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_access_policy_objects_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_availability_zones_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_availability_zones_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_desktops_detail_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_desktops_detail_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_desktops_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_desktops_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_history_online_info_new_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_history_online_info_new_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_images_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_images_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_ita_sub_jobs_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_ita_sub_jobs_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_login_records_new_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_login_records_new_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_otp_devices_by_user_id_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_otp_devices_by_user_id_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_products_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_products_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_terminals_binding_desktops_config_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_terminals_binding_desktops_config_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_terminals_binding_desktops_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_terminals_binding_desktops_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_user_detail_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_user_detail_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_users_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_users_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/list_workspaces_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/list_workspaces_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/modify_workspace_attributes_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/nic.py +0 -3
- huaweicloudsdkworkspace/v2/model/operate_user_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/otp_config_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/otp_device.py +0 -3
- huaweicloudsdkworkspace/v2/model/product_detail_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/product_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/quota_no_limit.py +0 -3
- huaweicloudsdkworkspace/v2/model/receive_mode_enum.py +0 -3
- huaweicloudsdkworkspace/v2/model/record.py +0 -3
- huaweicloudsdkworkspace/v2/model/resize_desktop_data.py +0 -3
- huaweicloudsdkworkspace/v2/model/resize_desktop_job_result.py +0 -3
- huaweicloudsdkworkspace/v2/model/resize_desktop_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/resize_desktop_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/resize_desktop_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/resource_no_limit.py +0 -3
- huaweicloudsdkworkspace/v2/model/security_group.py +0 -3
- huaweicloudsdkworkspace/v2/model/security_group_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/show_assist_auth_config_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/show_assist_auth_config_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/show_desktop_detail_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/show_desktop_detail_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/show_quotas_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/show_quotas_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/show_workspace_lock_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/show_workspace_lock_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/simple_desktop_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/simple_product.py +0 -3
- huaweicloudsdkworkspace/v2/model/simple_resource.py +0 -3
- huaweicloudsdkworkspace/v2/model/simple_resource_no_used.py +0 -3
- huaweicloudsdkworkspace/v2/model/site_quota_no_limit.py +0 -3
- huaweicloudsdkworkspace/v2/model/sold_out_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/subnet.py +0 -3
- huaweicloudsdkworkspace/v2/model/subnet_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/tag.py +0 -3
- huaweicloudsdkworkspace/v2/model/terminals_binding_desktops_config.py +0 -3
- huaweicloudsdkworkspace/v2/model/terminals_binding_desktops_info.py +0 -3
- huaweicloudsdkworkspace/v2/model/tls_config.py +0 -3
- huaweicloudsdkworkspace/v2/model/unlock_workspace_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/unlock_workspace_request_body.py +0 -3
- huaweicloudsdkworkspace/v2/model/unlock_workspace_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/update_access_policy_objects_req.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_access_policy_objects_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_access_policy_objects_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/update_assist_auth_method_config_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_assist_auth_method_config_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/update_terminals_binding_desktops_config_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_terminals_binding_desktops_config_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/update_terminals_binding_desktops_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_terminals_binding_desktops_request_body.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_terminals_binding_desktops_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/update_user_info_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_user_info_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/update_workspace_request.py +0 -3
- huaweicloudsdkworkspace/v2/model/update_workspace_response.py +0 -2
- huaweicloudsdkworkspace/v2/model/user.py +0 -3
- huaweicloudsdkworkspace/v2/model/user_detail.py +0 -3
- huaweicloudsdkworkspace/v2/model/vm_operate_result.py +0 -3
- huaweicloudsdkworkspace/v2/model/volume.py +0 -3
- huaweicloudsdkworkspace/v2/model/volume_detail.py +0 -3
- huaweicloudsdkworkspace/v2/workspace_async_client.py +139 -341
- huaweicloudsdkworkspace/v2/workspace_client.py +139 -341
- {huaweicloudsdkworkspace-3.1.38.dist-info → huaweicloudsdkworkspace-3.1.40.dist-info}/METADATA +2 -2
- huaweicloudsdkworkspace-3.1.40.dist-info/RECORD +176 -0
- huaweicloudsdkworkspace-3.1.38.dist-info/RECORD +0 -176
- {huaweicloudsdkworkspace-3.1.38.dist-info → huaweicloudsdkworkspace-3.1.40.dist-info}/LICENSE +0 -0
- {huaweicloudsdkworkspace-3.1.38.dist-info → huaweicloudsdkworkspace-3.1.40.dist-info}/WHEEL +0 -0
- {huaweicloudsdkworkspace-3.1.38.dist-info → huaweicloudsdkworkspace-3.1.40.dist-info}/top_level.txt +0 -0
|
@@ -2,35 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import absolute_import
|
|
4
4
|
|
|
5
|
-
import datetime
|
|
6
|
-
import re
|
|
7
5
|
import importlib
|
|
8
6
|
|
|
9
|
-
import six
|
|
10
|
-
|
|
11
7
|
from huaweicloudsdkcore.client import Client, ClientBuilder
|
|
12
|
-
from huaweicloudsdkcore.exceptions import exceptions
|
|
13
8
|
from huaweicloudsdkcore.utils import http_utils
|
|
14
9
|
from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest
|
|
15
10
|
|
|
16
11
|
|
|
17
12
|
class WorkspaceClient(Client):
|
|
18
|
-
PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types
|
|
19
|
-
NATIVE_TYPES_MAPPING = {
|
|
20
|
-
'int': int,
|
|
21
|
-
'long': int if six.PY3 else long,
|
|
22
|
-
'float': float,
|
|
23
|
-
'str': str,
|
|
24
|
-
'bool': bool,
|
|
25
|
-
'date': datetime.date,
|
|
26
|
-
'datetime': datetime.datetime,
|
|
27
|
-
'object': object,
|
|
28
|
-
}
|
|
29
|
-
|
|
30
13
|
def __init__(self):
|
|
31
14
|
super(WorkspaceClient, self).__init__()
|
|
32
15
|
self.model_package = importlib.import_module("huaweicloudsdkworkspace.v2.model")
|
|
33
|
-
self.preset_headers = {'User-Agent': 'HuaweiCloud-SDK-Python'}
|
|
34
16
|
|
|
35
17
|
@classmethod
|
|
36
18
|
def new_builder(cls, clazz=None):
|
|
@@ -53,14 +35,10 @@ class WorkspaceClient(Client):
|
|
|
53
35
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchDeleteAccessPoliciesRequest`
|
|
54
36
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchDeleteAccessPoliciesResponse`
|
|
55
37
|
"""
|
|
56
|
-
return self.
|
|
38
|
+
return self._batch_delete_access_policies_with_http_info(request)
|
|
57
39
|
|
|
58
|
-
def
|
|
59
|
-
|
|
60
|
-
local_var_params = {}
|
|
61
|
-
for attr in request.attribute_map:
|
|
62
|
-
if hasattr(request, attr):
|
|
63
|
-
local_var_params[attr] = getattr(request, attr)
|
|
40
|
+
def _batch_delete_access_policies_with_http_info(self, request):
|
|
41
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
64
42
|
|
|
65
43
|
cname = None
|
|
66
44
|
|
|
@@ -113,14 +91,10 @@ class WorkspaceClient(Client):
|
|
|
113
91
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateAccessPolicyRequest`
|
|
114
92
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateAccessPolicyResponse`
|
|
115
93
|
"""
|
|
116
|
-
return self.
|
|
94
|
+
return self._create_access_policy_with_http_info(request)
|
|
117
95
|
|
|
118
|
-
def
|
|
119
|
-
|
|
120
|
-
local_var_params = {}
|
|
121
|
-
for attr in request.attribute_map:
|
|
122
|
-
if hasattr(request, attr):
|
|
123
|
-
local_var_params[attr] = getattr(request, attr)
|
|
96
|
+
def _create_access_policy_with_http_info(self, request):
|
|
97
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
124
98
|
|
|
125
99
|
cname = None
|
|
126
100
|
|
|
@@ -173,14 +147,10 @@ class WorkspaceClient(Client):
|
|
|
173
147
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListAccessPoliciesRequest`
|
|
174
148
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListAccessPoliciesResponse`
|
|
175
149
|
"""
|
|
176
|
-
return self.
|
|
150
|
+
return self._list_access_policies_with_http_info(request)
|
|
177
151
|
|
|
178
|
-
def
|
|
179
|
-
|
|
180
|
-
local_var_params = {}
|
|
181
|
-
for attr in request.attribute_map:
|
|
182
|
-
if hasattr(request, attr):
|
|
183
|
-
local_var_params[attr] = getattr(request, attr)
|
|
152
|
+
def _list_access_policies_with_http_info(self, request):
|
|
153
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
184
154
|
|
|
185
155
|
cname = None
|
|
186
156
|
|
|
@@ -235,14 +205,10 @@ class WorkspaceClient(Client):
|
|
|
235
205
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListAccessPolicyObjectsRequest`
|
|
236
206
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListAccessPolicyObjectsResponse`
|
|
237
207
|
"""
|
|
238
|
-
return self.
|
|
208
|
+
return self._list_access_policy_objects_with_http_info(request)
|
|
239
209
|
|
|
240
|
-
def
|
|
241
|
-
|
|
242
|
-
local_var_params = {}
|
|
243
|
-
for attr in request.attribute_map:
|
|
244
|
-
if hasattr(request, attr):
|
|
245
|
-
local_var_params[attr] = getattr(request, attr)
|
|
210
|
+
def _list_access_policy_objects_with_http_info(self, request):
|
|
211
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
246
212
|
|
|
247
213
|
cname = None
|
|
248
214
|
|
|
@@ -299,14 +265,10 @@ class WorkspaceClient(Client):
|
|
|
299
265
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateAccessPolicyObjectsRequest`
|
|
300
266
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateAccessPolicyObjectsResponse`
|
|
301
267
|
"""
|
|
302
|
-
return self.
|
|
268
|
+
return self._update_access_policy_objects_with_http_info(request)
|
|
303
269
|
|
|
304
|
-
def
|
|
305
|
-
|
|
306
|
-
local_var_params = {}
|
|
307
|
-
for attr in request.attribute_map:
|
|
308
|
-
if hasattr(request, attr):
|
|
309
|
-
local_var_params[attr] = getattr(request, attr)
|
|
270
|
+
def _update_access_policy_objects_with_http_info(self, request):
|
|
271
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
310
272
|
|
|
311
273
|
cname = None
|
|
312
274
|
|
|
@@ -361,14 +323,10 @@ class WorkspaceClient(Client):
|
|
|
361
323
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowAssistAuthConfigRequest`
|
|
362
324
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowAssistAuthConfigResponse`
|
|
363
325
|
"""
|
|
364
|
-
return self.
|
|
326
|
+
return self._show_assist_auth_config_with_http_info(request)
|
|
365
327
|
|
|
366
|
-
def
|
|
367
|
-
|
|
368
|
-
local_var_params = {}
|
|
369
|
-
for attr in request.attribute_map:
|
|
370
|
-
if hasattr(request, attr):
|
|
371
|
-
local_var_params[attr] = getattr(request, attr)
|
|
328
|
+
def _show_assist_auth_config_with_http_info(self, request):
|
|
329
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
372
330
|
|
|
373
331
|
cname = None
|
|
374
332
|
|
|
@@ -419,14 +377,10 @@ class WorkspaceClient(Client):
|
|
|
419
377
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateAssistAuthMethodConfigRequest`
|
|
420
378
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateAssistAuthMethodConfigResponse`
|
|
421
379
|
"""
|
|
422
|
-
return self.
|
|
380
|
+
return self._update_assist_auth_method_config_with_http_info(request)
|
|
423
381
|
|
|
424
|
-
def
|
|
425
|
-
|
|
426
|
-
local_var_params = {}
|
|
427
|
-
for attr in request.attribute_map:
|
|
428
|
-
if hasattr(request, attr):
|
|
429
|
-
local_var_params[attr] = getattr(request, attr)
|
|
382
|
+
def _update_assist_auth_method_config_with_http_info(self, request):
|
|
383
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
430
384
|
|
|
431
385
|
cname = None
|
|
432
386
|
|
|
@@ -479,14 +433,10 @@ class WorkspaceClient(Client):
|
|
|
479
433
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListAvailabilityZonesRequest`
|
|
480
434
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListAvailabilityZonesResponse`
|
|
481
435
|
"""
|
|
482
|
-
return self.
|
|
436
|
+
return self._list_availability_zones_with_http_info(request)
|
|
483
437
|
|
|
484
|
-
def
|
|
485
|
-
|
|
486
|
-
local_var_params = {}
|
|
487
|
-
for attr in request.attribute_map:
|
|
488
|
-
if hasattr(request, attr):
|
|
489
|
-
local_var_params[attr] = getattr(request, attr)
|
|
438
|
+
def _list_availability_zones_with_http_info(self, request):
|
|
439
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
490
440
|
|
|
491
441
|
cname = None
|
|
492
442
|
|
|
@@ -537,14 +487,10 @@ class WorkspaceClient(Client):
|
|
|
537
487
|
:type request: :class:`huaweicloudsdkworkspace.v2.ExportUserLoginInfoNewRequest`
|
|
538
488
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ExportUserLoginInfoNewResponse`
|
|
539
489
|
"""
|
|
540
|
-
return self.
|
|
490
|
+
return self._export_user_login_info_new_with_http_info(request)
|
|
541
491
|
|
|
542
|
-
def
|
|
543
|
-
|
|
544
|
-
local_var_params = {}
|
|
545
|
-
for attr in request.attribute_map:
|
|
546
|
-
if hasattr(request, attr):
|
|
547
|
-
local_var_params[attr] = getattr(request, attr)
|
|
492
|
+
def _export_user_login_info_new_with_http_info(self, request):
|
|
493
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
548
494
|
|
|
549
495
|
cname = None
|
|
550
496
|
|
|
@@ -607,14 +553,10 @@ class WorkspaceClient(Client):
|
|
|
607
553
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListHistoryOnlineInfoNewRequest`
|
|
608
554
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListHistoryOnlineInfoNewResponse`
|
|
609
555
|
"""
|
|
610
|
-
return self.
|
|
556
|
+
return self._list_history_online_info_new_with_http_info(request)
|
|
611
557
|
|
|
612
|
-
def
|
|
613
|
-
|
|
614
|
-
local_var_params = {}
|
|
615
|
-
for attr in request.attribute_map:
|
|
616
|
-
if hasattr(request, attr):
|
|
617
|
-
local_var_params[attr] = getattr(request, attr)
|
|
558
|
+
def _list_history_online_info_new_with_http_info(self, request):
|
|
559
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
618
560
|
|
|
619
561
|
cname = None
|
|
620
562
|
|
|
@@ -671,14 +613,10 @@ class WorkspaceClient(Client):
|
|
|
671
613
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListLoginRecordsNewRequest`
|
|
672
614
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListLoginRecordsNewResponse`
|
|
673
615
|
"""
|
|
674
|
-
return self.
|
|
616
|
+
return self._list_login_records_new_with_http_info(request)
|
|
675
617
|
|
|
676
|
-
def
|
|
677
|
-
|
|
678
|
-
local_var_params = {}
|
|
679
|
-
for attr in request.attribute_map:
|
|
680
|
-
if hasattr(request, attr):
|
|
681
|
-
local_var_params[attr] = getattr(request, attr)
|
|
618
|
+
def _list_login_records_new_with_http_info(self, request):
|
|
619
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
682
620
|
|
|
683
621
|
cname = None
|
|
684
622
|
|
|
@@ -743,14 +681,10 @@ class WorkspaceClient(Client):
|
|
|
743
681
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchDeleteDesktopsRequest`
|
|
744
682
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchDeleteDesktopsResponse`
|
|
745
683
|
"""
|
|
746
|
-
return self.
|
|
684
|
+
return self._batch_delete_desktops_with_http_info(request)
|
|
747
685
|
|
|
748
|
-
def
|
|
749
|
-
|
|
750
|
-
local_var_params = {}
|
|
751
|
-
for attr in request.attribute_map:
|
|
752
|
-
if hasattr(request, attr):
|
|
753
|
-
local_var_params[attr] = getattr(request, attr)
|
|
686
|
+
def _batch_delete_desktops_with_http_info(self, request):
|
|
687
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
754
688
|
|
|
755
689
|
cname = None
|
|
756
690
|
|
|
@@ -803,14 +737,10 @@ class WorkspaceClient(Client):
|
|
|
803
737
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchRunDesktopsRequest`
|
|
804
738
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchRunDesktopsResponse`
|
|
805
739
|
"""
|
|
806
|
-
return self.
|
|
740
|
+
return self._batch_run_desktops_with_http_info(request)
|
|
807
741
|
|
|
808
|
-
def
|
|
809
|
-
|
|
810
|
-
local_var_params = {}
|
|
811
|
-
for attr in request.attribute_map:
|
|
812
|
-
if hasattr(request, attr):
|
|
813
|
-
local_var_params[attr] = getattr(request, attr)
|
|
742
|
+
def _batch_run_desktops_with_http_info(self, request):
|
|
743
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
814
744
|
|
|
815
745
|
cname = None
|
|
816
746
|
|
|
@@ -863,14 +793,10 @@ class WorkspaceClient(Client):
|
|
|
863
793
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateDesktopRequest`
|
|
864
794
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateDesktopResponse`
|
|
865
795
|
"""
|
|
866
|
-
return self.
|
|
796
|
+
return self._create_desktop_with_http_info(request)
|
|
867
797
|
|
|
868
|
-
def
|
|
869
|
-
|
|
870
|
-
local_var_params = {}
|
|
871
|
-
for attr in request.attribute_map:
|
|
872
|
-
if hasattr(request, attr):
|
|
873
|
-
local_var_params[attr] = getattr(request, attr)
|
|
798
|
+
def _create_desktop_with_http_info(self, request):
|
|
799
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
874
800
|
|
|
875
801
|
cname = None
|
|
876
802
|
|
|
@@ -923,14 +849,10 @@ class WorkspaceClient(Client):
|
|
|
923
849
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopRequest`
|
|
924
850
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopResponse`
|
|
925
851
|
"""
|
|
926
|
-
return self.
|
|
852
|
+
return self._delete_desktop_with_http_info(request)
|
|
927
853
|
|
|
928
|
-
def
|
|
929
|
-
|
|
930
|
-
local_var_params = {}
|
|
931
|
-
for attr in request.attribute_map:
|
|
932
|
-
if hasattr(request, attr):
|
|
933
|
-
local_var_params[attr] = getattr(request, attr)
|
|
854
|
+
def _delete_desktop_with_http_info(self, request):
|
|
855
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
934
856
|
|
|
935
857
|
cname = None
|
|
936
858
|
|
|
@@ -987,14 +909,10 @@ class WorkspaceClient(Client):
|
|
|
987
909
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListDesktopsRequest`
|
|
988
910
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListDesktopsResponse`
|
|
989
911
|
"""
|
|
990
|
-
return self.
|
|
912
|
+
return self._list_desktops_with_http_info(request)
|
|
991
913
|
|
|
992
|
-
def
|
|
993
|
-
|
|
994
|
-
local_var_params = {}
|
|
995
|
-
for attr in request.attribute_map:
|
|
996
|
-
if hasattr(request, attr):
|
|
997
|
-
local_var_params[attr] = getattr(request, attr)
|
|
914
|
+
def _list_desktops_with_http_info(self, request):
|
|
915
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
998
916
|
|
|
999
917
|
cname = None
|
|
1000
918
|
|
|
@@ -1055,14 +973,10 @@ class WorkspaceClient(Client):
|
|
|
1055
973
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListDesktopsDetailRequest`
|
|
1056
974
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListDesktopsDetailResponse`
|
|
1057
975
|
"""
|
|
1058
|
-
return self.
|
|
976
|
+
return self._list_desktops_detail_with_http_info(request)
|
|
1059
977
|
|
|
1060
|
-
def
|
|
1061
|
-
|
|
1062
|
-
local_var_params = {}
|
|
1063
|
-
for attr in request.attribute_map:
|
|
1064
|
-
if hasattr(request, attr):
|
|
1065
|
-
local_var_params[attr] = getattr(request, attr)
|
|
978
|
+
def _list_desktops_detail_with_http_info(self, request):
|
|
979
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1066
980
|
|
|
1067
981
|
cname = None
|
|
1068
982
|
|
|
@@ -1131,14 +1045,10 @@ class WorkspaceClient(Client):
|
|
|
1131
1045
|
:type request: :class:`huaweicloudsdkworkspace.v2.ResizeDesktopRequest`
|
|
1132
1046
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ResizeDesktopResponse`
|
|
1133
1047
|
"""
|
|
1134
|
-
return self.
|
|
1048
|
+
return self._resize_desktop_with_http_info(request)
|
|
1135
1049
|
|
|
1136
|
-
def
|
|
1137
|
-
|
|
1138
|
-
local_var_params = {}
|
|
1139
|
-
for attr in request.attribute_map:
|
|
1140
|
-
if hasattr(request, attr):
|
|
1141
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1050
|
+
def _resize_desktop_with_http_info(self, request):
|
|
1051
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1142
1052
|
|
|
1143
1053
|
cname = None
|
|
1144
1054
|
|
|
@@ -1191,14 +1101,10 @@ class WorkspaceClient(Client):
|
|
|
1191
1101
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowDesktopDetailRequest`
|
|
1192
1102
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowDesktopDetailResponse`
|
|
1193
1103
|
"""
|
|
1194
|
-
return self.
|
|
1104
|
+
return self._show_desktop_detail_with_http_info(request)
|
|
1195
1105
|
|
|
1196
|
-
def
|
|
1197
|
-
|
|
1198
|
-
local_var_params = {}
|
|
1199
|
-
for attr in request.attribute_map:
|
|
1200
|
-
if hasattr(request, attr):
|
|
1201
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1106
|
+
def _show_desktop_detail_with_http_info(self, request):
|
|
1107
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1202
1108
|
|
|
1203
1109
|
cname = None
|
|
1204
1110
|
|
|
@@ -1251,14 +1157,10 @@ class WorkspaceClient(Client):
|
|
|
1251
1157
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListImagesRequest`
|
|
1252
1158
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListImagesResponse`
|
|
1253
1159
|
"""
|
|
1254
|
-
return self.
|
|
1160
|
+
return self._list_images_with_http_info(request)
|
|
1255
1161
|
|
|
1256
|
-
def
|
|
1257
|
-
|
|
1258
|
-
local_var_params = {}
|
|
1259
|
-
for attr in request.attribute_map:
|
|
1260
|
-
if hasattr(request, attr):
|
|
1261
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1162
|
+
def _list_images_with_http_info(self, request):
|
|
1163
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1262
1164
|
|
|
1263
1165
|
cname = None
|
|
1264
1166
|
|
|
@@ -1323,14 +1225,10 @@ class WorkspaceClient(Client):
|
|
|
1323
1225
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListItaSubJobsRequest`
|
|
1324
1226
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListItaSubJobsResponse`
|
|
1325
1227
|
"""
|
|
1326
|
-
return self.
|
|
1228
|
+
return self._list_ita_sub_jobs_with_http_info(request)
|
|
1327
1229
|
|
|
1328
|
-
def
|
|
1329
|
-
|
|
1330
|
-
local_var_params = {}
|
|
1331
|
-
for attr in request.attribute_map:
|
|
1332
|
-
if hasattr(request, attr):
|
|
1333
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1230
|
+
def _list_ita_sub_jobs_with_http_info(self, request):
|
|
1231
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1334
1232
|
|
|
1335
1233
|
cname = None
|
|
1336
1234
|
|
|
@@ -1391,14 +1289,10 @@ class WorkspaceClient(Client):
|
|
|
1391
1289
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListProductsRequest`
|
|
1392
1290
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListProductsResponse`
|
|
1393
1291
|
"""
|
|
1394
|
-
return self.
|
|
1292
|
+
return self._list_products_with_http_info(request)
|
|
1395
1293
|
|
|
1396
|
-
def
|
|
1397
|
-
|
|
1398
|
-
local_var_params = {}
|
|
1399
|
-
for attr in request.attribute_map:
|
|
1400
|
-
if hasattr(request, attr):
|
|
1401
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1294
|
+
def _list_products_with_http_info(self, request):
|
|
1295
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1402
1296
|
|
|
1403
1297
|
cname = None
|
|
1404
1298
|
|
|
@@ -1465,14 +1359,10 @@ class WorkspaceClient(Client):
|
|
|
1465
1359
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowQuotasRequest`
|
|
1466
1360
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowQuotasResponse`
|
|
1467
1361
|
"""
|
|
1468
|
-
return self.
|
|
1362
|
+
return self._show_quotas_with_http_info(request)
|
|
1469
1363
|
|
|
1470
|
-
def
|
|
1471
|
-
|
|
1472
|
-
local_var_params = {}
|
|
1473
|
-
for attr in request.attribute_map:
|
|
1474
|
-
if hasattr(request, attr):
|
|
1475
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1364
|
+
def _show_quotas_with_http_info(self, request):
|
|
1365
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1476
1366
|
|
|
1477
1367
|
cname = None
|
|
1478
1368
|
|
|
@@ -1523,14 +1413,10 @@ class WorkspaceClient(Client):
|
|
|
1523
1413
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateTerminalsBindingDesktopsRequest`
|
|
1524
1414
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateTerminalsBindingDesktopsResponse`
|
|
1525
1415
|
"""
|
|
1526
|
-
return self.
|
|
1416
|
+
return self._create_terminals_binding_desktops_with_http_info(request)
|
|
1527
1417
|
|
|
1528
|
-
def
|
|
1529
|
-
|
|
1530
|
-
local_var_params = {}
|
|
1531
|
-
for attr in request.attribute_map:
|
|
1532
|
-
if hasattr(request, attr):
|
|
1533
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1418
|
+
def _create_terminals_binding_desktops_with_http_info(self, request):
|
|
1419
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1534
1420
|
|
|
1535
1421
|
cname = None
|
|
1536
1422
|
|
|
@@ -1583,14 +1469,10 @@ class WorkspaceClient(Client):
|
|
|
1583
1469
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteTerminalsBindingDesktopsRequest`
|
|
1584
1470
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteTerminalsBindingDesktopsResponse`
|
|
1585
1471
|
"""
|
|
1586
|
-
return self.
|
|
1472
|
+
return self._delete_terminals_binding_desktops_with_http_info(request)
|
|
1587
1473
|
|
|
1588
|
-
def
|
|
1589
|
-
|
|
1590
|
-
local_var_params = {}
|
|
1591
|
-
for attr in request.attribute_map:
|
|
1592
|
-
if hasattr(request, attr):
|
|
1593
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1474
|
+
def _delete_terminals_binding_desktops_with_http_info(self, request):
|
|
1475
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1594
1476
|
|
|
1595
1477
|
cname = None
|
|
1596
1478
|
|
|
@@ -1643,14 +1525,10 @@ class WorkspaceClient(Client):
|
|
|
1643
1525
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsRequest`
|
|
1644
1526
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsResponse`
|
|
1645
1527
|
"""
|
|
1646
|
-
return self.
|
|
1528
|
+
return self._list_terminals_binding_desktops_with_http_info(request)
|
|
1647
1529
|
|
|
1648
|
-
def
|
|
1649
|
-
|
|
1650
|
-
local_var_params = {}
|
|
1651
|
-
for attr in request.attribute_map:
|
|
1652
|
-
if hasattr(request, attr):
|
|
1653
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1530
|
+
def _list_terminals_binding_desktops_with_http_info(self, request):
|
|
1531
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1654
1532
|
|
|
1655
1533
|
cname = None
|
|
1656
1534
|
|
|
@@ -1711,14 +1589,10 @@ class WorkspaceClient(Client):
|
|
|
1711
1589
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsConfigRequest`
|
|
1712
1590
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsConfigResponse`
|
|
1713
1591
|
"""
|
|
1714
|
-
return self.
|
|
1592
|
+
return self._list_terminals_binding_desktops_config_with_http_info(request)
|
|
1715
1593
|
|
|
1716
|
-
def
|
|
1717
|
-
|
|
1718
|
-
local_var_params = {}
|
|
1719
|
-
for attr in request.attribute_map:
|
|
1720
|
-
if hasattr(request, attr):
|
|
1721
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1594
|
+
def _list_terminals_binding_desktops_config_with_http_info(self, request):
|
|
1595
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1722
1596
|
|
|
1723
1597
|
cname = None
|
|
1724
1598
|
|
|
@@ -1769,14 +1643,10 @@ class WorkspaceClient(Client):
|
|
|
1769
1643
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsRequest`
|
|
1770
1644
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsResponse`
|
|
1771
1645
|
"""
|
|
1772
|
-
return self.
|
|
1646
|
+
return self._update_terminals_binding_desktops_with_http_info(request)
|
|
1773
1647
|
|
|
1774
|
-
def
|
|
1775
|
-
|
|
1776
|
-
local_var_params = {}
|
|
1777
|
-
for attr in request.attribute_map:
|
|
1778
|
-
if hasattr(request, attr):
|
|
1779
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1648
|
+
def _update_terminals_binding_desktops_with_http_info(self, request):
|
|
1649
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1780
1650
|
|
|
1781
1651
|
cname = None
|
|
1782
1652
|
|
|
@@ -1829,14 +1699,10 @@ class WorkspaceClient(Client):
|
|
|
1829
1699
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsConfigRequest`
|
|
1830
1700
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsConfigResponse`
|
|
1831
1701
|
"""
|
|
1832
|
-
return self.
|
|
1702
|
+
return self._update_terminals_binding_desktops_config_with_http_info(request)
|
|
1833
1703
|
|
|
1834
|
-
def
|
|
1835
|
-
|
|
1836
|
-
local_var_params = {}
|
|
1837
|
-
for attr in request.attribute_map:
|
|
1838
|
-
if hasattr(request, attr):
|
|
1839
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1704
|
+
def _update_terminals_binding_desktops_config_with_http_info(self, request):
|
|
1705
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1840
1706
|
|
|
1841
1707
|
cname = None
|
|
1842
1708
|
|
|
@@ -1889,14 +1755,10 @@ class WorkspaceClient(Client):
|
|
|
1889
1755
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchDeleteOtpDevicesRequest`
|
|
1890
1756
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchDeleteOtpDevicesResponse`
|
|
1891
1757
|
"""
|
|
1892
|
-
return self.
|
|
1758
|
+
return self._batch_delete_otp_devices_with_http_info(request)
|
|
1893
1759
|
|
|
1894
|
-
def
|
|
1895
|
-
|
|
1896
|
-
local_var_params = {}
|
|
1897
|
-
for attr in request.attribute_map:
|
|
1898
|
-
if hasattr(request, attr):
|
|
1899
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1760
|
+
def _batch_delete_otp_devices_with_http_info(self, request):
|
|
1761
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1900
1762
|
|
|
1901
1763
|
cname = None
|
|
1902
1764
|
|
|
@@ -1951,14 +1813,10 @@ class WorkspaceClient(Client):
|
|
|
1951
1813
|
:type request: :class:`huaweicloudsdkworkspace.v2.ChangeUserStatusRequest`
|
|
1952
1814
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ChangeUserStatusResponse`
|
|
1953
1815
|
"""
|
|
1954
|
-
return self.
|
|
1816
|
+
return self._change_user_status_with_http_info(request)
|
|
1955
1817
|
|
|
1956
|
-
def
|
|
1957
|
-
|
|
1958
|
-
local_var_params = {}
|
|
1959
|
-
for attr in request.attribute_map:
|
|
1960
|
-
if hasattr(request, attr):
|
|
1961
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1818
|
+
def _change_user_status_with_http_info(self, request):
|
|
1819
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1962
1820
|
|
|
1963
1821
|
cname = None
|
|
1964
1822
|
|
|
@@ -2013,14 +1871,10 @@ class WorkspaceClient(Client):
|
|
|
2013
1871
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateDesktopUserRequest`
|
|
2014
1872
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateDesktopUserResponse`
|
|
2015
1873
|
"""
|
|
2016
|
-
return self.
|
|
1874
|
+
return self._create_desktop_user_with_http_info(request)
|
|
2017
1875
|
|
|
2018
|
-
def
|
|
2019
|
-
|
|
2020
|
-
local_var_params = {}
|
|
2021
|
-
for attr in request.attribute_map:
|
|
2022
|
-
if hasattr(request, attr):
|
|
2023
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1876
|
+
def _create_desktop_user_with_http_info(self, request):
|
|
1877
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2024
1878
|
|
|
2025
1879
|
cname = None
|
|
2026
1880
|
|
|
@@ -2073,14 +1927,10 @@ class WorkspaceClient(Client):
|
|
|
2073
1927
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteUserRequest`
|
|
2074
1928
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteUserResponse`
|
|
2075
1929
|
"""
|
|
2076
|
-
return self.
|
|
1930
|
+
return self._delete_user_with_http_info(request)
|
|
2077
1931
|
|
|
2078
|
-
def
|
|
2079
|
-
|
|
2080
|
-
local_var_params = {}
|
|
2081
|
-
for attr in request.attribute_map:
|
|
2082
|
-
if hasattr(request, attr):
|
|
2083
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1932
|
+
def _delete_user_with_http_info(self, request):
|
|
1933
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2084
1934
|
|
|
2085
1935
|
cname = None
|
|
2086
1936
|
|
|
@@ -2133,14 +1983,10 @@ class WorkspaceClient(Client):
|
|
|
2133
1983
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListOtpDevicesByUserIdRequest`
|
|
2134
1984
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListOtpDevicesByUserIdResponse`
|
|
2135
1985
|
"""
|
|
2136
|
-
return self.
|
|
1986
|
+
return self._list_otp_devices_by_user_id_with_http_info(request)
|
|
2137
1987
|
|
|
2138
|
-
def
|
|
2139
|
-
|
|
2140
|
-
local_var_params = {}
|
|
2141
|
-
for attr in request.attribute_map:
|
|
2142
|
-
if hasattr(request, attr):
|
|
2143
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1988
|
+
def _list_otp_devices_by_user_id_with_http_info(self, request):
|
|
1989
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2144
1990
|
|
|
2145
1991
|
cname = None
|
|
2146
1992
|
|
|
@@ -2193,14 +2039,10 @@ class WorkspaceClient(Client):
|
|
|
2193
2039
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListUserDetailRequest`
|
|
2194
2040
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListUserDetailResponse`
|
|
2195
2041
|
"""
|
|
2196
|
-
return self.
|
|
2042
|
+
return self._list_user_detail_with_http_info(request)
|
|
2197
2043
|
|
|
2198
|
-
def
|
|
2199
|
-
|
|
2200
|
-
local_var_params = {}
|
|
2201
|
-
for attr in request.attribute_map:
|
|
2202
|
-
if hasattr(request, attr):
|
|
2203
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2044
|
+
def _list_user_detail_with_http_info(self, request):
|
|
2045
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2204
2046
|
|
|
2205
2047
|
cname = None
|
|
2206
2048
|
|
|
@@ -2253,14 +2095,10 @@ class WorkspaceClient(Client):
|
|
|
2253
2095
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListUsersRequest`
|
|
2254
2096
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListUsersResponse`
|
|
2255
2097
|
"""
|
|
2256
|
-
return self.
|
|
2098
|
+
return self._list_users_with_http_info(request)
|
|
2257
2099
|
|
|
2258
|
-
def
|
|
2259
|
-
|
|
2260
|
-
local_var_params = {}
|
|
2261
|
-
for attr in request.attribute_map:
|
|
2262
|
-
if hasattr(request, attr):
|
|
2263
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2100
|
+
def _list_users_with_http_info(self, request):
|
|
2101
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2264
2102
|
|
|
2265
2103
|
cname = None
|
|
2266
2104
|
|
|
@@ -2319,14 +2157,10 @@ class WorkspaceClient(Client):
|
|
|
2319
2157
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateUserInfoRequest`
|
|
2320
2158
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateUserInfoResponse`
|
|
2321
2159
|
"""
|
|
2322
|
-
return self.
|
|
2160
|
+
return self._update_user_info_with_http_info(request)
|
|
2323
2161
|
|
|
2324
|
-
def
|
|
2325
|
-
|
|
2326
|
-
local_var_params = {}
|
|
2327
|
-
for attr in request.attribute_map:
|
|
2328
|
-
if hasattr(request, attr):
|
|
2329
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2162
|
+
def _update_user_info_with_http_info(self, request):
|
|
2163
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2330
2164
|
|
|
2331
2165
|
cname = None
|
|
2332
2166
|
|
|
@@ -2381,14 +2215,10 @@ class WorkspaceClient(Client):
|
|
|
2381
2215
|
:type request: :class:`huaweicloudsdkworkspace.v2.AddVolumesRequest`
|
|
2382
2216
|
:rtype: :class:`huaweicloudsdkworkspace.v2.AddVolumesResponse`
|
|
2383
2217
|
"""
|
|
2384
|
-
return self.
|
|
2218
|
+
return self._add_volumes_with_http_info(request)
|
|
2385
2219
|
|
|
2386
|
-
def
|
|
2387
|
-
|
|
2388
|
-
local_var_params = {}
|
|
2389
|
-
for attr in request.attribute_map:
|
|
2390
|
-
if hasattr(request, attr):
|
|
2391
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2220
|
+
def _add_volumes_with_http_info(self, request):
|
|
2221
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2392
2222
|
|
|
2393
2223
|
cname = None
|
|
2394
2224
|
|
|
@@ -2441,14 +2271,10 @@ class WorkspaceClient(Client):
|
|
|
2441
2271
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopVolumesRequest`
|
|
2442
2272
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopVolumesResponse`
|
|
2443
2273
|
"""
|
|
2444
|
-
return self.
|
|
2274
|
+
return self._delete_desktop_volumes_with_http_info(request)
|
|
2445
2275
|
|
|
2446
|
-
def
|
|
2447
|
-
|
|
2448
|
-
local_var_params = {}
|
|
2449
|
-
for attr in request.attribute_map:
|
|
2450
|
-
if hasattr(request, attr):
|
|
2451
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2276
|
+
def _delete_desktop_volumes_with_http_info(self, request):
|
|
2277
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2452
2278
|
|
|
2453
2279
|
cname = None
|
|
2454
2280
|
|
|
@@ -2503,14 +2329,10 @@ class WorkspaceClient(Client):
|
|
|
2503
2329
|
:type request: :class:`huaweicloudsdkworkspace.v2.ExpandVolumesRequest`
|
|
2504
2330
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ExpandVolumesResponse`
|
|
2505
2331
|
"""
|
|
2506
|
-
return self.
|
|
2332
|
+
return self._expand_volumes_with_http_info(request)
|
|
2507
2333
|
|
|
2508
|
-
def
|
|
2509
|
-
|
|
2510
|
-
local_var_params = {}
|
|
2511
|
-
for attr in request.attribute_map:
|
|
2512
|
-
if hasattr(request, attr):
|
|
2513
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2334
|
+
def _expand_volumes_with_http_info(self, request):
|
|
2335
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2514
2336
|
|
|
2515
2337
|
cname = None
|
|
2516
2338
|
|
|
@@ -2565,14 +2387,10 @@ class WorkspaceClient(Client):
|
|
|
2565
2387
|
:type request: :class:`huaweicloudsdkworkspace.v2.ApplyWorkspaceRequest`
|
|
2566
2388
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ApplyWorkspaceResponse`
|
|
2567
2389
|
"""
|
|
2568
|
-
return self.
|
|
2390
|
+
return self._apply_workspace_with_http_info(request)
|
|
2569
2391
|
|
|
2570
|
-
def
|
|
2571
|
-
|
|
2572
|
-
local_var_params = {}
|
|
2573
|
-
for attr in request.attribute_map:
|
|
2574
|
-
if hasattr(request, attr):
|
|
2575
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2392
|
+
def _apply_workspace_with_http_info(self, request):
|
|
2393
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2576
2394
|
|
|
2577
2395
|
cname = None
|
|
2578
2396
|
|
|
@@ -2625,14 +2443,10 @@ class WorkspaceClient(Client):
|
|
|
2625
2443
|
:type request: :class:`huaweicloudsdkworkspace.v2.CancelWorkspaceRequest`
|
|
2626
2444
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CancelWorkspaceResponse`
|
|
2627
2445
|
"""
|
|
2628
|
-
return self.
|
|
2446
|
+
return self._cancel_workspace_with_http_info(request)
|
|
2629
2447
|
|
|
2630
|
-
def
|
|
2631
|
-
|
|
2632
|
-
local_var_params = {}
|
|
2633
|
-
for attr in request.attribute_map:
|
|
2634
|
-
if hasattr(request, attr):
|
|
2635
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2448
|
+
def _cancel_workspace_with_http_info(self, request):
|
|
2449
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2636
2450
|
|
|
2637
2451
|
cname = None
|
|
2638
2452
|
|
|
@@ -2683,14 +2497,10 @@ class WorkspaceClient(Client):
|
|
|
2683
2497
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListWorkspacesRequest`
|
|
2684
2498
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListWorkspacesResponse`
|
|
2685
2499
|
"""
|
|
2686
|
-
return self.
|
|
2500
|
+
return self._list_workspaces_with_http_info(request)
|
|
2687
2501
|
|
|
2688
|
-
def
|
|
2689
|
-
|
|
2690
|
-
local_var_params = {}
|
|
2691
|
-
for attr in request.attribute_map:
|
|
2692
|
-
if hasattr(request, attr):
|
|
2693
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2502
|
+
def _list_workspaces_with_http_info(self, request):
|
|
2503
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2694
2504
|
|
|
2695
2505
|
cname = None
|
|
2696
2506
|
|
|
@@ -2741,14 +2551,10 @@ class WorkspaceClient(Client):
|
|
|
2741
2551
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowWorkspaceLockRequest`
|
|
2742
2552
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowWorkspaceLockResponse`
|
|
2743
2553
|
"""
|
|
2744
|
-
return self.
|
|
2554
|
+
return self._show_workspace_lock_with_http_info(request)
|
|
2745
2555
|
|
|
2746
|
-
def
|
|
2747
|
-
|
|
2748
|
-
local_var_params = {}
|
|
2749
|
-
for attr in request.attribute_map:
|
|
2750
|
-
if hasattr(request, attr):
|
|
2751
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2556
|
+
def _show_workspace_lock_with_http_info(self, request):
|
|
2557
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2752
2558
|
|
|
2753
2559
|
cname = None
|
|
2754
2560
|
|
|
@@ -2799,14 +2605,10 @@ class WorkspaceClient(Client):
|
|
|
2799
2605
|
:type request: :class:`huaweicloudsdkworkspace.v2.UnlockWorkspaceRequest`
|
|
2800
2606
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UnlockWorkspaceResponse`
|
|
2801
2607
|
"""
|
|
2802
|
-
return self.
|
|
2608
|
+
return self._unlock_workspace_with_http_info(request)
|
|
2803
2609
|
|
|
2804
|
-
def
|
|
2805
|
-
|
|
2806
|
-
local_var_params = {}
|
|
2807
|
-
for attr in request.attribute_map:
|
|
2808
|
-
if hasattr(request, attr):
|
|
2809
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2610
|
+
def _unlock_workspace_with_http_info(self, request):
|
|
2611
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2810
2612
|
|
|
2811
2613
|
cname = None
|
|
2812
2614
|
|
|
@@ -2859,14 +2661,10 @@ class WorkspaceClient(Client):
|
|
|
2859
2661
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateWorkspaceRequest`
|
|
2860
2662
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateWorkspaceResponse`
|
|
2861
2663
|
"""
|
|
2862
|
-
return self.
|
|
2863
|
-
|
|
2864
|
-
def
|
|
2865
|
-
|
|
2866
|
-
local_var_params = {}
|
|
2867
|
-
for attr in request.attribute_map:
|
|
2868
|
-
if hasattr(request, attr):
|
|
2869
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2664
|
+
return self._update_workspace_with_http_info(request)
|
|
2665
|
+
|
|
2666
|
+
def _update_workspace_with_http_info(self, request):
|
|
2667
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2870
2668
|
|
|
2871
2669
|
cname = None
|
|
2872
2670
|
|