@alicloud/ecd20200930 3.2.0 → 3.3.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/dist/client.d.ts +20 -10
- package/dist/client.js +46 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +60 -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
|
}
|
|
@@ -23474,7 +23498,7 @@ export default class Client extends OpenApi {
|
|
|
23474
23498
|
* * 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
23499
|
* * 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
23500
|
* **
|
|
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.
|
|
23501
|
+
* **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
23502
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
23479
23503
|
*
|
|
23480
23504
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -23585,7 +23609,7 @@ export default class Client extends OpenApi {
|
|
|
23585
23609
|
* * 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
23610
|
* * 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
23611
|
* **
|
|
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.
|
|
23612
|
+
* **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
23613
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
23590
23614
|
*
|
|
23591
23615
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -23947,10 +23971,22 @@ export default class Client extends OpenApi {
|
|
|
23947
23971
|
async createCloudDriveServiceWithOptions(request: CreateCloudDriveServiceRequest, runtime: $Util.RuntimeOptions): Promise<CreateCloudDriveServiceResponse> {
|
|
23948
23972
|
Util.validateModel(request);
|
|
23949
23973
|
let query = { };
|
|
23974
|
+
if (!Util.isUnset(request.autoPay)) {
|
|
23975
|
+
query["AutoPay"] = request.autoPay;
|
|
23976
|
+
}
|
|
23977
|
+
|
|
23978
|
+
if (!Util.isUnset(request.autoRenew)) {
|
|
23979
|
+
query["AutoRenew"] = request.autoRenew;
|
|
23980
|
+
}
|
|
23981
|
+
|
|
23950
23982
|
if (!Util.isUnset(request.bizType)) {
|
|
23951
23983
|
query["BizType"] = request.bizType;
|
|
23952
23984
|
}
|
|
23953
23985
|
|
|
23986
|
+
if (!Util.isUnset(request.cdsChargeType)) {
|
|
23987
|
+
query["CdsChargeType"] = request.cdsChargeType;
|
|
23988
|
+
}
|
|
23989
|
+
|
|
23954
23990
|
if (!Util.isUnset(request.cenId)) {
|
|
23955
23991
|
query["CenId"] = request.cenId;
|
|
23956
23992
|
}
|
|
@@ -23979,6 +24015,14 @@ export default class Client extends OpenApi {
|
|
|
23979
24015
|
query["OfficeSiteType"] = request.officeSiteType;
|
|
23980
24016
|
}
|
|
23981
24017
|
|
|
24018
|
+
if (!Util.isUnset(request.period)) {
|
|
24019
|
+
query["Period"] = request.period;
|
|
24020
|
+
}
|
|
24021
|
+
|
|
24022
|
+
if (!Util.isUnset(request.periodUnit)) {
|
|
24023
|
+
query["PeriodUnit"] = request.periodUnit;
|
|
24024
|
+
}
|
|
24025
|
+
|
|
23982
24026
|
if (!Util.isUnset(request.regionId)) {
|
|
23983
24027
|
query["RegionId"] = request.regionId;
|
|
23984
24028
|
}
|
|
@@ -23987,6 +24031,10 @@ export default class Client extends OpenApi {
|
|
|
23987
24031
|
query["SolutionId"] = request.solutionId;
|
|
23988
24032
|
}
|
|
23989
24033
|
|
|
24034
|
+
if (!Util.isUnset(request.userCount)) {
|
|
24035
|
+
query["UserCount"] = request.userCount;
|
|
24036
|
+
}
|
|
24037
|
+
|
|
23990
24038
|
if (!Util.isUnset(request.userMaxSize)) {
|
|
23991
24039
|
query["UserMaxSize"] = request.userMaxSize;
|
|
23992
24040
|
}
|
|
@@ -26143,7 +26191,7 @@ export default class Client extends OpenApi {
|
|
|
26143
26191
|
}
|
|
26144
26192
|
|
|
26145
26193
|
/**
|
|
26146
|
-
*
|
|
26194
|
+
* 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
26195
|
*
|
|
26148
26196
|
* @param request DescribeClientEventsRequest
|
|
26149
26197
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26226,7 +26274,7 @@ export default class Client extends OpenApi {
|
|
|
26226
26274
|
}
|
|
26227
26275
|
|
|
26228
26276
|
/**
|
|
26229
|
-
*
|
|
26277
|
+
* 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
26278
|
*
|
|
26231
26279
|
* @param request DescribeClientEventsRequest
|
|
26232
26280
|
* @return DescribeClientEventsResponse
|
|
@@ -30498,9 +30546,10 @@ export default class Client extends OpenApi {
|
|
|
30498
30546
|
}
|
|
30499
30547
|
|
|
30500
30548
|
/**
|
|
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~~).
|
|
30549
|
+
* * 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
30550
|
* * 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
30551
|
* * 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.
|
|
30552
|
+
* * 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
30553
|
*
|
|
30505
30554
|
* @param request ModifyDesktopChargeTypeRequest
|
|
30506
30555
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30559,9 +30608,10 @@ export default class Client extends OpenApi {
|
|
|
30559
30608
|
}
|
|
30560
30609
|
|
|
30561
30610
|
/**
|
|
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~~).
|
|
30611
|
+
* * 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
30612
|
* * 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
30613
|
* * 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.
|
|
30614
|
+
* * 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
30615
|
*
|
|
30566
30616
|
* @param request ModifyDesktopChargeTypeRequest
|
|
30567
30617
|
* @return ModifyDesktopChargeTypeResponse
|
|
@@ -32522,7 +32572,7 @@ export default class Client extends OpenApi {
|
|
|
32522
32572
|
* Before you call this operation, make sure that the following operations are performed:
|
|
32523
32573
|
* * The data that you want to retain in the disk is backed up.
|
|
32524
32574
|
* **
|
|
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.
|
|
32575
|
+
* **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
32576
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
32527
32577
|
*
|
|
32528
32578
|
* @param request ResetSnapshotRequest
|
|
@@ -32561,7 +32611,7 @@ export default class Client extends OpenApi {
|
|
|
32561
32611
|
* Before you call this operation, make sure that the following operations are performed:
|
|
32562
32612
|
* * The data that you want to retain in the disk is backed up.
|
|
32563
32613
|
* **
|
|
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.
|
|
32614
|
+
* **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
32615
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
32566
32616
|
*
|
|
32567
32617
|
* @param request ResetSnapshotRequest
|
|
@@ -33147,7 +33197,7 @@ export default class Client extends OpenApi {
|
|
|
33147
33197
|
}
|
|
33148
33198
|
|
|
33149
33199
|
/**
|
|
33150
|
-
*
|
|
33200
|
+
* 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
33201
|
*
|
|
33152
33202
|
* @param request StopInvocationRequest
|
|
33153
33203
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33186,7 +33236,7 @@ export default class Client extends OpenApi {
|
|
|
33186
33236
|
}
|
|
33187
33237
|
|
|
33188
33238
|
/**
|
|
33189
|
-
*
|
|
33239
|
+
* 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
33240
|
*
|
|
33191
33241
|
* @param request StopInvocationRequest
|
|
33192
33242
|
* @return StopInvocationResponse
|