alibabacloud-ecd20201002 1.1.2__py3-none-any.whl → 1.1.3__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.
- alibabacloud_ecd20201002/__init__.py +1 -1
- alibabacloud_ecd20201002/models.py +99 -13
- {alibabacloud_ecd20201002-1.1.2.dist-info → alibabacloud_ecd20201002-1.1.3.dist-info}/METADATA +6 -7
- alibabacloud_ecd20201002-1.1.3.dist-info/RECORD +8 -0
- {alibabacloud_ecd20201002-1.1.2.dist-info → alibabacloud_ecd20201002-1.1.3.dist-info}/WHEEL +1 -1
- alibabacloud_ecd20201002-1.1.2.dist-info/RECORD +0 -8
- {alibabacloud_ecd20201002-1.1.2.dist-info → alibabacloud_ecd20201002-1.1.3.dist-info}/LICENSE +0 -0
- {alibabacloud_ecd20201002-1.1.2.dist-info → alibabacloud_ecd20201002-1.1.3.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.1.
|
|
1
|
+
__version__ = '1.1.3'
|
|
@@ -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,
|
|
@@ -1223,6 +1280,7 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
|
|
|
1223
1280
|
protocol_type: str = None,
|
|
1224
1281
|
real_desktop_id: str = None,
|
|
1225
1282
|
region_id: str = None,
|
|
1283
|
+
region_location: str = None,
|
|
1226
1284
|
session_type: str = None,
|
|
1227
1285
|
sessions: List[DescribeGlobalDesktopsResponseBodyDesktopsSessions] = None,
|
|
1228
1286
|
support_hibernation: bool = None,
|
|
@@ -1263,6 +1321,7 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
|
|
|
1263
1321
|
self.protocol_type = protocol_type
|
|
1264
1322
|
self.real_desktop_id = real_desktop_id
|
|
1265
1323
|
self.region_id = region_id
|
|
1324
|
+
self.region_location = region_location
|
|
1266
1325
|
self.session_type = session_type
|
|
1267
1326
|
self.sessions = sessions
|
|
1268
1327
|
self.support_hibernation = support_hibernation
|
|
@@ -1368,6 +1427,8 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
|
|
|
1368
1427
|
result['RealDesktopId'] = self.real_desktop_id
|
|
1369
1428
|
if self.region_id is not None:
|
|
1370
1429
|
result['RegionId'] = self.region_id
|
|
1430
|
+
if self.region_location is not None:
|
|
1431
|
+
result['RegionLocation'] = self.region_location
|
|
1371
1432
|
if self.session_type is not None:
|
|
1372
1433
|
result['SessionType'] = self.session_type
|
|
1373
1434
|
result['Sessions'] = []
|
|
@@ -1460,6 +1521,8 @@ class DescribeGlobalDesktopsResponseBodyDesktops(TeaModel):
|
|
|
1460
1521
|
self.real_desktop_id = m.get('RealDesktopId')
|
|
1461
1522
|
if m.get('RegionId') is not None:
|
|
1462
1523
|
self.region_id = m.get('RegionId')
|
|
1524
|
+
if m.get('RegionLocation') is not None:
|
|
1525
|
+
self.region_location = m.get('RegionLocation')
|
|
1463
1526
|
if m.get('SessionType') is not None:
|
|
1464
1527
|
self.session_type = m.get('SessionType')
|
|
1465
1528
|
self.sessions = []
|
|
@@ -2698,22 +2761,34 @@ class GetLoginTokenRequest(TeaModel):
|
|
|
2698
2761
|
#
|
|
2699
2762
|
# This parameter is required.
|
|
2700
2763
|
self.client_id = client_id
|
|
2701
|
-
# The OS
|
|
2764
|
+
# The operating system (OS) of the device that runs an Alibaba Cloud Workspace client.
|
|
2702
2765
|
self.client_os = client_os
|
|
2703
|
-
# The type of
|
|
2766
|
+
# The type of Alibaba Cloud Workspace clients.
|
|
2767
|
+
#
|
|
2768
|
+
# Valid values:
|
|
2769
|
+
#
|
|
2770
|
+
# * HTML5: web client.
|
|
2771
|
+
#
|
|
2772
|
+
# * WINDOWS: Windows client.
|
|
2773
|
+
#
|
|
2774
|
+
# * MACOS: macOS client.
|
|
2775
|
+
#
|
|
2776
|
+
# * IOS: iOS client.
|
|
2777
|
+
#
|
|
2778
|
+
# * ANDROID: Android client.
|
|
2704
2779
|
self.client_type = client_type
|
|
2705
2780
|
# 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
2781
|
self.client_version = client_version
|
|
2707
2782
|
# The logon authentication stage. Valid values:
|
|
2708
2783
|
#
|
|
2709
2784
|
# * `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
|
|
2711
|
-
# * `MFAVerify
|
|
2712
|
-
# * `TokenVerify`: the stage to perform two-factor authentication
|
|
2785
|
+
# * `MFABind: the stage to bind a virtual multi-factor authentication (MFA) device.`
|
|
2786
|
+
# * `MFAVerify: the stage to verify the verification code that is generated by the virtual MFA device.`
|
|
2787
|
+
# * `TokenVerify`: the stage to perform two-factor authentication on an Alibaba Cloud Workspace client (hereinafter referred to as the client).
|
|
2713
2788
|
# * `ChangePassword`: the stage to change the password of the user.
|
|
2714
|
-
# * `
|
|
2789
|
+
# * `KeepAliveVerify`: the stage to obtain LoginToken if KeepAliveToken is valid.
|
|
2715
2790
|
self.current_stage = current_stage
|
|
2716
|
-
# The
|
|
2791
|
+
# 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
2792
|
self.directory_id = directory_id
|
|
2718
2793
|
# The name of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
|
|
2719
2794
|
self.end_user_id = end_user_id
|
|
@@ -2723,17 +2798,17 @@ class GetLoginTokenRequest(TeaModel):
|
|
|
2723
2798
|
# * true: Keep the user logged on to the client.
|
|
2724
2799
|
# * false: Do not keep the user logged on to the client.
|
|
2725
2800
|
self.keep_alive = keep_alive
|
|
2726
|
-
# The token
|
|
2801
|
+
# 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
2802
|
self.keep_alive_token = keep_alive_token
|
|
2728
2803
|
# The new password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
|
|
2729
2804
|
self.new_password = new_password
|
|
2730
|
-
# The
|
|
2805
|
+
# The office network ID.
|
|
2731
2806
|
self.office_site_id = office_site_id
|
|
2732
2807
|
# The current password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
|
|
2733
2808
|
self.old_password = old_password
|
|
2734
2809
|
# The password of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
|
|
2735
2810
|
self.password = password
|
|
2736
|
-
# The ID
|
|
2811
|
+
# 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
2812
|
#
|
|
2738
2813
|
# This parameter is required.
|
|
2739
2814
|
self.region_id = region_id
|
|
@@ -2742,7 +2817,7 @@ class GetLoginTokenRequest(TeaModel):
|
|
|
2742
2817
|
# * 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
2818
|
# * 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
2819
|
self.session_id = session_id
|
|
2745
|
-
# If two-factor authentication is enabled
|
|
2820
|
+
# 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
2821
|
self.token_code = token_code
|
|
2747
2822
|
# 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
2823
|
self.uuid = uuid
|
|
@@ -2841,7 +2916,9 @@ class GetLoginTokenResponseBodyPasswordStrategy(TeaModel):
|
|
|
2841
2916
|
tenant_alternative_chars: List[str] = None,
|
|
2842
2917
|
tenant_password_length: str = None,
|
|
2843
2918
|
):
|
|
2919
|
+
# > This is a parameter only for internal use.
|
|
2844
2920
|
self.tenant_alternative_chars = tenant_alternative_chars
|
|
2921
|
+
# > This is a parameter only for internal use.
|
|
2845
2922
|
self.tenant_password_length = tenant_password_length
|
|
2846
2923
|
|
|
2847
2924
|
def validate(self):
|
|
@@ -2876,9 +2953,13 @@ class GetLoginTokenResponseBodyRiskVerifyInfo(TeaModel):
|
|
|
2876
2953
|
locked: str = None,
|
|
2877
2954
|
phone: str = None,
|
|
2878
2955
|
):
|
|
2956
|
+
# The email used for authentication.
|
|
2879
2957
|
self.email = email
|
|
2958
|
+
# The duration of the lock.
|
|
2880
2959
|
self.last_lock_duration = last_lock_duration
|
|
2960
|
+
# Whether the account is locked or not.
|
|
2881
2961
|
self.locked = locked
|
|
2962
|
+
# The mobile number used for authentication.
|
|
2882
2963
|
self.phone = phone
|
|
2883
2964
|
|
|
2884
2965
|
def validate(self):
|
|
@@ -2950,10 +3031,11 @@ class GetLoginTokenResponseBody(TeaModel):
|
|
|
2950
3031
|
self.label = label
|
|
2951
3032
|
# The logon token.
|
|
2952
3033
|
self.login_token = login_token
|
|
2953
|
-
# The next stage that is expected to enter. For example,
|
|
3034
|
+
# 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
3035
|
#
|
|
2955
|
-
# >
|
|
3036
|
+
# > For more information about the authentication stages, see the `CurrentStage` parameter.
|
|
2956
3037
|
self.next_stage = next_stage
|
|
3038
|
+
# > This is a parameter only for internal use.
|
|
2957
3039
|
self.password_strategy = password_strategy
|
|
2958
3040
|
# Enter the mobile number of the convenience user. For an AD user, null is returned.
|
|
2959
3041
|
self.phone = phone
|
|
@@ -2963,9 +3045,11 @@ class GetLoginTokenResponseBody(TeaModel):
|
|
|
2963
3045
|
#
|
|
2964
3046
|
# > For more information about each authentication stage, see the parameter description of the request parameter `CurrentStage`.
|
|
2965
3047
|
self.qr_code_png = qr_code_png
|
|
3048
|
+
# > This is a parameter only for internal use.
|
|
2966
3049
|
self.reason = reason
|
|
2967
3050
|
# The ID of the request.
|
|
2968
3051
|
self.request_id = request_id
|
|
3052
|
+
# Risk identification information regarding the signin process.
|
|
2969
3053
|
self.risk_verify_info = risk_verify_info
|
|
2970
3054
|
# 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
3055
|
#
|
|
@@ -3420,6 +3504,7 @@ class RebootDesktopsRequest(TeaModel):
|
|
|
3420
3504
|
self.session_id = session_id
|
|
3421
3505
|
# The logon token.
|
|
3422
3506
|
self.session_token = session_token
|
|
3507
|
+
# The UUID of the client.
|
|
3423
3508
|
self.uuid = uuid
|
|
3424
3509
|
|
|
3425
3510
|
def validate(self):
|
|
@@ -4667,6 +4752,7 @@ class StartDesktopsRequest(TeaModel):
|
|
|
4667
4752
|
self.region_id = region_id
|
|
4668
4753
|
# The session ID.
|
|
4669
4754
|
self.session_id = session_id
|
|
4755
|
+
# The UUID of the client.
|
|
4670
4756
|
self.uuid = uuid
|
|
4671
4757
|
|
|
4672
4758
|
def validate(self):
|
{alibabacloud_ecd20201002-1.1.2.dist-info → alibabacloud_ecd20201002-1.1.3.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-ecd20201002
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: Alibaba Cloud ecd (20201002) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -20,10 +20,11 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
20
20
|
Classifier: Topic :: Software Development
|
|
21
21
|
Requires-Python: >=3.6
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
|
-
|
|
24
|
-
Requires-Dist: alibabacloud-
|
|
25
|
-
Requires-Dist: alibabacloud-openapi-util <1.0.0,>=0.2.1
|
|
26
|
-
Requires-Dist: alibabacloud-
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.3)
|
|
25
|
+
Requires-Dist: alibabacloud-openapi-util (<1.0.0,>=0.2.1)
|
|
26
|
+
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.11)
|
|
27
|
+
Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
|
|
27
28
|
|
|
28
29
|
English | [简体中文](README-CN.md)
|
|
29
30
|

|
|
@@ -66,5 +67,3 @@ Detailed changes for each release are documented in the [release notes](https://
|
|
|
66
67
|
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
67
68
|
|
|
68
69
|
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
69
|
-
|
|
70
|
-
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_ecd20201002/__init__.py,sha256=MtCBExubDadQAzNdeRTqbngg6_xUDdJnMuhuTVxUGRs,21
|
|
2
|
+
alibabacloud_ecd20201002/client.py,sha256=Wu7MReLiFsF9FOp8A55rjWUuh4X46ua0M7xdUnzRLHs,144284
|
|
3
|
+
alibabacloud_ecd20201002/models.py,sha256=LrEV0zYDY709n_fk3Zi6RtzB22HbkaUkZ33AV63Hs8s,190093
|
|
4
|
+
alibabacloud_ecd20201002-1.1.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_ecd20201002-1.1.3.dist-info/METADATA,sha256=WzRS-DHSzj5dMPFtqD1fFgOlBgmpEP8SVvkFqx0Xrww,2312
|
|
6
|
+
alibabacloud_ecd20201002-1.1.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_ecd20201002-1.1.3.dist-info/top_level.txt,sha256=StSX710186VDYReoyBW7AC51spfR_S0-5CO0fZyRBCk,25
|
|
8
|
+
alibabacloud_ecd20201002-1.1.3.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_ecd20201002/__init__.py,sha256=mJ0xQIqup8FmjqcIVqLNOKlf8ld4M0MtvFilCTGA0Fw,21
|
|
2
|
-
alibabacloud_ecd20201002/client.py,sha256=Wu7MReLiFsF9FOp8A55rjWUuh4X46ua0M7xdUnzRLHs,144284
|
|
3
|
-
alibabacloud_ecd20201002/models.py,sha256=pWOvIOBFjtt8ncmh-Vq0dGV32029IFSBjAAvo5AatA8,187122
|
|
4
|
-
alibabacloud_ecd20201002-1.1.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_ecd20201002-1.1.2.dist-info/METADATA,sha256=P6IbJhcx48eEXhCOGI4OAymnF99_Ibs_jVzd0fz0HIQ,2283
|
|
6
|
-
alibabacloud_ecd20201002-1.1.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
-
alibabacloud_ecd20201002-1.1.2.dist-info/top_level.txt,sha256=StSX710186VDYReoyBW7AC51spfR_S0-5CO0fZyRBCk,25
|
|
8
|
-
alibabacloud_ecd20201002-1.1.2.dist-info/RECORD,,
|
{alibabacloud_ecd20201002-1.1.2.dist-info → alibabacloud_ecd20201002-1.1.3.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_ecd20201002-1.1.2.dist-info → alibabacloud_ecd20201002-1.1.3.dist-info}/top_level.txt
RENAMED
|
File without changes
|