@alicloud/ecd20200930 3.4.3 → 3.5.1

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/src/client.ts CHANGED
@@ -2641,6 +2641,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
2641
2641
  cdsId?: string;
2642
2642
  cdsName?: string;
2643
2643
  cenId?: string;
2644
+ conflictCdsAndOrder?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrder;
2644
2645
  domainName?: string;
2645
2646
  errorCode?: string;
2646
2647
  maxSize?: string;
@@ -2652,6 +2653,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
2652
2653
  cdsId: 'CdsId',
2653
2654
  cdsName: 'CdsName',
2654
2655
  cenId: 'CenId',
2656
+ conflictCdsAndOrder: 'ConflictCdsAndOrder',
2655
2657
  domainName: 'DomainName',
2656
2658
  errorCode: 'ErrorCode',
2657
2659
  maxSize: 'MaxSize',
@@ -2666,6 +2668,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
2666
2668
  cdsId: 'string',
2667
2669
  cdsName: 'string',
2668
2670
  cenId: 'string',
2671
+ conflictCdsAndOrder: CreateCloudDriveServiceResponseBodyConflictCdsAndOrder,
2669
2672
  domainName: 'string',
2670
2673
  errorCode: 'string',
2671
2674
  maxSize: 'string',
@@ -2963,7 +2966,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
2963
2966
  description?: string;
2964
2967
  desktopType?: string;
2965
2968
  directoryId?: string;
2969
+ idleDisconnectDuration?: number;
2966
2970
  imageId?: string;
2971
+ keepDuration?: number;
2967
2972
  name?: string;
2968
2973
  oversoldUserCount?: number;
2969
2974
  oversoldWarn?: number;
@@ -2979,7 +2984,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
2979
2984
  description: 'Description',
2980
2985
  desktopType: 'DesktopType',
2981
2986
  directoryId: 'DirectoryId',
2987
+ idleDisconnectDuration: 'IdleDisconnectDuration',
2982
2988
  imageId: 'ImageId',
2989
+ keepDuration: 'KeepDuration',
2983
2990
  name: 'Name',
2984
2991
  oversoldUserCount: 'OversoldUserCount',
2985
2992
  oversoldWarn: 'OversoldWarn',
@@ -2998,7 +3005,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
2998
3005
  description: 'string',
2999
3006
  desktopType: 'string',
3000
3007
  directoryId: 'string',
3008
+ idleDisconnectDuration: 'number',
3001
3009
  imageId: 'string',
3010
+ keepDuration: 'number',
3002
3011
  name: 'string',
3003
3012
  oversoldUserCount: 'number',
3004
3013
  oversoldWarn: 'number',
@@ -6639,6 +6648,8 @@ export class DescribeDesktopOversoldUserGroupResponse extends $tea.Model {
6639
6648
  }
6640
6649
 
6641
6650
  export class DescribeDesktopSessionsRequest extends $tea.Model {
6651
+ desktopId?: string[];
6652
+ desktopName?: string;
6642
6653
  endTime?: string;
6643
6654
  endUserId?: string;
6644
6655
  officeSiteId?: string;
@@ -6649,6 +6660,8 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
6649
6660
  startTime?: string;
6650
6661
  static names(): { [key: string]: string } {
6651
6662
  return {
6663
+ desktopId: 'DesktopId',
6664
+ desktopName: 'DesktopName',
6652
6665
  endTime: 'EndTime',
6653
6666
  endUserId: 'EndUserId',
6654
6667
  officeSiteId: 'OfficeSiteId',
@@ -6662,6 +6675,8 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
6662
6675
 
6663
6676
  static types(): { [key: string]: any } {
6664
6677
  return {
6678
+ desktopId: { 'type': 'array', 'itemType': 'string' },
6679
+ desktopName: 'string',
6665
6680
  endTime: 'string',
6666
6681
  endUserId: 'string',
6667
6682
  officeSiteId: 'string',
@@ -8837,6 +8852,99 @@ export class DescribePriceForRenewDesktopOversoldGroupResponse extends $tea.Mode
8837
8852
  }
8838
8853
  }
8839
8854
 
8855
+ export class DescribeRecordingsRequest extends $tea.Model {
8856
+ desktopId?: string;
8857
+ endTime?: string;
8858
+ maxResults?: number;
8859
+ needSignedUrl?: boolean;
8860
+ nextToken?: string;
8861
+ policyGroupId?: string;
8862
+ regionId?: string;
8863
+ signedUrlExpireMinutes?: number;
8864
+ startTime?: string;
8865
+ static names(): { [key: string]: string } {
8866
+ return {
8867
+ desktopId: 'DesktopId',
8868
+ endTime: 'EndTime',
8869
+ maxResults: 'MaxResults',
8870
+ needSignedUrl: 'NeedSignedUrl',
8871
+ nextToken: 'NextToken',
8872
+ policyGroupId: 'PolicyGroupId',
8873
+ regionId: 'RegionId',
8874
+ signedUrlExpireMinutes: 'SignedUrlExpireMinutes',
8875
+ startTime: 'StartTime',
8876
+ };
8877
+ }
8878
+
8879
+ static types(): { [key: string]: any } {
8880
+ return {
8881
+ desktopId: 'string',
8882
+ endTime: 'string',
8883
+ maxResults: 'number',
8884
+ needSignedUrl: 'boolean',
8885
+ nextToken: 'string',
8886
+ policyGroupId: 'string',
8887
+ regionId: 'string',
8888
+ signedUrlExpireMinutes: 'number',
8889
+ startTime: 'string',
8890
+ };
8891
+ }
8892
+
8893
+ constructor(map?: { [key: string]: any }) {
8894
+ super(map);
8895
+ }
8896
+ }
8897
+
8898
+ export class DescribeRecordingsResponseBody extends $tea.Model {
8899
+ nextToken?: string;
8900
+ recordings?: DescribeRecordingsResponseBodyRecordings[];
8901
+ requestId?: string;
8902
+ static names(): { [key: string]: string } {
8903
+ return {
8904
+ nextToken: 'NextToken',
8905
+ recordings: 'Recordings',
8906
+ requestId: 'RequestId',
8907
+ };
8908
+ }
8909
+
8910
+ static types(): { [key: string]: any } {
8911
+ return {
8912
+ nextToken: 'string',
8913
+ recordings: { 'type': 'array', 'itemType': DescribeRecordingsResponseBodyRecordings },
8914
+ requestId: 'string',
8915
+ };
8916
+ }
8917
+
8918
+ constructor(map?: { [key: string]: any }) {
8919
+ super(map);
8920
+ }
8921
+ }
8922
+
8923
+ export class DescribeRecordingsResponse extends $tea.Model {
8924
+ headers?: { [key: string]: string };
8925
+ statusCode?: number;
8926
+ body?: DescribeRecordingsResponseBody;
8927
+ static names(): { [key: string]: string } {
8928
+ return {
8929
+ headers: 'headers',
8930
+ statusCode: 'statusCode',
8931
+ body: 'body',
8932
+ };
8933
+ }
8934
+
8935
+ static types(): { [key: string]: any } {
8936
+ return {
8937
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8938
+ statusCode: 'number',
8939
+ body: DescribeRecordingsResponseBody,
8940
+ };
8941
+ }
8942
+
8943
+ constructor(map?: { [key: string]: any }) {
8944
+ super(map);
8945
+ }
8946
+ }
8947
+
8840
8948
  export class DescribeRegionsRequest extends $tea.Model {
8841
8949
  acceptLanguage?: string;
8842
8950
  regionId?: string;
@@ -13038,7 +13146,9 @@ export class ModifyDesktopNameResponse extends $tea.Model {
13038
13146
  export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
13039
13147
  concurrenceCount?: number;
13040
13148
  description?: string;
13149
+ idleDisconnectDuration?: number;
13041
13150
  imageId?: string;
13151
+ keepDuration?: number;
13042
13152
  name?: string;
13043
13153
  oversoldGroupId?: string;
13044
13154
  oversoldUserCount?: number;
@@ -13049,7 +13159,9 @@ export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
13049
13159
  return {
13050
13160
  concurrenceCount: 'ConcurrenceCount',
13051
13161
  description: 'Description',
13162
+ idleDisconnectDuration: 'IdleDisconnectDuration',
13052
13163
  imageId: 'ImageId',
13164
+ keepDuration: 'KeepDuration',
13053
13165
  name: 'Name',
13054
13166
  oversoldGroupId: 'OversoldGroupId',
13055
13167
  oversoldUserCount: 'OversoldUserCount',
@@ -13063,7 +13175,9 @@ export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
13063
13175
  return {
13064
13176
  concurrenceCount: 'number',
13065
13177
  description: 'string',
13178
+ idleDisconnectDuration: 'number',
13066
13179
  imageId: 'string',
13180
+ keepDuration: 'number',
13067
13181
  name: 'string',
13068
13182
  oversoldGroupId: 'string',
13069
13183
  oversoldUserCount: 'number',
@@ -17354,6 +17468,75 @@ export class CreateCdsFileResponseBodyFileModel extends $tea.Model {
17354
17468
  }
17355
17469
  }
17356
17470
 
17471
+ export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds extends $tea.Model {
17472
+ cdsId?: string;
17473
+ regionId?: string;
17474
+ static names(): { [key: string]: string } {
17475
+ return {
17476
+ cdsId: 'CdsId',
17477
+ regionId: 'RegionId',
17478
+ };
17479
+ }
17480
+
17481
+ static types(): { [key: string]: any } {
17482
+ return {
17483
+ cdsId: 'string',
17484
+ regionId: 'string',
17485
+ };
17486
+ }
17487
+
17488
+ constructor(map?: { [key: string]: any }) {
17489
+ super(map);
17490
+ }
17491
+ }
17492
+
17493
+ export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder extends $tea.Model {
17494
+ cdsId?: string;
17495
+ orderId?: string;
17496
+ regionId?: string;
17497
+ static names(): { [key: string]: string } {
17498
+ return {
17499
+ cdsId: 'CdsId',
17500
+ orderId: 'OrderId',
17501
+ regionId: 'RegionId',
17502
+ };
17503
+ }
17504
+
17505
+ static types(): { [key: string]: any } {
17506
+ return {
17507
+ cdsId: 'string',
17508
+ orderId: 'string',
17509
+ regionId: 'string',
17510
+ };
17511
+ }
17512
+
17513
+ constructor(map?: { [key: string]: any }) {
17514
+ super(map);
17515
+ }
17516
+ }
17517
+
17518
+ export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrder extends $tea.Model {
17519
+ conflictCds?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds[];
17520
+ conflictOrder?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder[];
17521
+ static names(): { [key: string]: string } {
17522
+ return {
17523
+ conflictCds: 'ConflictCds',
17524
+ conflictOrder: 'ConflictOrder',
17525
+ };
17526
+ }
17527
+
17528
+ static types(): { [key: string]: any } {
17529
+ return {
17530
+ conflictCds: { 'type': 'array', 'itemType': CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds },
17531
+ conflictOrder: { 'type': 'array', 'itemType': CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder },
17532
+ };
17533
+ }
17534
+
17535
+ constructor(map?: { [key: string]: any }) {
17536
+ super(map);
17537
+ }
17538
+ }
17539
+
17357
17540
  export class CreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
17358
17541
  orderId?: number;
17359
17542
  oversoldGroupId?: string;
@@ -18461,7 +18644,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
18461
18644
  desktopType?: string;
18462
18645
  directoryId?: string;
18463
18646
  expireTime?: string;
18647
+ idleDisconnectDuration?: string;
18464
18648
  imageId?: string;
18649
+ keepDuration?: string;
18465
18650
  name?: string;
18466
18651
  oversoldGroupId?: string;
18467
18652
  oversoldUserCount?: number;
@@ -18480,7 +18665,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
18480
18665
  desktopType: 'DesktopType',
18481
18666
  directoryId: 'DirectoryId',
18482
18667
  expireTime: 'ExpireTime',
18668
+ idleDisconnectDuration: 'IdleDisconnectDuration',
18483
18669
  imageId: 'ImageId',
18670
+ keepDuration: 'KeepDuration',
18484
18671
  name: 'Name',
18485
18672
  oversoldGroupId: 'OversoldGroupId',
18486
18673
  oversoldUserCount: 'OversoldUserCount',
@@ -18502,7 +18689,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
18502
18689
  desktopType: 'string',
18503
18690
  directoryId: 'string',
18504
18691
  expireTime: 'string',
18692
+ idleDisconnectDuration: 'string',
18505
18693
  imageId: 'string',
18694
+ keepDuration: 'string',
18506
18695
  name: 'string',
18507
18696
  oversoldGroupId: 'string',
18508
18697
  oversoldUserCount: 'number',
@@ -20807,6 +20996,52 @@ export class DescribePriceForRenewDesktopOversoldGroupResponseBodyData extends $
20807
20996
  }
20808
20997
  }
20809
20998
 
20999
+ export class DescribeRecordingsResponseBodyRecordings extends $tea.Model {
21000
+ desktopId?: string;
21001
+ desktopName?: string;
21002
+ endTime?: string;
21003
+ endUserIds?: string[];
21004
+ filePath?: string;
21005
+ policyGroupId?: string;
21006
+ recordingSize?: number;
21007
+ recordingType?: string;
21008
+ signedUrl?: string;
21009
+ startTime?: string;
21010
+ static names(): { [key: string]: string } {
21011
+ return {
21012
+ desktopId: 'DesktopId',
21013
+ desktopName: 'DesktopName',
21014
+ endTime: 'EndTime',
21015
+ endUserIds: 'EndUserIds',
21016
+ filePath: 'FilePath',
21017
+ policyGroupId: 'PolicyGroupId',
21018
+ recordingSize: 'RecordingSize',
21019
+ recordingType: 'RecordingType',
21020
+ signedUrl: 'SignedUrl',
21021
+ startTime: 'StartTime',
21022
+ };
21023
+ }
21024
+
21025
+ static types(): { [key: string]: any } {
21026
+ return {
21027
+ desktopId: 'string',
21028
+ desktopName: 'string',
21029
+ endTime: 'string',
21030
+ endUserIds: { 'type': 'array', 'itemType': 'string' },
21031
+ filePath: 'string',
21032
+ policyGroupId: 'string',
21033
+ recordingSize: 'number',
21034
+ recordingType: 'string',
21035
+ signedUrl: 'string',
21036
+ startTime: 'string',
21037
+ };
21038
+ }
21039
+
21040
+ constructor(map?: { [key: string]: any }) {
21041
+ super(map);
21042
+ }
21043
+ }
21044
+
20810
21045
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
20811
21046
  localName?: string;
20812
21047
  regionEndpoint?: string;
@@ -22533,7 +22768,7 @@ export default class Client extends OpenApi {
22533
22768
  }
22534
22769
 
22535
22770
  /**
22536
- * To improve resource utilization, the system automatically locks a workspace of the convenience account type to release virtual private cloud (VPC) resources, and the workspace has been no longer used for a long time. If you want to continue using the locked workspace, you can call this operation to activate it. When you activate the locked workspace, the system recreates VPC resources based on the original configurations.
22771
+ * If you do not create any cloud computer in a convenience office network within 15 days, the office network is automatically locked and virtual private cloud (VPC) resources are released. If you want to resume the office network, you can call this operation to unlock the office network.
22537
22772
  *
22538
22773
  * @param request ActivateOfficeSiteRequest
22539
22774
  * @param runtime runtime options for this request RuntimeOptions
@@ -22568,7 +22803,7 @@ export default class Client extends OpenApi {
22568
22803
  }
22569
22804
 
22570
22805
  /**
22571
- * To improve resource utilization, the system automatically locks a workspace of the convenience account type to release virtual private cloud (VPC) resources, and the workspace has been no longer used for a long time. If you want to continue using the locked workspace, you can call this operation to activate it. When you activate the locked workspace, the system recreates VPC resources based on the original configurations.
22806
+ * If you do not create any cloud computer in a convenience office network within 15 days, the office network is automatically locked and virtual private cloud (VPC) resources are released. If you want to resume the office network, you can call this operation to unlock the office network.
22572
22807
  *
22573
22808
  * @param request ActivateOfficeSiteRequest
22574
22809
  * @return ActivateOfficeSiteResponse
@@ -22969,6 +23204,13 @@ export default class Client extends OpenApi {
22969
23204
  return await this.applyCoordinationForMonitoringWithOptions(request, runtime);
22970
23205
  }
22971
23206
 
23207
+ /**
23208
+ * The cloud computers for which you want to allow image updates must be in the Running state.
23209
+ *
23210
+ * @param request ApproveFotaUpdateRequest
23211
+ * @param runtime runtime options for this request RuntimeOptions
23212
+ * @return ApproveFotaUpdateResponse
23213
+ */
22972
23214
  async approveFotaUpdateWithOptions(request: ApproveFotaUpdateRequest, runtime: $Util.RuntimeOptions): Promise<ApproveFotaUpdateResponse> {
22973
23215
  Util.validateModel(request);
22974
23216
  let query = { };
@@ -23001,6 +23243,12 @@ export default class Client extends OpenApi {
23001
23243
  return $tea.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
23002
23244
  }
23003
23245
 
23246
+ /**
23247
+ * The cloud computers for which you want to allow image updates must be in the Running state.
23248
+ *
23249
+ * @param request ApproveFotaUpdateRequest
23250
+ * @return ApproveFotaUpdateResponse
23251
+ */
23004
23252
  async approveFotaUpdate(request: ApproveFotaUpdateRequest): Promise<ApproveFotaUpdateResponse> {
23005
23253
  let runtime = new $Util.RuntimeOptions({ });
23006
23254
  return await this.approveFotaUpdateWithOptions(request, runtime);
@@ -23046,8 +23294,8 @@ export default class Client extends OpenApi {
23046
23294
  /**
23047
23295
  * Prerequisites
23048
23296
  * * A CEN instance is created.
23049
- * * A workspace of the convenience account type is created.
23050
- * > Workspaces of the Active Directory (AD) account type are automatically attached to CEN instances when you create the workspaces. You can attach the secure office network of a workspace to only one CEN instance.
23297
+ * * The office network is an advanced office network, and the account system type is convenient account.
23298
+ * > The office network is added to the CEN instance when you create the instance. An office network can be added to only one CEN instance.
23051
23299
  *
23052
23300
  * @param request AttachCenRequest
23053
23301
  * @param runtime runtime options for this request RuntimeOptions
@@ -23096,8 +23344,8 @@ export default class Client extends OpenApi {
23096
23344
  /**
23097
23345
  * Prerequisites
23098
23346
  * * A CEN instance is created.
23099
- * * A workspace of the convenience account type is created.
23100
- * > Workspaces of the Active Directory (AD) account type are automatically attached to CEN instances when you create the workspaces. You can attach the secure office network of a workspace to only one CEN instance.
23347
+ * * The office network is an advanced office network, and the account system type is convenient account.
23348
+ * > The office network is added to the CEN instance when you create the instance. An office network can be added to only one CEN instance.
23101
23349
  *
23102
23350
  * @param request AttachCenRequest
23103
23351
  * @return AttachCenResponse
@@ -23583,7 +23831,7 @@ export default class Client extends OpenApi {
23583
23831
  }
23584
23832
 
23585
23833
  /**
23586
- * AD directories are used to connect to enterprise AD systems and are suitable for large-scale desktop deployments. You are charged for AD directories that are used to connect to enterprise AD systems. For more information, see [Billing overview](~~188395~~).
23834
+ * An AD directory is used to connect to an enterprise\\"s existing Active Directory and is suitable for large-scale cloud computer deployment. You are charged directory fees when you connect your AD to cloud computers. For more information, see [Billing overview](~~188395~~).
23587
23835
  *
23588
23836
  * @param request CreateADConnectorDirectoryRequest
23589
23837
  * @param runtime runtime options for this request RuntimeOptions
@@ -23662,7 +23910,7 @@ export default class Client extends OpenApi {
23662
23910
  }
23663
23911
 
23664
23912
  /**
23665
- * AD directories are used to connect to enterprise AD systems and are suitable for large-scale desktop deployments. You are charged for AD directories that are used to connect to enterprise AD systems. For more information, see [Billing overview](~~188395~~).
23913
+ * An AD directory is used to connect to an enterprise\\"s existing Active Directory and is suitable for large-scale cloud computer deployment. You are charged directory fees when you connect your AD to cloud computers. For more information, see [Billing overview](~~188395~~).
23666
23914
  *
23667
23915
  * @param request CreateADConnectorDirectoryRequest
23668
23916
  * @return CreateADConnectorDirectoryResponse
@@ -23673,11 +23921,13 @@ export default class Client extends OpenApi {
23673
23921
  }
23674
23922
 
23675
23923
  /**
23676
- * * When you create a workspace of the enterprise AD account type, AD connectors are automatically created to allow you to connect to enterprise AD systems. You are charged for the AD connectors. For more information, see [Billing overview](~~188395~~).
23677
- * * After you call this operation to create a workspace of the enterprise AD account type, perform the following steps to configure the AD domain: 1. Configure the conditional forwarder in the Domain Name System (DNS) server. 2. Configure the trust relationship in the AD domain server, and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship for the workspace of the enterprise AD account type. 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to obtain the organizational unit (OU) details of the AD domain. Then, call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and an administrator for the workspace of the enterprise AD account type.
23678
- * **
23679
- * **Note** If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
23680
- * For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
23924
+ * When you create an enterprise AD office network, the system automatically creates an AD connector to connect to an enterprise AD. You are charged for the AD connector. For more information, see [Billing overview](~~188395~~).
23925
+ * After you call this operation to create an AD office network, you must perform the following steps to complete AD domain setting:
23926
+ * 1. Configure a conditional forwarder in a Domain Name System (DNS) server.
23927
+ * 2. Configure a trust relationship in an AD domain controller and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship with the AD office network.
23928
+ * 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to query a list of organizational units (OUs) of the AD domain, and call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and administrator for the AD office network.
23929
+ * > When you create the AD office network, take note of the DomainUserName and DomainPassword parameters. If you specify the parameters, you need to only configure a conditional forwarder. If you do not specify the parameters, you must configure a conditional forwarder, trust relationship, and OU as prompted.
23930
+ * For more information, see [Create and manage enterprise AD office networks](~~214469~~).
23681
23931
  *
23682
23932
  * @param request CreateADConnectorOfficeSiteRequest
23683
23933
  * @param runtime runtime options for this request RuntimeOptions
@@ -23784,11 +24034,13 @@ export default class Client extends OpenApi {
23784
24034
  }
23785
24035
 
23786
24036
  /**
23787
- * * When you create a workspace of the enterprise AD account type, AD connectors are automatically created to allow you to connect to enterprise AD systems. You are charged for the AD connectors. For more information, see [Billing overview](~~188395~~).
23788
- * * After you call this operation to create a workspace of the enterprise AD account type, perform the following steps to configure the AD domain: 1. Configure the conditional forwarder in the Domain Name System (DNS) server. 2. Configure the trust relationship in the AD domain server, and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship for the workspace of the enterprise AD account type. 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to obtain the organizational unit (OU) details of the AD domain. Then, call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and an administrator for the workspace of the enterprise AD account type.
23789
- * **
23790
- * **Note** If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
23791
- * For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
24037
+ * When you create an enterprise AD office network, the system automatically creates an AD connector to connect to an enterprise AD. You are charged for the AD connector. For more information, see [Billing overview](~~188395~~).
24038
+ * After you call this operation to create an AD office network, you must perform the following steps to complete AD domain setting:
24039
+ * 1. Configure a conditional forwarder in a Domain Name System (DNS) server.
24040
+ * 2. Configure a trust relationship in an AD domain controller and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship with the AD office network.
24041
+ * 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to query a list of organizational units (OUs) of the AD domain, and call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and administrator for the AD office network.
24042
+ * > When you create the AD office network, take note of the DomainUserName and DomainPassword parameters. If you specify the parameters, you need to only configure a conditional forwarder. If you do not specify the parameters, you must configure a conditional forwarder, trust relationship, and OU as prompted.
24043
+ * For more information, see [Create and manage enterprise AD office networks](~~214469~~).
23792
24044
  *
23793
24045
  * @param request CreateADConnectorOfficeSiteRequest
23794
24046
  * @return CreateADConnectorOfficeSiteResponse
@@ -23910,7 +24162,7 @@ export default class Client extends OpenApi {
23910
24162
  }
23911
24163
 
23912
24164
  /**
23913
- * Desktop templates are categorized into system templates and custom templates. System templates are the templates provided by Alibaba Cloud. You can call this operation to create a custom template.
24165
+ * Cloud computer templates include system templates and custom templates. A system template is the default template provided by Alibaba Cloud. You can call this operation to create a custom template.
23914
24166
  *
23915
24167
  * @param request CreateBundleRequest
23916
24168
  * @param runtime runtime options for this request RuntimeOptions
@@ -23977,7 +24229,7 @@ export default class Client extends OpenApi {
23977
24229
  }
23978
24230
 
23979
24231
  /**
23980
- * Desktop templates are categorized into system templates and custom templates. System templates are the templates provided by Alibaba Cloud. You can call this operation to create a custom template.
24232
+ * Cloud computer templates include system templates and custom templates. A system template is the default template provided by Alibaba Cloud. You can call this operation to create a custom template.
23981
24233
  *
23982
24234
  * @param request CreateBundleRequest
23983
24235
  * @return CreateBundleResponse
@@ -24281,7 +24533,6 @@ export default class Client extends OpenApi {
24281
24533
  }
24282
24534
 
24283
24535
  /**
24284
- * # Description
24285
24536
  * Before you call this operation to create a desktop group, make sure that the following operations are complete:
24286
24537
  * * You are familiar with the features, usage limits, and scaling policies of desktop groups. For more information, see [Overview](~~290959~~) of desktop groups.
24287
24538
  * * Resources, such as workspaces, users, desktop templates, and policies, are created.
@@ -24463,7 +24714,6 @@ export default class Client extends OpenApi {
24463
24714
  }
24464
24715
 
24465
24716
  /**
24466
- * # Description
24467
24717
  * Before you call this operation to create a desktop group, make sure that the following operations are complete:
24468
24718
  * * You are familiar with the features, usage limits, and scaling policies of desktop groups. For more information, see [Overview](~~290959~~) of desktop groups.
24469
24719
  * * Resources, such as workspaces, users, desktop templates, and policies, are created.
@@ -24499,10 +24749,18 @@ export default class Client extends OpenApi {
24499
24749
  query["DirectoryId"] = request.directoryId;
24500
24750
  }
24501
24751
 
24752
+ if (!Util.isUnset(request.idleDisconnectDuration)) {
24753
+ query["IdleDisconnectDuration"] = request.idleDisconnectDuration;
24754
+ }
24755
+
24502
24756
  if (!Util.isUnset(request.imageId)) {
24503
24757
  query["ImageId"] = request.imageId;
24504
24758
  }
24505
24759
 
24760
+ if (!Util.isUnset(request.keepDuration)) {
24761
+ query["KeepDuration"] = request.keepDuration;
24762
+ }
24763
+
24506
24764
  if (!Util.isUnset(request.name)) {
24507
24765
  query["Name"] = request.name;
24508
24766
  }
@@ -24558,13 +24816,13 @@ export default class Client extends OpenApi {
24558
24816
  }
24559
24817
 
24560
24818
  /**
24561
- * 1\\. Before you create a cloud desktop in Elastic Desktop Service (EDS), make sure that the following operations are complete:
24562
- * * A workspace and a user are created. For more information, see the following topics:
24563
- * * Create a workspace of the convenience account type and a convenience user: [CreateSimpleOfficeSite](~~215416~~) and [Create a convenience user](~~214472~~)
24564
- * * Create a workspace of the enterprise Active Directory (AD) account type and an enterprise AD user: [CreateADConnectorOfficeSite](~~215417~~) and [Create an enterprise AD user](~~188619~~)
24565
- * * A cloud desktop template is created by calling the [CreateBundle](~~188883~~) operation, or an existing cloud desktop template is used.
24566
- * * A policy is created by calling the [CreatePolicyGroup](~~188889~~) operation, or an existing policy is used.
24567
- * 2\\. A custom command script that can be automatically executed after you create the cloud desktop is prepared. You can customize a command script by using the UserCommands parameter.
24819
+ * Before you create cloud computers, complete the following preparations:
24820
+ * * An office network (formerly called workspace) and users are created. For more information, see:
24821
+ * * Convenience office network: [CreateSimpleOfficeSite](~~215416~~) and [CreateUsers](~~437832~~).
24822
+ * * Active Directory (AD) office network: [CreateADConnectorOfficeSite](~~215417~~) and [Create an AD user](~~188619~~).
24823
+ * * Make sure a cloud computer template exists. If no cloud computer template exists, call the [CreateBundle](~~188883~~) operation to create a template.
24824
+ * * Make sure a policy exists. If no policy exists, call the [CreatePolicyGroup](~~188889~~) operation to create a policy.
24825
+ * If you want the cloud computers to automatically execute a custom command script, you can use the `UserCommands` field to configure a custom command.
24568
24826
  *
24569
24827
  * @param request CreateDesktopsRequest
24570
24828
  * @param runtime runtime options for this request RuntimeOptions
@@ -24699,13 +24957,13 @@ export default class Client extends OpenApi {
24699
24957
  }
24700
24958
 
24701
24959
  /**
24702
- * 1\\. Before you create a cloud desktop in Elastic Desktop Service (EDS), make sure that the following operations are complete:
24703
- * * A workspace and a user are created. For more information, see the following topics:
24704
- * * Create a workspace of the convenience account type and a convenience user: [CreateSimpleOfficeSite](~~215416~~) and [Create a convenience user](~~214472~~)
24705
- * * Create a workspace of the enterprise Active Directory (AD) account type and an enterprise AD user: [CreateADConnectorOfficeSite](~~215417~~) and [Create an enterprise AD user](~~188619~~)
24706
- * * A cloud desktop template is created by calling the [CreateBundle](~~188883~~) operation, or an existing cloud desktop template is used.
24707
- * * A policy is created by calling the [CreatePolicyGroup](~~188889~~) operation, or an existing policy is used.
24708
- * 2\\. A custom command script that can be automatically executed after you create the cloud desktop is prepared. You can customize a command script by using the UserCommands parameter.
24960
+ * Before you create cloud computers, complete the following preparations:
24961
+ * * An office network (formerly called workspace) and users are created. For more information, see:
24962
+ * * Convenience office network: [CreateSimpleOfficeSite](~~215416~~) and [CreateUsers](~~437832~~).
24963
+ * * Active Directory (AD) office network: [CreateADConnectorOfficeSite](~~215417~~) and [Create an AD user](~~188619~~).
24964
+ * * Make sure a cloud computer template exists. If no cloud computer template exists, call the [CreateBundle](~~188883~~) operation to create a template.
24965
+ * * Make sure a policy exists. If no policy exists, call the [CreatePolicyGroup](~~188889~~) operation to create a policy.
24966
+ * If you want the cloud computers to automatically execute a custom command script, you can use the `UserCommands` field to configure a custom command.
24709
24967
  *
24710
24968
  * @param request CreateDesktopsRequest
24711
24969
  * @return CreateDesktopsResponse
@@ -25170,9 +25428,9 @@ export default class Client extends OpenApi {
25170
25428
  }
25171
25429
 
25172
25430
  /**
25173
- * Before you create a RAM directory, make sure that you have completed the following operations:
25174
- * * You have created a virtual private cloud (VPC) by calling the [CreateVpc](~~35737~~) operation in a region where EDS is available.
25175
- * * You have created a vSwitch in the VPC by calling the [CreateVSwitch](~~35745~~) operation, and the vSwitch resides in a zone where EDS is available.
25431
+ * Before you create a RAM directory, complete the following preparations:
25432
+ * * Call the `CreateVpc` operation to create a virtual private cloud (VPC) in a region supported by WUYING Workspace.
25433
+ * * Call the `CreateVSwitch` operation to create a vSwitch in the VPC. The vSwitch is in a zone that is supported by WUYING Workspace. You can call the [DescribeZones](~~196648~~) operation to obtain the most recent zone list for a region supported by WUYING Workspace.
25176
25434
  *
25177
25435
  * @param request CreateRAMDirectoryRequest
25178
25436
  * @param runtime runtime options for this request RuntimeOptions
@@ -25223,9 +25481,9 @@ export default class Client extends OpenApi {
25223
25481
  }
25224
25482
 
25225
25483
  /**
25226
- * Before you create a RAM directory, make sure that you have completed the following operations:
25227
- * * You have created a virtual private cloud (VPC) by calling the [CreateVpc](~~35737~~) operation in a region where EDS is available.
25228
- * * You have created a vSwitch in the VPC by calling the [CreateVSwitch](~~35745~~) operation, and the vSwitch resides in a zone where EDS is available.
25484
+ * Before you create a RAM directory, complete the following preparations:
25485
+ * * Call the `CreateVpc` operation to create a virtual private cloud (VPC) in a region supported by WUYING Workspace.
25486
+ * * Call the `CreateVSwitch` operation to create a vSwitch in the VPC. The vSwitch is in a zone that is supported by WUYING Workspace. You can call the [DescribeZones](~~196648~~) operation to obtain the most recent zone list for a region supported by WUYING Workspace.
25229
25487
  *
25230
25488
  * @param request CreateRAMDirectoryRequest
25231
25489
  * @return CreateRAMDirectoryResponse
@@ -25317,7 +25575,7 @@ export default class Client extends OpenApi {
25317
25575
  }
25318
25576
 
25319
25577
  /**
25320
- * The cloud desktop for which you want to create a snapshot must be in the **Running** state or **Stopped** state.
25578
+ * The cloud computer must be in the **Running** or **Stopped** state.
25321
25579
  *
25322
25580
  * @param request CreateSnapshotRequest
25323
25581
  * @param runtime runtime options for this request RuntimeOptions
@@ -25364,7 +25622,7 @@ export default class Client extends OpenApi {
25364
25622
  }
25365
25623
 
25366
25624
  /**
25367
- * The cloud desktop for which you want to create a snapshot must be in the **Running** state or **Stopped** state.
25625
+ * The cloud computer must be in the **Running** or **Stopped** state.
25368
25626
  *
25369
25627
  * @param request CreateSnapshotRequest
25370
25628
  * @return CreateSnapshotResponse
@@ -25559,6 +25817,15 @@ export default class Client extends OpenApi {
25559
25817
  return await this.deleteCloudDriveUsersWithOptions(request, runtime);
25560
25818
  }
25561
25819
 
25820
+ /**
25821
+ * * Before you delete a desktop group, make sure that cloud desktops in the desktop group are not connected and no users are authorized to use the cloud desktops.
25822
+ * * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
25823
+ * * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
25824
+ *
25825
+ * @param request DeleteDesktopGroupRequest
25826
+ * @param runtime runtime options for this request RuntimeOptions
25827
+ * @return DeleteDesktopGroupResponse
25828
+ */
25562
25829
  async deleteDesktopGroupWithOptions(request: DeleteDesktopGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDesktopGroupResponse> {
25563
25830
  Util.validateModel(request);
25564
25831
  let query = { };
@@ -25587,6 +25854,14 @@ export default class Client extends OpenApi {
25587
25854
  return $tea.cast<DeleteDesktopGroupResponse>(await this.callApi(params, req, runtime), new DeleteDesktopGroupResponse({}));
25588
25855
  }
25589
25856
 
25857
+ /**
25858
+ * * Before you delete a desktop group, make sure that cloud desktops in the desktop group are not connected and no users are authorized to use the cloud desktops.
25859
+ * * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
25860
+ * * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
25861
+ *
25862
+ * @param request DeleteDesktopGroupRequest
25863
+ * @return DeleteDesktopGroupResponse
25864
+ */
25590
25865
  async deleteDesktopGroup(request: DeleteDesktopGroupRequest): Promise<DeleteDesktopGroupResponse> {
25591
25866
  let runtime = new $Util.RuntimeOptions({ });
25592
25867
  return await this.deleteDesktopGroupWithOptions(request, runtime);
@@ -25680,7 +25955,7 @@ export default class Client extends OpenApi {
25680
25955
  }
25681
25956
 
25682
25957
  /**
25683
- * You cannot delete directories that are in use by cloud desktops.
25958
+ * You cannot delete a directory that has a cloud computer or is used by a cloud computer.
25684
25959
  *
25685
25960
  * @param request DeleteDirectoriesRequest
25686
25961
  * @param runtime runtime options for this request RuntimeOptions
@@ -25715,7 +25990,7 @@ export default class Client extends OpenApi {
25715
25990
  }
25716
25991
 
25717
25992
  /**
25718
- * You cannot delete directories that are in use by cloud desktops.
25993
+ * You cannot delete a directory that has a cloud computer or is used by a cloud computer.
25719
25994
  *
25720
25995
  * @param request DeleteDirectoriesRequest
25721
25996
  * @return DeleteDirectoriesResponse
@@ -25760,7 +26035,7 @@ export default class Client extends OpenApi {
25760
26035
 
25761
26036
  /**
25762
26037
  * * Images include system images and custom images. System images cannot be deleted.
25763
- * * If an image to delete is referenced by a desktop template, you must first delete the template by calling the DeleteBundles operation.
26038
+ * * If an image that you want to delete is referenced by a cloud computer template, call the [DeleteBundles](~~436972~~) operation to delete the cloud computer template before you delete the image.
25764
26039
  *
25765
26040
  * @param request DeleteImagesRequest
25766
26041
  * @param runtime runtime options for this request RuntimeOptions
@@ -25800,7 +26075,7 @@ export default class Client extends OpenApi {
25800
26075
 
25801
26076
  /**
25802
26077
  * * Images include system images and custom images. System images cannot be deleted.
25803
- * * If an image to delete is referenced by a desktop template, you must first delete the template by calling the DeleteBundles operation.
26078
+ * * If an image that you want to delete is referenced by a cloud computer template, call the [DeleteBundles](~~436972~~) operation to delete the cloud computer template before you delete the image.
25804
26079
  *
25805
26080
  * @param request DeleteImagesRequest
25806
26081
  * @return DeleteImagesResponse
@@ -25812,8 +26087,7 @@ export default class Client extends OpenApi {
25812
26087
 
25813
26088
  /**
25814
26089
  * Before you delete an Apsara File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
25815
- * **
25816
- * **Warning** If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.
26090
+ * ><warning>If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.></warning>
25817
26091
  *
25818
26092
  * @param request DeleteNASFileSystemsRequest
25819
26093
  * @param runtime runtime options for this request RuntimeOptions
@@ -25849,8 +26123,7 @@ export default class Client extends OpenApi {
25849
26123
 
25850
26124
  /**
25851
26125
  * Before you delete an Apsara File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
25852
- * **
25853
- * **Warning** If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.
26126
+ * ><warning>If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.></warning>
25854
26127
  *
25855
26128
  * @param request DeleteNASFileSystemsRequest
25856
26129
  * @return DeleteNASFileSystemsResponse
@@ -25894,10 +26167,10 @@ export default class Client extends OpenApi {
25894
26167
  }
25895
26168
 
25896
26169
  /**
25897
- * Before you delete a workspace, make sure that the following requirements are met:
25898
- * * All cloud desktops in the workspace are released.
26170
+ * Before you delete an office network, make sure that the following operations are complete:
26171
+ * * All cloud computers in the office network are released.
25899
26172
  * * The data that you want to retain is backed up.
25900
- * **Warning** After you delete a workspace, the resources and data of the workspace cannot be recovered. Exercise with caution.
26173
+ * > Resources and data on cloud computers in an office network cannot be restored after you delete it. Proceed with caution.
25901
26174
  *
25902
26175
  * @param request DeleteOfficeSitesRequest
25903
26176
  * @param runtime runtime options for this request RuntimeOptions
@@ -25932,10 +26205,10 @@ export default class Client extends OpenApi {
25932
26205
  }
25933
26206
 
25934
26207
  /**
25935
- * Before you delete a workspace, make sure that the following requirements are met:
25936
- * * All cloud desktops in the workspace are released.
26208
+ * Before you delete an office network, make sure that the following operations are complete:
26209
+ * * All cloud computers in the office network are released.
25937
26210
  * * The data that you want to retain is backed up.
25938
- * **Warning** After you delete a workspace, the resources and data of the workspace cannot be recovered. Exercise with caution.
26211
+ * > Resources and data on cloud computers in an office network cannot be restored after you delete it. Proceed with caution.
25939
26212
  *
25940
26213
  * @param request DeleteOfficeSitesRequest
25941
26214
  * @return DeleteOfficeSitesResponse
@@ -26025,7 +26298,7 @@ export default class Client extends OpenApi {
26025
26298
  }
26026
26299
 
26027
26300
  /**
26028
- * If an MFA device is deleted, the device is unbound, reset, and disabled. When the Active Directory (AD) user wants to log on to the cloud desktop, the AD user must bind a new MFA device.
26301
+ * If an MFA device is deleted, the device is unbound, reset, and disabled. When an Active Directory (AD) user wants to connect to the cloud desktop that is bound to the MFA device, the AD user must bind a new MFA device.
26029
26302
  *
26030
26303
  * @param request DeleteVirtualMFADeviceRequest
26031
26304
  * @param runtime runtime options for this request RuntimeOptions
@@ -26060,7 +26333,7 @@ export default class Client extends OpenApi {
26060
26333
  }
26061
26334
 
26062
26335
  /**
26063
- * If an MFA device is deleted, the device is unbound, reset, and disabled. When the Active Directory (AD) user wants to log on to the cloud desktop, the AD user must bind a new MFA device.
26336
+ * If an MFA device is deleted, the device is unbound, reset, and disabled. When an Active Directory (AD) user wants to connect to the cloud desktop that is bound to the MFA device, the AD user must bind a new MFA device.
26064
26337
  *
26065
26338
  * @param request DeleteVirtualMFADeviceRequest
26066
26339
  * @return DeleteVirtualMFADeviceResponse
@@ -26970,6 +27243,14 @@ export default class Client extends OpenApi {
26970
27243
  async describeDesktopSessionsWithOptions(request: DescribeDesktopSessionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDesktopSessionsResponse> {
26971
27244
  Util.validateModel(request);
26972
27245
  let query = { };
27246
+ if (!Util.isUnset(request.desktopId)) {
27247
+ query["DesktopId"] = request.desktopId;
27248
+ }
27249
+
27250
+ if (!Util.isUnset(request.desktopName)) {
27251
+ query["DesktopName"] = request.desktopName;
27252
+ }
27253
+
26973
27254
  if (!Util.isUnset(request.endTime)) {
26974
27255
  query["EndTime"] = request.endTime;
26975
27256
  }
@@ -27680,7 +27961,7 @@ export default class Client extends OpenApi {
27680
27961
  }
27681
27962
 
27682
27963
  /**
27683
- * You can call the ModifyImagePermission operation to share images with other Alibaba Cloud accounts or unshare images. You can call the DescribeImagePermission operation to obtain the list of Alibaba Cloud accounts that have received shared images.
27964
+ * You can call the [ModifyImagePermission](~~436982~~) operation to share an image with another cloud computer user or unshare an image. You can call the DescribeImagePermission operation to obtain the Alibaba Cloud accounts with which the current image is shared.
27684
27965
  *
27685
27966
  * @param request DescribeImagePermissionRequest
27686
27967
  * @param runtime runtime options for this request RuntimeOptions
@@ -27715,7 +27996,7 @@ export default class Client extends OpenApi {
27715
27996
  }
27716
27997
 
27717
27998
  /**
27718
- * You can call the ModifyImagePermission operation to share images with other Alibaba Cloud accounts or unshare images. You can call the DescribeImagePermission operation to obtain the list of Alibaba Cloud accounts that have received shared images.
27999
+ * You can call the [ModifyImagePermission](~~436982~~) operation to share an image with another cloud computer user or unshare an image. You can call the DescribeImagePermission operation to obtain the Alibaba Cloud accounts with which the current image is shared.
27719
28000
  *
27720
28001
  * @param request DescribeImagePermissionRequest
27721
28002
  * @return DescribeImagePermissionResponse
@@ -28414,6 +28695,67 @@ export default class Client extends OpenApi {
28414
28695
  return await this.describePriceForRenewDesktopOversoldGroupWithOptions(request, runtime);
28415
28696
  }
28416
28697
 
28698
+ async describeRecordingsWithOptions(request: DescribeRecordingsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRecordingsResponse> {
28699
+ Util.validateModel(request);
28700
+ let query = { };
28701
+ if (!Util.isUnset(request.desktopId)) {
28702
+ query["DesktopId"] = request.desktopId;
28703
+ }
28704
+
28705
+ if (!Util.isUnset(request.endTime)) {
28706
+ query["EndTime"] = request.endTime;
28707
+ }
28708
+
28709
+ if (!Util.isUnset(request.maxResults)) {
28710
+ query["MaxResults"] = request.maxResults;
28711
+ }
28712
+
28713
+ if (!Util.isUnset(request.needSignedUrl)) {
28714
+ query["NeedSignedUrl"] = request.needSignedUrl;
28715
+ }
28716
+
28717
+ if (!Util.isUnset(request.nextToken)) {
28718
+ query["NextToken"] = request.nextToken;
28719
+ }
28720
+
28721
+ if (!Util.isUnset(request.policyGroupId)) {
28722
+ query["PolicyGroupId"] = request.policyGroupId;
28723
+ }
28724
+
28725
+ if (!Util.isUnset(request.regionId)) {
28726
+ query["RegionId"] = request.regionId;
28727
+ }
28728
+
28729
+ if (!Util.isUnset(request.signedUrlExpireMinutes)) {
28730
+ query["SignedUrlExpireMinutes"] = request.signedUrlExpireMinutes;
28731
+ }
28732
+
28733
+ if (!Util.isUnset(request.startTime)) {
28734
+ query["StartTime"] = request.startTime;
28735
+ }
28736
+
28737
+ let req = new $OpenApi.OpenApiRequest({
28738
+ query: OpenApiUtil.query(query),
28739
+ });
28740
+ let params = new $OpenApi.Params({
28741
+ action: "DescribeRecordings",
28742
+ version: "2020-09-30",
28743
+ protocol: "HTTPS",
28744
+ pathname: "/",
28745
+ method: "POST",
28746
+ authType: "AK",
28747
+ style: "RPC",
28748
+ reqBodyType: "formData",
28749
+ bodyType: "json",
28750
+ });
28751
+ return $tea.cast<DescribeRecordingsResponse>(await this.callApi(params, req, runtime), new DescribeRecordingsResponse({}));
28752
+ }
28753
+
28754
+ async describeRecordings(request: DescribeRecordingsRequest): Promise<DescribeRecordingsResponse> {
28755
+ let runtime = new $Util.RuntimeOptions({ });
28756
+ return await this.describeRecordingsWithOptions(request, runtime);
28757
+ }
28758
+
28417
28759
  async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
28418
28760
  Util.validateModel(request);
28419
28761
  let query = { };
@@ -29263,7 +29605,22 @@ export default class Client extends OpenApi {
29263
29605
  }
29264
29606
 
29265
29607
  /**
29266
- * The list of cloud desktops that are exported by calling the ExportDesktopListInfo operation is saved in a CSV file. The CSV file contains the information about each cloud desktop, including the IDs and names of cloud desktops, IDs and names of workspaces, IDs and names of desktop groups, vCPUs, memory, protocols, system disk capacity, data disk capacity, OSs, running status, current user, tags, IP addresses, billing methods, and creation time.
29608
+ * The cloud computer list exported by calling this operation is saved as a CSV file. Each entry of data of a cloud computer includes the following fields:
29609
+ * * Cloud computer ID and name
29610
+ * * Office network ID and name
29611
+ * * The instance type, OS and protocol of the cloud computer
29612
+ * * System disk and data disk of the cloud computer
29613
+ * * The status
29614
+ * * Purchase method
29615
+ * * The time when the cloud computer expires
29616
+ * * Remaining duration and total duration
29617
+ * * Number of assigned users and number of current users
29618
+ * * Office network type
29619
+ * * The time when the cloud computer was created
29620
+ * * Tags
29621
+ * * Encryption status
29622
+ * * IP
29623
+ * * The hostname
29267
29624
  *
29268
29625
  * @param request ExportDesktopListInfoRequest
29269
29626
  * @param runtime runtime options for this request RuntimeOptions
@@ -29350,7 +29707,22 @@ export default class Client extends OpenApi {
29350
29707
  }
29351
29708
 
29352
29709
  /**
29353
- * The list of cloud desktops that are exported by calling the ExportDesktopListInfo operation is saved in a CSV file. The CSV file contains the information about each cloud desktop, including the IDs and names of cloud desktops, IDs and names of workspaces, IDs and names of desktop groups, vCPUs, memory, protocols, system disk capacity, data disk capacity, OSs, running status, current user, tags, IP addresses, billing methods, and creation time.
29710
+ * The cloud computer list exported by calling this operation is saved as a CSV file. Each entry of data of a cloud computer includes the following fields:
29711
+ * * Cloud computer ID and name
29712
+ * * Office network ID and name
29713
+ * * The instance type, OS and protocol of the cloud computer
29714
+ * * System disk and data disk of the cloud computer
29715
+ * * The status
29716
+ * * Purchase method
29717
+ * * The time when the cloud computer expires
29718
+ * * Remaining duration and total duration
29719
+ * * Number of assigned users and number of current users
29720
+ * * Office network type
29721
+ * * The time when the cloud computer was created
29722
+ * * Tags
29723
+ * * Encryption status
29724
+ * * IP
29725
+ * * The hostname
29354
29726
  *
29355
29727
  * @param request ExportDesktopListInfoRequest
29356
29728
  * @return ExportDesktopListInfoResponse
@@ -29393,6 +29765,13 @@ export default class Client extends OpenApi {
29393
29765
  return await this.getAsyncTaskWithOptions(request, runtime);
29394
29766
  }
29395
29767
 
29768
+ /**
29769
+ * The cloud computer must be in the Running state.
29770
+ *
29771
+ * @param request GetConnectionTicketRequest
29772
+ * @param runtime runtime options for this request RuntimeOptions
29773
+ * @return GetConnectionTicketResponse
29774
+ */
29396
29775
  async getConnectionTicketWithOptions(request: GetConnectionTicketRequest, runtime: $Util.RuntimeOptions): Promise<GetConnectionTicketResponse> {
29397
29776
  Util.validateModel(request);
29398
29777
  let query = { };
@@ -29453,6 +29832,12 @@ export default class Client extends OpenApi {
29453
29832
  return $tea.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
29454
29833
  }
29455
29834
 
29835
+ /**
29836
+ * The cloud computer must be in the Running state.
29837
+ *
29838
+ * @param request GetConnectionTicketRequest
29839
+ * @return GetConnectionTicketResponse
29840
+ */
29456
29841
  async getConnectionTicket(request: GetConnectionTicketRequest): Promise<GetConnectionTicketResponse> {
29457
29842
  let runtime = new $Util.RuntimeOptions({ });
29458
29843
  return await this.getConnectionTicketWithOptions(request, runtime);
@@ -29942,7 +30327,7 @@ export default class Client extends OpenApi {
29942
30327
  }
29943
30328
 
29944
30329
  /**
29945
- * You must specify at least one of the ResourceId.N, Tag.N.Key, and Tag.N.Value parameters in the request to specify the query objects.
30330
+ * You must use at least one of the following parameters in the request to determine the object that you want to query: `ResourceId.N`, `Tag.N.Key`, and `Tag.N.Value`.
29946
30331
  *
29947
30332
  * @param request ListTagResourcesRequest
29948
30333
  * @param runtime runtime options for this request RuntimeOptions
@@ -29993,7 +30378,7 @@ export default class Client extends OpenApi {
29993
30378
  }
29994
30379
 
29995
30380
  /**
29996
- * You must specify at least one of the ResourceId.N, Tag.N.Key, and Tag.N.Value parameters in the request to specify the query objects.
30381
+ * You must use at least one of the following parameters in the request to determine the object that you want to query: `ResourceId.N`, `Tag.N.Key`, and `Tag.N.Value`.
29997
30382
  *
29998
30383
  * @param request ListTagResourcesRequest
29999
30384
  * @return ListTagResourcesResponse
@@ -30049,7 +30434,7 @@ export default class Client extends OpenApi {
30049
30434
  }
30050
30435
 
30051
30436
  /**
30052
- * After a virtual MFA device is locked, its status changes to LOCKED. The AD user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
30437
+ * After a virtual MFA device is locked, its status changes to LOCKED. The Active Directory (AD) user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
30053
30438
  *
30054
30439
  * @param request LockVirtualMFADeviceRequest
30055
30440
  * @param runtime runtime options for this request RuntimeOptions
@@ -30084,7 +30469,7 @@ export default class Client extends OpenApi {
30084
30469
  }
30085
30470
 
30086
30471
  /**
30087
- * After a virtual MFA device is locked, its status changes to LOCKED. The AD user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
30472
+ * After a virtual MFA device is locked, its status changes to LOCKED. The Active Directory (AD) user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
30088
30473
  *
30089
30474
  * @param request LockVirtualMFADeviceRequest
30090
30475
  * @return LockVirtualMFADeviceResponse
@@ -30168,6 +30553,13 @@ export default class Client extends OpenApi {
30168
30553
  return await this.migrateImageProtocolWithOptions(request, runtime);
30169
30554
  }
30170
30555
 
30556
+ /**
30557
+ * You can modify the following domain name- and Domain Name System (DNS)-related parameters only for Active Directory (AD) directories that are in the ERROR or REGISTERING state: `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress`.
30558
+ *
30559
+ * @param request ModifyADConnectorDirectoryRequest
30560
+ * @param runtime runtime options for this request RuntimeOptions
30561
+ * @return ModifyADConnectorDirectoryResponse
30562
+ */
30171
30563
  async modifyADConnectorDirectoryWithOptions(request: ModifyADConnectorDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyADConnectorDirectoryResponse> {
30172
30564
  Util.validateModel(request);
30173
30565
  let query = { };
@@ -30236,11 +30628,24 @@ export default class Client extends OpenApi {
30236
30628
  return $tea.cast<ModifyADConnectorDirectoryResponse>(await this.callApi(params, req, runtime), new ModifyADConnectorDirectoryResponse({}));
30237
30629
  }
30238
30630
 
30631
+ /**
30632
+ * You can modify the following domain name- and Domain Name System (DNS)-related parameters only for Active Directory (AD) directories that are in the ERROR or REGISTERING state: `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress`.
30633
+ *
30634
+ * @param request ModifyADConnectorDirectoryRequest
30635
+ * @return ModifyADConnectorDirectoryResponse
30636
+ */
30239
30637
  async modifyADConnectorDirectory(request: ModifyADConnectorDirectoryRequest): Promise<ModifyADConnectorDirectoryResponse> {
30240
30638
  let runtime = new $Util.RuntimeOptions({ });
30241
30639
  return await this.modifyADConnectorDirectoryWithOptions(request, runtime);
30242
30640
  }
30243
30641
 
30642
+ /**
30643
+ * You can modify parameters of domain names and Domain Name System (DNS) for enterprise AD office networks that are in the `ERROR` or `REGISTERED` state. The parameters include `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress.N`.
30644
+ *
30645
+ * @param request ModifyADConnectorOfficeSiteRequest
30646
+ * @param runtime runtime options for this request RuntimeOptions
30647
+ * @return ModifyADConnectorOfficeSiteResponse
30648
+ */
30244
30649
  async modifyADConnectorOfficeSiteWithOptions(request: ModifyADConnectorOfficeSiteRequest, runtime: $Util.RuntimeOptions): Promise<ModifyADConnectorOfficeSiteResponse> {
30245
30650
  Util.validateModel(request);
30246
30651
  let query = { };
@@ -30309,11 +30714,24 @@ export default class Client extends OpenApi {
30309
30714
  return $tea.cast<ModifyADConnectorOfficeSiteResponse>(await this.callApi(params, req, runtime), new ModifyADConnectorOfficeSiteResponse({}));
30310
30715
  }
30311
30716
 
30717
+ /**
30718
+ * You can modify parameters of domain names and Domain Name System (DNS) for enterprise AD office networks that are in the `ERROR` or `REGISTERED` state. The parameters include `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress.N`.
30719
+ *
30720
+ * @param request ModifyADConnectorOfficeSiteRequest
30721
+ * @return ModifyADConnectorOfficeSiteResponse
30722
+ */
30312
30723
  async modifyADConnectorOfficeSite(request: ModifyADConnectorOfficeSiteRequest): Promise<ModifyADConnectorOfficeSiteResponse> {
30313
30724
  let runtime = new $Util.RuntimeOptions({ });
30314
30725
  return await this.modifyADConnectorOfficeSiteWithOptions(request, runtime);
30315
30726
  }
30316
30727
 
30728
+ /**
30729
+ * You can set different Internet access control policies at different granularities to achieve the effect of composite policies. For example, you can disable the Internet access on the office network granularity and enable the Internet access on specific cloud computer granularity. The effect is that all cloud computers in the office network except the specified cloud computers are not allowed to access the Internet.
30730
+ *
30731
+ * @param request ModifyAclEntriesRequest
30732
+ * @param runtime runtime options for this request RuntimeOptions
30733
+ * @return ModifyAclEntriesResponse
30734
+ */
30317
30735
  async modifyAclEntriesWithOptions(request: ModifyAclEntriesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAclEntriesResponse> {
30318
30736
  Util.validateModel(request);
30319
30737
  let query = { };
@@ -30350,6 +30768,12 @@ export default class Client extends OpenApi {
30350
30768
  return $tea.cast<ModifyAclEntriesResponse>(await this.callApi(params, req, runtime), new ModifyAclEntriesResponse({}));
30351
30769
  }
30352
30770
 
30771
+ /**
30772
+ * You can set different Internet access control policies at different granularities to achieve the effect of composite policies. For example, you can disable the Internet access on the office network granularity and enable the Internet access on specific cloud computer granularity. The effect is that all cloud computers in the office network except the specified cloud computers are not allowed to access the Internet.
30773
+ *
30774
+ * @param request ModifyAclEntriesRequest
30775
+ * @return ModifyAclEntriesResponse
30776
+ */
30353
30777
  async modifyAclEntries(request: ModifyAclEntriesRequest): Promise<ModifyAclEntriesResponse> {
30354
30778
  let runtime = new $Util.RuntimeOptions({ });
30355
30779
  return await this.modifyAclEntriesWithOptions(request, runtime);
@@ -30781,10 +31205,9 @@ export default class Client extends OpenApi {
30781
31205
  }
30782
31206
 
30783
31207
  /**
30784
- * * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops in Elastic Desktop Service (EDS). For more information, see [Billing overview](~~188395~~).
30785
- * * Before you call this operation, make sure that the cloud desktop that you want to manage is in the Running or Stopped state and no overdue payments of the cloud desktop are generated.
30786
- * * After the order payment is completed, the system starts to change the billing method of the cloud desktop. During the change, you cannot perform operations, such as starting or stopping the cloud desktop, and changing configurations of the cloud desktop.
30787
- * * After you change the billing method of the cloud desktop from subscription to pay-as-you-go, you may get a refund. For more information, see [Change a subscription cloud desktop to a pay-as-you-go one](https://help.aliyun.com/document_detail/439964.html).
31208
+ * * Before you call this operation, make sure that you fully understand the billing methods of cloud computers. For more information, see [Billing overview](~~188395~~).
31209
+ * * Before you call this operation, make sure that the cloud computers whose billing method you want to change are in the Running or Stopped state and you have no overdue payments in your Alibaba Cloud account.
31210
+ * * After the order payment is completed, the system starts to change the billing method of the cloud computers. During the change, you cannot perform operations, such as starting or stopping the cloud computers, and changing configurations of the cloud computers.
30788
31211
  *
30789
31212
  * @param request ModifyDesktopChargeTypeRequest
30790
31213
  * @param runtime runtime options for this request RuntimeOptions
@@ -30843,10 +31266,9 @@ export default class Client extends OpenApi {
30843
31266
  }
30844
31267
 
30845
31268
  /**
30846
- * * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops in Elastic Desktop Service (EDS). For more information, see [Billing overview](~~188395~~).
30847
- * * Before you call this operation, make sure that the cloud desktop that you want to manage is in the Running or Stopped state and no overdue payments of the cloud desktop are generated.
30848
- * * After the order payment is completed, the system starts to change the billing method of the cloud desktop. During the change, you cannot perform operations, such as starting or stopping the cloud desktop, and changing configurations of the cloud desktop.
30849
- * * After you change the billing method of the cloud desktop from subscription to pay-as-you-go, you may get a refund. For more information, see [Change a subscription cloud desktop to a pay-as-you-go one](https://help.aliyun.com/document_detail/439964.html).
31269
+ * * Before you call this operation, make sure that you fully understand the billing methods of cloud computers. For more information, see [Billing overview](~~188395~~).
31270
+ * * Before you call this operation, make sure that the cloud computers whose billing method you want to change are in the Running or Stopped state and you have no overdue payments in your Alibaba Cloud account.
31271
+ * * After the order payment is completed, the system starts to change the billing method of the cloud computers. During the change, you cannot perform operations, such as starting or stopping the cloud computers, and changing configurations of the cloud computers.
30850
31272
  *
30851
31273
  * @param request ModifyDesktopChargeTypeRequest
30852
31274
  * @return ModifyDesktopChargeTypeResponse
@@ -30857,11 +31279,7 @@ export default class Client extends OpenApi {
30857
31279
  }
30858
31280
 
30859
31281
  /**
30860
- * After you create a desktop group, the system creates a specific number of cloud desktops based on the scaling policy that you configure for the desktop group and the number of end users who request to connect to the cloud desktops. Cloud desktops in a desktop group are created by using the same desktop template and security policy. You can modify the configurations of the desktop group in different scenarios to manage cloud desktops in a centralized manner.
30861
- * * By default, a desktop group has the same name as all cloud desktops in the group. You can modify the desktop group name, which is specified by the DesktopGroupName parameter, to distinguish the desktop group from the cloud desktops.
30862
- * * If the number of vCPUs and memory size of the cloud desktop cannot meet your business requirements in high performance scenarios, you can change the desktop template that is used to create the cloud desktop to a desktop template (OwnBundleId) that has higher specifications.
30863
- * * If a security policy that is associated with the desktop group cannot meet your requirements on security, you can change the policy to another policy (PolicyGroupId) that provides higher security.
30864
- * * If the number of cloud desktops in the desktop group is insufficient to meet the business requirements of end users, you can modify the parameter settings in the scaling policy. The parameters include MinDesktopsCount, MaxDesktopsCount, and AllowBufferCount.
31282
+ * 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.
30865
31283
  *
30866
31284
  * @param request ModifyDesktopGroupRequest
30867
31285
  * @param runtime runtime options for this request RuntimeOptions
@@ -30992,11 +31410,7 @@ export default class Client extends OpenApi {
30992
31410
  }
30993
31411
 
30994
31412
  /**
30995
- * After you create a desktop group, the system creates a specific number of cloud desktops based on the scaling policy that you configure for the desktop group and the number of end users who request to connect to the cloud desktops. Cloud desktops in a desktop group are created by using the same desktop template and security policy. You can modify the configurations of the desktop group in different scenarios to manage cloud desktops in a centralized manner.
30996
- * * By default, a desktop group has the same name as all cloud desktops in the group. You can modify the desktop group name, which is specified by the DesktopGroupName parameter, to distinguish the desktop group from the cloud desktops.
30997
- * * If the number of vCPUs and memory size of the cloud desktop cannot meet your business requirements in high performance scenarios, you can change the desktop template that is used to create the cloud desktop to a desktop template (OwnBundleId) that has higher specifications.
30998
- * * If a security policy that is associated with the desktop group cannot meet your requirements on security, you can change the policy to another policy (PolicyGroupId) that provides higher security.
30999
- * * If the number of cloud desktops in the desktop group is insufficient to meet the business requirements of end users, you can modify the parameter settings in the scaling policy. The parameters include MinDesktopsCount, MaxDesktopsCount, and AllowBufferCount.
31413
+ * 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.
31000
31414
  *
31001
31415
  * @param request ModifyDesktopGroupRequest
31002
31416
  * @return ModifyDesktopGroupResponse
@@ -31007,7 +31421,7 @@ export default class Client extends OpenApi {
31007
31421
  }
31008
31422
 
31009
31423
  /**
31010
- * You can only change the hostname of a Windows cloud desktop in the Active Directory (AD) workspace. After the hostname is changed, the cloud desktop is recreated.
31424
+ * The Windows cloud computer whose hostname you want to modify must be in an AD office network. After the hostname is modified, the cloud computer is re-created.
31011
31425
  *
31012
31426
  * @param request ModifyDesktopHostNameRequest
31013
31427
  * @param runtime runtime options for this request RuntimeOptions
@@ -31046,7 +31460,7 @@ export default class Client extends OpenApi {
31046
31460
  }
31047
31461
 
31048
31462
  /**
31049
- * You can only change the hostname of a Windows cloud desktop in the Active Directory (AD) workspace. After the hostname is changed, the cloud desktop is recreated.
31463
+ * The Windows cloud computer whose hostname you want to modify must be in an AD office network. After the hostname is modified, the cloud computer is re-created.
31050
31464
  *
31051
31465
  * @param request ModifyDesktopHostNameRequest
31052
31466
  * @return ModifyDesktopHostNameResponse
@@ -31104,10 +31518,18 @@ export default class Client extends OpenApi {
31104
31518
  query["Description"] = request.description;
31105
31519
  }
31106
31520
 
31521
+ if (!Util.isUnset(request.idleDisconnectDuration)) {
31522
+ query["IdleDisconnectDuration"] = request.idleDisconnectDuration;
31523
+ }
31524
+
31107
31525
  if (!Util.isUnset(request.imageId)) {
31108
31526
  query["ImageId"] = request.imageId;
31109
31527
  }
31110
31528
 
31529
+ if (!Util.isUnset(request.keepDuration)) {
31530
+ query["KeepDuration"] = request.keepDuration;
31531
+ }
31532
+
31111
31533
  if (!Util.isUnset(request.name)) {
31112
31534
  query["Name"] = request.name;
31113
31535
  }
@@ -31237,16 +31659,16 @@ export default class Client extends OpenApi {
31237
31659
  }
31238
31660
 
31239
31661
  /**
31240
- * You can call this operation to change the configurations, such as the desktop type and disk size, of a cloud desktop.
31241
- * * Before you call this operation, take note of the cloud desktop types and the disk sizes for each type of cloud desktop that Elastic Desktop Service (EDS) provides. For more information, see [Cloud desktop types](~~188609~~).
31242
- * * When you change the configurations of a cloud desktop, you must change the desktop type or the size of the system disk or data disk. You must configure at least one of the following parameters: DesktopType, RootDiskSizeGib, and UserDiskSizeGib. You must take note of the following items:
31243
- * * Each desktop type contains different desktop specifications, such as vCPUs, memory, and GPUs. When you change the desktop configurations, you can only change the desktop type from one to another. However, you cannot change only one of the specifications, such as vCPUs, memory, and GPUs.
31244
- * * You cannot change a cloud desktop from the General Office type to a non-General Office type, or from a non-General Office type to the General Office type. You cannot change a cloud desktop from the Graphics type to a non-Graphics type, or from a non-Graphics type to the Graphics type.
31245
- * * You can only increase the sizes of system and data disks.
31246
- * * If your cloud desktop uses the subscription billing method, the price difference is calculated based on the price before and after configuration changes. You may receive a refund, or pay for the price difference.
31247
- * * If you want to change the configurations of your cloud desktop for multiple times, we recommend that you wait at least 5 minutes the next time you change the configurations of the same cloud desktop.
31248
- * * The cloud desktop for which you want to change configurations must be in the Stopped state.
31249
- * * The changes do not affect your personal data on the cloud desktop.
31662
+ * Changing the configurations of a cloud computer includes changing the instance type of the cloud computer and scaling up the disks of the cloud computer.
31663
+ * * Before you change the configurations of a cloud computer, you must understand the instance types and disk sizes supported by cloud computers. For more information, see [Cloud computer types](~~188609~~). You can call the [DescribeDesktopTypes](~~188882~~) operation to query the instance types supported by cloud computers.
31664
+ * * You must change at least one of the following configurations: instance type, system disk size, and data disk size of the cloud computer. You must specify at least one of the following parameters: `DesktopType`, `RootDiskSizeGib`, and `UserDiskSizeGib`. Take note of the following items:
31665
+ * * The instance type of a cloud computer includes the configurations of vCPUs, memory, and GPUs. You can only change an instance type to another. You cannot change only one of the configurations.
31666
+ * * You cannot change a cloud computer between the General Office type and the non-General Office type. You cannot yet change a cloud computer between the Graphics type and the non-Graphics type.
31667
+ * * The system disk and data disks of a cloud computer can only be scaled up and cannot be scaled down.
31668
+ * * If the billing method of the cloud computer is subscription, the system calculates the price difference based on the configuration difference between the original cloud computer and the new cloud computer. You must make up for the price difference or receive a refund for the price difference.
31669
+ * * We recommend that you do not change the configurations of a cloud computer twice within 5 minutes.
31670
+ * * When you change the configurations of a cloud computer, the cloud computer must be in the Stopped state.
31671
+ * * After you change the configurations of a cloud computer, the personal data on the cloud computer is not affected.
31250
31672
  *
31251
31673
  * @param request ModifyDesktopSpecRequest
31252
31674
  * @param runtime runtime options for this request RuntimeOptions
@@ -31305,16 +31727,16 @@ export default class Client extends OpenApi {
31305
31727
  }
31306
31728
 
31307
31729
  /**
31308
- * You can call this operation to change the configurations, such as the desktop type and disk size, of a cloud desktop.
31309
- * * Before you call this operation, take note of the cloud desktop types and the disk sizes for each type of cloud desktop that Elastic Desktop Service (EDS) provides. For more information, see [Cloud desktop types](~~188609~~).
31310
- * * When you change the configurations of a cloud desktop, you must change the desktop type or the size of the system disk or data disk. You must configure at least one of the following parameters: DesktopType, RootDiskSizeGib, and UserDiskSizeGib. You must take note of the following items:
31311
- * * Each desktop type contains different desktop specifications, such as vCPUs, memory, and GPUs. When you change the desktop configurations, you can only change the desktop type from one to another. However, you cannot change only one of the specifications, such as vCPUs, memory, and GPUs.
31312
- * * You cannot change a cloud desktop from the General Office type to a non-General Office type, or from a non-General Office type to the General Office type. You cannot change a cloud desktop from the Graphics type to a non-Graphics type, or from a non-Graphics type to the Graphics type.
31313
- * * You can only increase the sizes of system and data disks.
31314
- * * If your cloud desktop uses the subscription billing method, the price difference is calculated based on the price before and after configuration changes. You may receive a refund, or pay for the price difference.
31315
- * * If you want to change the configurations of your cloud desktop for multiple times, we recommend that you wait at least 5 minutes the next time you change the configurations of the same cloud desktop.
31316
- * * The cloud desktop for which you want to change configurations must be in the Stopped state.
31317
- * * The changes do not affect your personal data on the cloud desktop.
31730
+ * Changing the configurations of a cloud computer includes changing the instance type of the cloud computer and scaling up the disks of the cloud computer.
31731
+ * * Before you change the configurations of a cloud computer, you must understand the instance types and disk sizes supported by cloud computers. For more information, see [Cloud computer types](~~188609~~). You can call the [DescribeDesktopTypes](~~188882~~) operation to query the instance types supported by cloud computers.
31732
+ * * You must change at least one of the following configurations: instance type, system disk size, and data disk size of the cloud computer. You must specify at least one of the following parameters: `DesktopType`, `RootDiskSizeGib`, and `UserDiskSizeGib`. Take note of the following items:
31733
+ * * The instance type of a cloud computer includes the configurations of vCPUs, memory, and GPUs. You can only change an instance type to another. You cannot change only one of the configurations.
31734
+ * * You cannot change a cloud computer between the General Office type and the non-General Office type. You cannot yet change a cloud computer between the Graphics type and the non-Graphics type.
31735
+ * * The system disk and data disks of a cloud computer can only be scaled up and cannot be scaled down.
31736
+ * * If the billing method of the cloud computer is subscription, the system calculates the price difference based on the configuration difference between the original cloud computer and the new cloud computer. You must make up for the price difference or receive a refund for the price difference.
31737
+ * * We recommend that you do not change the configurations of a cloud computer twice within 5 minutes.
31738
+ * * When you change the configurations of a cloud computer, the cloud computer must be in the Stopped state.
31739
+ * * After you change the configurations of a cloud computer, the personal data on the cloud computer is not affected.
31318
31740
  *
31319
31741
  * @param request ModifyDesktopSpecRequest
31320
31742
  * @return ModifyDesktopSpecResponse
@@ -31366,7 +31788,7 @@ export default class Client extends OpenApi {
31366
31788
  }
31367
31789
 
31368
31790
  /**
31369
- * The cloud desktop must be in the Running (Running) state.
31791
+ * The cloud desktops that you want to restart by calling this operation must be in the Running state.
31370
31792
  *
31371
31793
  * @param request ModifyDesktopsPolicyGroupRequest
31372
31794
  * @param runtime runtime options for this request RuntimeOptions
@@ -31409,7 +31831,7 @@ export default class Client extends OpenApi {
31409
31831
  }
31410
31832
 
31411
31833
  /**
31412
- * The cloud desktop must be in the Running (Running) state.
31834
+ * The cloud desktops that you want to restart by calling this operation must be in the Running state.
31413
31835
  *
31414
31836
  * @param request ModifyDesktopsPolicyGroupRequest
31415
31837
  * @return ModifyDesktopsPolicyGroupResponse
@@ -31500,7 +31922,9 @@ export default class Client extends OpenApi {
31500
31922
  }
31501
31923
 
31502
31924
  /**
31503
- * The cloud desktops to which you want to assign users must be in the Running state.
31925
+ * * The cloud computer must be in the Running state.
31926
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](~~436815~~) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
31927
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
31504
31928
  *
31505
31929
  * @param request ModifyEntitlementRequest
31506
31930
  * @param runtime runtime options for this request RuntimeOptions
@@ -31539,7 +31963,9 @@ export default class Client extends OpenApi {
31539
31963
  }
31540
31964
 
31541
31965
  /**
31542
- * The cloud desktops to which you want to assign users must be in the Running state.
31966
+ * * The cloud computer must be in the Running state.
31967
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](~~436815~~) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
31968
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
31543
31969
  *
31544
31970
  * @param request ModifyEntitlementRequest
31545
31971
  * @return ModifyEntitlementResponse
@@ -31603,6 +32029,25 @@ export default class Client extends OpenApi {
31603
32029
  return await this.modifyImageAttributeWithOptions(request, runtime);
31604
32030
  }
31605
32031
 
32032
+ /**
32033
+ * ### [](#)Security of shared images
32034
+ * WUYING Workspace cannot guarantee the integrity and security of shared images. When you use a shared image, you must make sure that the image comes from a trusted sharer or account, and you are legally responsible for using the shared image.
32035
+ * ### [](#)Quota and billing
32036
+ * * A shared image does not count against the image quotas of principals to which the image is shared.
32037
+ * * After a principal uses a shared image to create a cloud computer, the sharer is not charged for the shared image.
32038
+ * * You are not charged for shared images.
32039
+ * ### [](#)Supported sharing behaviors
32040
+ * * You can share custom images with other Alibaba Cloud accounts.
32041
+ * * You can share custom images between accounts in the China site (aliyun.com) and the international site (alibabacloud.com).
32042
+ * ### [](#)Unsupported sharing behaviors
32043
+ * * You cannot share images that are shared by other Alibaba Cloud accounts.
32044
+ * * You cannot share encrypted images.
32045
+ * * You cannot share images across regions. If you want to share an image across regions, you must copy the image to the destination region and then share the image. For more information, see [CopyImage](~~436978~~).
32046
+ *
32047
+ * @param request ModifyImagePermissionRequest
32048
+ * @param runtime runtime options for this request RuntimeOptions
32049
+ * @return ModifyImagePermissionResponse
32050
+ */
31606
32051
  async modifyImagePermissionWithOptions(request: ModifyImagePermissionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyImagePermissionResponse> {
31607
32052
  Util.validateModel(request);
31608
32053
  let query = { };
@@ -31639,6 +32084,24 @@ export default class Client extends OpenApi {
31639
32084
  return $tea.cast<ModifyImagePermissionResponse>(await this.callApi(params, req, runtime), new ModifyImagePermissionResponse({}));
31640
32085
  }
31641
32086
 
32087
+ /**
32088
+ * ### [](#)Security of shared images
32089
+ * WUYING Workspace cannot guarantee the integrity and security of shared images. When you use a shared image, you must make sure that the image comes from a trusted sharer or account, and you are legally responsible for using the shared image.
32090
+ * ### [](#)Quota and billing
32091
+ * * A shared image does not count against the image quotas of principals to which the image is shared.
32092
+ * * After a principal uses a shared image to create a cloud computer, the sharer is not charged for the shared image.
32093
+ * * You are not charged for shared images.
32094
+ * ### [](#)Supported sharing behaviors
32095
+ * * You can share custom images with other Alibaba Cloud accounts.
32096
+ * * You can share custom images between accounts in the China site (aliyun.com) and the international site (alibabacloud.com).
32097
+ * ### [](#)Unsupported sharing behaviors
32098
+ * * You cannot share images that are shared by other Alibaba Cloud accounts.
32099
+ * * You cannot share encrypted images.
32100
+ * * You cannot share images across regions. If you want to share an image across regions, you must copy the image to the destination region and then share the image. For more information, see [CopyImage](~~436978~~).
32101
+ *
32102
+ * @param request ModifyImagePermissionRequest
32103
+ * @return ModifyImagePermissionResponse
32104
+ */
31642
32105
  async modifyImagePermission(request: ModifyImagePermissionRequest): Promise<ModifyImagePermissionResponse> {
31643
32106
  let runtime = new $Util.RuntimeOptions({ });
31644
32107
  return await this.modifyImagePermissionWithOptions(request, runtime);
@@ -31740,7 +32203,7 @@ export default class Client extends OpenApi {
31740
32203
  }
31741
32204
 
31742
32205
  /**
31743
- * If you want to temporarily disable Internet access for a cloud desktop, you can disable the Internet access package. You can restore the package when you require Internet access for the cloud desktop.
32206
+ * If you want to temporarily disable the Internet access of your cloud computer after the Internet access is enabled for your cloud computer, you can disable the premium bandwidth plan and restore it as needed.
31744
32207
  *
31745
32208
  * @param request ModifyNetworkPackageEnabledRequest
31746
32209
  * @param runtime runtime options for this request RuntimeOptions
@@ -31779,7 +32242,7 @@ export default class Client extends OpenApi {
31779
32242
  }
31780
32243
 
31781
32244
  /**
31782
- * If you want to temporarily disable Internet access for a cloud desktop, you can disable the Internet access package. You can restore the package when you require Internet access for the cloud desktop.
32245
+ * If you want to temporarily disable the Internet access of your cloud computer after the Internet access is enabled for your cloud computer, you can disable the premium bandwidth plan and restore it as needed.
31783
32246
  *
31784
32247
  * @param request ModifyNetworkPackageEnabledRequest
31785
32248
  * @return ModifyNetworkPackageEnabledResponse
@@ -32166,7 +32629,7 @@ export default class Client extends OpenApi {
32166
32629
  }
32167
32630
 
32168
32631
  /**
32169
- * You can modify user permissions on cloud desktops that are only in the Running state.
32632
+ * You can modify end users only for cloud computers that are in the Running state.
32170
32633
  *
32171
32634
  * @param request ModifyUserEntitlementRequest
32172
32635
  * @param runtime runtime options for this request RuntimeOptions
@@ -32209,7 +32672,7 @@ export default class Client extends OpenApi {
32209
32672
  }
32210
32673
 
32211
32674
  /**
32212
- * You can modify user permissions on cloud desktops that are only in the Running state.
32675
+ * You can modify end users only for cloud computers that are in the Running state.
32213
32676
  *
32214
32677
  * @param request ModifyUserEntitlementRequest
32215
32678
  * @return ModifyUserEntitlementResponse
@@ -32314,7 +32777,7 @@ export default class Client extends OpenApi {
32314
32777
  }
32315
32778
 
32316
32779
  /**
32317
- * The cloud desktops that you want to restart by calling this operation must be in the Running state.
32780
+ * The cloud computers that you want to restart must be in the Running state.
32318
32781
  *
32319
32782
  * @param request RebootDesktopsRequest
32320
32783
  * @param runtime runtime options for this request RuntimeOptions
@@ -32349,7 +32812,7 @@ export default class Client extends OpenApi {
32349
32812
  }
32350
32813
 
32351
32814
  /**
32352
- * The cloud desktops that you want to restart by calling this operation must be in the Running state.
32815
+ * The cloud computers that you want to restart must be in the Running state.
32353
32816
  *
32354
32817
  * @param request RebootDesktopsRequest
32355
32818
  * @return RebootDesktopsResponse
@@ -32360,12 +32823,12 @@ export default class Client extends OpenApi {
32360
32823
  }
32361
32824
 
32362
32825
  /**
32363
- * Before you change the image of a cloud desktop, take note of the following limits:
32364
- * * You can select the OS of an image during image change. However, this operation is unavailable in the following regions: China (Hong Kong), Australia (Sydney), Singapore (Singapore), and Japan (Tokyo).
32365
- * * Image change between GPU and non-GPU images is not supported. If a cloud desktop is of the Graphics type, you can use only a GPU image. If the cloud desktop is of a non-Graphics type, you can use only a non-GPU image.
32366
- * After you change the image of the cloud desktop, the system uses the new image to initialize the system disk of the cloud desktop. Take note of the following impacts:
32367
- * * The system deletes data from the original system disk. The snapshots that are created from the original system disk of the cloud desktop become unavailable and are automatically deleted.
32368
- * * If you change the OS of the image, the system deletes data from the original data disk of the cloud desktop. The system also deletes snapshots that are created from the original data disk of the cloud desktop because original snapshots become unavailable. If you do not change the OS of the image, data on the original data disk is retained, and snapshots that are created from the data disk are still available.
32826
+ * Before you change the image of a cloud computer, take note of the following limits:
32827
+ * * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Australia (Sydney), Singapore, and Japan (Tokyo).
32828
+ * * GPU images and non-GPU images cannot be exchanged. Graphical cloud computers can only use GPU-accelerated images. Non-graphical cloud computers can only use non-GPU-accelerated images.
32829
+ * After the image is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
32830
+ * * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots.
32831
+ * * If the OS of the image is changed, the data in the data disks of the original cloud computer is cleared, and the snapshots that are created based on the data disks of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disks of the original cloud computer is retained, and the snapshots that are created based on the data disks of the original cloud computer can still be used.
32369
32832
  *
32370
32833
  * @param request RebuildDesktopsRequest
32371
32834
  * @param runtime runtime options for this request RuntimeOptions
@@ -32408,12 +32871,12 @@ export default class Client extends OpenApi {
32408
32871
  }
32409
32872
 
32410
32873
  /**
32411
- * Before you change the image of a cloud desktop, take note of the following limits:
32412
- * * You can select the OS of an image during image change. However, this operation is unavailable in the following regions: China (Hong Kong), Australia (Sydney), Singapore (Singapore), and Japan (Tokyo).
32413
- * * Image change between GPU and non-GPU images is not supported. If a cloud desktop is of the Graphics type, you can use only a GPU image. If the cloud desktop is of a non-Graphics type, you can use only a non-GPU image.
32414
- * After you change the image of the cloud desktop, the system uses the new image to initialize the system disk of the cloud desktop. Take note of the following impacts:
32415
- * * The system deletes data from the original system disk. The snapshots that are created from the original system disk of the cloud desktop become unavailable and are automatically deleted.
32416
- * * If you change the OS of the image, the system deletes data from the original data disk of the cloud desktop. The system also deletes snapshots that are created from the original data disk of the cloud desktop because original snapshots become unavailable. If you do not change the OS of the image, data on the original data disk is retained, and snapshots that are created from the data disk are still available.
32874
+ * Before you change the image of a cloud computer, take note of the following limits:
32875
+ * * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Australia (Sydney), Singapore, and Japan (Tokyo).
32876
+ * * GPU images and non-GPU images cannot be exchanged. Graphical cloud computers can only use GPU-accelerated images. Non-graphical cloud computers can only use non-GPU-accelerated images.
32877
+ * After the image is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
32878
+ * * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots.
32879
+ * * If the OS of the image is changed, the data in the data disks of the original cloud computer is cleared, and the snapshots that are created based on the data disks of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disks of the original cloud computer is retained, and the snapshots that are created based on the data disks of the original cloud computer can still be used.
32417
32880
  *
32418
32881
  * @param request RebuildDesktopsRequest
32419
32882
  * @return RebuildDesktopsResponse
@@ -32696,7 +33159,7 @@ export default class Client extends OpenApi {
32696
33159
  }
32697
33160
 
32698
33161
  /**
32699
- * > You can call this operation to reset only cloud desktops that are managed by a cloud desktop group. You cannot reset an independent cloud desktop.
33162
+ * > You can call this operation to reset only cloud computers in a cloud computer pool.
32700
33163
  *
32701
33164
  * @param request ResetDesktopsRequest
32702
33165
  * @param runtime runtime options for this request RuntimeOptions
@@ -32755,7 +33218,7 @@ export default class Client extends OpenApi {
32755
33218
  }
32756
33219
 
32757
33220
  /**
32758
- * > You can call this operation to reset only cloud desktops that are managed by a cloud desktop group. You cannot reset an independent cloud desktop.
33221
+ * > You can call this operation to reset only cloud computers in a cloud computer pool.
32759
33222
  *
32760
33223
  * @param request ResetDesktopsRequest
32761
33224
  * @return ResetDesktopsResponse
@@ -32813,10 +33276,9 @@ export default class Client extends OpenApi {
32813
33276
 
32814
33277
  /**
32815
33278
  * Before you call this operation, make sure that the following operations are performed:
32816
- * * The data that you want to retain in the disk is backed up.
32817
- * **
32818
- * **Note** The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
32819
- * * The cloud desktop whose disk you want to restore is stopped.
33279
+ * * The data that you want to retain is backed up.
33280
+ * > The disk restoration operation is irreversible. After you call this operation, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore the disk based on the snapshot, make sure that you back up data.
33281
+ * * The cloud computer to which the disk belongs is stopped.
32820
33282
  *
32821
33283
  * @param request ResetSnapshotRequest
32822
33284
  * @param runtime runtime options for this request RuntimeOptions
@@ -32852,10 +33314,9 @@ export default class Client extends OpenApi {
32852
33314
 
32853
33315
  /**
32854
33316
  * Before you call this operation, make sure that the following operations are performed:
32855
- * * The data that you want to retain in the disk is backed up.
32856
- * **
32857
- * **Note** The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
32858
- * * The cloud desktop whose disk you want to restore is stopped.
33317
+ * * The data that you want to retain is backed up.
33318
+ * > The disk restoration operation is irreversible. After you call this operation, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore the disk based on the snapshot, make sure that you back up data.
33319
+ * * The cloud computer to which the disk belongs is stopped.
32859
33320
  *
32860
33321
  * @param request ResetSnapshotRequest
32861
33322
  * @return ResetSnapshotResponse
@@ -32977,8 +33438,7 @@ export default class Client extends OpenApi {
32977
33438
  }
32978
33439
 
32979
33440
  /**
32980
- * ## Description
32981
- * When you attach your workspace network to a Cloud Enterprise Network (CEN) instance in another Alibaba Cloud account, you need to call this operation to obtain a verification code. After the call is successful, the system sends a verification code to the email address associated with the Alibaba Cloud account.
33441
+ * You must call this operation to obtain the verification code that is required when you bind an advanced office network to a CEN instance that belongs to another Alibaba Cloud account. After you call this operation, the system sends a verification code to the email address associated with the Alibaba Cloud account to which the CEN instance belongs.
32982
33442
  *
32983
33443
  * @param request SendVerifyCodeRequest
32984
33444
  * @param runtime runtime options for this request RuntimeOptions
@@ -33017,8 +33477,7 @@ export default class Client extends OpenApi {
33017
33477
  }
33018
33478
 
33019
33479
  /**
33020
- * ## Description
33021
- * When you attach your workspace network to a Cloud Enterprise Network (CEN) instance in another Alibaba Cloud account, you need to call this operation to obtain a verification code. After the call is successful, the system sends a verification code to the email address associated with the Alibaba Cloud account.
33480
+ * You must call this operation to obtain the verification code that is required when you bind an advanced office network to a CEN instance that belongs to another Alibaba Cloud account. After you call this operation, the system sends a verification code to the email address associated with the Alibaba Cloud account to which the CEN instance belongs.
33022
33481
  *
33023
33482
  * @param request SendVerifyCodeRequest
33024
33483
  * @return SendVerifyCodeResponse
@@ -33344,7 +33803,7 @@ export default class Client extends OpenApi {
33344
33803
  }
33345
33804
 
33346
33805
  /**
33347
- * The cloud desktop that you want to start must be in the Stopped state.
33806
+ * The cloud computers that you want to start must be in the Stopped state.
33348
33807
  *
33349
33808
  * @param request StartDesktopsRequest
33350
33809
  * @param runtime runtime options for this request RuntimeOptions
@@ -33379,7 +33838,7 @@ export default class Client extends OpenApi {
33379
33838
  }
33380
33839
 
33381
33840
  /**
33382
- * The cloud desktop that you want to start must be in the Stopped state.
33841
+ * The cloud computers that you want to start must be in the Stopped state.
33383
33842
  *
33384
33843
  * @param request StartDesktopsRequest
33385
33844
  * @return StartDesktopsResponse
@@ -33390,7 +33849,7 @@ export default class Client extends OpenApi {
33390
33849
  }
33391
33850
 
33392
33851
  /**
33393
- * The cloud desktops that you want to stop must be in the Running state.
33852
+ * The cloud computers that you want to stop must be in the Running state.
33394
33853
  *
33395
33854
  * @param request StopDesktopsRequest
33396
33855
  * @param runtime runtime options for this request RuntimeOptions
@@ -33429,7 +33888,7 @@ export default class Client extends OpenApi {
33429
33888
  }
33430
33889
 
33431
33890
  /**
33432
- * The cloud desktops that you want to stop must be in the Running state.
33891
+ * The cloud computers that you want to stop must be in the Running state.
33433
33892
  *
33434
33893
  * @param request StopDesktopsRequest
33435
33894
  * @return StopDesktopsResponse
@@ -33670,6 +34129,13 @@ export default class Client extends OpenApi {
33670
34129
  return await this.untagResourcesWithOptions(request, runtime);
33671
34130
  }
33672
34131
 
34132
+ /**
34133
+ * You can call this operation to manage each image update task. This operation is valid only when the auto-update switch in the image update module for global image updates is turned off. If the auto-update switch is turned on, the switches for each image update task are always turned on. If you want to turn on or off the auto-update switch, go to the WUYING Workspace console and choose **Operations > Image Updates** in the left-side navigation pane.
34134
+ *
34135
+ * @param request UpdateFotaTaskRequest
34136
+ * @param runtime runtime options for this request RuntimeOptions
34137
+ * @return UpdateFotaTaskResponse
34138
+ */
33673
34139
  async updateFotaTaskWithOptions(request: UpdateFotaTaskRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFotaTaskResponse> {
33674
34140
  Util.validateModel(request);
33675
34141
  let query = { };
@@ -33702,13 +34168,19 @@ export default class Client extends OpenApi {
33702
34168
  return $tea.cast<UpdateFotaTaskResponse>(await this.callApi(params, req, runtime), new UpdateFotaTaskResponse({}));
33703
34169
  }
33704
34170
 
34171
+ /**
34172
+ * You can call this operation to manage each image update task. This operation is valid only when the auto-update switch in the image update module for global image updates is turned off. If the auto-update switch is turned on, the switches for each image update task are always turned on. If you want to turn on or off the auto-update switch, go to the WUYING Workspace console and choose **Operations > Image Updates** in the left-side navigation pane.
34173
+ *
34174
+ * @param request UpdateFotaTaskRequest
34175
+ * @return UpdateFotaTaskResponse
34176
+ */
33705
34177
  async updateFotaTask(request: UpdateFotaTaskRequest): Promise<UpdateFotaTaskResponse> {
33706
34178
  let runtime = new $Util.RuntimeOptions({ });
33707
34179
  return await this.updateFotaTaskWithOptions(request, runtime);
33708
34180
  }
33709
34181
 
33710
34182
  /**
33711
- * > You can call this operation to upload custom Windows images.
34183
+ * > You can upload only Windows images.
33712
34184
  *
33713
34185
  * @param request UploadImageRequest
33714
34186
  * @param runtime runtime options for this request RuntimeOptions
@@ -33779,7 +34251,7 @@ export default class Client extends OpenApi {
33779
34251
  }
33780
34252
 
33781
34253
  /**
33782
- * > You can call this operation to upload custom Windows images.
34254
+ * > You can upload only Windows images.
33783
34255
  *
33784
34256
  * @param request UploadImageRequest
33785
34257
  * @return UploadImageResponse