alibabacloud-ecd20201002 1.1.2__tar.gz → 1.1.4__tar.gz

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.
Files changed (20) hide show
  1. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/ChangeLog.md +10 -0
  2. alibabacloud_ecd20201002-1.1.4/PKG-INFO +65 -0
  3. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/README-CN.md +1 -1
  4. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/README.md +1 -1
  5. alibabacloud_ecd20201002-1.1.4/alibabacloud_ecd20201002/__init__.py +1 -0
  6. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/alibabacloud_ecd20201002/client.py +8 -0
  7. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/alibabacloud_ecd20201002/models.py +123 -13
  8. alibabacloud_ecd20201002-1.1.4/alibabacloud_ecd20201002.egg-info/PKG-INFO +65 -0
  9. alibabacloud_ecd20201002-1.1.4/alibabacloud_ecd20201002.egg-info/requires.txt +4 -0
  10. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/setup.py +4 -4
  11. alibabacloud_ecd20201002-1.1.2/PKG-INFO +0 -64
  12. alibabacloud_ecd20201002-1.1.2/alibabacloud_ecd20201002/__init__.py +0 -1
  13. alibabacloud_ecd20201002-1.1.2/alibabacloud_ecd20201002.egg-info/PKG-INFO +0 -64
  14. alibabacloud_ecd20201002-1.1.2/alibabacloud_ecd20201002.egg-info/requires.txt +0 -4
  15. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/LICENSE +0 -0
  16. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/MANIFEST.in +0 -0
  17. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/alibabacloud_ecd20201002.egg-info/SOURCES.txt +0 -0
  18. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/alibabacloud_ecd20201002.egg-info/dependency_links.txt +0 -0
  19. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/alibabacloud_ecd20201002.egg-info/top_level.txt +0 -0
  20. {alibabacloud_ecd20201002-1.1.2 → alibabacloud_ecd20201002-1.1.4}/setup.cfg +0 -0
@@ -1,3 +1,13 @@
1
+ 2024-08-13 Version: 1.1.3
2
+ - Update API DescribeGlobalDesktops: update response param.
3
+ - Update API StartRecordContent: update response param.
4
+ - Update API StopRecordContent: update response param.
5
+
6
+
7
+ 2024-06-04 Version: 1.1.2
8
+ - Update API GetLoginToken: update response param.
9
+
10
+
1
11
  2024-04-25 Version: 1.1.1
2
12
  - Update API GetLoginToken: update response param.
3
13
  - Update API RebootDesktops: add param Uuid.
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.1
2
+ Name: alibabacloud_ecd20201002
3
+ Version: 1.1.4
4
+ Summary: Alibaba Cloud ecd (20201002) SDK Library for Python
5
+ Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
+ Author: Alibaba Cloud SDK
7
+ Author-email: sdk-team@alibabacloud.com
8
+ License: Apache License 2.0
9
+ Keywords: alibabacloud,ecd20201002
10
+ Platform: any
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Topic :: Software Development
21
+ Requires-Python: >=3.6
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+
25
+ English | [简体中文](README-CN.md)
26
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
27
+
28
+ ## Alibaba Cloud ecd SDK for Python
29
+
30
+ ## Requirements
31
+
32
+ - Python >= 3.7
33
+
34
+ ## Installation
35
+
36
+ - **Install with pip**
37
+
38
+ Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
39
+
40
+ ```bash
41
+ # Install the alibabacloud_ecd20201002
42
+ pip install alibabacloud_ecd20201002
43
+ ```
44
+
45
+ ## Issues
46
+
47
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
48
+
49
+ ## Usage
50
+
51
+ [Quick Examples](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-EN.md#quick-examples)
52
+
53
+ ## Changelog
54
+
55
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/ecd-20201002/ChangeLog.md).
56
+
57
+ ## References
58
+
59
+ - [Latest Release](https://github.com/aliyun/alibabacloud-sdk/tree/master/python)
60
+
61
+ ## License
62
+
63
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
64
+
65
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## 要求
8
8
 
9
- - Python >= 3.6
9
+ - Python >= 3.7
10
10
 
11
11
  ## 安装
12
12
 
@@ -5,7 +5,7 @@ English | [简体中文](README-CN.md)
5
5
 
6
6
  ## Requirements
7
7
 
8
- - Python >= 3.6
8
+ - Python >= 3.7
9
9
 
10
10
  ## Installation
11
11
 
@@ -0,0 +1 @@
1
+ __version__ = '1.1.4'
@@ -608,6 +608,8 @@ class Client(OpenApiClient):
608
608
  query['DirectoryId'] = request.directory_id
609
609
  if not UtilClient.is_unset(request.keyword):
610
610
  query['Keyword'] = request.keyword
611
+ if not UtilClient.is_unset(request.language):
612
+ query['Language'] = request.language
611
613
  if not UtilClient.is_unset(request.login_region_id):
612
614
  query['LoginRegionId'] = request.login_region_id
613
615
  if not UtilClient.is_unset(request.login_token):
@@ -677,6 +679,8 @@ class Client(OpenApiClient):
677
679
  query['DirectoryId'] = request.directory_id
678
680
  if not UtilClient.is_unset(request.keyword):
679
681
  query['Keyword'] = request.keyword
682
+ if not UtilClient.is_unset(request.language):
683
+ query['Language'] = request.language
680
684
  if not UtilClient.is_unset(request.login_region_id):
681
685
  query['LoginRegionId'] = request.login_region_id
682
686
  if not UtilClient.is_unset(request.login_token):
@@ -2378,6 +2382,8 @@ class Client(OpenApiClient):
2378
2382
  query = {}
2379
2383
  if not UtilClient.is_unset(request.client_id):
2380
2384
  query['ClientId'] = request.client_id
2385
+ if not UtilClient.is_unset(request.desktop_id):
2386
+ query['DesktopId'] = request.desktop_id
2381
2387
  if not UtilClient.is_unset(request.login_token):
2382
2388
  query['LoginToken'] = request.login_token
2383
2389
  if not UtilClient.is_unset(request.region_id):
@@ -2421,6 +2427,8 @@ class Client(OpenApiClient):
2421
2427
  query = {}
2422
2428
  if not UtilClient.is_unset(request.client_id):
2423
2429
  query['ClientId'] = request.client_id
2430
+ if not UtilClient.is_unset(request.desktop_id):
2431
+ query['DesktopId'] = request.desktop_id
2424
2432
  if not UtilClient.is_unset(request.login_token):
2425
2433
  query['LoginToken'] = request.login_token
2426
2434
  if not UtilClient.is_unset(request.region_id):
@@ -4,6 +4,63 @@ from Tea.model import TeaModel
4
4
  from typing import Dict, List
5
5
 
6
6
 
7
+ class OssUploadCredential(TeaModel):
8
+ def __init__(
9
+ self,
10
+ access_key_id: str = None,
11
+ endpoint: str = None,
12
+ file_path: str = None,
13
+ oss_policy: str = None,
14
+ oss_signature: str = None,
15
+ sts_token: str = None,
16
+ ):
17
+ self.access_key_id = access_key_id
18
+ self.endpoint = endpoint
19
+ self.file_path = file_path
20
+ self.oss_policy = oss_policy
21
+ self.oss_signature = oss_signature
22
+ self.sts_token = sts_token
23
+
24
+ def validate(self):
25
+ pass
26
+
27
+ def to_map(self):
28
+ _map = super().to_map()
29
+ if _map is not None:
30
+ return _map
31
+
32
+ result = dict()
33
+ if self.access_key_id is not None:
34
+ result['AccessKeyId'] = self.access_key_id
35
+ if self.endpoint is not None:
36
+ result['Endpoint'] = self.endpoint
37
+ if self.file_path is not None:
38
+ result['FilePath'] = self.file_path
39
+ if self.oss_policy is not None:
40
+ result['OssPolicy'] = self.oss_policy
41
+ if self.oss_signature is not None:
42
+ result['OssSignature'] = self.oss_signature
43
+ if self.sts_token is not None:
44
+ result['StsToken'] = self.sts_token
45
+ return result
46
+
47
+ def from_map(self, m: dict = None):
48
+ m = m or dict()
49
+ if m.get('AccessKeyId') is not None:
50
+ self.access_key_id = m.get('AccessKeyId')
51
+ if m.get('Endpoint') is not None:
52
+ self.endpoint = m.get('Endpoint')
53
+ if m.get('FilePath') is not None:
54
+ self.file_path = m.get('FilePath')
55
+ if m.get('OssPolicy') is not None:
56
+ self.oss_policy = m.get('OssPolicy')
57
+ if m.get('OssSignature') is not None:
58
+ self.oss_signature = m.get('OssSignature')
59
+ if m.get('StsToken') is not None:
60
+ self.sts_token = m.get('StsToken')
61
+ return self
62
+
63
+
7
64
  class ApproveFotaUpdateRequest(TeaModel):
8
65
  def __init__(
9
66
  self,
@@ -797,6 +854,7 @@ class DescribeGlobalDesktopsRequest(TeaModel):
797
854
  desktop_status: str = None,
798
855
  directory_id: str = None,
799
856
  keyword: str = None,
857
+ language: str = None,
800
858
  login_region_id: str = None,
801
859
  login_token: str = None,
802
860
  max_results: int = None,
@@ -819,6 +877,7 @@ class DescribeGlobalDesktopsRequest(TeaModel):
819
877
  self.directory_id = directory_id
820
878
  # 关键字。支持模糊搜索桌面ID、云桌面名称和终端用户自定义的桌面名称。
821
879
  self.keyword = keyword
880
+ self.language = language
822
881
  self.login_region_id = login_region_id
823
882
  # This parameter is required.
824
883
  self.login_token = login_token
@@ -856,6 +915,8 @@ class DescribeGlobalDesktopsRequest(TeaModel):
856
915
  result['DirectoryId'] = self.directory_id
857
916
  if self.keyword is not None:
858
917
  result['Keyword'] = self.keyword
918
+ if self.language is not None:
919
+ result['Language'] = self.language
859
920
  if self.login_region_id is not None:
860
921
  result['LoginRegionId'] = self.login_region_id
861
922
  if self.login_token is not None:
@@ -898,6 +959,8 @@ class DescribeGlobalDesktopsRequest(TeaModel):
898
959
  self.directory_id = m.get('DirectoryId')
899
960
  if m.get('Keyword') is not None:
900
961
  self.keyword = m.get('Keyword')
962
+ if m.get('Language') is not None:
963
+ self.language = m.get('Language')
901
964
  if m.get('LoginRegionId') is not None:
902
965
  self.login_region_id = m.get('LoginRegionId')
903
966
  if m.get('LoginToken') is not None:
@@ -1085,6 +1148,7 @@ class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate(TeaModel):
1085
1148
  current_app_version: str = None,
1086
1149
  force: bool = None,
1087
1150
  new_app_version: str = None,
1151
+ new_dcd_version: str = None,
1088
1152
  project: str = None,
1089
1153
  release_note: str = None,
1090
1154
  release_note_en: str = None,
@@ -1095,6 +1159,7 @@ class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate(TeaModel):
1095
1159
  self.current_app_version = current_app_version
1096
1160
  self.force = force
1097
1161
  self.new_app_version = new_app_version
1162
+ self.new_dcd_version = new_dcd_version
1098
1163
  self.project = project
1099
1164
  self.release_note = release_note
1100
1165
  self.release_note_en = release_note_en
@@ -1118,6 +1183,8 @@ class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate(TeaModel):
1118
1183
  result['Force'] = self.force
1119
1184
  if self.new_app_version is not None:
1120
1185
  result['NewAppVersion'] = self.new_app_version
1186
+ if self.new_dcd_version is not None:
1187
+ result['NewDcdVersion'] = self.new_dcd_version
1121
1188
  if self.project is not None:
1122
1189
  result['Project'] = self.project
1123
1190
  if self.release_note is not None:
@@ -1140,6 +1207,8 @@ class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate(TeaModel):
1140
1207
  self.force = m.get('Force')
1141
1208
  if m.get('NewAppVersion') is not None:
1142
1209
  self.new_app_version = m.get('NewAppVersion')
1210
+ if m.get('NewDcdVersion') is not None:
1211
+ self.new_dcd_version = m.get('NewDcdVersion')
1143
1212
  if m.get('Project') is not None:
1144
1213
  self.project = m.get('Project')
1145
1214
  if m.get('ReleaseNote') is not None:
@@ -1217,12 +1286,14 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
1217
1286
  network_interface_ip: str = None,
1218
1287
  office_site_id: str = None,
1219
1288
  os: str = None,
1289
+ os_description: str = None,
1220
1290
  os_type: str = None,
1221
1291
  platform: str = None,
1222
1292
  policy_group_id: str = None,
1223
1293
  protocol_type: str = None,
1224
1294
  real_desktop_id: str = None,
1225
1295
  region_id: str = None,
1296
+ region_location: str = None,
1226
1297
  session_type: str = None,
1227
1298
  sessions: List[DescribeGlobalDesktopsResponseBodyDesktopsSessions] = None,
1228
1299
  support_hibernation: bool = None,
@@ -1257,12 +1328,14 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
1257
1328
  self.network_interface_ip = network_interface_ip
1258
1329
  self.office_site_id = office_site_id
1259
1330
  self.os = os
1331
+ self.os_description = os_description
1260
1332
  self.os_type = os_type
1261
1333
  self.platform = platform
1262
1334
  self.policy_group_id = policy_group_id
1263
1335
  self.protocol_type = protocol_type
1264
1336
  self.real_desktop_id = real_desktop_id
1265
1337
  self.region_id = region_id
1338
+ self.region_location = region_location
1266
1339
  self.session_type = session_type
1267
1340
  self.sessions = sessions
1268
1341
  self.support_hibernation = support_hibernation
@@ -1356,6 +1429,8 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
1356
1429
  result['OfficeSiteId'] = self.office_site_id
1357
1430
  if self.os is not None:
1358
1431
  result['Os'] = self.os
1432
+ if self.os_description is not None:
1433
+ result['OsDescription'] = self.os_description
1359
1434
  if self.os_type is not None:
1360
1435
  result['OsType'] = self.os_type
1361
1436
  if self.platform is not None:
@@ -1368,6 +1443,8 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
1368
1443
  result['RealDesktopId'] = self.real_desktop_id
1369
1444
  if self.region_id is not None:
1370
1445
  result['RegionId'] = self.region_id
1446
+ if self.region_location is not None:
1447
+ result['RegionLocation'] = self.region_location
1371
1448
  if self.session_type is not None:
1372
1449
  result['SessionType'] = self.session_type
1373
1450
  result['Sessions'] = []
@@ -1448,6 +1525,8 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
1448
1525
  self.office_site_id = m.get('OfficeSiteId')
1449
1526
  if m.get('Os') is not None:
1450
1527
  self.os = m.get('Os')
1528
+ if m.get('OsDescription') is not None:
1529
+ self.os_description = m.get('OsDescription')
1451
1530
  if m.get('OsType') is not None:
1452
1531
  self.os_type = m.get('OsType')
1453
1532
  if m.get('Platform') is not None:
@@ -1460,6 +1539,8 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
1460
1539
  self.real_desktop_id = m.get('RealDesktopId')
1461
1540
  if m.get('RegionId') is not None:
1462
1541
  self.region_id = m.get('RegionId')
1542
+ if m.get('RegionLocation') is not None:
1543
+ self.region_location = m.get('RegionLocation')
1463
1544
  if m.get('SessionType') is not None:
1464
1545
  self.session_type = m.get('SessionType')
1465
1546
  self.sessions = []
@@ -2698,22 +2779,34 @@ class GetLoginTokenRequest(TeaModel):
2698
2779
  #
2699
2780
  # This parameter is required.
2700
2781
  self.client_id = client_id
2701
- # The OS that the client runs.
2782
+ # The operating system (OS) of the device that runs an Alibaba Cloud Workspace client.
2702
2783
  self.client_os = client_os
2703
- # The type of the software client.
2784
+ # The type of Alibaba Cloud Workspace clients.
2785
+ #
2786
+ # Valid values:
2787
+ #
2788
+ # * HTML5: web client.
2789
+ #
2790
+ # * WINDOWS: Windows client.
2791
+ #
2792
+ # * MACOS: macOS client.
2793
+ #
2794
+ # * IOS: iOS client.
2795
+ #
2796
+ # * ANDROID: Android client.
2704
2797
  self.client_type = client_type
2705
2798
  # The version of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
2706
2799
  self.client_version = client_version
2707
2800
  # The logon authentication stage. Valid values:
2708
2801
  #
2709
2802
  # * `ADPassword`: the stage to verify the identity of the Active Directory (AD) user. You must specify the value when the system verifies the identity of a convenience account or an AD account.
2710
- # * `MFABind`: the stage to bind a virtual multi-factor authentication (MFA) device.
2711
- # * `MFAVerify`: the stage to obtain the verification code that is generated by the virtual MFA device.
2712
- # * `TokenVerify`: the stage to perform two-factor authentication for the client.
2803
+ # * `MFABind: the stage to bind a virtual multi-factor authentication (MFA) device.`
2804
+ # * `MFAVerify: the stage to verify the verification code that is generated by the virtual MFA device.`
2805
+ # * `TokenVerify`: the stage to perform two-factor authentication on an Alibaba Cloud Workspace client (hereinafter referred to as the client).
2713
2806
  # * `ChangePassword`: the stage to change the password of the user.
2714
- # * `VerifyKeepAlive`: the stage to exchange the logon credential. This parameter is valid if KeepAliveToken is valid.
2807
+ # * `KeepAliveVerify`: the stage to obtain LoginToken if KeepAliveToken is valid.
2715
2808
  self.current_stage = current_stage
2716
- # The ID of the workspace. The parameter is the same as the `OfficeSiteId` parameter. We recommend that you use `OfficeSiteId` instead of `DirectoryId`. You can specify a value for either the `DirectoryId` parameter or the `OfficeSiteId` parameter, but not both.
2809
+ # The office network ID. This parameter has the same meaning as `OfficeSiteId`. We recommend that you replace `DirectoryId` with `OfficeSiteId`. You can specify a value for `DirectoryId` or `OfficeSiteId`.
2717
2810
  self.directory_id = directory_id
2718
2811
  # The name of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
2719
2812
  self.end_user_id = end_user_id
@@ -2723,17 +2816,17 @@ class GetLoginTokenRequest(TeaModel):
2723
2816
  # * true: Keep the user logged on to the client.
2724
2817
  # * false: Do not keep the user logged on to the client.
2725
2818
  self.keep_alive = keep_alive
2726
- # The token that is used to keep the user logged on to the client. After the user logs on to the client and KeepAlive is set to true, the `KeepAliveToken` is returned. You can call the `GetLoginToken` operation within the valid duration``, and set `CurrentStage` to `VerifyKeepAlive` to obtain the logon token (LoginToken). This parameter is required if you set `CurrentStage` to `VerifyKeepAlive```.
2819
+ # The token to keep logging on to an Alibaba Cloud Workspace client. When an end user logs on to the Alibaba Cloud Workspace client and select Auto Sign-in, `KeepAliveToken` is returned after you call this operation. Within the valid period of the returned token``, you can call the `GetLoginToken` operation and set `CurrentStage` to `KeepAliveVerify`. Then, you can obtain LoginToken. If you set `CurrentStage` to `KeepAliveVerify`, `KeepAliveToken` is required.
2727
2820
  self.keep_alive_token = keep_alive_token
2728
2821
  # The new password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
2729
2822
  self.new_password = new_password
2730
- # The ID of the workspace.
2823
+ # The office network ID.
2731
2824
  self.office_site_id = office_site_id
2732
2825
  # The current password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
2733
2826
  self.old_password = old_password
2734
2827
  # The password of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
2735
2828
  self.password = password
2736
- # The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/436773.html) operation to query the most recent region list.
2829
+ # The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by EDS.
2737
2830
  #
2738
2831
  # This parameter is required.
2739
2832
  self.region_id = region_id
@@ -2742,7 +2835,7 @@ class GetLoginTokenRequest(TeaModel):
2742
2835
  # * If the virtual multi-factor authentication (MFA) device is not bound or two-factor authentication is not enabled for the client, you do not need to specify a value for `SessionId`.
2743
2836
  # * If the virtual MFA device is not bound or two-factor authentication is enabled for the client, you must specify a value for `SessionId` to verify the user identity after you specify a value for `ADPassword`. The value of the `SessionId` parameter is returned only if the CurrentStage parameter is set to `ADPassword` when you call the `GetLoginToken` operation.
2744
2837
  self.session_id = session_id
2745
- # If two-factor authentication is enabled in the Elastic Desktop Service (EDS) console and the system detects that the identity of the logon user may have security risks, the system sends a verification code for two-factor authentication to the email address of the user. This parameter is required if you set `CurrentStage` to `TokenVerify`.
2838
+ # If two-factor authentication is enabled for Alibaba Cloud Workspace terminals in the EDS console and the system detects that the current logon user is exposed to risks, the system sends a verification code to the email address of the user. This parameter is required if you set `CurrentStage` to `TokenVerify`.
2746
2839
  self.token_code = token_code
2747
2840
  # The unique identifier of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
2748
2841
  self.uuid = uuid
@@ -2841,7 +2934,9 @@ class GetLoginTokenResponseBodyPasswordStrategy(TeaModel):
2841
2934
  tenant_alternative_chars: List[str] = None,
2842
2935
  tenant_password_length: str = None,
2843
2936
  ):
2937
+ # > This is a parameter only for internal use.
2844
2938
  self.tenant_alternative_chars = tenant_alternative_chars
2939
+ # > This is a parameter only for internal use.
2845
2940
  self.tenant_password_length = tenant_password_length
2846
2941
 
2847
2942
  def validate(self):
@@ -2876,9 +2971,13 @@ class GetLoginTokenResponseBodyRiskVerifyInfo(TeaModel):
2876
2971
  locked: str = None,
2877
2972
  phone: str = None,
2878
2973
  ):
2974
+ # The email used for authentication.
2879
2975
  self.email = email
2976
+ # The duration of the lock.
2880
2977
  self.last_lock_duration = last_lock_duration
2978
+ # Whether the account is locked or not.
2881
2979
  self.locked = locked
2980
+ # The mobile number used for authentication.
2882
2981
  self.phone = phone
2883
2982
 
2884
2983
  def validate(self):
@@ -2950,10 +3049,11 @@ class GetLoginTokenResponseBody(TeaModel):
2950
3049
  self.label = label
2951
3050
  # The logon token.
2952
3051
  self.login_token = login_token
2953
- # The next stage that is expected to enter. For example, if the administrator enables MFA authentication in the EDS console, `MFAVerify` is returned after the username and password pass the authentication (after you set CurrentStage to `ADPassword` stage). This indicates that the MFA authentication is required.
3052
+ # The next stage that is expected to enter. For example, an administrator enables MFA in the EDS console. When an end user enters the password, that is, the end user completes the `ADPassword` stage, this parameter returns `MFAVerify`. This indicates that MFA is required.
2954
3053
  #
2955
- # > For more information about each authentication stage, see the parameter description of the request parameter `CurrentStage`.
3054
+ # > For more information about the authentication stages, see the `CurrentStage` parameter.
2956
3055
  self.next_stage = next_stage
3056
+ # > This is a parameter only for internal use.
2957
3057
  self.password_strategy = password_strategy
2958
3058
  # Enter the mobile number of the convenience user. For an AD user, null is returned.
2959
3059
  self.phone = phone
@@ -2963,9 +3063,11 @@ class GetLoginTokenResponseBody(TeaModel):
2963
3063
  #
2964
3064
  # > For more information about each authentication stage, see the parameter description of the request parameter `CurrentStage`.
2965
3065
  self.qr_code_png = qr_code_png
3066
+ # > This is a parameter only for internal use.
2966
3067
  self.reason = reason
2967
3068
  # The ID of the request.
2968
3069
  self.request_id = request_id
3070
+ # Risk identification information regarding the signin process.
2969
3071
  self.risk_verify_info = risk_verify_info
2970
3072
  # The key that is generated when you bind the virtual MFA device. This parameter is required when the CurrentStage parameter is set to `MFABind`.
2971
3073
  #
@@ -3420,6 +3522,7 @@ class RebootDesktopsRequest(TeaModel):
3420
3522
  self.session_id = session_id
3421
3523
  # The logon token.
3422
3524
  self.session_token = session_token
3525
+ # The UUID of the client.
3423
3526
  self.uuid = uuid
3424
3527
 
3425
3528
  def validate(self):
@@ -4070,6 +4173,7 @@ class ResetSnapshotRequest(TeaModel):
4070
4173
  def __init__(
4071
4174
  self,
4072
4175
  client_id: str = None,
4176
+ desktop_id: str = None,
4073
4177
  login_token: str = None,
4074
4178
  region_id: str = None,
4075
4179
  session_id: str = None,
@@ -4077,6 +4181,7 @@ class ResetSnapshotRequest(TeaModel):
4077
4181
  ):
4078
4182
  # This parameter is required.
4079
4183
  self.client_id = client_id
4184
+ self.desktop_id = desktop_id
4080
4185
  # This parameter is required.
4081
4186
  self.login_token = login_token
4082
4187
  # This parameter is required.
@@ -4096,6 +4201,8 @@ class ResetSnapshotRequest(TeaModel):
4096
4201
  result = dict()
4097
4202
  if self.client_id is not None:
4098
4203
  result['ClientId'] = self.client_id
4204
+ if self.desktop_id is not None:
4205
+ result['DesktopId'] = self.desktop_id
4099
4206
  if self.login_token is not None:
4100
4207
  result['LoginToken'] = self.login_token
4101
4208
  if self.region_id is not None:
@@ -4110,6 +4217,8 @@ class ResetSnapshotRequest(TeaModel):
4110
4217
  m = m or dict()
4111
4218
  if m.get('ClientId') is not None:
4112
4219
  self.client_id = m.get('ClientId')
4220
+ if m.get('DesktopId') is not None:
4221
+ self.desktop_id = m.get('DesktopId')
4113
4222
  if m.get('LoginToken') is not None:
4114
4223
  self.login_token = m.get('LoginToken')
4115
4224
  if m.get('RegionId') is not None:
@@ -4667,6 +4776,7 @@ class StartDesktopsRequest(TeaModel):
4667
4776
  self.region_id = region_id
4668
4777
  # The session ID.
4669
4778
  self.session_id = session_id
4779
+ # The UUID of the client.
4670
4780
  self.uuid = uuid
4671
4781
 
4672
4782
  def validate(self):
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.1
2
+ Name: alibabacloud-ecd20201002
3
+ Version: 1.1.4
4
+ Summary: Alibaba Cloud ecd (20201002) SDK Library for Python
5
+ Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
+ Author: Alibaba Cloud SDK
7
+ Author-email: sdk-team@alibabacloud.com
8
+ License: Apache License 2.0
9
+ Keywords: alibabacloud,ecd20201002
10
+ Platform: any
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Topic :: Software Development
21
+ Requires-Python: >=3.6
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+
25
+ English | [简体中文](README-CN.md)
26
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
27
+
28
+ ## Alibaba Cloud ecd SDK for Python
29
+
30
+ ## Requirements
31
+
32
+ - Python >= 3.7
33
+
34
+ ## Installation
35
+
36
+ - **Install with pip**
37
+
38
+ Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
39
+
40
+ ```bash
41
+ # Install the alibabacloud_ecd20201002
42
+ pip install alibabacloud_ecd20201002
43
+ ```
44
+
45
+ ## Issues
46
+
47
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
48
+
49
+ ## Usage
50
+
51
+ [Quick Examples](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-EN.md#quick-examples)
52
+
53
+ ## Changelog
54
+
55
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/ecd-20201002/ChangeLog.md).
56
+
57
+ ## References
58
+
59
+ - [Latest Release](https://github.com/aliyun/alibabacloud-sdk/tree/master/python)
60
+
61
+ ## License
62
+
63
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
64
+
65
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -0,0 +1,4 @@
1
+ alibabacloud_endpoint_util<1.0.0,>=0.0.3
2
+ alibabacloud_openapi_util<1.0.0,>=0.2.2
3
+ alibabacloud_tea_openapi<1.0.0,>=0.3.12
4
+ alibabacloud_tea_util<1.0.0,>=0.3.13
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_ecd20201002.
26
26
 
27
- Created on 04/06/2024
27
+ Created on 09/11/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -37,9 +37,9 @@ AUTHOR_EMAIL = "sdk-team@alibabacloud.com"
37
37
  URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
- "alibabacloud_tea_util>=0.3.12, <1.0.0",
41
- "alibabacloud_tea_openapi>=0.3.9, <1.0.0",
42
- "alibabacloud_openapi_util>=0.2.1, <1.0.0",
40
+ "alibabacloud_tea_util>=0.3.13, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.12, <1.0.0",
42
+ "alibabacloud_openapi_util>=0.2.2, <1.0.0",
43
43
  "alibabacloud_endpoint_util>=0.0.3, <1.0.0"
44
44
  ]
45
45
 
@@ -1,64 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: alibabacloud_ecd20201002
3
- Version: 1.1.2
4
- Summary: Alibaba Cloud ecd (20201002) SDK Library for Python
5
- Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
- Author: Alibaba Cloud SDK
7
- Author-email: sdk-team@alibabacloud.com
8
- License: Apache License 2.0
9
- Description: English | [简体中文](README-CN.md)
10
- ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
11
-
12
- ## Alibaba Cloud ecd SDK for Python
13
-
14
- ## Requirements
15
-
16
- - Python >= 3.6
17
-
18
- ## Installation
19
-
20
- - **Install with pip**
21
-
22
- Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
23
-
24
- ```bash
25
- # Install the alibabacloud_ecd20201002
26
- pip install alibabacloud_ecd20201002
27
- ```
28
-
29
- ## Issues
30
-
31
- [Opening an Issue](https://github.com/aliyun/alibabacloud-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
32
-
33
- ## Usage
34
-
35
- [Quick Examples](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-EN.md#quick-examples)
36
-
37
- ## Changelog
38
-
39
- Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/ecd-20201002/ChangeLog.md).
40
-
41
- ## References
42
-
43
- - [Latest Release](https://github.com/aliyun/alibabacloud-sdk/tree/master/python)
44
-
45
- ## License
46
-
47
- [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
48
-
49
- Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
50
-
51
- Keywords: alibabacloud,ecd20201002
52
- Platform: any
53
- Classifier: Development Status :: 4 - Beta
54
- Classifier: Intended Audience :: Developers
55
- Classifier: License :: OSI Approved :: Apache Software License
56
- Classifier: Programming Language :: Python
57
- Classifier: Programming Language :: Python :: 3
58
- Classifier: Programming Language :: Python :: 3.6
59
- Classifier: Programming Language :: Python :: 3.7
60
- Classifier: Programming Language :: Python :: 3.8
61
- Classifier: Programming Language :: Python :: 3.9
62
- Classifier: Topic :: Software Development
63
- Requires-Python: >=3.6
64
- Description-Content-Type: text/markdown
@@ -1 +0,0 @@
1
- __version__ = '1.1.2'
@@ -1,64 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: alibabacloud-ecd20201002
3
- Version: 1.1.2
4
- Summary: Alibaba Cloud ecd (20201002) SDK Library for Python
5
- Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
- Author: Alibaba Cloud SDK
7
- Author-email: sdk-team@alibabacloud.com
8
- License: Apache License 2.0
9
- Description: English | [简体中文](README-CN.md)
10
- ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
11
-
12
- ## Alibaba Cloud ecd SDK for Python
13
-
14
- ## Requirements
15
-
16
- - Python >= 3.6
17
-
18
- ## Installation
19
-
20
- - **Install with pip**
21
-
22
- Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
23
-
24
- ```bash
25
- # Install the alibabacloud_ecd20201002
26
- pip install alibabacloud_ecd20201002
27
- ```
28
-
29
- ## Issues
30
-
31
- [Opening an Issue](https://github.com/aliyun/alibabacloud-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
32
-
33
- ## Usage
34
-
35
- [Quick Examples](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-EN.md#quick-examples)
36
-
37
- ## Changelog
38
-
39
- Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/ecd-20201002/ChangeLog.md).
40
-
41
- ## References
42
-
43
- - [Latest Release](https://github.com/aliyun/alibabacloud-sdk/tree/master/python)
44
-
45
- ## License
46
-
47
- [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
48
-
49
- Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
50
-
51
- Keywords: alibabacloud,ecd20201002
52
- Platform: any
53
- Classifier: Development Status :: 4 - Beta
54
- Classifier: Intended Audience :: Developers
55
- Classifier: License :: OSI Approved :: Apache Software License
56
- Classifier: Programming Language :: Python
57
- Classifier: Programming Language :: Python :: 3
58
- Classifier: Programming Language :: Python :: 3.6
59
- Classifier: Programming Language :: Python :: 3.7
60
- Classifier: Programming Language :: Python :: 3.8
61
- Classifier: Programming Language :: Python :: 3.9
62
- Classifier: Topic :: Software Development
63
- Requires-Python: >=3.6
64
- Description-Content-Type: text/markdown
@@ -1,4 +0,0 @@
1
- alibabacloud_tea_util<1.0.0,>=0.3.12
2
- alibabacloud_tea_openapi<1.0.0,>=0.3.9
3
- alibabacloud_openapi_util<1.0.0,>=0.2.1
4
- alibabacloud_endpoint_util<1.0.0,>=0.0.3