alibabacloud-ecd20201002 1.1.0__py3-none-any.whl → 1.1.1__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.
@@ -1 +1 @@
1
- __version__ = '1.1.0'
1
+ __version__ = '1.1.1'
@@ -1497,6 +1497,8 @@ class Client(OpenApiClient):
1497
1497
  query['SessionId'] = request.session_id
1498
1498
  if not UtilClient.is_unset(request.session_token):
1499
1499
  query['SessionToken'] = request.session_token
1500
+ if not UtilClient.is_unset(request.uuid):
1501
+ query['Uuid'] = request.uuid
1500
1502
  req = open_api_models.OpenApiRequest(
1501
1503
  query=OpenApiUtilClient.query(query)
1502
1504
  )
@@ -1541,6 +1543,8 @@ class Client(OpenApiClient):
1541
1543
  query['SessionId'] = request.session_id
1542
1544
  if not UtilClient.is_unset(request.session_token):
1543
1545
  query['SessionToken'] = request.session_token
1546
+ if not UtilClient.is_unset(request.uuid):
1547
+ query['Uuid'] = request.uuid
1544
1548
  req = open_api_models.OpenApiRequest(
1545
1549
  query=OpenApiUtilClient.query(query)
1546
1550
  )
@@ -2324,7 +2328,7 @@ class Client(OpenApiClient):
2324
2328
  runtime: util_models.RuntimeOptions,
2325
2329
  ) -> ecd_20201002_models.StartDesktopsResponse:
2326
2330
  """
2327
- The ID of the client.
2331
+ The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
2328
2332
 
2329
2333
  @param request: StartDesktopsRequest
2330
2334
  @param runtime: runtime options for this request RuntimeOptions
@@ -2348,6 +2352,8 @@ class Client(OpenApiClient):
2348
2352
  query['RegionId'] = request.region_id
2349
2353
  if not UtilClient.is_unset(request.session_id):
2350
2354
  query['SessionId'] = request.session_id
2355
+ if not UtilClient.is_unset(request.uuid):
2356
+ query['Uuid'] = request.uuid
2351
2357
  req = open_api_models.OpenApiRequest(
2352
2358
  query=OpenApiUtilClient.query(query)
2353
2359
  )
@@ -2373,7 +2379,7 @@ class Client(OpenApiClient):
2373
2379
  runtime: util_models.RuntimeOptions,
2374
2380
  ) -> ecd_20201002_models.StartDesktopsResponse:
2375
2381
  """
2376
- The ID of the client.
2382
+ The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
2377
2383
 
2378
2384
  @param request: StartDesktopsRequest
2379
2385
  @param runtime: runtime options for this request RuntimeOptions
@@ -2397,6 +2403,8 @@ class Client(OpenApiClient):
2397
2403
  query['RegionId'] = request.region_id
2398
2404
  if not UtilClient.is_unset(request.session_id):
2399
2405
  query['SessionId'] = request.session_id
2406
+ if not UtilClient.is_unset(request.uuid):
2407
+ query['Uuid'] = request.uuid
2400
2408
  req = open_api_models.OpenApiRequest(
2401
2409
  query=OpenApiUtilClient.query(query)
2402
2410
  )
@@ -2421,7 +2429,7 @@ class Client(OpenApiClient):
2421
2429
  request: ecd_20201002_models.StartDesktopsRequest,
2422
2430
  ) -> ecd_20201002_models.StartDesktopsResponse:
2423
2431
  """
2424
- The ID of the client.
2432
+ The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
2425
2433
 
2426
2434
  @param request: StartDesktopsRequest
2427
2435
  @return: StartDesktopsResponse
@@ -2434,7 +2442,7 @@ class Client(OpenApiClient):
2434
2442
  request: ecd_20201002_models.StartDesktopsRequest,
2435
2443
  ) -> ecd_20201002_models.StartDesktopsResponse:
2436
2444
  """
2437
- The ID of the client.
2445
+ The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
2438
2446
 
2439
2447
  @param request: StartDesktopsRequest
2440
2448
  @return: StartDesktopsResponse
@@ -2546,7 +2554,7 @@ class Client(OpenApiClient):
2546
2554
  runtime: util_models.RuntimeOptions,
2547
2555
  ) -> ecd_20201002_models.StopDesktopsResponse:
2548
2556
  """
2549
- The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
2557
+ The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
2550
2558
 
2551
2559
  @param request: StopDesktopsRequest
2552
2560
  @param runtime: runtime options for this request RuntimeOptions
@@ -2597,7 +2605,7 @@ class Client(OpenApiClient):
2597
2605
  runtime: util_models.RuntimeOptions,
2598
2606
  ) -> ecd_20201002_models.StopDesktopsResponse:
2599
2607
  """
2600
- The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
2608
+ The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
2601
2609
 
2602
2610
  @param request: StopDesktopsRequest
2603
2611
  @param runtime: runtime options for this request RuntimeOptions
@@ -2647,7 +2655,7 @@ class Client(OpenApiClient):
2647
2655
  request: ecd_20201002_models.StopDesktopsRequest,
2648
2656
  ) -> ecd_20201002_models.StopDesktopsResponse:
2649
2657
  """
2650
- The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
2658
+ The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
2651
2659
 
2652
2660
  @param request: StopDesktopsRequest
2653
2661
  @return: StopDesktopsResponse
@@ -2660,7 +2668,7 @@ class Client(OpenApiClient):
2660
2668
  request: ecd_20201002_models.StopDesktopsRequest,
2661
2669
  ) -> ecd_20201002_models.StopDesktopsResponse:
2662
2670
  """
2663
- The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
2671
+ The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
2664
2672
 
2665
2673
  @param request: StopDesktopsRequest
2666
2674
  @return: StopDesktopsResponse
@@ -2793,6 +2793,51 @@ class GetLoginTokenRequest(TeaModel):
2793
2793
  return self
2794
2794
 
2795
2795
 
2796
+ class GetLoginTokenResponseBodyRiskVerifyInfo(TeaModel):
2797
+ def __init__(
2798
+ self,
2799
+ email: str = None,
2800
+ last_lock_duration: int = None,
2801
+ locked: str = None,
2802
+ phone: str = None,
2803
+ ):
2804
+ self.email = email
2805
+ self.last_lock_duration = last_lock_duration
2806
+ self.locked = locked
2807
+ self.phone = phone
2808
+
2809
+ def validate(self):
2810
+ pass
2811
+
2812
+ def to_map(self):
2813
+ _map = super().to_map()
2814
+ if _map is not None:
2815
+ return _map
2816
+
2817
+ result = dict()
2818
+ if self.email is not None:
2819
+ result['Email'] = self.email
2820
+ if self.last_lock_duration is not None:
2821
+ result['LastLockDuration'] = self.last_lock_duration
2822
+ if self.locked is not None:
2823
+ result['Locked'] = self.locked
2824
+ if self.phone is not None:
2825
+ result['Phone'] = self.phone
2826
+ return result
2827
+
2828
+ def from_map(self, m: dict = None):
2829
+ m = m or dict()
2830
+ if m.get('Email') is not None:
2831
+ self.email = m.get('Email')
2832
+ if m.get('LastLockDuration') is not None:
2833
+ self.last_lock_duration = m.get('LastLockDuration')
2834
+ if m.get('Locked') is not None:
2835
+ self.locked = m.get('Locked')
2836
+ if m.get('Phone') is not None:
2837
+ self.phone = m.get('Phone')
2838
+ return self
2839
+
2840
+
2796
2841
  class GetLoginTokenResponseBody(TeaModel):
2797
2842
  def __init__(
2798
2843
  self,
@@ -2807,6 +2852,7 @@ class GetLoginTokenResponseBody(TeaModel):
2807
2852
  props: Dict[str, str] = None,
2808
2853
  qr_code_png: str = None,
2809
2854
  request_id: str = None,
2855
+ risk_verify_info: GetLoginTokenResponseBodyRiskVerifyInfo = None,
2810
2856
  secret: str = None,
2811
2857
  session_id: str = None,
2812
2858
  tenant_id: int = None,
@@ -2841,6 +2887,7 @@ class GetLoginTokenResponseBody(TeaModel):
2841
2887
  self.qr_code_png = qr_code_png
2842
2888
  # The ID of the request.
2843
2889
  self.request_id = request_id
2890
+ self.risk_verify_info = risk_verify_info
2844
2891
  # The key that is generated when you bind the virtual MFA device. This parameter is required when the CurrentStage parameter is set to `MFABind`.
2845
2892
  #
2846
2893
  # > For more information about each authentication stage, see the parameter description of the request parameter `CurrentStage`.
@@ -2855,7 +2902,8 @@ class GetLoginTokenResponseBody(TeaModel):
2855
2902
  self.window_display_mode = window_display_mode
2856
2903
 
2857
2904
  def validate(self):
2858
- pass
2905
+ if self.risk_verify_info:
2906
+ self.risk_verify_info.validate()
2859
2907
 
2860
2908
  def to_map(self):
2861
2909
  _map = super().to_map()
@@ -2885,6 +2933,8 @@ class GetLoginTokenResponseBody(TeaModel):
2885
2933
  result['QrCodePng'] = self.qr_code_png
2886
2934
  if self.request_id is not None:
2887
2935
  result['RequestId'] = self.request_id
2936
+ if self.risk_verify_info is not None:
2937
+ result['RiskVerifyInfo'] = self.risk_verify_info.to_map()
2888
2938
  if self.secret is not None:
2889
2939
  result['Secret'] = self.secret
2890
2940
  if self.session_id is not None:
@@ -2919,6 +2969,9 @@ class GetLoginTokenResponseBody(TeaModel):
2919
2969
  self.qr_code_png = m.get('QrCodePng')
2920
2970
  if m.get('RequestId') is not None:
2921
2971
  self.request_id = m.get('RequestId')
2972
+ if m.get('RiskVerifyInfo') is not None:
2973
+ temp_model = GetLoginTokenResponseBodyRiskVerifyInfo()
2974
+ self.risk_verify_info = temp_model.from_map(m['RiskVerifyInfo'])
2922
2975
  if m.get('Secret') is not None:
2923
2976
  self.secret = m.get('Secret')
2924
2977
  if m.get('SessionId') is not None:
@@ -3250,25 +3303,27 @@ class RebootDesktopsRequest(TeaModel):
3250
3303
  region_id: str = None,
3251
3304
  session_id: str = None,
3252
3305
  session_token: str = None,
3306
+ uuid: str = None,
3253
3307
  ):
3254
3308
  # The client ID. The system generates a unique ID for each client.
3255
3309
  self.client_id = client_id
3256
- # The client OS.
3310
+ # The operating system (OS) of the device that runs the Alibaba Cloud Workspace client (hereinafter referred to as WUYING client).
3257
3311
  self.client_os = client_os
3258
3312
  # The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How do I ensure the idempotence of a request?](~~25693~~)
3259
3313
  self.client_token = client_token
3260
- # The client version.
3314
+ # The client version. If you use a WUYING client, you can view the client version in the **About** dialog box on the client logon page.
3261
3315
  self.client_version = client_version
3262
- # The cloud desktop IDs. You can specify 1 to 20 IDs.
3316
+ # The IDs of the cloud computers. You can specify the IDs of 1 to 20 cloud computers.
3263
3317
  self.desktop_id = desktop_id
3264
3318
  # The logon token.
3265
3319
  self.login_token = login_token
3266
- # The region ID. You can call the [DescribeRegions](~~196646~~) operation to query the most recent region list.
3320
+ # The region ID. You can call the [DescribeRegions](~~196646~~) operation to query the regions supported by WUYING Workspace.
3267
3321
  self.region_id = region_id
3268
3322
  # The session ID.
3269
3323
  self.session_id = session_id
3270
3324
  # The logon token.
3271
3325
  self.session_token = session_token
3326
+ self.uuid = uuid
3272
3327
 
3273
3328
  def validate(self):
3274
3329
  pass
@@ -3297,6 +3352,8 @@ class RebootDesktopsRequest(TeaModel):
3297
3352
  result['SessionId'] = self.session_id
3298
3353
  if self.session_token is not None:
3299
3354
  result['SessionToken'] = self.session_token
3355
+ if self.uuid is not None:
3356
+ result['Uuid'] = self.uuid
3300
3357
  return result
3301
3358
 
3302
3359
  def from_map(self, m: dict = None):
@@ -3319,6 +3376,8 @@ class RebootDesktopsRequest(TeaModel):
3319
3376
  self.session_id = m.get('SessionId')
3320
3377
  if m.get('SessionToken') is not None:
3321
3378
  self.session_token = m.get('SessionToken')
3379
+ if m.get('Uuid') is not None:
3380
+ self.uuid = m.get('Uuid')
3322
3381
  return self
3323
3382
 
3324
3383
 
@@ -4456,21 +4515,25 @@ class StartDesktopsRequest(TeaModel):
4456
4515
  login_token: str = None,
4457
4516
  region_id: str = None,
4458
4517
  session_id: str = None,
4518
+ uuid: str = None,
4459
4519
  ):
4460
- # The ID of the request.
4520
+ # The ID of the Alibaba Cloud Workspace client (hereinafter referred to as WUYING client). The system generates a unique ID for each client.
4461
4521
  self.client_id = client_id
4462
- # The OS used by the client.
4522
+ # The operating system (OS) of the device that run the client.
4463
4523
  self.client_os = client_os
4524
+ # The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
4464
4525
  self.client_token = client_token
4465
- # StartDesktops
4526
+ # The client version. If you use a WUYING client, you can click **About** on the client logon page to view the version of the client.
4466
4527
  self.client_version = client_version
4528
+ # The IDs of the cloud computers. You can specify the IDs of 1 to 20 cloud computers.
4467
4529
  self.desktop_id = desktop_id
4468
- # The ID of cloud desktop N. You can specify one or more IDs of cloud desktops. Valid values of N: 1 to 20.
4530
+ # The logon token.
4469
4531
  self.login_token = login_token
4470
- # The logon credential.
4532
+ # The region ID. You can call the [DescribeRegions](~~196646~~) operation to query the regions supported by WUYING Workspace.
4471
4533
  self.region_id = region_id
4472
- # The operation that you want to perform. Set the value to StartDesktops.
4534
+ # The session ID.
4473
4535
  self.session_id = session_id
4536
+ self.uuid = uuid
4474
4537
 
4475
4538
  def validate(self):
4476
4539
  pass
@@ -4497,6 +4560,8 @@ class StartDesktopsRequest(TeaModel):
4497
4560
  result['RegionId'] = self.region_id
4498
4561
  if self.session_id is not None:
4499
4562
  result['SessionId'] = self.session_id
4563
+ if self.uuid is not None:
4564
+ result['Uuid'] = self.uuid
4500
4565
  return result
4501
4566
 
4502
4567
  def from_map(self, m: dict = None):
@@ -4517,6 +4582,8 @@ class StartDesktopsRequest(TeaModel):
4517
4582
  self.region_id = m.get('RegionId')
4518
4583
  if m.get('SessionId') is not None:
4519
4584
  self.session_id = m.get('SessionId')
4585
+ if m.get('Uuid') is not None:
4586
+ self.uuid = m.get('Uuid')
4520
4587
  return self
4521
4588
 
4522
4589
 
@@ -4525,6 +4592,7 @@ class StartDesktopsResponseBody(TeaModel):
4525
4592
  self,
4526
4593
  request_id: str = None,
4527
4594
  ):
4595
+ # The request ID.
4528
4596
  self.request_id = request_id
4529
4597
 
4530
4598
  def validate(self):
@@ -4740,17 +4808,17 @@ class StopDesktopsRequest(TeaModel):
4740
4808
  ):
4741
4809
  # The client ID. The system generates a unique ID for each client.
4742
4810
  self.client_id = client_id
4743
- # The client OS.
4811
+ # The operating system (OS) of the device that runs the Alibaba Cloud Workspace client (hereinafter referred to as WUYING client).
4744
4812
  self.client_os = client_os
4745
4813
  # The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How do I ensure the idempotence of a request?](~~25693~~)
4746
4814
  self.client_token = client_token
4747
- # The client version.
4815
+ # The client version. If you use a WUYING client, you can view the client version in the **About** dialog box on the client logon page.
4748
4816
  self.client_version = client_version
4749
- # The cloud desktop IDs. You can specify 1 to 20 IDs.
4817
+ # The IDs of the cloud computers. You can specify the IDs of 1 to 20 cloud computers.
4750
4818
  self.desktop_id = desktop_id
4751
4819
  # The logon token.
4752
4820
  self.login_token = login_token
4753
- # The region ID. You can call the [DescribeRegions](~~196646~~) operation to query the most recent region list.
4821
+ # The region ID. You can call the [DescribeRegions](~~196646~~) operation to query the regions supported by WUYING Workspace.
4754
4822
  self.region_id = region_id
4755
4823
  # The session ID.
4756
4824
  self.session_id = session_id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-ecd20201002
3
- Version: 1.1.0
3
+ Version: 1.1.1
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
@@ -0,0 +1,8 @@
1
+ alibabacloud_ecd20201002/__init__.py,sha256=53GVpdbXWKClDfDcMCbYGRJD9bu0Au5mGW3n_hBqP3w,21
2
+ alibabacloud_ecd20201002/client.py,sha256=lavNIHAYzB174x1gzWQyoBJ3nLj7x2232wDS1dbhpj8,124392
3
+ alibabacloud_ecd20201002/models.py,sha256=03R9YiMVksYfIhJEdJz10AQdxvQn7KOJLAkA8JwPFoE,181043
4
+ alibabacloud_ecd20201002-1.1.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_ecd20201002-1.1.1.dist-info/METADATA,sha256=jCJhTmPhwg07UsHoIHUm2pLnzwx3jKdd9nX1Ye3kmlM,2283
6
+ alibabacloud_ecd20201002-1.1.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
+ alibabacloud_ecd20201002-1.1.1.dist-info/top_level.txt,sha256=StSX710186VDYReoyBW7AC51spfR_S0-5CO0fZyRBCk,25
8
+ alibabacloud_ecd20201002-1.1.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- alibabacloud_ecd20201002/__init__.py,sha256=XIz3qAg9G9YysQi3Ryp0CN3rtc_JiecHZ9L2vEzcM6s,21
2
- alibabacloud_ecd20201002/client.py,sha256=f8tdlcuGWlhIyjiENRkUNYJ-6GzjzrOovVvfGanb-yc,123600
3
- alibabacloud_ecd20201002/models.py,sha256=tZ24sQYxkekUarO2c58-PWKrUYquNnSYjXFub5ugPHA,177566
4
- alibabacloud_ecd20201002-1.1.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_ecd20201002-1.1.0.dist-info/METADATA,sha256=KLSKalHdXUOjSF2gZxQtkTQAfQwHtA3g8uqY2sai7U8,2283
6
- alibabacloud_ecd20201002-1.1.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
- alibabacloud_ecd20201002-1.1.0.dist-info/top_level.txt,sha256=StSX710186VDYReoyBW7AC51spfR_S0-5CO0fZyRBCk,25
8
- alibabacloud_ecd20201002-1.1.0.dist-info/RECORD,,