@alicloud/ecd20200930 4.6.0 → 4.6.2

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.
package/dist/client.js CHANGED
@@ -595,6 +595,7 @@ class CreateConfigGroupRequestConfigTimers extends $dara.Model {
595
595
  cronExpression: 'CronExpression',
596
596
  enforce: 'Enforce',
597
597
  interval: 'Interval',
598
+ notificationTime: 'NotificationTime',
598
599
  operationType: 'OperationType',
599
600
  processWhitelist: 'ProcessWhitelist',
600
601
  resetType: 'ResetType',
@@ -608,6 +609,7 @@ class CreateConfigGroupRequestConfigTimers extends $dara.Model {
608
609
  cronExpression: 'string',
609
610
  enforce: 'boolean',
610
611
  interval: 'number',
612
+ notificationTime: 'number',
611
613
  operationType: 'string',
612
614
  processWhitelist: { 'type': 'array', 'itemType': 'string' },
613
615
  resetType: 'string',
@@ -2240,6 +2242,7 @@ class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model {
2240
2242
  gpuSpec: 'GpuSpec',
2241
2243
  idleDisconnectDuration: 'IdleDisconnectDuration',
2242
2244
  imageId: 'ImageId',
2245
+ isLdap: 'IsLdap',
2243
2246
  keepDuration: 'KeepDuration',
2244
2247
  loadPolicy: 'LoadPolicy',
2245
2248
  maxDesktopsCount: 'MaxDesktopsCount',
@@ -2293,6 +2296,7 @@ class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model {
2293
2296
  gpuSpec: 'string',
2294
2297
  idleDisconnectDuration: 'number',
2295
2298
  imageId: 'string',
2299
+ isLdap: 'boolean',
2296
2300
  keepDuration: 'number',
2297
2301
  loadPolicy: 'number',
2298
2302
  maxDesktopsCount: 'number',
@@ -2851,6 +2855,7 @@ class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
2851
2855
  hibernationOptionsConfigured: 'HibernationOptionsConfigured',
2852
2856
  hostName: 'HostName',
2853
2857
  imageId: 'ImageId',
2858
+ isLdap: 'IsLdap',
2854
2859
  managementFlag: 'ManagementFlag',
2855
2860
  managementFlags: 'ManagementFlags',
2856
2861
  memory: 'Memory',
@@ -2918,6 +2923,7 @@ class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
2918
2923
  hibernationOptionsConfigured: 'boolean',
2919
2924
  hostName: 'string',
2920
2925
  imageId: 'string',
2926
+ isLdap: 'boolean',
2921
2927
  managementFlag: 'string',
2922
2928
  managementFlags: { 'type': 'array', 'itemType': 'string' },
2923
2929
  memory: 'number',
@@ -5239,6 +5245,7 @@ class DescribeTimerGroupResponseBodyDataConfigTimers extends $dara.Model {
5239
5245
  cronExpression: 'CronExpression',
5240
5246
  enforce: 'Enforce',
5241
5247
  interval: 'Interval',
5248
+ notificationTime: 'NotificationTime',
5242
5249
  operationType: 'OperationType',
5243
5250
  processWhitelist: 'ProcessWhitelist',
5244
5251
  resetType: 'ResetType',
@@ -5252,6 +5259,7 @@ class DescribeTimerGroupResponseBodyDataConfigTimers extends $dara.Model {
5252
5259
  cronExpression: 'string',
5253
5260
  enforce: 'boolean',
5254
5261
  interval: 'number',
5262
+ notificationTime: 'number',
5255
5263
  operationType: 'string',
5256
5264
  processWhitelist: { 'type': 'array', 'itemType': 'string' },
5257
5265
  resetType: 'string',
@@ -5545,6 +5553,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
5545
5553
  desktopId: 'DesktopId',
5546
5554
  desktopName: 'DesktopName',
5547
5555
  displayName: 'DisplayName',
5556
+ displayNameNew: 'DisplayNameNew',
5548
5557
  endUserEmail: 'EndUserEmail',
5549
5558
  endUserId: 'EndUserId',
5550
5559
  endUserName: 'EndUserName',
@@ -5553,6 +5562,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
5553
5562
  endUserType: 'EndUserType',
5554
5563
  externalInfo: 'ExternalInfo',
5555
5564
  userDesktopId: 'UserDesktopId',
5565
+ userPrincipalName: 'UserPrincipalName',
5556
5566
  userSetPropertiesModels: 'UserSetPropertiesModels',
5557
5567
  };
5558
5568
  }
@@ -5562,6 +5572,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
5562
5572
  desktopId: 'string',
5563
5573
  desktopName: 'string',
5564
5574
  displayName: 'string',
5575
+ displayNameNew: 'string',
5565
5576
  endUserEmail: 'string',
5566
5577
  endUserId: 'string',
5567
5578
  endUserName: 'string',
@@ -5570,6 +5581,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
5570
5581
  endUserType: 'string',
5571
5582
  externalInfo: DescribeUsersInGroupResponseBodyEndUsersExternalInfo,
5572
5583
  userDesktopId: 'string',
5584
+ userPrincipalName: 'string',
5573
5585
  userSetPropertiesModels: { 'type': 'array', 'itemType': DescribeUsersInGroupResponseBodyEndUsersUserSetPropertiesModels },
5574
5586
  };
5575
5587
  }
@@ -6059,18 +6071,22 @@ class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
6059
6071
  return {
6060
6072
  assignedDesktopNumber: 'AssignedDesktopNumber',
6061
6073
  displayName: 'DisplayName',
6074
+ displayNameNew: 'DisplayNameNew',
6062
6075
  email: 'Email',
6063
6076
  endUser: 'EndUser',
6064
6077
  phone: 'Phone',
6078
+ userPrincipalName: 'UserPrincipalName',
6065
6079
  };
6066
6080
  }
6067
6081
  static types() {
6068
6082
  return {
6069
6083
  assignedDesktopNumber: 'number',
6070
6084
  displayName: 'string',
6085
+ displayNameNew: 'string',
6071
6086
  email: 'string',
6072
6087
  endUser: 'string',
6073
6088
  phone: 'string',
6089
+ userPrincipalName: 'string',
6074
6090
  };
6075
6091
  }
6076
6092
  validate() {
@@ -6129,18 +6145,22 @@ class ListOfficeSiteUsersResponseBodyUsers extends $dara.Model {
6129
6145
  return {
6130
6146
  assignedDesktopNumber: 'AssignedDesktopNumber',
6131
6147
  displayName: 'DisplayName',
6148
+ displayNameNew: 'DisplayNameNew',
6132
6149
  email: 'Email',
6133
6150
  endUser: 'EndUser',
6134
6151
  phone: 'Phone',
6152
+ userPrincipalName: 'UserPrincipalName',
6135
6153
  };
6136
6154
  }
6137
6155
  static types() {
6138
6156
  return {
6139
6157
  assignedDesktopNumber: 'number',
6140
6158
  displayName: 'string',
6159
+ displayNameNew: 'string',
6141
6160
  email: 'string',
6142
6161
  endUser: 'string',
6143
6162
  phone: 'string',
6163
+ userPrincipalName: 'string',
6144
6164
  };
6145
6165
  }
6146
6166
  validate() {
@@ -6882,6 +6902,7 @@ class ModifyTimerGroupRequestConfigTimers extends $dara.Model {
6882
6902
  cronExpression: 'CronExpression',
6883
6903
  enforce: 'Enforce',
6884
6904
  interval: 'Interval',
6905
+ notificationTime: 'NotificationTime',
6885
6906
  operationType: 'OperationType',
6886
6907
  processWhitelist: 'ProcessWhitelist',
6887
6908
  resetType: 'ResetType',
@@ -6895,6 +6916,7 @@ class ModifyTimerGroupRequestConfigTimers extends $dara.Model {
6895
6916
  cronExpression: 'string',
6896
6917
  enforce: 'boolean',
6897
6918
  interval: 'number',
6919
+ notificationTime: 'number',
6898
6920
  operationType: 'string',
6899
6921
  processWhitelist: { 'type': 'array', 'itemType': 'string' },
6900
6922
  resetType: 'string',
@@ -11259,6 +11281,7 @@ class CreateImageRequest extends $dara.Model {
11259
11281
  static names() {
11260
11282
  return {
11261
11283
  autoCleanUserdata: 'AutoCleanUserdata',
11284
+ dataSnapshotIds: 'DataSnapshotIds',
11262
11285
  description: 'Description',
11263
11286
  desktopId: 'DesktopId',
11264
11287
  diskType: 'DiskType',
@@ -11272,6 +11295,7 @@ class CreateImageRequest extends $dara.Model {
11272
11295
  static types() {
11273
11296
  return {
11274
11297
  autoCleanUserdata: 'boolean',
11298
+ dataSnapshotIds: { 'type': 'array', 'itemType': 'string' },
11275
11299
  description: 'string',
11276
11300
  desktopId: 'string',
11277
11301
  diskType: 'string',
@@ -11283,6 +11307,9 @@ class CreateImageRequest extends $dara.Model {
11283
11307
  };
11284
11308
  }
11285
11309
  validate() {
11310
+ if (Array.isArray(this.dataSnapshotIds)) {
11311
+ $dara.Model.validateArray(this.dataSnapshotIds);
11312
+ }
11286
11313
  if (Array.isArray(this.snapshotIds)) {
11287
11314
  $dara.Model.validateArray(this.snapshotIds);
11288
11315
  }
@@ -24511,6 +24538,7 @@ exports.RebootDesktopsResponse = RebootDesktopsResponse;
24511
24538
  class RebuildDesktopsRequest extends $dara.Model {
24512
24539
  static names() {
24513
24540
  return {
24541
+ afterStatus: 'AfterStatus',
24514
24542
  desktopId: 'DesktopId',
24515
24543
  imageId: 'ImageId',
24516
24544
  language: 'Language',
@@ -24520,6 +24548,7 @@ class RebuildDesktopsRequest extends $dara.Model {
24520
24548
  }
24521
24549
  static types() {
24522
24550
  return {
24551
+ afterStatus: 'string',
24523
24552
  desktopId: { 'type': 'array', 'itemType': 'string' },
24524
24553
  imageId: 'string',
24525
24554
  language: 'string',
@@ -29572,7 +29601,10 @@ class Client extends openapi_core_1.default {
29572
29601
  return await this.createCenterPolicyWithOptions(request, runtime);
29573
29602
  }
29574
29603
  /**
29575
- * Creates a cloud disk.
29604
+ * Creates an enterprise drive.
29605
+ *
29606
+ * @remarks
29607
+ * Before you call this operation, make sure that you understand the billing methods and pricing of Enterprise Drive Service (formerly Cloud Drive Service). For more information, see [Overview](https://help.aliyun.com/document_detail/386301.html).
29576
29608
  *
29577
29609
  * @param request - CreateCloudDriveServiceRequest
29578
29610
  * @param runtime - runtime options for this request RuntimeOptions
@@ -29654,7 +29686,10 @@ class Client extends openapi_core_1.default {
29654
29686
  }
29655
29687
  }
29656
29688
  /**
29657
- * Creates a cloud disk.
29689
+ * Creates an enterprise drive.
29690
+ *
29691
+ * @remarks
29692
+ * Before you call this operation, make sure that you understand the billing methods and pricing of Enterprise Drive Service (formerly Cloud Drive Service). For more information, see [Overview](https://help.aliyun.com/document_detail/386301.html).
29658
29693
  *
29659
29694
  * @param request - CreateCloudDriveServiceRequest
29660
29695
  * @returns CreateCloudDriveServiceResponse
@@ -30307,6 +30342,9 @@ class Client extends openapi_core_1.default {
30307
30342
  if (!$dara.isNull(request.autoCleanUserdata)) {
30308
30343
  query["AutoCleanUserdata"] = request.autoCleanUserdata;
30309
30344
  }
30345
+ if (!$dara.isNull(request.dataSnapshotIds)) {
30346
+ query["DataSnapshotIds"] = request.dataSnapshotIds;
30347
+ }
30310
30348
  if (!$dara.isNull(request.description)) {
30311
30349
  query["Description"] = request.description;
30312
30350
  }
@@ -31099,6 +31137,8 @@ class Client extends openapi_core_1.default {
31099
31137
  return await this.deleteCdsFileWithOptions(request, runtime);
31100
31138
  }
31101
31139
  /**
31140
+ * Deletes a center policy
31141
+ *
31102
31142
  * @param request - DeleteCenterPolicyRequest
31103
31143
  * @param runtime - runtime options for this request RuntimeOptions
31104
31144
  * @returns DeleteCenterPolicyResponse
@@ -31140,6 +31180,8 @@ class Client extends openapi_core_1.default {
31140
31180
  }
31141
31181
  }
31142
31182
  /**
31183
+ * Deletes a center policy
31184
+ *
31143
31185
  * @param request - DeleteCenterPolicyRequest
31144
31186
  * @returns DeleteCenterPolicyResponse
31145
31187
  */
@@ -32778,7 +32820,7 @@ class Client extends openapi_core_1.default {
32778
32820
  return await this.describeDesktopGroupSessionsWithOptions(request, runtime);
32779
32821
  }
32780
32822
  /**
32781
- * Queries a list of desktop groups.
32823
+ * Queries cloud computer shares.
32782
32824
  *
32783
32825
  * @param request - DescribeDesktopGroupsRequest
32784
32826
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32866,7 +32908,7 @@ class Client extends openapi_core_1.default {
32866
32908
  }
32867
32909
  }
32868
32910
  /**
32869
- * Queries a list of desktop groups.
32911
+ * Queries cloud computer shares.
32870
32912
  *
32871
32913
  * @param request - DescribeDesktopGroupsRequest
32872
32914
  * @returns DescribeDesktopGroupsResponse
@@ -34233,6 +34275,8 @@ class Client extends openapi_core_1.default {
34233
34275
  return await this.describeKmsKeysWithOptions(request, runtime);
34234
34276
  }
34235
34277
  /**
34278
+ * Queries the price for changing the specifications of a monthly subscription cloud computer with unlimited hours or a premium bandwidth plan.
34279
+ *
34236
34280
  * @param request - DescribeModificationPriceRequest
34237
34281
  * @param runtime - runtime options for this request RuntimeOptions
34238
34282
  * @returns DescribeModificationPriceResponse
@@ -34283,6 +34327,8 @@ class Client extends openapi_core_1.default {
34283
34327
  }
34284
34328
  }
34285
34329
  /**
34330
+ * Queries the price for changing the specifications of a monthly subscription cloud computer with unlimited hours or a premium bandwidth plan.
34331
+ *
34286
34332
  * @param request - DescribeModificationPriceRequest
34287
34333
  * @returns DescribeModificationPriceResponse
34288
34334
  */
@@ -34967,6 +35013,8 @@ class Client extends openapi_core_1.default {
34967
35013
  return await this.describeRegionsWithOptions(request, runtime);
34968
35014
  }
34969
35015
  /**
35016
+ * Queries the renewal price of an Alibaba Cloud Workspace service.
35017
+ *
34970
35018
  * @param request - DescribeRenewalPriceRequest
34971
35019
  * @param runtime - runtime options for this request RuntimeOptions
34972
35020
  * @returns DescribeRenewalPriceResponse
@@ -35014,6 +35062,8 @@ class Client extends openapi_core_1.default {
35014
35062
  }
35015
35063
  }
35016
35064
  /**
35065
+ * Queries the renewal price of an Alibaba Cloud Workspace service.
35066
+ *
35017
35067
  * @param request - DescribeRenewalPriceRequest
35018
35068
  * @returns DescribeRenewalPriceResponse
35019
35069
  */
@@ -36446,7 +36496,7 @@ class Client extends openapi_core_1.default {
36446
36496
  return await this.getCoordinateTicketWithOptions(request, runtime);
36447
36497
  }
36448
36498
  /**
36449
- * Queries the information about a cloud computer pool.
36499
+ * Queries the information about a cloud computer share.
36450
36500
  *
36451
36501
  * @param request - GetDesktopGroupDetailRequest
36452
36502
  * @param runtime - runtime options for this request RuntimeOptions
@@ -36483,7 +36533,7 @@ class Client extends openapi_core_1.default {
36483
36533
  }
36484
36534
  }
36485
36535
  /**
36486
- * Queries the information about a cloud computer pool.
36536
+ * Queries the information about a cloud computer share.
36487
36537
  *
36488
36538
  * @param request - GetDesktopGroupDetailRequest
36489
36539
  * @returns GetDesktopGroupDetailResponse
@@ -38454,10 +38504,10 @@ class Client extends openapi_core_1.default {
38454
38504
  return await this.modifyDesktopChargeTypeWithOptions(request, runtime);
38455
38505
  }
38456
38506
  /**
38457
- * Modifies the configurations of a cloud computer pool.
38507
+ * Modifies a cloud computer share.
38458
38508
  *
38459
38509
  * @remarks
38460
- * After a cloud computer pool is created, the system creates a specific number of cloud computers in the pool based on the auto scaling policy and user connections. Cloud computers are created by using the same cloud computer template and security policy. You can modify the configurations of the pool, including the pool name, cloud computer template, and policy, in different business scenarios.
38510
+ * Once a cloud computer share is created, the system automatically provisions cloud computers according to the auto-scaling policy and user connections, all based on the same template and security policy. You can adjust the cloud computer share\\"s configurations, including the share name, template, and policy, for different business scenarios.
38461
38511
  *
38462
38512
  * @param request - ModifyDesktopGroupRequest
38463
38513
  * @param runtime - runtime options for this request RuntimeOptions
@@ -38566,10 +38616,10 @@ class Client extends openapi_core_1.default {
38566
38616
  }
38567
38617
  }
38568
38618
  /**
38569
- * Modifies the configurations of a cloud computer pool.
38619
+ * Modifies a cloud computer share.
38570
38620
  *
38571
38621
  * @remarks
38572
- * After a cloud computer pool is created, the system creates a specific number of cloud computers in the pool based on the auto scaling policy and user connections. Cloud computers are created by using the same cloud computer template and security policy. You can modify the configurations of the pool, including the pool name, cloud computer template, and policy, in different business scenarios.
38622
+ * Once a cloud computer share is created, the system automatically provisions cloud computers according to the auto-scaling policy and user connections, all based on the same template and security policy. You can adjust the cloud computer share\\"s configurations, including the share name, template, and policy, for different business scenarios.
38573
38623
  *
38574
38624
  * @param request - ModifyDesktopGroupRequest
38575
38625
  * @returns ModifyDesktopGroupResponse
@@ -40303,6 +40353,9 @@ class Client extends openapi_core_1.default {
40303
40353
  async rebuildDesktopsWithOptions(request, runtime) {
40304
40354
  request.validate();
40305
40355
  let query = {};
40356
+ if (!$dara.isNull(request.afterStatus)) {
40357
+ query["AfterStatus"] = request.afterStatus;
40358
+ }
40306
40359
  if (!$dara.isNull(request.desktopId)) {
40307
40360
  query["DesktopId"] = request.desktopId;
40308
40361
  }