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 WorkspaceAsyncClient(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(WorkspaceAsyncClient, 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):
|
|
@@ -54,14 +36,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
54
36
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchDeleteAccessPoliciesRequest`
|
|
55
37
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchDeleteAccessPoliciesResponse`
|
|
56
38
|
"""
|
|
57
|
-
return self.
|
|
39
|
+
return self._batch_delete_access_policies_with_http_info(request)
|
|
58
40
|
|
|
59
|
-
def
|
|
60
|
-
|
|
61
|
-
local_var_params = {}
|
|
62
|
-
for attr in request.attribute_map:
|
|
63
|
-
if hasattr(request, attr):
|
|
64
|
-
local_var_params[attr] = getattr(request, attr)
|
|
41
|
+
def _batch_delete_access_policies_with_http_info(self, request):
|
|
42
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
65
43
|
|
|
66
44
|
cname = None
|
|
67
45
|
|
|
@@ -115,14 +93,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
115
93
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateAccessPolicyRequest`
|
|
116
94
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateAccessPolicyResponse`
|
|
117
95
|
"""
|
|
118
|
-
return self.
|
|
96
|
+
return self._create_access_policy_with_http_info(request)
|
|
119
97
|
|
|
120
|
-
def
|
|
121
|
-
|
|
122
|
-
local_var_params = {}
|
|
123
|
-
for attr in request.attribute_map:
|
|
124
|
-
if hasattr(request, attr):
|
|
125
|
-
local_var_params[attr] = getattr(request, attr)
|
|
98
|
+
def _create_access_policy_with_http_info(self, request):
|
|
99
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
126
100
|
|
|
127
101
|
cname = None
|
|
128
102
|
|
|
@@ -176,14 +150,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
176
150
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListAccessPoliciesRequest`
|
|
177
151
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListAccessPoliciesResponse`
|
|
178
152
|
"""
|
|
179
|
-
return self.
|
|
153
|
+
return self._list_access_policies_with_http_info(request)
|
|
180
154
|
|
|
181
|
-
def
|
|
182
|
-
|
|
183
|
-
local_var_params = {}
|
|
184
|
-
for attr in request.attribute_map:
|
|
185
|
-
if hasattr(request, attr):
|
|
186
|
-
local_var_params[attr] = getattr(request, attr)
|
|
155
|
+
def _list_access_policies_with_http_info(self, request):
|
|
156
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
187
157
|
|
|
188
158
|
cname = None
|
|
189
159
|
|
|
@@ -239,14 +209,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
239
209
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListAccessPolicyObjectsRequest`
|
|
240
210
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListAccessPolicyObjectsResponse`
|
|
241
211
|
"""
|
|
242
|
-
return self.
|
|
212
|
+
return self._list_access_policy_objects_with_http_info(request)
|
|
243
213
|
|
|
244
|
-
def
|
|
245
|
-
|
|
246
|
-
local_var_params = {}
|
|
247
|
-
for attr in request.attribute_map:
|
|
248
|
-
if hasattr(request, attr):
|
|
249
|
-
local_var_params[attr] = getattr(request, attr)
|
|
214
|
+
def _list_access_policy_objects_with_http_info(self, request):
|
|
215
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
250
216
|
|
|
251
217
|
cname = None
|
|
252
218
|
|
|
@@ -304,14 +270,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
304
270
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateAccessPolicyObjectsRequest`
|
|
305
271
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateAccessPolicyObjectsResponse`
|
|
306
272
|
"""
|
|
307
|
-
return self.
|
|
273
|
+
return self._update_access_policy_objects_with_http_info(request)
|
|
308
274
|
|
|
309
|
-
def
|
|
310
|
-
|
|
311
|
-
local_var_params = {}
|
|
312
|
-
for attr in request.attribute_map:
|
|
313
|
-
if hasattr(request, attr):
|
|
314
|
-
local_var_params[attr] = getattr(request, attr)
|
|
275
|
+
def _update_access_policy_objects_with_http_info(self, request):
|
|
276
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
315
277
|
|
|
316
278
|
cname = None
|
|
317
279
|
|
|
@@ -367,14 +329,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
367
329
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowAssistAuthConfigRequest`
|
|
368
330
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowAssistAuthConfigResponse`
|
|
369
331
|
"""
|
|
370
|
-
return self.
|
|
332
|
+
return self._show_assist_auth_config_with_http_info(request)
|
|
371
333
|
|
|
372
|
-
def
|
|
373
|
-
|
|
374
|
-
local_var_params = {}
|
|
375
|
-
for attr in request.attribute_map:
|
|
376
|
-
if hasattr(request, attr):
|
|
377
|
-
local_var_params[attr] = getattr(request, attr)
|
|
334
|
+
def _show_assist_auth_config_with_http_info(self, request):
|
|
335
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
378
336
|
|
|
379
337
|
cname = None
|
|
380
338
|
|
|
@@ -426,14 +384,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
426
384
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateAssistAuthMethodConfigRequest`
|
|
427
385
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateAssistAuthMethodConfigResponse`
|
|
428
386
|
"""
|
|
429
|
-
return self.
|
|
387
|
+
return self._update_assist_auth_method_config_with_http_info(request)
|
|
430
388
|
|
|
431
|
-
def
|
|
432
|
-
|
|
433
|
-
local_var_params = {}
|
|
434
|
-
for attr in request.attribute_map:
|
|
435
|
-
if hasattr(request, attr):
|
|
436
|
-
local_var_params[attr] = getattr(request, attr)
|
|
389
|
+
def _update_assist_auth_method_config_with_http_info(self, request):
|
|
390
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
437
391
|
|
|
438
392
|
cname = None
|
|
439
393
|
|
|
@@ -487,14 +441,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
487
441
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListAvailabilityZonesRequest`
|
|
488
442
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListAvailabilityZonesResponse`
|
|
489
443
|
"""
|
|
490
|
-
return self.
|
|
444
|
+
return self._list_availability_zones_with_http_info(request)
|
|
491
445
|
|
|
492
|
-
def
|
|
493
|
-
|
|
494
|
-
local_var_params = {}
|
|
495
|
-
for attr in request.attribute_map:
|
|
496
|
-
if hasattr(request, attr):
|
|
497
|
-
local_var_params[attr] = getattr(request, attr)
|
|
446
|
+
def _list_availability_zones_with_http_info(self, request):
|
|
447
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
498
448
|
|
|
499
449
|
cname = None
|
|
500
450
|
|
|
@@ -546,14 +496,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
546
496
|
:type request: :class:`huaweicloudsdkworkspace.v2.ExportUserLoginInfoNewRequest`
|
|
547
497
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ExportUserLoginInfoNewResponse`
|
|
548
498
|
"""
|
|
549
|
-
return self.
|
|
499
|
+
return self._export_user_login_info_new_with_http_info(request)
|
|
550
500
|
|
|
551
|
-
def
|
|
552
|
-
|
|
553
|
-
local_var_params = {}
|
|
554
|
-
for attr in request.attribute_map:
|
|
555
|
-
if hasattr(request, attr):
|
|
556
|
-
local_var_params[attr] = getattr(request, attr)
|
|
501
|
+
def _export_user_login_info_new_with_http_info(self, request):
|
|
502
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
557
503
|
|
|
558
504
|
cname = None
|
|
559
505
|
|
|
@@ -617,14 +563,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
617
563
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListHistoryOnlineInfoNewRequest`
|
|
618
564
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListHistoryOnlineInfoNewResponse`
|
|
619
565
|
"""
|
|
620
|
-
return self.
|
|
566
|
+
return self._list_history_online_info_new_with_http_info(request)
|
|
621
567
|
|
|
622
|
-
def
|
|
623
|
-
|
|
624
|
-
local_var_params = {}
|
|
625
|
-
for attr in request.attribute_map:
|
|
626
|
-
if hasattr(request, attr):
|
|
627
|
-
local_var_params[attr] = getattr(request, attr)
|
|
568
|
+
def _list_history_online_info_new_with_http_info(self, request):
|
|
569
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
628
570
|
|
|
629
571
|
cname = None
|
|
630
572
|
|
|
@@ -682,14 +624,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
682
624
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListLoginRecordsNewRequest`
|
|
683
625
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListLoginRecordsNewResponse`
|
|
684
626
|
"""
|
|
685
|
-
return self.
|
|
627
|
+
return self._list_login_records_new_with_http_info(request)
|
|
686
628
|
|
|
687
|
-
def
|
|
688
|
-
|
|
689
|
-
local_var_params = {}
|
|
690
|
-
for attr in request.attribute_map:
|
|
691
|
-
if hasattr(request, attr):
|
|
692
|
-
local_var_params[attr] = getattr(request, attr)
|
|
629
|
+
def _list_login_records_new_with_http_info(self, request):
|
|
630
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
693
631
|
|
|
694
632
|
cname = None
|
|
695
633
|
|
|
@@ -755,14 +693,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
755
693
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchDeleteDesktopsRequest`
|
|
756
694
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchDeleteDesktopsResponse`
|
|
757
695
|
"""
|
|
758
|
-
return self.
|
|
696
|
+
return self._batch_delete_desktops_with_http_info(request)
|
|
759
697
|
|
|
760
|
-
def
|
|
761
|
-
|
|
762
|
-
local_var_params = {}
|
|
763
|
-
for attr in request.attribute_map:
|
|
764
|
-
if hasattr(request, attr):
|
|
765
|
-
local_var_params[attr] = getattr(request, attr)
|
|
698
|
+
def _batch_delete_desktops_with_http_info(self, request):
|
|
699
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
766
700
|
|
|
767
701
|
cname = None
|
|
768
702
|
|
|
@@ -816,14 +750,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
816
750
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchRunDesktopsRequest`
|
|
817
751
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchRunDesktopsResponse`
|
|
818
752
|
"""
|
|
819
|
-
return self.
|
|
753
|
+
return self._batch_run_desktops_with_http_info(request)
|
|
820
754
|
|
|
821
|
-
def
|
|
822
|
-
|
|
823
|
-
local_var_params = {}
|
|
824
|
-
for attr in request.attribute_map:
|
|
825
|
-
if hasattr(request, attr):
|
|
826
|
-
local_var_params[attr] = getattr(request, attr)
|
|
755
|
+
def _batch_run_desktops_with_http_info(self, request):
|
|
756
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
827
757
|
|
|
828
758
|
cname = None
|
|
829
759
|
|
|
@@ -877,14 +807,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
877
807
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateDesktopRequest`
|
|
878
808
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateDesktopResponse`
|
|
879
809
|
"""
|
|
880
|
-
return self.
|
|
810
|
+
return self._create_desktop_with_http_info(request)
|
|
881
811
|
|
|
882
|
-
def
|
|
883
|
-
|
|
884
|
-
local_var_params = {}
|
|
885
|
-
for attr in request.attribute_map:
|
|
886
|
-
if hasattr(request, attr):
|
|
887
|
-
local_var_params[attr] = getattr(request, attr)
|
|
812
|
+
def _create_desktop_with_http_info(self, request):
|
|
813
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
888
814
|
|
|
889
815
|
cname = None
|
|
890
816
|
|
|
@@ -938,14 +864,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
938
864
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopRequest`
|
|
939
865
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopResponse`
|
|
940
866
|
"""
|
|
941
|
-
return self.
|
|
867
|
+
return self._delete_desktop_with_http_info(request)
|
|
942
868
|
|
|
943
|
-
def
|
|
944
|
-
|
|
945
|
-
local_var_params = {}
|
|
946
|
-
for attr in request.attribute_map:
|
|
947
|
-
if hasattr(request, attr):
|
|
948
|
-
local_var_params[attr] = getattr(request, attr)
|
|
869
|
+
def _delete_desktop_with_http_info(self, request):
|
|
870
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
949
871
|
|
|
950
872
|
cname = None
|
|
951
873
|
|
|
@@ -1003,14 +925,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1003
925
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListDesktopsRequest`
|
|
1004
926
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListDesktopsResponse`
|
|
1005
927
|
"""
|
|
1006
|
-
return self.
|
|
928
|
+
return self._list_desktops_with_http_info(request)
|
|
1007
929
|
|
|
1008
|
-
def
|
|
1009
|
-
|
|
1010
|
-
local_var_params = {}
|
|
1011
|
-
for attr in request.attribute_map:
|
|
1012
|
-
if hasattr(request, attr):
|
|
1013
|
-
local_var_params[attr] = getattr(request, attr)
|
|
930
|
+
def _list_desktops_with_http_info(self, request):
|
|
931
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1014
932
|
|
|
1015
933
|
cname = None
|
|
1016
934
|
|
|
@@ -1072,14 +990,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1072
990
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListDesktopsDetailRequest`
|
|
1073
991
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListDesktopsDetailResponse`
|
|
1074
992
|
"""
|
|
1075
|
-
return self.
|
|
993
|
+
return self._list_desktops_detail_with_http_info(request)
|
|
1076
994
|
|
|
1077
|
-
def
|
|
1078
|
-
|
|
1079
|
-
local_var_params = {}
|
|
1080
|
-
for attr in request.attribute_map:
|
|
1081
|
-
if hasattr(request, attr):
|
|
1082
|
-
local_var_params[attr] = getattr(request, attr)
|
|
995
|
+
def _list_desktops_detail_with_http_info(self, request):
|
|
996
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1083
997
|
|
|
1084
998
|
cname = None
|
|
1085
999
|
|
|
@@ -1149,14 +1063,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1149
1063
|
:type request: :class:`huaweicloudsdkworkspace.v2.ResizeDesktopRequest`
|
|
1150
1064
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ResizeDesktopResponse`
|
|
1151
1065
|
"""
|
|
1152
|
-
return self.
|
|
1066
|
+
return self._resize_desktop_with_http_info(request)
|
|
1153
1067
|
|
|
1154
|
-
def
|
|
1155
|
-
|
|
1156
|
-
local_var_params = {}
|
|
1157
|
-
for attr in request.attribute_map:
|
|
1158
|
-
if hasattr(request, attr):
|
|
1159
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1068
|
+
def _resize_desktop_with_http_info(self, request):
|
|
1069
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1160
1070
|
|
|
1161
1071
|
cname = None
|
|
1162
1072
|
|
|
@@ -1210,14 +1120,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1210
1120
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowDesktopDetailRequest`
|
|
1211
1121
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowDesktopDetailResponse`
|
|
1212
1122
|
"""
|
|
1213
|
-
return self.
|
|
1123
|
+
return self._show_desktop_detail_with_http_info(request)
|
|
1214
1124
|
|
|
1215
|
-
def
|
|
1216
|
-
|
|
1217
|
-
local_var_params = {}
|
|
1218
|
-
for attr in request.attribute_map:
|
|
1219
|
-
if hasattr(request, attr):
|
|
1220
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1125
|
+
def _show_desktop_detail_with_http_info(self, request):
|
|
1126
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1221
1127
|
|
|
1222
1128
|
cname = None
|
|
1223
1129
|
|
|
@@ -1271,14 +1177,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1271
1177
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListImagesRequest`
|
|
1272
1178
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListImagesResponse`
|
|
1273
1179
|
"""
|
|
1274
|
-
return self.
|
|
1180
|
+
return self._list_images_with_http_info(request)
|
|
1275
1181
|
|
|
1276
|
-
def
|
|
1277
|
-
|
|
1278
|
-
local_var_params = {}
|
|
1279
|
-
for attr in request.attribute_map:
|
|
1280
|
-
if hasattr(request, attr):
|
|
1281
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1182
|
+
def _list_images_with_http_info(self, request):
|
|
1183
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1282
1184
|
|
|
1283
1185
|
cname = None
|
|
1284
1186
|
|
|
@@ -1344,14 +1246,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1344
1246
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListItaSubJobsRequest`
|
|
1345
1247
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListItaSubJobsResponse`
|
|
1346
1248
|
"""
|
|
1347
|
-
return self.
|
|
1249
|
+
return self._list_ita_sub_jobs_with_http_info(request)
|
|
1348
1250
|
|
|
1349
|
-
def
|
|
1350
|
-
|
|
1351
|
-
local_var_params = {}
|
|
1352
|
-
for attr in request.attribute_map:
|
|
1353
|
-
if hasattr(request, attr):
|
|
1354
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1251
|
+
def _list_ita_sub_jobs_with_http_info(self, request):
|
|
1252
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1355
1253
|
|
|
1356
1254
|
cname = None
|
|
1357
1255
|
|
|
@@ -1413,14 +1311,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1413
1311
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListProductsRequest`
|
|
1414
1312
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListProductsResponse`
|
|
1415
1313
|
"""
|
|
1416
|
-
return self.
|
|
1314
|
+
return self._list_products_with_http_info(request)
|
|
1417
1315
|
|
|
1418
|
-
def
|
|
1419
|
-
|
|
1420
|
-
local_var_params = {}
|
|
1421
|
-
for attr in request.attribute_map:
|
|
1422
|
-
if hasattr(request, attr):
|
|
1423
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1316
|
+
def _list_products_with_http_info(self, request):
|
|
1317
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1424
1318
|
|
|
1425
1319
|
cname = None
|
|
1426
1320
|
|
|
@@ -1488,14 +1382,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1488
1382
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowQuotasRequest`
|
|
1489
1383
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowQuotasResponse`
|
|
1490
1384
|
"""
|
|
1491
|
-
return self.
|
|
1385
|
+
return self._show_quotas_with_http_info(request)
|
|
1492
1386
|
|
|
1493
|
-
def
|
|
1494
|
-
|
|
1495
|
-
local_var_params = {}
|
|
1496
|
-
for attr in request.attribute_map:
|
|
1497
|
-
if hasattr(request, attr):
|
|
1498
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1387
|
+
def _show_quotas_with_http_info(self, request):
|
|
1388
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1499
1389
|
|
|
1500
1390
|
cname = None
|
|
1501
1391
|
|
|
@@ -1547,14 +1437,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1547
1437
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateTerminalsBindingDesktopsRequest`
|
|
1548
1438
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateTerminalsBindingDesktopsResponse`
|
|
1549
1439
|
"""
|
|
1550
|
-
return self.
|
|
1440
|
+
return self._create_terminals_binding_desktops_with_http_info(request)
|
|
1551
1441
|
|
|
1552
|
-
def
|
|
1553
|
-
|
|
1554
|
-
local_var_params = {}
|
|
1555
|
-
for attr in request.attribute_map:
|
|
1556
|
-
if hasattr(request, attr):
|
|
1557
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1442
|
+
def _create_terminals_binding_desktops_with_http_info(self, request):
|
|
1443
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1558
1444
|
|
|
1559
1445
|
cname = None
|
|
1560
1446
|
|
|
@@ -1608,14 +1494,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1608
1494
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteTerminalsBindingDesktopsRequest`
|
|
1609
1495
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteTerminalsBindingDesktopsResponse`
|
|
1610
1496
|
"""
|
|
1611
|
-
return self.
|
|
1497
|
+
return self._delete_terminals_binding_desktops_with_http_info(request)
|
|
1612
1498
|
|
|
1613
|
-
def
|
|
1614
|
-
|
|
1615
|
-
local_var_params = {}
|
|
1616
|
-
for attr in request.attribute_map:
|
|
1617
|
-
if hasattr(request, attr):
|
|
1618
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1499
|
+
def _delete_terminals_binding_desktops_with_http_info(self, request):
|
|
1500
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1619
1501
|
|
|
1620
1502
|
cname = None
|
|
1621
1503
|
|
|
@@ -1669,14 +1551,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1669
1551
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsRequest`
|
|
1670
1552
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsResponse`
|
|
1671
1553
|
"""
|
|
1672
|
-
return self.
|
|
1554
|
+
return self._list_terminals_binding_desktops_with_http_info(request)
|
|
1673
1555
|
|
|
1674
|
-
def
|
|
1675
|
-
|
|
1676
|
-
local_var_params = {}
|
|
1677
|
-
for attr in request.attribute_map:
|
|
1678
|
-
if hasattr(request, attr):
|
|
1679
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1556
|
+
def _list_terminals_binding_desktops_with_http_info(self, request):
|
|
1557
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1680
1558
|
|
|
1681
1559
|
cname = None
|
|
1682
1560
|
|
|
@@ -1738,14 +1616,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1738
1616
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsConfigRequest`
|
|
1739
1617
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListTerminalsBindingDesktopsConfigResponse`
|
|
1740
1618
|
"""
|
|
1741
|
-
return self.
|
|
1619
|
+
return self._list_terminals_binding_desktops_config_with_http_info(request)
|
|
1742
1620
|
|
|
1743
|
-
def
|
|
1744
|
-
|
|
1745
|
-
local_var_params = {}
|
|
1746
|
-
for attr in request.attribute_map:
|
|
1747
|
-
if hasattr(request, attr):
|
|
1748
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1621
|
+
def _list_terminals_binding_desktops_config_with_http_info(self, request):
|
|
1622
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1749
1623
|
|
|
1750
1624
|
cname = None
|
|
1751
1625
|
|
|
@@ -1797,14 +1671,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1797
1671
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsRequest`
|
|
1798
1672
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsResponse`
|
|
1799
1673
|
"""
|
|
1800
|
-
return self.
|
|
1674
|
+
return self._update_terminals_binding_desktops_with_http_info(request)
|
|
1801
1675
|
|
|
1802
|
-
def
|
|
1803
|
-
|
|
1804
|
-
local_var_params = {}
|
|
1805
|
-
for attr in request.attribute_map:
|
|
1806
|
-
if hasattr(request, attr):
|
|
1807
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1676
|
+
def _update_terminals_binding_desktops_with_http_info(self, request):
|
|
1677
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1808
1678
|
|
|
1809
1679
|
cname = None
|
|
1810
1680
|
|
|
@@ -1858,14 +1728,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1858
1728
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsConfigRequest`
|
|
1859
1729
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateTerminalsBindingDesktopsConfigResponse`
|
|
1860
1730
|
"""
|
|
1861
|
-
return self.
|
|
1731
|
+
return self._update_terminals_binding_desktops_config_with_http_info(request)
|
|
1862
1732
|
|
|
1863
|
-
def
|
|
1864
|
-
|
|
1865
|
-
local_var_params = {}
|
|
1866
|
-
for attr in request.attribute_map:
|
|
1867
|
-
if hasattr(request, attr):
|
|
1868
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1733
|
+
def _update_terminals_binding_desktops_config_with_http_info(self, request):
|
|
1734
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1869
1735
|
|
|
1870
1736
|
cname = None
|
|
1871
1737
|
|
|
@@ -1919,14 +1785,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1919
1785
|
:type request: :class:`huaweicloudsdkworkspace.v2.BatchDeleteOtpDevicesRequest`
|
|
1920
1786
|
:rtype: :class:`huaweicloudsdkworkspace.v2.BatchDeleteOtpDevicesResponse`
|
|
1921
1787
|
"""
|
|
1922
|
-
return self.
|
|
1788
|
+
return self._batch_delete_otp_devices_with_http_info(request)
|
|
1923
1789
|
|
|
1924
|
-
def
|
|
1925
|
-
|
|
1926
|
-
local_var_params = {}
|
|
1927
|
-
for attr in request.attribute_map:
|
|
1928
|
-
if hasattr(request, attr):
|
|
1929
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1790
|
+
def _batch_delete_otp_devices_with_http_info(self, request):
|
|
1791
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1930
1792
|
|
|
1931
1793
|
cname = None
|
|
1932
1794
|
|
|
@@ -1982,14 +1844,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
1982
1844
|
:type request: :class:`huaweicloudsdkworkspace.v2.ChangeUserStatusRequest`
|
|
1983
1845
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ChangeUserStatusResponse`
|
|
1984
1846
|
"""
|
|
1985
|
-
return self.
|
|
1847
|
+
return self._change_user_status_with_http_info(request)
|
|
1986
1848
|
|
|
1987
|
-
def
|
|
1988
|
-
|
|
1989
|
-
local_var_params = {}
|
|
1990
|
-
for attr in request.attribute_map:
|
|
1991
|
-
if hasattr(request, attr):
|
|
1992
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1849
|
+
def _change_user_status_with_http_info(self, request):
|
|
1850
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
1993
1851
|
|
|
1994
1852
|
cname = None
|
|
1995
1853
|
|
|
@@ -2045,14 +1903,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2045
1903
|
:type request: :class:`huaweicloudsdkworkspace.v2.CreateDesktopUserRequest`
|
|
2046
1904
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CreateDesktopUserResponse`
|
|
2047
1905
|
"""
|
|
2048
|
-
return self.
|
|
1906
|
+
return self._create_desktop_user_with_http_info(request)
|
|
2049
1907
|
|
|
2050
|
-
def
|
|
2051
|
-
|
|
2052
|
-
local_var_params = {}
|
|
2053
|
-
for attr in request.attribute_map:
|
|
2054
|
-
if hasattr(request, attr):
|
|
2055
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1908
|
+
def _create_desktop_user_with_http_info(self, request):
|
|
1909
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2056
1910
|
|
|
2057
1911
|
cname = None
|
|
2058
1912
|
|
|
@@ -2106,14 +1960,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2106
1960
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteUserRequest`
|
|
2107
1961
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteUserResponse`
|
|
2108
1962
|
"""
|
|
2109
|
-
return self.
|
|
1963
|
+
return self._delete_user_with_http_info(request)
|
|
2110
1964
|
|
|
2111
|
-
def
|
|
2112
|
-
|
|
2113
|
-
local_var_params = {}
|
|
2114
|
-
for attr in request.attribute_map:
|
|
2115
|
-
if hasattr(request, attr):
|
|
2116
|
-
local_var_params[attr] = getattr(request, attr)
|
|
1965
|
+
def _delete_user_with_http_info(self, request):
|
|
1966
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2117
1967
|
|
|
2118
1968
|
cname = None
|
|
2119
1969
|
|
|
@@ -2167,14 +2017,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2167
2017
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListOtpDevicesByUserIdRequest`
|
|
2168
2018
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListOtpDevicesByUserIdResponse`
|
|
2169
2019
|
"""
|
|
2170
|
-
return self.
|
|
2020
|
+
return self._list_otp_devices_by_user_id_with_http_info(request)
|
|
2171
2021
|
|
|
2172
|
-
def
|
|
2173
|
-
|
|
2174
|
-
local_var_params = {}
|
|
2175
|
-
for attr in request.attribute_map:
|
|
2176
|
-
if hasattr(request, attr):
|
|
2177
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2022
|
+
def _list_otp_devices_by_user_id_with_http_info(self, request):
|
|
2023
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2178
2024
|
|
|
2179
2025
|
cname = None
|
|
2180
2026
|
|
|
@@ -2228,14 +2074,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2228
2074
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListUserDetailRequest`
|
|
2229
2075
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListUserDetailResponse`
|
|
2230
2076
|
"""
|
|
2231
|
-
return self.
|
|
2077
|
+
return self._list_user_detail_with_http_info(request)
|
|
2232
2078
|
|
|
2233
|
-
def
|
|
2234
|
-
|
|
2235
|
-
local_var_params = {}
|
|
2236
|
-
for attr in request.attribute_map:
|
|
2237
|
-
if hasattr(request, attr):
|
|
2238
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2079
|
+
def _list_user_detail_with_http_info(self, request):
|
|
2080
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2239
2081
|
|
|
2240
2082
|
cname = None
|
|
2241
2083
|
|
|
@@ -2289,14 +2131,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2289
2131
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListUsersRequest`
|
|
2290
2132
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListUsersResponse`
|
|
2291
2133
|
"""
|
|
2292
|
-
return self.
|
|
2134
|
+
return self._list_users_with_http_info(request)
|
|
2293
2135
|
|
|
2294
|
-
def
|
|
2295
|
-
|
|
2296
|
-
local_var_params = {}
|
|
2297
|
-
for attr in request.attribute_map:
|
|
2298
|
-
if hasattr(request, attr):
|
|
2299
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2136
|
+
def _list_users_with_http_info(self, request):
|
|
2137
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2300
2138
|
|
|
2301
2139
|
cname = None
|
|
2302
2140
|
|
|
@@ -2356,14 +2194,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2356
2194
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateUserInfoRequest`
|
|
2357
2195
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateUserInfoResponse`
|
|
2358
2196
|
"""
|
|
2359
|
-
return self.
|
|
2197
|
+
return self._update_user_info_with_http_info(request)
|
|
2360
2198
|
|
|
2361
|
-
def
|
|
2362
|
-
|
|
2363
|
-
local_var_params = {}
|
|
2364
|
-
for attr in request.attribute_map:
|
|
2365
|
-
if hasattr(request, attr):
|
|
2366
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2199
|
+
def _update_user_info_with_http_info(self, request):
|
|
2200
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2367
2201
|
|
|
2368
2202
|
cname = None
|
|
2369
2203
|
|
|
@@ -2419,14 +2253,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2419
2253
|
:type request: :class:`huaweicloudsdkworkspace.v2.AddVolumesRequest`
|
|
2420
2254
|
:rtype: :class:`huaweicloudsdkworkspace.v2.AddVolumesResponse`
|
|
2421
2255
|
"""
|
|
2422
|
-
return self.
|
|
2256
|
+
return self._add_volumes_with_http_info(request)
|
|
2423
2257
|
|
|
2424
|
-
def
|
|
2425
|
-
|
|
2426
|
-
local_var_params = {}
|
|
2427
|
-
for attr in request.attribute_map:
|
|
2428
|
-
if hasattr(request, attr):
|
|
2429
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2258
|
+
def _add_volumes_with_http_info(self, request):
|
|
2259
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2430
2260
|
|
|
2431
2261
|
cname = None
|
|
2432
2262
|
|
|
@@ -2480,14 +2310,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2480
2310
|
:type request: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopVolumesRequest`
|
|
2481
2311
|
:rtype: :class:`huaweicloudsdkworkspace.v2.DeleteDesktopVolumesResponse`
|
|
2482
2312
|
"""
|
|
2483
|
-
return self.
|
|
2313
|
+
return self._delete_desktop_volumes_with_http_info(request)
|
|
2484
2314
|
|
|
2485
|
-
def
|
|
2486
|
-
|
|
2487
|
-
local_var_params = {}
|
|
2488
|
-
for attr in request.attribute_map:
|
|
2489
|
-
if hasattr(request, attr):
|
|
2490
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2315
|
+
def _delete_desktop_volumes_with_http_info(self, request):
|
|
2316
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2491
2317
|
|
|
2492
2318
|
cname = None
|
|
2493
2319
|
|
|
@@ -2543,14 +2369,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2543
2369
|
:type request: :class:`huaweicloudsdkworkspace.v2.ExpandVolumesRequest`
|
|
2544
2370
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ExpandVolumesResponse`
|
|
2545
2371
|
"""
|
|
2546
|
-
return self.
|
|
2372
|
+
return self._expand_volumes_with_http_info(request)
|
|
2547
2373
|
|
|
2548
|
-
def
|
|
2549
|
-
|
|
2550
|
-
local_var_params = {}
|
|
2551
|
-
for attr in request.attribute_map:
|
|
2552
|
-
if hasattr(request, attr):
|
|
2553
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2374
|
+
def _expand_volumes_with_http_info(self, request):
|
|
2375
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2554
2376
|
|
|
2555
2377
|
cname = None
|
|
2556
2378
|
|
|
@@ -2606,14 +2428,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2606
2428
|
:type request: :class:`huaweicloudsdkworkspace.v2.ApplyWorkspaceRequest`
|
|
2607
2429
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ApplyWorkspaceResponse`
|
|
2608
2430
|
"""
|
|
2609
|
-
return self.
|
|
2431
|
+
return self._apply_workspace_with_http_info(request)
|
|
2610
2432
|
|
|
2611
|
-
def
|
|
2612
|
-
|
|
2613
|
-
local_var_params = {}
|
|
2614
|
-
for attr in request.attribute_map:
|
|
2615
|
-
if hasattr(request, attr):
|
|
2616
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2433
|
+
def _apply_workspace_with_http_info(self, request):
|
|
2434
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2617
2435
|
|
|
2618
2436
|
cname = None
|
|
2619
2437
|
|
|
@@ -2667,14 +2485,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2667
2485
|
:type request: :class:`huaweicloudsdkworkspace.v2.CancelWorkspaceRequest`
|
|
2668
2486
|
:rtype: :class:`huaweicloudsdkworkspace.v2.CancelWorkspaceResponse`
|
|
2669
2487
|
"""
|
|
2670
|
-
return self.
|
|
2488
|
+
return self._cancel_workspace_with_http_info(request)
|
|
2671
2489
|
|
|
2672
|
-
def
|
|
2673
|
-
|
|
2674
|
-
local_var_params = {}
|
|
2675
|
-
for attr in request.attribute_map:
|
|
2676
|
-
if hasattr(request, attr):
|
|
2677
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2490
|
+
def _cancel_workspace_with_http_info(self, request):
|
|
2491
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2678
2492
|
|
|
2679
2493
|
cname = None
|
|
2680
2494
|
|
|
@@ -2726,14 +2540,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2726
2540
|
:type request: :class:`huaweicloudsdkworkspace.v2.ListWorkspacesRequest`
|
|
2727
2541
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ListWorkspacesResponse`
|
|
2728
2542
|
"""
|
|
2729
|
-
return self.
|
|
2543
|
+
return self._list_workspaces_with_http_info(request)
|
|
2730
2544
|
|
|
2731
|
-
def
|
|
2732
|
-
|
|
2733
|
-
local_var_params = {}
|
|
2734
|
-
for attr in request.attribute_map:
|
|
2735
|
-
if hasattr(request, attr):
|
|
2736
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2545
|
+
def _list_workspaces_with_http_info(self, request):
|
|
2546
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2737
2547
|
|
|
2738
2548
|
cname = None
|
|
2739
2549
|
|
|
@@ -2785,14 +2595,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2785
2595
|
:type request: :class:`huaweicloudsdkworkspace.v2.ShowWorkspaceLockRequest`
|
|
2786
2596
|
:rtype: :class:`huaweicloudsdkworkspace.v2.ShowWorkspaceLockResponse`
|
|
2787
2597
|
"""
|
|
2788
|
-
return self.
|
|
2598
|
+
return self._show_workspace_lock_with_http_info(request)
|
|
2789
2599
|
|
|
2790
|
-
def
|
|
2791
|
-
|
|
2792
|
-
local_var_params = {}
|
|
2793
|
-
for attr in request.attribute_map:
|
|
2794
|
-
if hasattr(request, attr):
|
|
2795
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2600
|
+
def _show_workspace_lock_with_http_info(self, request):
|
|
2601
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2796
2602
|
|
|
2797
2603
|
cname = None
|
|
2798
2604
|
|
|
@@ -2844,14 +2650,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2844
2650
|
:type request: :class:`huaweicloudsdkworkspace.v2.UnlockWorkspaceRequest`
|
|
2845
2651
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UnlockWorkspaceResponse`
|
|
2846
2652
|
"""
|
|
2847
|
-
return self.
|
|
2653
|
+
return self._unlock_workspace_with_http_info(request)
|
|
2848
2654
|
|
|
2849
|
-
def
|
|
2850
|
-
|
|
2851
|
-
local_var_params = {}
|
|
2852
|
-
for attr in request.attribute_map:
|
|
2853
|
-
if hasattr(request, attr):
|
|
2854
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2655
|
+
def _unlock_workspace_with_http_info(self, request):
|
|
2656
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2855
2657
|
|
|
2856
2658
|
cname = None
|
|
2857
2659
|
|
|
@@ -2905,14 +2707,10 @@ class WorkspaceAsyncClient(Client):
|
|
|
2905
2707
|
:type request: :class:`huaweicloudsdkworkspace.v2.UpdateWorkspaceRequest`
|
|
2906
2708
|
:rtype: :class:`huaweicloudsdkworkspace.v2.UpdateWorkspaceResponse`
|
|
2907
2709
|
"""
|
|
2908
|
-
return self.
|
|
2909
|
-
|
|
2910
|
-
def
|
|
2911
|
-
|
|
2912
|
-
local_var_params = {}
|
|
2913
|
-
for attr in request.attribute_map:
|
|
2914
|
-
if hasattr(request, attr):
|
|
2915
|
-
local_var_params[attr] = getattr(request, attr)
|
|
2710
|
+
return self._update_workspace_with_http_info(request)
|
|
2711
|
+
|
|
2712
|
+
def _update_workspace_with_http_info(self, request):
|
|
2713
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
2916
2714
|
|
|
2917
2715
|
cname = None
|
|
2918
2716
|
|