@alicloud/ecd20200930 3.4.3 → 3.5.0

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
@@ -2963,7 +2963,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
2963
2963
  description?: string;
2964
2964
  desktopType?: string;
2965
2965
  directoryId?: string;
2966
+ idleDisconnectDuration?: number;
2966
2967
  imageId?: string;
2968
+ keepDuration?: number;
2967
2969
  name?: string;
2968
2970
  oversoldUserCount?: number;
2969
2971
  oversoldWarn?: number;
@@ -2979,7 +2981,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
2979
2981
  description: 'Description',
2980
2982
  desktopType: 'DesktopType',
2981
2983
  directoryId: 'DirectoryId',
2984
+ idleDisconnectDuration: 'IdleDisconnectDuration',
2982
2985
  imageId: 'ImageId',
2986
+ keepDuration: 'KeepDuration',
2983
2987
  name: 'Name',
2984
2988
  oversoldUserCount: 'OversoldUserCount',
2985
2989
  oversoldWarn: 'OversoldWarn',
@@ -2998,7 +3002,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
2998
3002
  description: 'string',
2999
3003
  desktopType: 'string',
3000
3004
  directoryId: 'string',
3005
+ idleDisconnectDuration: 'number',
3001
3006
  imageId: 'string',
3007
+ keepDuration: 'number',
3002
3008
  name: 'string',
3003
3009
  oversoldUserCount: 'number',
3004
3010
  oversoldWarn: 'number',
@@ -6639,6 +6645,8 @@ export class DescribeDesktopOversoldUserGroupResponse extends $tea.Model {
6639
6645
  }
6640
6646
 
6641
6647
  export class DescribeDesktopSessionsRequest extends $tea.Model {
6648
+ desktopId?: string[];
6649
+ desktopName?: string;
6642
6650
  endTime?: string;
6643
6651
  endUserId?: string;
6644
6652
  officeSiteId?: string;
@@ -6649,6 +6657,8 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
6649
6657
  startTime?: string;
6650
6658
  static names(): { [key: string]: string } {
6651
6659
  return {
6660
+ desktopId: 'DesktopId',
6661
+ desktopName: 'DesktopName',
6652
6662
  endTime: 'EndTime',
6653
6663
  endUserId: 'EndUserId',
6654
6664
  officeSiteId: 'OfficeSiteId',
@@ -6662,6 +6672,8 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
6662
6672
 
6663
6673
  static types(): { [key: string]: any } {
6664
6674
  return {
6675
+ desktopId: { 'type': 'array', 'itemType': 'string' },
6676
+ desktopName: 'string',
6665
6677
  endTime: 'string',
6666
6678
  endUserId: 'string',
6667
6679
  officeSiteId: 'string',
@@ -8837,6 +8849,99 @@ export class DescribePriceForRenewDesktopOversoldGroupResponse extends $tea.Mode
8837
8849
  }
8838
8850
  }
8839
8851
 
8852
+ export class DescribeRecordingsRequest extends $tea.Model {
8853
+ desktopId?: string;
8854
+ endTime?: string;
8855
+ maxResults?: number;
8856
+ needSignedUrl?: boolean;
8857
+ nextToken?: string;
8858
+ policyGroupId?: string;
8859
+ regionId?: string;
8860
+ signedUrlExpireMinutes?: number;
8861
+ startTime?: string;
8862
+ static names(): { [key: string]: string } {
8863
+ return {
8864
+ desktopId: 'DesktopId',
8865
+ endTime: 'EndTime',
8866
+ maxResults: 'MaxResults',
8867
+ needSignedUrl: 'NeedSignedUrl',
8868
+ nextToken: 'NextToken',
8869
+ policyGroupId: 'PolicyGroupId',
8870
+ regionId: 'RegionId',
8871
+ signedUrlExpireMinutes: 'SignedUrlExpireMinutes',
8872
+ startTime: 'StartTime',
8873
+ };
8874
+ }
8875
+
8876
+ static types(): { [key: string]: any } {
8877
+ return {
8878
+ desktopId: 'string',
8879
+ endTime: 'string',
8880
+ maxResults: 'number',
8881
+ needSignedUrl: 'boolean',
8882
+ nextToken: 'string',
8883
+ policyGroupId: 'string',
8884
+ regionId: 'string',
8885
+ signedUrlExpireMinutes: 'number',
8886
+ startTime: 'string',
8887
+ };
8888
+ }
8889
+
8890
+ constructor(map?: { [key: string]: any }) {
8891
+ super(map);
8892
+ }
8893
+ }
8894
+
8895
+ export class DescribeRecordingsResponseBody extends $tea.Model {
8896
+ nextToken?: string;
8897
+ recordings?: DescribeRecordingsResponseBodyRecordings[];
8898
+ requestId?: string;
8899
+ static names(): { [key: string]: string } {
8900
+ return {
8901
+ nextToken: 'NextToken',
8902
+ recordings: 'Recordings',
8903
+ requestId: 'RequestId',
8904
+ };
8905
+ }
8906
+
8907
+ static types(): { [key: string]: any } {
8908
+ return {
8909
+ nextToken: 'string',
8910
+ recordings: { 'type': 'array', 'itemType': DescribeRecordingsResponseBodyRecordings },
8911
+ requestId: 'string',
8912
+ };
8913
+ }
8914
+
8915
+ constructor(map?: { [key: string]: any }) {
8916
+ super(map);
8917
+ }
8918
+ }
8919
+
8920
+ export class DescribeRecordingsResponse extends $tea.Model {
8921
+ headers?: { [key: string]: string };
8922
+ statusCode?: number;
8923
+ body?: DescribeRecordingsResponseBody;
8924
+ static names(): { [key: string]: string } {
8925
+ return {
8926
+ headers: 'headers',
8927
+ statusCode: 'statusCode',
8928
+ body: 'body',
8929
+ };
8930
+ }
8931
+
8932
+ static types(): { [key: string]: any } {
8933
+ return {
8934
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8935
+ statusCode: 'number',
8936
+ body: DescribeRecordingsResponseBody,
8937
+ };
8938
+ }
8939
+
8940
+ constructor(map?: { [key: string]: any }) {
8941
+ super(map);
8942
+ }
8943
+ }
8944
+
8840
8945
  export class DescribeRegionsRequest extends $tea.Model {
8841
8946
  acceptLanguage?: string;
8842
8947
  regionId?: string;
@@ -13038,7 +13143,9 @@ export class ModifyDesktopNameResponse extends $tea.Model {
13038
13143
  export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
13039
13144
  concurrenceCount?: number;
13040
13145
  description?: string;
13146
+ idleDisconnectDuration?: number;
13041
13147
  imageId?: string;
13148
+ keepDuration?: number;
13042
13149
  name?: string;
13043
13150
  oversoldGroupId?: string;
13044
13151
  oversoldUserCount?: number;
@@ -13049,7 +13156,9 @@ export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
13049
13156
  return {
13050
13157
  concurrenceCount: 'ConcurrenceCount',
13051
13158
  description: 'Description',
13159
+ idleDisconnectDuration: 'IdleDisconnectDuration',
13052
13160
  imageId: 'ImageId',
13161
+ keepDuration: 'KeepDuration',
13053
13162
  name: 'Name',
13054
13163
  oversoldGroupId: 'OversoldGroupId',
13055
13164
  oversoldUserCount: 'OversoldUserCount',
@@ -13063,7 +13172,9 @@ export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
13063
13172
  return {
13064
13173
  concurrenceCount: 'number',
13065
13174
  description: 'string',
13175
+ idleDisconnectDuration: 'number',
13066
13176
  imageId: 'string',
13177
+ keepDuration: 'number',
13067
13178
  name: 'string',
13068
13179
  oversoldGroupId: 'string',
13069
13180
  oversoldUserCount: 'number',
@@ -20807,6 +20918,52 @@ export class DescribePriceForRenewDesktopOversoldGroupResponseBodyData extends $
20807
20918
  }
20808
20919
  }
20809
20920
 
20921
+ export class DescribeRecordingsResponseBodyRecordings extends $tea.Model {
20922
+ desktopId?: string;
20923
+ desktopName?: string;
20924
+ endTime?: string;
20925
+ endUserIds?: string[];
20926
+ filePath?: string;
20927
+ policyGroupId?: string;
20928
+ recordingSize?: number;
20929
+ recordingType?: string;
20930
+ signedUrl?: string;
20931
+ startTime?: string;
20932
+ static names(): { [key: string]: string } {
20933
+ return {
20934
+ desktopId: 'DesktopId',
20935
+ desktopName: 'DesktopName',
20936
+ endTime: 'EndTime',
20937
+ endUserIds: 'EndUserIds',
20938
+ filePath: 'FilePath',
20939
+ policyGroupId: 'PolicyGroupId',
20940
+ recordingSize: 'RecordingSize',
20941
+ recordingType: 'RecordingType',
20942
+ signedUrl: 'SignedUrl',
20943
+ startTime: 'StartTime',
20944
+ };
20945
+ }
20946
+
20947
+ static types(): { [key: string]: any } {
20948
+ return {
20949
+ desktopId: 'string',
20950
+ desktopName: 'string',
20951
+ endTime: 'string',
20952
+ endUserIds: { 'type': 'array', 'itemType': 'string' },
20953
+ filePath: 'string',
20954
+ policyGroupId: 'string',
20955
+ recordingSize: 'number',
20956
+ recordingType: 'string',
20957
+ signedUrl: 'string',
20958
+ startTime: 'string',
20959
+ };
20960
+ }
20961
+
20962
+ constructor(map?: { [key: string]: any }) {
20963
+ super(map);
20964
+ }
20965
+ }
20966
+
20810
20967
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
20811
20968
  localName?: string;
20812
20969
  regionEndpoint?: string;
@@ -22533,7 +22690,7 @@ export default class Client extends OpenApi {
22533
22690
  }
22534
22691
 
22535
22692
  /**
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.
22693
+ * 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
22694
  *
22538
22695
  * @param request ActivateOfficeSiteRequest
22539
22696
  * @param runtime runtime options for this request RuntimeOptions
@@ -22568,7 +22725,7 @@ export default class Client extends OpenApi {
22568
22725
  }
22569
22726
 
22570
22727
  /**
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.
22728
+ * 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
22729
  *
22573
22730
  * @param request ActivateOfficeSiteRequest
22574
22731
  * @return ActivateOfficeSiteResponse
@@ -23046,8 +23203,8 @@ export default class Client extends OpenApi {
23046
23203
  /**
23047
23204
  * Prerequisites
23048
23205
  * * 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.
23206
+ * * The office network is an advanced office network, and the account system type is convenient account.
23207
+ * > 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
23208
  *
23052
23209
  * @param request AttachCenRequest
23053
23210
  * @param runtime runtime options for this request RuntimeOptions
@@ -23096,8 +23253,8 @@ export default class Client extends OpenApi {
23096
23253
  /**
23097
23254
  * Prerequisites
23098
23255
  * * 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.
23256
+ * * The office network is an advanced office network, and the account system type is convenient account.
23257
+ * > 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
23258
  *
23102
23259
  * @param request AttachCenRequest
23103
23260
  * @return AttachCenResponse
@@ -23673,11 +23830,13 @@ export default class Client extends OpenApi {
23673
23830
  }
23674
23831
 
23675
23832
  /**
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~~).
23833
+ * 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~~).
23834
+ * After you call this operation to create an AD office network, you must perform the following steps to complete AD domain setting:
23835
+ * 1. Configure a conditional forwarder in a Domain Name System (DNS) server.
23836
+ * 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.
23837
+ * 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.
23838
+ * > 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.
23839
+ * For more information, see [Create and manage enterprise AD office networks](~~214469~~).
23681
23840
  *
23682
23841
  * @param request CreateADConnectorOfficeSiteRequest
23683
23842
  * @param runtime runtime options for this request RuntimeOptions
@@ -23784,11 +23943,13 @@ export default class Client extends OpenApi {
23784
23943
  }
23785
23944
 
23786
23945
  /**
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~~).
23946
+ * 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~~).
23947
+ * After you call this operation to create an AD office network, you must perform the following steps to complete AD domain setting:
23948
+ * 1. Configure a conditional forwarder in a Domain Name System (DNS) server.
23949
+ * 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.
23950
+ * 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.
23951
+ * > 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.
23952
+ * For more information, see [Create and manage enterprise AD office networks](~~214469~~).
23792
23953
  *
23793
23954
  * @param request CreateADConnectorOfficeSiteRequest
23794
23955
  * @return CreateADConnectorOfficeSiteResponse
@@ -23910,7 +24071,7 @@ export default class Client extends OpenApi {
23910
24071
  }
23911
24072
 
23912
24073
  /**
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.
24074
+ * 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
24075
  *
23915
24076
  * @param request CreateBundleRequest
23916
24077
  * @param runtime runtime options for this request RuntimeOptions
@@ -23977,7 +24138,7 @@ export default class Client extends OpenApi {
23977
24138
  }
23978
24139
 
23979
24140
  /**
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.
24141
+ * 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
24142
  *
23982
24143
  * @param request CreateBundleRequest
23983
24144
  * @return CreateBundleResponse
@@ -24281,7 +24442,6 @@ export default class Client extends OpenApi {
24281
24442
  }
24282
24443
 
24283
24444
  /**
24284
- * # Description
24285
24445
  * Before you call this operation to create a desktop group, make sure that the following operations are complete:
24286
24446
  * * You are familiar with the features, usage limits, and scaling policies of desktop groups. For more information, see [Overview](~~290959~~) of desktop groups.
24287
24447
  * * Resources, such as workspaces, users, desktop templates, and policies, are created.
@@ -24463,7 +24623,6 @@ export default class Client extends OpenApi {
24463
24623
  }
24464
24624
 
24465
24625
  /**
24466
- * # Description
24467
24626
  * Before you call this operation to create a desktop group, make sure that the following operations are complete:
24468
24627
  * * You are familiar with the features, usage limits, and scaling policies of desktop groups. For more information, see [Overview](~~290959~~) of desktop groups.
24469
24628
  * * Resources, such as workspaces, users, desktop templates, and policies, are created.
@@ -24499,10 +24658,18 @@ export default class Client extends OpenApi {
24499
24658
  query["DirectoryId"] = request.directoryId;
24500
24659
  }
24501
24660
 
24661
+ if (!Util.isUnset(request.idleDisconnectDuration)) {
24662
+ query["IdleDisconnectDuration"] = request.idleDisconnectDuration;
24663
+ }
24664
+
24502
24665
  if (!Util.isUnset(request.imageId)) {
24503
24666
  query["ImageId"] = request.imageId;
24504
24667
  }
24505
24668
 
24669
+ if (!Util.isUnset(request.keepDuration)) {
24670
+ query["KeepDuration"] = request.keepDuration;
24671
+ }
24672
+
24506
24673
  if (!Util.isUnset(request.name)) {
24507
24674
  query["Name"] = request.name;
24508
24675
  }
@@ -24558,13 +24725,13 @@ export default class Client extends OpenApi {
24558
24725
  }
24559
24726
 
24560
24727
  /**
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.
24728
+ * Before you create cloud computers, complete the following preparations:
24729
+ * * An office network (formerly called workspace) and users are created. For more information, see:
24730
+ * * Convenience office network: [CreateSimpleOfficeSite](~~215416~~) and [CreateUsers](~~437832~~).
24731
+ * * Active Directory (AD) office network: [CreateADConnectorOfficeSite](~~215417~~) and [Create an AD user](~~188619~~).
24732
+ * * Make sure a cloud computer template exists. If no cloud computer template exists, call the [CreateBundle](~~188883~~) operation to create a template.
24733
+ * * Make sure a policy exists. If no policy exists, call the [CreatePolicyGroup](~~188889~~) operation to create a policy.
24734
+ * 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
24735
  *
24569
24736
  * @param request CreateDesktopsRequest
24570
24737
  * @param runtime runtime options for this request RuntimeOptions
@@ -24699,13 +24866,13 @@ export default class Client extends OpenApi {
24699
24866
  }
24700
24867
 
24701
24868
  /**
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.
24869
+ * Before you create cloud computers, complete the following preparations:
24870
+ * * An office network (formerly called workspace) and users are created. For more information, see:
24871
+ * * Convenience office network: [CreateSimpleOfficeSite](~~215416~~) and [CreateUsers](~~437832~~).
24872
+ * * Active Directory (AD) office network: [CreateADConnectorOfficeSite](~~215417~~) and [Create an AD user](~~188619~~).
24873
+ * * Make sure a cloud computer template exists. If no cloud computer template exists, call the [CreateBundle](~~188883~~) operation to create a template.
24874
+ * * Make sure a policy exists. If no policy exists, call the [CreatePolicyGroup](~~188889~~) operation to create a policy.
24875
+ * 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
24876
  *
24710
24877
  * @param request CreateDesktopsRequest
24711
24878
  * @return CreateDesktopsResponse
@@ -25171,8 +25338,8 @@ export default class Client extends OpenApi {
25171
25338
 
25172
25339
  /**
25173
25340
  * 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.
25341
+ * * You have created a virtual private cloud (VPC) by calling the CreateVpc operation in a region where Elastic Desktop Service (EDS) is available.
25342
+ * * You have created a vSwitch by calling the CreateVSwitch operation in a region where the VPC resides. You can call the [DescribeZones](~~196648~~) operation to obtain the zones where EDS is available in a region.
25176
25343
  *
25177
25344
  * @param request CreateRAMDirectoryRequest
25178
25345
  * @param runtime runtime options for this request RuntimeOptions
@@ -25224,8 +25391,8 @@ export default class Client extends OpenApi {
25224
25391
 
25225
25392
  /**
25226
25393
  * 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.
25394
+ * * You have created a virtual private cloud (VPC) by calling the CreateVpc operation in a region where Elastic Desktop Service (EDS) is available.
25395
+ * * You have created a vSwitch by calling the CreateVSwitch operation in a region where the VPC resides. You can call the [DescribeZones](~~196648~~) operation to obtain the zones where EDS is available in a region.
25229
25396
  *
25230
25397
  * @param request CreateRAMDirectoryRequest
25231
25398
  * @return CreateRAMDirectoryResponse
@@ -25317,7 +25484,7 @@ export default class Client extends OpenApi {
25317
25484
  }
25318
25485
 
25319
25486
  /**
25320
- * The cloud desktop for which you want to create a snapshot must be in the **Running** state or **Stopped** state.
25487
+ * The cloud computer must be in the **Running** or **Stopped** state.
25321
25488
  *
25322
25489
  * @param request CreateSnapshotRequest
25323
25490
  * @param runtime runtime options for this request RuntimeOptions
@@ -25364,7 +25531,7 @@ export default class Client extends OpenApi {
25364
25531
  }
25365
25532
 
25366
25533
  /**
25367
- * The cloud desktop for which you want to create a snapshot must be in the **Running** state or **Stopped** state.
25534
+ * The cloud computer must be in the **Running** or **Stopped** state.
25368
25535
  *
25369
25536
  * @param request CreateSnapshotRequest
25370
25537
  * @return CreateSnapshotResponse
@@ -25559,6 +25726,15 @@ export default class Client extends OpenApi {
25559
25726
  return await this.deleteCloudDriveUsersWithOptions(request, runtime);
25560
25727
  }
25561
25728
 
25729
+ /**
25730
+ * * 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.
25731
+ * * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
25732
+ * * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
25733
+ *
25734
+ * @param request DeleteDesktopGroupRequest
25735
+ * @param runtime runtime options for this request RuntimeOptions
25736
+ * @return DeleteDesktopGroupResponse
25737
+ */
25562
25738
  async deleteDesktopGroupWithOptions(request: DeleteDesktopGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDesktopGroupResponse> {
25563
25739
  Util.validateModel(request);
25564
25740
  let query = { };
@@ -25587,6 +25763,14 @@ export default class Client extends OpenApi {
25587
25763
  return $tea.cast<DeleteDesktopGroupResponse>(await this.callApi(params, req, runtime), new DeleteDesktopGroupResponse({}));
25588
25764
  }
25589
25765
 
25766
+ /**
25767
+ * * 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.
25768
+ * * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
25769
+ * * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
25770
+ *
25771
+ * @param request DeleteDesktopGroupRequest
25772
+ * @return DeleteDesktopGroupResponse
25773
+ */
25590
25774
  async deleteDesktopGroup(request: DeleteDesktopGroupRequest): Promise<DeleteDesktopGroupResponse> {
25591
25775
  let runtime = new $Util.RuntimeOptions({ });
25592
25776
  return await this.deleteDesktopGroupWithOptions(request, runtime);
@@ -25680,7 +25864,7 @@ export default class Client extends OpenApi {
25680
25864
  }
25681
25865
 
25682
25866
  /**
25683
- * You cannot delete directories that are in use by cloud desktops.
25867
+ * You cannot delete directories that are used by cloud desktops.
25684
25868
  *
25685
25869
  * @param request DeleteDirectoriesRequest
25686
25870
  * @param runtime runtime options for this request RuntimeOptions
@@ -25715,7 +25899,7 @@ export default class Client extends OpenApi {
25715
25899
  }
25716
25900
 
25717
25901
  /**
25718
- * You cannot delete directories that are in use by cloud desktops.
25902
+ * You cannot delete directories that are used by cloud desktops.
25719
25903
  *
25720
25904
  * @param request DeleteDirectoriesRequest
25721
25905
  * @return DeleteDirectoriesResponse
@@ -25760,7 +25944,7 @@ export default class Client extends OpenApi {
25760
25944
 
25761
25945
  /**
25762
25946
  * * 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.
25947
+ * * 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
25948
  *
25765
25949
  * @param request DeleteImagesRequest
25766
25950
  * @param runtime runtime options for this request RuntimeOptions
@@ -25800,7 +25984,7 @@ export default class Client extends OpenApi {
25800
25984
 
25801
25985
  /**
25802
25986
  * * 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.
25987
+ * * 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
25988
  *
25805
25989
  * @param request DeleteImagesRequest
25806
25990
  * @return DeleteImagesResponse
@@ -25812,8 +25996,7 @@ export default class Client extends OpenApi {
25812
25996
 
25813
25997
  /**
25814
25998
  * 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.
25999
+ * ><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
26000
  *
25818
26001
  * @param request DeleteNASFileSystemsRequest
25819
26002
  * @param runtime runtime options for this request RuntimeOptions
@@ -25849,8 +26032,7 @@ export default class Client extends OpenApi {
25849
26032
 
25850
26033
  /**
25851
26034
  * 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.
26035
+ * ><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
26036
  *
25855
26037
  * @param request DeleteNASFileSystemsRequest
25856
26038
  * @return DeleteNASFileSystemsResponse
@@ -25894,10 +26076,10 @@ export default class Client extends OpenApi {
25894
26076
  }
25895
26077
 
25896
26078
  /**
25897
- * Before you delete a workspace, make sure that the following requirements are met:
25898
- * * All cloud desktops in the workspace are released.
26079
+ * Before you delete an office network, make sure that the following operations are complete:
26080
+ * * All cloud computers in the office network are released.
25899
26081
  * * 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.
26082
+ * > Resources and data on cloud computers in an office network cannot be restored after you delete it. Proceed with caution.
25901
26083
  *
25902
26084
  * @param request DeleteOfficeSitesRequest
25903
26085
  * @param runtime runtime options for this request RuntimeOptions
@@ -25932,10 +26114,10 @@ export default class Client extends OpenApi {
25932
26114
  }
25933
26115
 
25934
26116
  /**
25935
- * Before you delete a workspace, make sure that the following requirements are met:
25936
- * * All cloud desktops in the workspace are released.
26117
+ * Before you delete an office network, make sure that the following operations are complete:
26118
+ * * All cloud computers in the office network are released.
25937
26119
  * * 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.
26120
+ * > Resources and data on cloud computers in an office network cannot be restored after you delete it. Proceed with caution.
25939
26121
  *
25940
26122
  * @param request DeleteOfficeSitesRequest
25941
26123
  * @return DeleteOfficeSitesResponse
@@ -26025,7 +26207,7 @@ export default class Client extends OpenApi {
26025
26207
  }
26026
26208
 
26027
26209
  /**
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.
26210
+ * 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
26211
  *
26030
26212
  * @param request DeleteVirtualMFADeviceRequest
26031
26213
  * @param runtime runtime options for this request RuntimeOptions
@@ -26060,7 +26242,7 @@ export default class Client extends OpenApi {
26060
26242
  }
26061
26243
 
26062
26244
  /**
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.
26245
+ * 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
26246
  *
26065
26247
  * @param request DeleteVirtualMFADeviceRequest
26066
26248
  * @return DeleteVirtualMFADeviceResponse
@@ -26970,6 +27152,14 @@ export default class Client extends OpenApi {
26970
27152
  async describeDesktopSessionsWithOptions(request: DescribeDesktopSessionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDesktopSessionsResponse> {
26971
27153
  Util.validateModel(request);
26972
27154
  let query = { };
27155
+ if (!Util.isUnset(request.desktopId)) {
27156
+ query["DesktopId"] = request.desktopId;
27157
+ }
27158
+
27159
+ if (!Util.isUnset(request.desktopName)) {
27160
+ query["DesktopName"] = request.desktopName;
27161
+ }
27162
+
26973
27163
  if (!Util.isUnset(request.endTime)) {
26974
27164
  query["EndTime"] = request.endTime;
26975
27165
  }
@@ -27680,7 +27870,7 @@ export default class Client extends OpenApi {
27680
27870
  }
27681
27871
 
27682
27872
  /**
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.
27873
+ * 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
27874
  *
27685
27875
  * @param request DescribeImagePermissionRequest
27686
27876
  * @param runtime runtime options for this request RuntimeOptions
@@ -27715,7 +27905,7 @@ export default class Client extends OpenApi {
27715
27905
  }
27716
27906
 
27717
27907
  /**
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.
27908
+ * 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
27909
  *
27720
27910
  * @param request DescribeImagePermissionRequest
27721
27911
  * @return DescribeImagePermissionResponse
@@ -28414,6 +28604,67 @@ export default class Client extends OpenApi {
28414
28604
  return await this.describePriceForRenewDesktopOversoldGroupWithOptions(request, runtime);
28415
28605
  }
28416
28606
 
28607
+ async describeRecordingsWithOptions(request: DescribeRecordingsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRecordingsResponse> {
28608
+ Util.validateModel(request);
28609
+ let query = { };
28610
+ if (!Util.isUnset(request.desktopId)) {
28611
+ query["DesktopId"] = request.desktopId;
28612
+ }
28613
+
28614
+ if (!Util.isUnset(request.endTime)) {
28615
+ query["EndTime"] = request.endTime;
28616
+ }
28617
+
28618
+ if (!Util.isUnset(request.maxResults)) {
28619
+ query["MaxResults"] = request.maxResults;
28620
+ }
28621
+
28622
+ if (!Util.isUnset(request.needSignedUrl)) {
28623
+ query["NeedSignedUrl"] = request.needSignedUrl;
28624
+ }
28625
+
28626
+ if (!Util.isUnset(request.nextToken)) {
28627
+ query["NextToken"] = request.nextToken;
28628
+ }
28629
+
28630
+ if (!Util.isUnset(request.policyGroupId)) {
28631
+ query["PolicyGroupId"] = request.policyGroupId;
28632
+ }
28633
+
28634
+ if (!Util.isUnset(request.regionId)) {
28635
+ query["RegionId"] = request.regionId;
28636
+ }
28637
+
28638
+ if (!Util.isUnset(request.signedUrlExpireMinutes)) {
28639
+ query["SignedUrlExpireMinutes"] = request.signedUrlExpireMinutes;
28640
+ }
28641
+
28642
+ if (!Util.isUnset(request.startTime)) {
28643
+ query["StartTime"] = request.startTime;
28644
+ }
28645
+
28646
+ let req = new $OpenApi.OpenApiRequest({
28647
+ query: OpenApiUtil.query(query),
28648
+ });
28649
+ let params = new $OpenApi.Params({
28650
+ action: "DescribeRecordings",
28651
+ version: "2020-09-30",
28652
+ protocol: "HTTPS",
28653
+ pathname: "/",
28654
+ method: "POST",
28655
+ authType: "AK",
28656
+ style: "RPC",
28657
+ reqBodyType: "formData",
28658
+ bodyType: "json",
28659
+ });
28660
+ return $tea.cast<DescribeRecordingsResponse>(await this.callApi(params, req, runtime), new DescribeRecordingsResponse({}));
28661
+ }
28662
+
28663
+ async describeRecordings(request: DescribeRecordingsRequest): Promise<DescribeRecordingsResponse> {
28664
+ let runtime = new $Util.RuntimeOptions({ });
28665
+ return await this.describeRecordingsWithOptions(request, runtime);
28666
+ }
28667
+
28417
28668
  async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
28418
28669
  Util.validateModel(request);
28419
28670
  let query = { };
@@ -29263,7 +29514,22 @@ export default class Client extends OpenApi {
29263
29514
  }
29264
29515
 
29265
29516
  /**
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.
29517
+ * 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:
29518
+ * * Cloud computer ID and name
29519
+ * * Office network ID and name
29520
+ * * The instance type, OS and protocol of the cloud computer
29521
+ * * System disk and data disk of the cloud computer
29522
+ * * The status
29523
+ * * Purchase method
29524
+ * * The time when the cloud computer expires
29525
+ * * Remaining duration and total duration
29526
+ * * Number of assigned users and number of current users
29527
+ * * Office network type
29528
+ * * The time when the cloud computer was created
29529
+ * * Tags
29530
+ * * Encryption status
29531
+ * * IP
29532
+ * * The hostname
29267
29533
  *
29268
29534
  * @param request ExportDesktopListInfoRequest
29269
29535
  * @param runtime runtime options for this request RuntimeOptions
@@ -29350,7 +29616,22 @@ export default class Client extends OpenApi {
29350
29616
  }
29351
29617
 
29352
29618
  /**
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.
29619
+ * 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:
29620
+ * * Cloud computer ID and name
29621
+ * * Office network ID and name
29622
+ * * The instance type, OS and protocol of the cloud computer
29623
+ * * System disk and data disk of the cloud computer
29624
+ * * The status
29625
+ * * Purchase method
29626
+ * * The time when the cloud computer expires
29627
+ * * Remaining duration and total duration
29628
+ * * Number of assigned users and number of current users
29629
+ * * Office network type
29630
+ * * The time when the cloud computer was created
29631
+ * * Tags
29632
+ * * Encryption status
29633
+ * * IP
29634
+ * * The hostname
29354
29635
  *
29355
29636
  * @param request ExportDesktopListInfoRequest
29356
29637
  * @return ExportDesktopListInfoResponse
@@ -29393,6 +29674,13 @@ export default class Client extends OpenApi {
29393
29674
  return await this.getAsyncTaskWithOptions(request, runtime);
29394
29675
  }
29395
29676
 
29677
+ /**
29678
+ * The cloud computer must be in the Running state.
29679
+ *
29680
+ * @param request GetConnectionTicketRequest
29681
+ * @param runtime runtime options for this request RuntimeOptions
29682
+ * @return GetConnectionTicketResponse
29683
+ */
29396
29684
  async getConnectionTicketWithOptions(request: GetConnectionTicketRequest, runtime: $Util.RuntimeOptions): Promise<GetConnectionTicketResponse> {
29397
29685
  Util.validateModel(request);
29398
29686
  let query = { };
@@ -29453,6 +29741,12 @@ export default class Client extends OpenApi {
29453
29741
  return $tea.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
29454
29742
  }
29455
29743
 
29744
+ /**
29745
+ * The cloud computer must be in the Running state.
29746
+ *
29747
+ * @param request GetConnectionTicketRequest
29748
+ * @return GetConnectionTicketResponse
29749
+ */
29456
29750
  async getConnectionTicket(request: GetConnectionTicketRequest): Promise<GetConnectionTicketResponse> {
29457
29751
  let runtime = new $Util.RuntimeOptions({ });
29458
29752
  return await this.getConnectionTicketWithOptions(request, runtime);
@@ -29942,7 +30236,7 @@ export default class Client extends OpenApi {
29942
30236
  }
29943
30237
 
29944
30238
  /**
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.
30239
+ * 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
30240
  *
29947
30241
  * @param request ListTagResourcesRequest
29948
30242
  * @param runtime runtime options for this request RuntimeOptions
@@ -29993,7 +30287,7 @@ export default class Client extends OpenApi {
29993
30287
  }
29994
30288
 
29995
30289
  /**
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.
30290
+ * 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
30291
  *
29998
30292
  * @param request ListTagResourcesRequest
29999
30293
  * @return ListTagResourcesResponse
@@ -30049,7 +30343,7 @@ export default class Client extends OpenApi {
30049
30343
  }
30050
30344
 
30051
30345
  /**
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.
30346
+ * 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
30347
  *
30054
30348
  * @param request LockVirtualMFADeviceRequest
30055
30349
  * @param runtime runtime options for this request RuntimeOptions
@@ -30084,7 +30378,7 @@ export default class Client extends OpenApi {
30084
30378
  }
30085
30379
 
30086
30380
  /**
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.
30381
+ * 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
30382
  *
30089
30383
  * @param request LockVirtualMFADeviceRequest
30090
30384
  * @return LockVirtualMFADeviceResponse
@@ -30241,6 +30535,13 @@ export default class Client extends OpenApi {
30241
30535
  return await this.modifyADConnectorDirectoryWithOptions(request, runtime);
30242
30536
  }
30243
30537
 
30538
+ /**
30539
+ * 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`.
30540
+ *
30541
+ * @param request ModifyADConnectorOfficeSiteRequest
30542
+ * @param runtime runtime options for this request RuntimeOptions
30543
+ * @return ModifyADConnectorOfficeSiteResponse
30544
+ */
30244
30545
  async modifyADConnectorOfficeSiteWithOptions(request: ModifyADConnectorOfficeSiteRequest, runtime: $Util.RuntimeOptions): Promise<ModifyADConnectorOfficeSiteResponse> {
30245
30546
  Util.validateModel(request);
30246
30547
  let query = { };
@@ -30309,11 +30610,24 @@ export default class Client extends OpenApi {
30309
30610
  return $tea.cast<ModifyADConnectorOfficeSiteResponse>(await this.callApi(params, req, runtime), new ModifyADConnectorOfficeSiteResponse({}));
30310
30611
  }
30311
30612
 
30613
+ /**
30614
+ * 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`.
30615
+ *
30616
+ * @param request ModifyADConnectorOfficeSiteRequest
30617
+ * @return ModifyADConnectorOfficeSiteResponse
30618
+ */
30312
30619
  async modifyADConnectorOfficeSite(request: ModifyADConnectorOfficeSiteRequest): Promise<ModifyADConnectorOfficeSiteResponse> {
30313
30620
  let runtime = new $Util.RuntimeOptions({ });
30314
30621
  return await this.modifyADConnectorOfficeSiteWithOptions(request, runtime);
30315
30622
  }
30316
30623
 
30624
+ /**
30625
+ * 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.
30626
+ *
30627
+ * @param request ModifyAclEntriesRequest
30628
+ * @param runtime runtime options for this request RuntimeOptions
30629
+ * @return ModifyAclEntriesResponse
30630
+ */
30317
30631
  async modifyAclEntriesWithOptions(request: ModifyAclEntriesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAclEntriesResponse> {
30318
30632
  Util.validateModel(request);
30319
30633
  let query = { };
@@ -30350,6 +30664,12 @@ export default class Client extends OpenApi {
30350
30664
  return $tea.cast<ModifyAclEntriesResponse>(await this.callApi(params, req, runtime), new ModifyAclEntriesResponse({}));
30351
30665
  }
30352
30666
 
30667
+ /**
30668
+ * 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.
30669
+ *
30670
+ * @param request ModifyAclEntriesRequest
30671
+ * @return ModifyAclEntriesResponse
30672
+ */
30353
30673
  async modifyAclEntries(request: ModifyAclEntriesRequest): Promise<ModifyAclEntriesResponse> {
30354
30674
  let runtime = new $Util.RuntimeOptions({ });
30355
30675
  return await this.modifyAclEntriesWithOptions(request, runtime);
@@ -30781,10 +31101,9 @@ export default class Client extends OpenApi {
30781
31101
  }
30782
31102
 
30783
31103
  /**
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).
31104
+ * * Before you call this operation, make sure that you fully understand the billing methods of cloud computers. For more information, see [Billing overview](~~188395~~).
31105
+ * * 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.
31106
+ * * 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
31107
  *
30789
31108
  * @param request ModifyDesktopChargeTypeRequest
30790
31109
  * @param runtime runtime options for this request RuntimeOptions
@@ -30843,10 +31162,9 @@ export default class Client extends OpenApi {
30843
31162
  }
30844
31163
 
30845
31164
  /**
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).
31165
+ * * Before you call this operation, make sure that you fully understand the billing methods of cloud computers. For more information, see [Billing overview](~~188395~~).
31166
+ * * 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.
31167
+ * * 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
31168
  *
30851
31169
  * @param request ModifyDesktopChargeTypeRequest
30852
31170
  * @return ModifyDesktopChargeTypeResponse
@@ -30857,11 +31175,7 @@ export default class Client extends OpenApi {
30857
31175
  }
30858
31176
 
30859
31177
  /**
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.
31178
+ * 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
31179
  *
30866
31180
  * @param request ModifyDesktopGroupRequest
30867
31181
  * @param runtime runtime options for this request RuntimeOptions
@@ -30992,11 +31306,7 @@ export default class Client extends OpenApi {
30992
31306
  }
30993
31307
 
30994
31308
  /**
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.
31309
+ * 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
31310
  *
31001
31311
  * @param request ModifyDesktopGroupRequest
31002
31312
  * @return ModifyDesktopGroupResponse
@@ -31007,7 +31317,7 @@ export default class Client extends OpenApi {
31007
31317
  }
31008
31318
 
31009
31319
  /**
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.
31320
+ * 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
31321
  *
31012
31322
  * @param request ModifyDesktopHostNameRequest
31013
31323
  * @param runtime runtime options for this request RuntimeOptions
@@ -31046,7 +31356,7 @@ export default class Client extends OpenApi {
31046
31356
  }
31047
31357
 
31048
31358
  /**
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.
31359
+ * 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
31360
  *
31051
31361
  * @param request ModifyDesktopHostNameRequest
31052
31362
  * @return ModifyDesktopHostNameResponse
@@ -31104,10 +31414,18 @@ export default class Client extends OpenApi {
31104
31414
  query["Description"] = request.description;
31105
31415
  }
31106
31416
 
31417
+ if (!Util.isUnset(request.idleDisconnectDuration)) {
31418
+ query["IdleDisconnectDuration"] = request.idleDisconnectDuration;
31419
+ }
31420
+
31107
31421
  if (!Util.isUnset(request.imageId)) {
31108
31422
  query["ImageId"] = request.imageId;
31109
31423
  }
31110
31424
 
31425
+ if (!Util.isUnset(request.keepDuration)) {
31426
+ query["KeepDuration"] = request.keepDuration;
31427
+ }
31428
+
31111
31429
  if (!Util.isUnset(request.name)) {
31112
31430
  query["Name"] = request.name;
31113
31431
  }
@@ -31237,16 +31555,16 @@ export default class Client extends OpenApi {
31237
31555
  }
31238
31556
 
31239
31557
  /**
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.
31558
+ * 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.
31559
+ * * 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.
31560
+ * * 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:
31561
+ * * 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.
31562
+ * * 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.
31563
+ * * The system disk and data disks of a cloud computer can only be scaled up and cannot be scaled down.
31564
+ * * 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.
31565
+ * * We recommend that you do not change the configurations of a cloud computer twice within 5 minutes.
31566
+ * * When you change the configurations of a cloud computer, the cloud computer must be in the Stopped state.
31567
+ * * After you change the configurations of a cloud computer, the personal data on the cloud computer is not affected.
31250
31568
  *
31251
31569
  * @param request ModifyDesktopSpecRequest
31252
31570
  * @param runtime runtime options for this request RuntimeOptions
@@ -31305,16 +31623,16 @@ export default class Client extends OpenApi {
31305
31623
  }
31306
31624
 
31307
31625
  /**
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.
31626
+ * 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.
31627
+ * * 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.
31628
+ * * 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:
31629
+ * * 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.
31630
+ * * 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.
31631
+ * * The system disk and data disks of a cloud computer can only be scaled up and cannot be scaled down.
31632
+ * * 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.
31633
+ * * We recommend that you do not change the configurations of a cloud computer twice within 5 minutes.
31634
+ * * When you change the configurations of a cloud computer, the cloud computer must be in the Stopped state.
31635
+ * * After you change the configurations of a cloud computer, the personal data on the cloud computer is not affected.
31318
31636
  *
31319
31637
  * @param request ModifyDesktopSpecRequest
31320
31638
  * @return ModifyDesktopSpecResponse
@@ -31366,7 +31684,7 @@ export default class Client extends OpenApi {
31366
31684
  }
31367
31685
 
31368
31686
  /**
31369
- * The cloud desktop must be in the Running (Running) state.
31687
+ * The cloud desktops that you want to restart by calling this operation must be in the Running state.
31370
31688
  *
31371
31689
  * @param request ModifyDesktopsPolicyGroupRequest
31372
31690
  * @param runtime runtime options for this request RuntimeOptions
@@ -31409,7 +31727,7 @@ export default class Client extends OpenApi {
31409
31727
  }
31410
31728
 
31411
31729
  /**
31412
- * The cloud desktop must be in the Running (Running) state.
31730
+ * The cloud desktops that you want to restart by calling this operation must be in the Running state.
31413
31731
  *
31414
31732
  * @param request ModifyDesktopsPolicyGroupRequest
31415
31733
  * @return ModifyDesktopsPolicyGroupResponse
@@ -31500,7 +31818,9 @@ export default class Client extends OpenApi {
31500
31818
  }
31501
31819
 
31502
31820
  /**
31503
- * The cloud desktops to which you want to assign users must be in the Running state.
31821
+ * * The cloud computer must be in the Running state.
31822
+ * * 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.
31823
+ * * 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
31824
  *
31505
31825
  * @param request ModifyEntitlementRequest
31506
31826
  * @param runtime runtime options for this request RuntimeOptions
@@ -31539,7 +31859,9 @@ export default class Client extends OpenApi {
31539
31859
  }
31540
31860
 
31541
31861
  /**
31542
- * The cloud desktops to which you want to assign users must be in the Running state.
31862
+ * * The cloud computer must be in the Running state.
31863
+ * * 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.
31864
+ * * 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
31865
  *
31544
31866
  * @param request ModifyEntitlementRequest
31545
31867
  * @return ModifyEntitlementResponse
@@ -31603,6 +31925,25 @@ export default class Client extends OpenApi {
31603
31925
  return await this.modifyImageAttributeWithOptions(request, runtime);
31604
31926
  }
31605
31927
 
31928
+ /**
31929
+ * ### [](#)Security of shared images
31930
+ * 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.
31931
+ * ### [](#)Quota and billing
31932
+ * * A shared image does not count against the image quotas of principals to which the image is shared.
31933
+ * * After a principal uses a shared image to create a cloud computer, the sharer is not charged for the shared image.
31934
+ * * You are not charged for shared images.
31935
+ * ### [](#)Supported sharing behaviors
31936
+ * * You can share custom images with other Alibaba Cloud accounts.
31937
+ * * You can share custom images between accounts in the China site (aliyun.com) and the international site (alibabacloud.com).
31938
+ * ### [](#)Unsupported sharing behaviors
31939
+ * * You cannot share images that are shared by other Alibaba Cloud accounts.
31940
+ * * You cannot share encrypted images.
31941
+ * * 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~~).
31942
+ *
31943
+ * @param request ModifyImagePermissionRequest
31944
+ * @param runtime runtime options for this request RuntimeOptions
31945
+ * @return ModifyImagePermissionResponse
31946
+ */
31606
31947
  async modifyImagePermissionWithOptions(request: ModifyImagePermissionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyImagePermissionResponse> {
31607
31948
  Util.validateModel(request);
31608
31949
  let query = { };
@@ -31639,6 +31980,24 @@ export default class Client extends OpenApi {
31639
31980
  return $tea.cast<ModifyImagePermissionResponse>(await this.callApi(params, req, runtime), new ModifyImagePermissionResponse({}));
31640
31981
  }
31641
31982
 
31983
+ /**
31984
+ * ### [](#)Security of shared images
31985
+ * 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.
31986
+ * ### [](#)Quota and billing
31987
+ * * A shared image does not count against the image quotas of principals to which the image is shared.
31988
+ * * After a principal uses a shared image to create a cloud computer, the sharer is not charged for the shared image.
31989
+ * * You are not charged for shared images.
31990
+ * ### [](#)Supported sharing behaviors
31991
+ * * You can share custom images with other Alibaba Cloud accounts.
31992
+ * * You can share custom images between accounts in the China site (aliyun.com) and the international site (alibabacloud.com).
31993
+ * ### [](#)Unsupported sharing behaviors
31994
+ * * You cannot share images that are shared by other Alibaba Cloud accounts.
31995
+ * * You cannot share encrypted images.
31996
+ * * 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~~).
31997
+ *
31998
+ * @param request ModifyImagePermissionRequest
31999
+ * @return ModifyImagePermissionResponse
32000
+ */
31642
32001
  async modifyImagePermission(request: ModifyImagePermissionRequest): Promise<ModifyImagePermissionResponse> {
31643
32002
  let runtime = new $Util.RuntimeOptions({ });
31644
32003
  return await this.modifyImagePermissionWithOptions(request, runtime);
@@ -31740,7 +32099,7 @@ export default class Client extends OpenApi {
31740
32099
  }
31741
32100
 
31742
32101
  /**
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.
32102
+ * 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
32103
  *
31745
32104
  * @param request ModifyNetworkPackageEnabledRequest
31746
32105
  * @param runtime runtime options for this request RuntimeOptions
@@ -31779,7 +32138,7 @@ export default class Client extends OpenApi {
31779
32138
  }
31780
32139
 
31781
32140
  /**
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.
32141
+ * 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
32142
  *
31784
32143
  * @param request ModifyNetworkPackageEnabledRequest
31785
32144
  * @return ModifyNetworkPackageEnabledResponse
@@ -32166,7 +32525,7 @@ export default class Client extends OpenApi {
32166
32525
  }
32167
32526
 
32168
32527
  /**
32169
- * You can modify user permissions on cloud desktops that are only in the Running state.
32528
+ * You can modify end users only for cloud computers that are in the Running state.
32170
32529
  *
32171
32530
  * @param request ModifyUserEntitlementRequest
32172
32531
  * @param runtime runtime options for this request RuntimeOptions
@@ -32209,7 +32568,7 @@ export default class Client extends OpenApi {
32209
32568
  }
32210
32569
 
32211
32570
  /**
32212
- * You can modify user permissions on cloud desktops that are only in the Running state.
32571
+ * You can modify end users only for cloud computers that are in the Running state.
32213
32572
  *
32214
32573
  * @param request ModifyUserEntitlementRequest
32215
32574
  * @return ModifyUserEntitlementResponse
@@ -32314,7 +32673,7 @@ export default class Client extends OpenApi {
32314
32673
  }
32315
32674
 
32316
32675
  /**
32317
- * The cloud desktops that you want to restart by calling this operation must be in the Running state.
32676
+ * The cloud computers that you want to restart must be in the Running state.
32318
32677
  *
32319
32678
  * @param request RebootDesktopsRequest
32320
32679
  * @param runtime runtime options for this request RuntimeOptions
@@ -32349,7 +32708,7 @@ export default class Client extends OpenApi {
32349
32708
  }
32350
32709
 
32351
32710
  /**
32352
- * The cloud desktops that you want to restart by calling this operation must be in the Running state.
32711
+ * The cloud computers that you want to restart must be in the Running state.
32353
32712
  *
32354
32713
  * @param request RebootDesktopsRequest
32355
32714
  * @return RebootDesktopsResponse
@@ -32360,12 +32719,12 @@ export default class Client extends OpenApi {
32360
32719
  }
32361
32720
 
32362
32721
  /**
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.
32722
+ * Before you change the image of a cloud computer, take note of the following limits:
32723
+ * * 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).
32724
+ * * 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.
32725
+ * 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:
32726
+ * * 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.
32727
+ * * 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
32728
  *
32370
32729
  * @param request RebuildDesktopsRequest
32371
32730
  * @param runtime runtime options for this request RuntimeOptions
@@ -32408,12 +32767,12 @@ export default class Client extends OpenApi {
32408
32767
  }
32409
32768
 
32410
32769
  /**
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.
32770
+ * Before you change the image of a cloud computer, take note of the following limits:
32771
+ * * 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).
32772
+ * * 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.
32773
+ * 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:
32774
+ * * 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.
32775
+ * * 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
32776
  *
32418
32777
  * @param request RebuildDesktopsRequest
32419
32778
  * @return RebuildDesktopsResponse
@@ -32696,7 +33055,7 @@ export default class Client extends OpenApi {
32696
33055
  }
32697
33056
 
32698
33057
  /**
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.
33058
+ * > You can call this operation to reset only cloud computers in a cloud computer pool.
32700
33059
  *
32701
33060
  * @param request ResetDesktopsRequest
32702
33061
  * @param runtime runtime options for this request RuntimeOptions
@@ -32755,7 +33114,7 @@ export default class Client extends OpenApi {
32755
33114
  }
32756
33115
 
32757
33116
  /**
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.
33117
+ * > You can call this operation to reset only cloud computers in a cloud computer pool.
32759
33118
  *
32760
33119
  * @param request ResetDesktopsRequest
32761
33120
  * @return ResetDesktopsResponse
@@ -32813,10 +33172,9 @@ export default class Client extends OpenApi {
32813
33172
 
32814
33173
  /**
32815
33174
  * 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.
33175
+ * * The data that you want to retain is backed up.
33176
+ * > 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.
33177
+ * * The cloud computer to which the disk belongs is stopped.
32820
33178
  *
32821
33179
  * @param request ResetSnapshotRequest
32822
33180
  * @param runtime runtime options for this request RuntimeOptions
@@ -32852,10 +33210,9 @@ export default class Client extends OpenApi {
32852
33210
 
32853
33211
  /**
32854
33212
  * 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.
33213
+ * * The data that you want to retain is backed up.
33214
+ * > 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.
33215
+ * * The cloud computer to which the disk belongs is stopped.
32859
33216
  *
32860
33217
  * @param request ResetSnapshotRequest
32861
33218
  * @return ResetSnapshotResponse
@@ -32977,8 +33334,7 @@ export default class Client extends OpenApi {
32977
33334
  }
32978
33335
 
32979
33336
  /**
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.
33337
+ * 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
33338
  *
32983
33339
  * @param request SendVerifyCodeRequest
32984
33340
  * @param runtime runtime options for this request RuntimeOptions
@@ -33017,8 +33373,7 @@ export default class Client extends OpenApi {
33017
33373
  }
33018
33374
 
33019
33375
  /**
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.
33376
+ * 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
33377
  *
33023
33378
  * @param request SendVerifyCodeRequest
33024
33379
  * @return SendVerifyCodeResponse
@@ -33344,7 +33699,7 @@ export default class Client extends OpenApi {
33344
33699
  }
33345
33700
 
33346
33701
  /**
33347
- * The cloud desktop that you want to start must be in the Stopped state.
33702
+ * The cloud computers that you want to start must be in the Stopped state.
33348
33703
  *
33349
33704
  * @param request StartDesktopsRequest
33350
33705
  * @param runtime runtime options for this request RuntimeOptions
@@ -33379,7 +33734,7 @@ export default class Client extends OpenApi {
33379
33734
  }
33380
33735
 
33381
33736
  /**
33382
- * The cloud desktop that you want to start must be in the Stopped state.
33737
+ * The cloud computers that you want to start must be in the Stopped state.
33383
33738
  *
33384
33739
  * @param request StartDesktopsRequest
33385
33740
  * @return StartDesktopsResponse
@@ -33390,7 +33745,7 @@ export default class Client extends OpenApi {
33390
33745
  }
33391
33746
 
33392
33747
  /**
33393
- * The cloud desktops that you want to stop must be in the Running state.
33748
+ * The cloud computers that you want to stop must be in the Running state.
33394
33749
  *
33395
33750
  * @param request StopDesktopsRequest
33396
33751
  * @param runtime runtime options for this request RuntimeOptions
@@ -33429,7 +33784,7 @@ export default class Client extends OpenApi {
33429
33784
  }
33430
33785
 
33431
33786
  /**
33432
- * The cloud desktops that you want to stop must be in the Running state.
33787
+ * The cloud computers that you want to stop must be in the Running state.
33433
33788
  *
33434
33789
  * @param request StopDesktopsRequest
33435
33790
  * @return StopDesktopsResponse
@@ -33708,7 +34063,7 @@ export default class Client extends OpenApi {
33708
34063
  }
33709
34064
 
33710
34065
  /**
33711
- * > You can call this operation to upload custom Windows images.
34066
+ * > You can upload only Windows images.
33712
34067
  *
33713
34068
  * @param request UploadImageRequest
33714
34069
  * @param runtime runtime options for this request RuntimeOptions
@@ -33779,7 +34134,7 @@ export default class Client extends OpenApi {
33779
34134
  }
33780
34135
 
33781
34136
  /**
33782
- * > You can call this operation to upload custom Windows images.
34137
+ * > You can upload only Windows images.
33783
34138
  *
33784
34139
  * @param request UploadImageRequest
33785
34140
  * @return UploadImageResponse