@alicloud/ecd20200930 3.2.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +22 -10
- package/dist/client.js +56 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +74 -10
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2565,7 +2565,10 @@ export class CreateCdsFileShareLinkResponse extends $tea.Model {
|
|
|
2565
2565
|
}
|
|
2566
2566
|
|
|
2567
2567
|
export class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
2568
|
+
autoPay?: boolean;
|
|
2569
|
+
autoRenew?: boolean;
|
|
2568
2570
|
bizType?: number;
|
|
2571
|
+
cdsChargeType?: string;
|
|
2569
2572
|
cenId?: string;
|
|
2570
2573
|
domainName?: string;
|
|
2571
2574
|
endUserId?: string[];
|
|
@@ -2573,12 +2576,18 @@ export class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
|
2573
2576
|
name?: string;
|
|
2574
2577
|
officeSiteId?: string;
|
|
2575
2578
|
officeSiteType?: string;
|
|
2579
|
+
period?: number;
|
|
2580
|
+
periodUnit?: string;
|
|
2576
2581
|
regionId?: string;
|
|
2577
2582
|
solutionId?: string;
|
|
2583
|
+
userCount?: number;
|
|
2578
2584
|
userMaxSize?: number;
|
|
2579
2585
|
static names(): { [key: string]: string } {
|
|
2580
2586
|
return {
|
|
2587
|
+
autoPay: 'AutoPay',
|
|
2588
|
+
autoRenew: 'AutoRenew',
|
|
2581
2589
|
bizType: 'BizType',
|
|
2590
|
+
cdsChargeType: 'CdsChargeType',
|
|
2582
2591
|
cenId: 'CenId',
|
|
2583
2592
|
domainName: 'DomainName',
|
|
2584
2593
|
endUserId: 'EndUserId',
|
|
@@ -2586,15 +2595,21 @@ export class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
|
2586
2595
|
name: 'Name',
|
|
2587
2596
|
officeSiteId: 'OfficeSiteId',
|
|
2588
2597
|
officeSiteType: 'OfficeSiteType',
|
|
2598
|
+
period: 'Period',
|
|
2599
|
+
periodUnit: 'PeriodUnit',
|
|
2589
2600
|
regionId: 'RegionId',
|
|
2590
2601
|
solutionId: 'SolutionId',
|
|
2602
|
+
userCount: 'UserCount',
|
|
2591
2603
|
userMaxSize: 'UserMaxSize',
|
|
2592
2604
|
};
|
|
2593
2605
|
}
|
|
2594
2606
|
|
|
2595
2607
|
static types(): { [key: string]: any } {
|
|
2596
2608
|
return {
|
|
2609
|
+
autoPay: 'boolean',
|
|
2610
|
+
autoRenew: 'boolean',
|
|
2597
2611
|
bizType: 'number',
|
|
2612
|
+
cdsChargeType: 'string',
|
|
2598
2613
|
cenId: 'string',
|
|
2599
2614
|
domainName: 'string',
|
|
2600
2615
|
endUserId: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -2602,8 +2617,11 @@ export class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
|
2602
2617
|
name: 'string',
|
|
2603
2618
|
officeSiteId: 'string',
|
|
2604
2619
|
officeSiteType: 'string',
|
|
2620
|
+
period: 'number',
|
|
2621
|
+
periodUnit: 'string',
|
|
2605
2622
|
regionId: 'string',
|
|
2606
2623
|
solutionId: 'string',
|
|
2624
|
+
userCount: 'number',
|
|
2607
2625
|
userMaxSize: 'number',
|
|
2608
2626
|
};
|
|
2609
2627
|
}
|
|
@@ -2618,8 +2636,10 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2618
2636
|
cdsName?: string;
|
|
2619
2637
|
cenId?: string;
|
|
2620
2638
|
domainName?: string;
|
|
2639
|
+
errorCode?: string;
|
|
2621
2640
|
maxSize?: string;
|
|
2622
2641
|
officeSiteType?: string;
|
|
2642
|
+
orderId?: string;
|
|
2623
2643
|
requestId?: string;
|
|
2624
2644
|
static names(): { [key: string]: string } {
|
|
2625
2645
|
return {
|
|
@@ -2627,8 +2647,10 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2627
2647
|
cdsName: 'CdsName',
|
|
2628
2648
|
cenId: 'CenId',
|
|
2629
2649
|
domainName: 'DomainName',
|
|
2650
|
+
errorCode: 'ErrorCode',
|
|
2630
2651
|
maxSize: 'MaxSize',
|
|
2631
2652
|
officeSiteType: 'OfficeSiteType',
|
|
2653
|
+
orderId: 'OrderId',
|
|
2632
2654
|
requestId: 'RequestId',
|
|
2633
2655
|
};
|
|
2634
2656
|
}
|
|
@@ -2639,8 +2661,10 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2639
2661
|
cdsName: 'string',
|
|
2640
2662
|
cenId: 'string',
|
|
2641
2663
|
domainName: 'string',
|
|
2664
|
+
errorCode: 'string',
|
|
2642
2665
|
maxSize: 'string',
|
|
2643
2666
|
officeSiteType: 'string',
|
|
2667
|
+
orderId: 'string',
|
|
2644
2668
|
requestId: 'string',
|
|
2645
2669
|
};
|
|
2646
2670
|
}
|
|
@@ -15216,18 +15240,22 @@ export class RenewNetworkPackagesResponse extends $tea.Model {
|
|
|
15216
15240
|
|
|
15217
15241
|
export class ResetDesktopsRequest extends $tea.Model {
|
|
15218
15242
|
desktopGroupId?: string;
|
|
15243
|
+
desktopGroupIds?: string[];
|
|
15219
15244
|
desktopId?: string[];
|
|
15220
15245
|
imageId?: string;
|
|
15221
15246
|
payType?: string;
|
|
15222
15247
|
regionId?: string;
|
|
15248
|
+
resetScope?: string;
|
|
15223
15249
|
resetType?: string;
|
|
15224
15250
|
static names(): { [key: string]: string } {
|
|
15225
15251
|
return {
|
|
15226
15252
|
desktopGroupId: 'DesktopGroupId',
|
|
15253
|
+
desktopGroupIds: 'DesktopGroupIds',
|
|
15227
15254
|
desktopId: 'DesktopId',
|
|
15228
15255
|
imageId: 'ImageId',
|
|
15229
15256
|
payType: 'PayType',
|
|
15230
15257
|
regionId: 'RegionId',
|
|
15258
|
+
resetScope: 'ResetScope',
|
|
15231
15259
|
resetType: 'ResetType',
|
|
15232
15260
|
};
|
|
15233
15261
|
}
|
|
@@ -15235,10 +15263,12 @@ export class ResetDesktopsRequest extends $tea.Model {
|
|
|
15235
15263
|
static types(): { [key: string]: any } {
|
|
15236
15264
|
return {
|
|
15237
15265
|
desktopGroupId: 'string',
|
|
15266
|
+
desktopGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
15238
15267
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
15239
15268
|
imageId: 'string',
|
|
15240
15269
|
payType: 'string',
|
|
15241
15270
|
regionId: 'string',
|
|
15271
|
+
resetScope: 'string',
|
|
15242
15272
|
resetType: 'string',
|
|
15243
15273
|
};
|
|
15244
15274
|
}
|
|
@@ -23474,7 +23504,7 @@ export default class Client extends OpenApi {
|
|
|
23474
23504
|
* * 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~~).
|
|
23475
23505
|
* * 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.
|
|
23476
23506
|
* **
|
|
23477
|
-
* **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.
|
|
23507
|
+
* **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.
|
|
23478
23508
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
23479
23509
|
*
|
|
23480
23510
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -23585,7 +23615,7 @@ export default class Client extends OpenApi {
|
|
|
23585
23615
|
* * 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~~).
|
|
23586
23616
|
* * 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.
|
|
23587
23617
|
* **
|
|
23588
|
-
* **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.
|
|
23618
|
+
* **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.
|
|
23589
23619
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
23590
23620
|
*
|
|
23591
23621
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -23947,10 +23977,22 @@ export default class Client extends OpenApi {
|
|
|
23947
23977
|
async createCloudDriveServiceWithOptions(request: CreateCloudDriveServiceRequest, runtime: $Util.RuntimeOptions): Promise<CreateCloudDriveServiceResponse> {
|
|
23948
23978
|
Util.validateModel(request);
|
|
23949
23979
|
let query = { };
|
|
23980
|
+
if (!Util.isUnset(request.autoPay)) {
|
|
23981
|
+
query["AutoPay"] = request.autoPay;
|
|
23982
|
+
}
|
|
23983
|
+
|
|
23984
|
+
if (!Util.isUnset(request.autoRenew)) {
|
|
23985
|
+
query["AutoRenew"] = request.autoRenew;
|
|
23986
|
+
}
|
|
23987
|
+
|
|
23950
23988
|
if (!Util.isUnset(request.bizType)) {
|
|
23951
23989
|
query["BizType"] = request.bizType;
|
|
23952
23990
|
}
|
|
23953
23991
|
|
|
23992
|
+
if (!Util.isUnset(request.cdsChargeType)) {
|
|
23993
|
+
query["CdsChargeType"] = request.cdsChargeType;
|
|
23994
|
+
}
|
|
23995
|
+
|
|
23954
23996
|
if (!Util.isUnset(request.cenId)) {
|
|
23955
23997
|
query["CenId"] = request.cenId;
|
|
23956
23998
|
}
|
|
@@ -23979,6 +24021,14 @@ export default class Client extends OpenApi {
|
|
|
23979
24021
|
query["OfficeSiteType"] = request.officeSiteType;
|
|
23980
24022
|
}
|
|
23981
24023
|
|
|
24024
|
+
if (!Util.isUnset(request.period)) {
|
|
24025
|
+
query["Period"] = request.period;
|
|
24026
|
+
}
|
|
24027
|
+
|
|
24028
|
+
if (!Util.isUnset(request.periodUnit)) {
|
|
24029
|
+
query["PeriodUnit"] = request.periodUnit;
|
|
24030
|
+
}
|
|
24031
|
+
|
|
23982
24032
|
if (!Util.isUnset(request.regionId)) {
|
|
23983
24033
|
query["RegionId"] = request.regionId;
|
|
23984
24034
|
}
|
|
@@ -23987,6 +24037,10 @@ export default class Client extends OpenApi {
|
|
|
23987
24037
|
query["SolutionId"] = request.solutionId;
|
|
23988
24038
|
}
|
|
23989
24039
|
|
|
24040
|
+
if (!Util.isUnset(request.userCount)) {
|
|
24041
|
+
query["UserCount"] = request.userCount;
|
|
24042
|
+
}
|
|
24043
|
+
|
|
23990
24044
|
if (!Util.isUnset(request.userMaxSize)) {
|
|
23991
24045
|
query["UserMaxSize"] = request.userMaxSize;
|
|
23992
24046
|
}
|
|
@@ -26143,7 +26197,7 @@ export default class Client extends OpenApi {
|
|
|
26143
26197
|
}
|
|
26144
26198
|
|
|
26145
26199
|
/**
|
|
26146
|
-
*
|
|
26200
|
+
* You can audit the operation logs of regular users to improve security. The operation logs record events such as desktop startup, shutdown, and session disconnection.
|
|
26147
26201
|
*
|
|
26148
26202
|
* @param request DescribeClientEventsRequest
|
|
26149
26203
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26226,7 +26280,7 @@ export default class Client extends OpenApi {
|
|
|
26226
26280
|
}
|
|
26227
26281
|
|
|
26228
26282
|
/**
|
|
26229
|
-
*
|
|
26283
|
+
* You can audit the operation logs of regular users to improve security. The operation logs record events such as desktop startup, shutdown, and session disconnection.
|
|
26230
26284
|
*
|
|
26231
26285
|
* @param request DescribeClientEventsRequest
|
|
26232
26286
|
* @return DescribeClientEventsResponse
|
|
@@ -30498,9 +30552,10 @@ export default class Client extends OpenApi {
|
|
|
30498
30552
|
}
|
|
30499
30553
|
|
|
30500
30554
|
/**
|
|
30501
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops. For more information, see [Billing overview](~~188395~~).
|
|
30555
|
+
* * 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~~).
|
|
30502
30556
|
* * 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.
|
|
30503
30557
|
* * 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.
|
|
30558
|
+
* * 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).
|
|
30504
30559
|
*
|
|
30505
30560
|
* @param request ModifyDesktopChargeTypeRequest
|
|
30506
30561
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30559,9 +30614,10 @@ export default class Client extends OpenApi {
|
|
|
30559
30614
|
}
|
|
30560
30615
|
|
|
30561
30616
|
/**
|
|
30562
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops. For more information, see [Billing overview](~~188395~~).
|
|
30617
|
+
* * 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~~).
|
|
30563
30618
|
* * 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.
|
|
30564
30619
|
* * 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.
|
|
30620
|
+
* * 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).
|
|
30565
30621
|
*
|
|
30566
30622
|
* @param request ModifyDesktopChargeTypeRequest
|
|
30567
30623
|
* @return ModifyDesktopChargeTypeResponse
|
|
@@ -32424,6 +32480,10 @@ export default class Client extends OpenApi {
|
|
|
32424
32480
|
query["DesktopGroupId"] = request.desktopGroupId;
|
|
32425
32481
|
}
|
|
32426
32482
|
|
|
32483
|
+
if (!Util.isUnset(request.desktopGroupIds)) {
|
|
32484
|
+
query["DesktopGroupIds"] = request.desktopGroupIds;
|
|
32485
|
+
}
|
|
32486
|
+
|
|
32427
32487
|
if (!Util.isUnset(request.desktopId)) {
|
|
32428
32488
|
query["DesktopId"] = request.desktopId;
|
|
32429
32489
|
}
|
|
@@ -32440,6 +32500,10 @@ export default class Client extends OpenApi {
|
|
|
32440
32500
|
query["RegionId"] = request.regionId;
|
|
32441
32501
|
}
|
|
32442
32502
|
|
|
32503
|
+
if (!Util.isUnset(request.resetScope)) {
|
|
32504
|
+
query["ResetScope"] = request.resetScope;
|
|
32505
|
+
}
|
|
32506
|
+
|
|
32443
32507
|
if (!Util.isUnset(request.resetType)) {
|
|
32444
32508
|
query["ResetType"] = request.resetType;
|
|
32445
32509
|
}
|
|
@@ -32522,7 +32586,7 @@ export default class Client extends OpenApi {
|
|
|
32522
32586
|
* Before you call this operation, make sure that the following operations are performed:
|
|
32523
32587
|
* * The data that you want to retain in the disk is backed up.
|
|
32524
32588
|
* **
|
|
32525
|
-
* **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.
|
|
32589
|
+
* **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.
|
|
32526
32590
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
32527
32591
|
*
|
|
32528
32592
|
* @param request ResetSnapshotRequest
|
|
@@ -32561,7 +32625,7 @@ export default class Client extends OpenApi {
|
|
|
32561
32625
|
* Before you call this operation, make sure that the following operations are performed:
|
|
32562
32626
|
* * The data that you want to retain in the disk is backed up.
|
|
32563
32627
|
* **
|
|
32564
|
-
* **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.
|
|
32628
|
+
* **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.
|
|
32565
32629
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
32566
32630
|
*
|
|
32567
32631
|
* @param request ResetSnapshotRequest
|
|
@@ -33147,7 +33211,7 @@ export default class Client extends OpenApi {
|
|
|
33147
33211
|
}
|
|
33148
33212
|
|
|
33149
33213
|
/**
|
|
33150
|
-
*
|
|
33214
|
+
* When you stop a one-time execution of a command, the command continues to run on the cloud desktops where it has started to run, and will not run on the cloud desktops where it has not started to run.
|
|
33151
33215
|
*
|
|
33152
33216
|
* @param request StopInvocationRequest
|
|
33153
33217
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33186,7 +33250,7 @@ export default class Client extends OpenApi {
|
|
|
33186
33250
|
}
|
|
33187
33251
|
|
|
33188
33252
|
/**
|
|
33189
|
-
*
|
|
33253
|
+
* When you stop a one-time execution of a command, the command continues to run on the cloud desktops where it has started to run, and will not run on the cloud desktops where it has not started to run.
|
|
33190
33254
|
*
|
|
33191
33255
|
* @param request StopInvocationRequest
|
|
33192
33256
|
* @return StopInvocationResponse
|