@alicloud/ecd20200930 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +92 -10
- package/dist/client.js +115 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +127 -10
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2641,6 +2641,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2641
2641
|
cdsId?: string;
|
|
2642
2642
|
cdsName?: string;
|
|
2643
2643
|
cenId?: string;
|
|
2644
|
+
conflictCdsAndOrder?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrder;
|
|
2644
2645
|
domainName?: string;
|
|
2645
2646
|
errorCode?: string;
|
|
2646
2647
|
maxSize?: string;
|
|
@@ -2652,6 +2653,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2652
2653
|
cdsId: 'CdsId',
|
|
2653
2654
|
cdsName: 'CdsName',
|
|
2654
2655
|
cenId: 'CenId',
|
|
2656
|
+
conflictCdsAndOrder: 'ConflictCdsAndOrder',
|
|
2655
2657
|
domainName: 'DomainName',
|
|
2656
2658
|
errorCode: 'ErrorCode',
|
|
2657
2659
|
maxSize: 'MaxSize',
|
|
@@ -2666,6 +2668,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2666
2668
|
cdsId: 'string',
|
|
2667
2669
|
cdsName: 'string',
|
|
2668
2670
|
cenId: 'string',
|
|
2671
|
+
conflictCdsAndOrder: CreateCloudDriveServiceResponseBodyConflictCdsAndOrder,
|
|
2669
2672
|
domainName: 'string',
|
|
2670
2673
|
errorCode: 'string',
|
|
2671
2674
|
maxSize: 'string',
|
|
@@ -17465,6 +17468,75 @@ export class CreateCdsFileResponseBodyFileModel extends $tea.Model {
|
|
|
17465
17468
|
}
|
|
17466
17469
|
}
|
|
17467
17470
|
|
|
17471
|
+
export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds extends $tea.Model {
|
|
17472
|
+
cdsId?: string;
|
|
17473
|
+
regionId?: string;
|
|
17474
|
+
static names(): { [key: string]: string } {
|
|
17475
|
+
return {
|
|
17476
|
+
cdsId: 'CdsId',
|
|
17477
|
+
regionId: 'RegionId',
|
|
17478
|
+
};
|
|
17479
|
+
}
|
|
17480
|
+
|
|
17481
|
+
static types(): { [key: string]: any } {
|
|
17482
|
+
return {
|
|
17483
|
+
cdsId: 'string',
|
|
17484
|
+
regionId: 'string',
|
|
17485
|
+
};
|
|
17486
|
+
}
|
|
17487
|
+
|
|
17488
|
+
constructor(map?: { [key: string]: any }) {
|
|
17489
|
+
super(map);
|
|
17490
|
+
}
|
|
17491
|
+
}
|
|
17492
|
+
|
|
17493
|
+
export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder extends $tea.Model {
|
|
17494
|
+
cdsId?: string;
|
|
17495
|
+
orderId?: string;
|
|
17496
|
+
regionId?: string;
|
|
17497
|
+
static names(): { [key: string]: string } {
|
|
17498
|
+
return {
|
|
17499
|
+
cdsId: 'CdsId',
|
|
17500
|
+
orderId: 'OrderId',
|
|
17501
|
+
regionId: 'RegionId',
|
|
17502
|
+
};
|
|
17503
|
+
}
|
|
17504
|
+
|
|
17505
|
+
static types(): { [key: string]: any } {
|
|
17506
|
+
return {
|
|
17507
|
+
cdsId: 'string',
|
|
17508
|
+
orderId: 'string',
|
|
17509
|
+
regionId: 'string',
|
|
17510
|
+
};
|
|
17511
|
+
}
|
|
17512
|
+
|
|
17513
|
+
constructor(map?: { [key: string]: any }) {
|
|
17514
|
+
super(map);
|
|
17515
|
+
}
|
|
17516
|
+
}
|
|
17517
|
+
|
|
17518
|
+
export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrder extends $tea.Model {
|
|
17519
|
+
conflictCds?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds[];
|
|
17520
|
+
conflictOrder?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder[];
|
|
17521
|
+
static names(): { [key: string]: string } {
|
|
17522
|
+
return {
|
|
17523
|
+
conflictCds: 'ConflictCds',
|
|
17524
|
+
conflictOrder: 'ConflictOrder',
|
|
17525
|
+
};
|
|
17526
|
+
}
|
|
17527
|
+
|
|
17528
|
+
static types(): { [key: string]: any } {
|
|
17529
|
+
return {
|
|
17530
|
+
conflictCds: { 'type': 'array', 'itemType': CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds },
|
|
17531
|
+
conflictOrder: { 'type': 'array', 'itemType': CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder },
|
|
17532
|
+
};
|
|
17533
|
+
}
|
|
17534
|
+
|
|
17535
|
+
constructor(map?: { [key: string]: any }) {
|
|
17536
|
+
super(map);
|
|
17537
|
+
}
|
|
17538
|
+
}
|
|
17539
|
+
|
|
17468
17540
|
export class CreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
17469
17541
|
orderId?: number;
|
|
17470
17542
|
oversoldGroupId?: string;
|
|
@@ -18572,7 +18644,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
|
18572
18644
|
desktopType?: string;
|
|
18573
18645
|
directoryId?: string;
|
|
18574
18646
|
expireTime?: string;
|
|
18647
|
+
idleDisconnectDuration?: string;
|
|
18575
18648
|
imageId?: string;
|
|
18649
|
+
keepDuration?: string;
|
|
18576
18650
|
name?: string;
|
|
18577
18651
|
oversoldGroupId?: string;
|
|
18578
18652
|
oversoldUserCount?: number;
|
|
@@ -18591,7 +18665,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
|
18591
18665
|
desktopType: 'DesktopType',
|
|
18592
18666
|
directoryId: 'DirectoryId',
|
|
18593
18667
|
expireTime: 'ExpireTime',
|
|
18668
|
+
idleDisconnectDuration: 'IdleDisconnectDuration',
|
|
18594
18669
|
imageId: 'ImageId',
|
|
18670
|
+
keepDuration: 'KeepDuration',
|
|
18595
18671
|
name: 'Name',
|
|
18596
18672
|
oversoldGroupId: 'OversoldGroupId',
|
|
18597
18673
|
oversoldUserCount: 'OversoldUserCount',
|
|
@@ -18613,7 +18689,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
|
18613
18689
|
desktopType: 'string',
|
|
18614
18690
|
directoryId: 'string',
|
|
18615
18691
|
expireTime: 'string',
|
|
18692
|
+
idleDisconnectDuration: 'string',
|
|
18616
18693
|
imageId: 'string',
|
|
18694
|
+
keepDuration: 'string',
|
|
18617
18695
|
name: 'string',
|
|
18618
18696
|
oversoldGroupId: 'string',
|
|
18619
18697
|
oversoldUserCount: 'number',
|
|
@@ -23126,6 +23204,13 @@ export default class Client extends OpenApi {
|
|
|
23126
23204
|
return await this.applyCoordinationForMonitoringWithOptions(request, runtime);
|
|
23127
23205
|
}
|
|
23128
23206
|
|
|
23207
|
+
/**
|
|
23208
|
+
* The cloud computers for which you want to allow image updates must be in the Running state.
|
|
23209
|
+
*
|
|
23210
|
+
* @param request ApproveFotaUpdateRequest
|
|
23211
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23212
|
+
* @return ApproveFotaUpdateResponse
|
|
23213
|
+
*/
|
|
23129
23214
|
async approveFotaUpdateWithOptions(request: ApproveFotaUpdateRequest, runtime: $Util.RuntimeOptions): Promise<ApproveFotaUpdateResponse> {
|
|
23130
23215
|
Util.validateModel(request);
|
|
23131
23216
|
let query = { };
|
|
@@ -23158,6 +23243,12 @@ export default class Client extends OpenApi {
|
|
|
23158
23243
|
return $tea.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
23159
23244
|
}
|
|
23160
23245
|
|
|
23246
|
+
/**
|
|
23247
|
+
* The cloud computers for which you want to allow image updates must be in the Running state.
|
|
23248
|
+
*
|
|
23249
|
+
* @param request ApproveFotaUpdateRequest
|
|
23250
|
+
* @return ApproveFotaUpdateResponse
|
|
23251
|
+
*/
|
|
23161
23252
|
async approveFotaUpdate(request: ApproveFotaUpdateRequest): Promise<ApproveFotaUpdateResponse> {
|
|
23162
23253
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23163
23254
|
return await this.approveFotaUpdateWithOptions(request, runtime);
|
|
@@ -23740,7 +23831,7 @@ export default class Client extends OpenApi {
|
|
|
23740
23831
|
}
|
|
23741
23832
|
|
|
23742
23833
|
/**
|
|
23743
|
-
* AD
|
|
23834
|
+
* An AD directory is used to connect to an enterprise\\"s existing Active Directory and is suitable for large-scale cloud computer deployment. You are charged directory fees when you connect your AD to cloud computers. For more information, see [Billing overview](~~188395~~).
|
|
23744
23835
|
*
|
|
23745
23836
|
* @param request CreateADConnectorDirectoryRequest
|
|
23746
23837
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23819,7 +23910,7 @@ export default class Client extends OpenApi {
|
|
|
23819
23910
|
}
|
|
23820
23911
|
|
|
23821
23912
|
/**
|
|
23822
|
-
* AD
|
|
23913
|
+
* An AD directory is used to connect to an enterprise\\"s existing Active Directory and is suitable for large-scale cloud computer deployment. You are charged directory fees when you connect your AD to cloud computers. For more information, see [Billing overview](~~188395~~).
|
|
23823
23914
|
*
|
|
23824
23915
|
* @param request CreateADConnectorDirectoryRequest
|
|
23825
23916
|
* @return CreateADConnectorDirectoryResponse
|
|
@@ -25337,9 +25428,9 @@ export default class Client extends OpenApi {
|
|
|
25337
25428
|
}
|
|
25338
25429
|
|
|
25339
25430
|
/**
|
|
25340
|
-
* Before you create a RAM directory,
|
|
25341
|
-
* *
|
|
25342
|
-
* *
|
|
25431
|
+
* Before you create a RAM directory, complete the following preparations:
|
|
25432
|
+
* * Call the `CreateVpc` operation to create a virtual private cloud (VPC) in a region supported by WUYING Workspace.
|
|
25433
|
+
* * Call the `CreateVSwitch` operation to create a vSwitch in the VPC. The vSwitch is in a zone that is supported by WUYING Workspace. You can call the [DescribeZones](~~196648~~) operation to obtain the most recent zone list for a region supported by WUYING Workspace.
|
|
25343
25434
|
*
|
|
25344
25435
|
* @param request CreateRAMDirectoryRequest
|
|
25345
25436
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25390,9 +25481,9 @@ export default class Client extends OpenApi {
|
|
|
25390
25481
|
}
|
|
25391
25482
|
|
|
25392
25483
|
/**
|
|
25393
|
-
* Before you create a RAM directory,
|
|
25394
|
-
* *
|
|
25395
|
-
* *
|
|
25484
|
+
* Before you create a RAM directory, complete the following preparations:
|
|
25485
|
+
* * Call the `CreateVpc` operation to create a virtual private cloud (VPC) in a region supported by WUYING Workspace.
|
|
25486
|
+
* * Call the `CreateVSwitch` operation to create a vSwitch in the VPC. The vSwitch is in a zone that is supported by WUYING Workspace. You can call the [DescribeZones](~~196648~~) operation to obtain the most recent zone list for a region supported by WUYING Workspace.
|
|
25396
25487
|
*
|
|
25397
25488
|
* @param request CreateRAMDirectoryRequest
|
|
25398
25489
|
* @return CreateRAMDirectoryResponse
|
|
@@ -25864,7 +25955,7 @@ export default class Client extends OpenApi {
|
|
|
25864
25955
|
}
|
|
25865
25956
|
|
|
25866
25957
|
/**
|
|
25867
|
-
* You cannot delete
|
|
25958
|
+
* You cannot delete a directory that has a cloud computer or is used by a cloud computer.
|
|
25868
25959
|
*
|
|
25869
25960
|
* @param request DeleteDirectoriesRequest
|
|
25870
25961
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25899,7 +25990,7 @@ export default class Client extends OpenApi {
|
|
|
25899
25990
|
}
|
|
25900
25991
|
|
|
25901
25992
|
/**
|
|
25902
|
-
* You cannot delete
|
|
25993
|
+
* You cannot delete a directory that has a cloud computer or is used by a cloud computer.
|
|
25903
25994
|
*
|
|
25904
25995
|
* @param request DeleteDirectoriesRequest
|
|
25905
25996
|
* @return DeleteDirectoriesResponse
|
|
@@ -30462,6 +30553,13 @@ export default class Client extends OpenApi {
|
|
|
30462
30553
|
return await this.migrateImageProtocolWithOptions(request, runtime);
|
|
30463
30554
|
}
|
|
30464
30555
|
|
|
30556
|
+
/**
|
|
30557
|
+
* You can modify the following domain name- and Domain Name System (DNS)-related parameters only for Active Directory (AD) directories that are in the ERROR or REGISTERING state: `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress`.
|
|
30558
|
+
*
|
|
30559
|
+
* @param request ModifyADConnectorDirectoryRequest
|
|
30560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30561
|
+
* @return ModifyADConnectorDirectoryResponse
|
|
30562
|
+
*/
|
|
30465
30563
|
async modifyADConnectorDirectoryWithOptions(request: ModifyADConnectorDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyADConnectorDirectoryResponse> {
|
|
30466
30564
|
Util.validateModel(request);
|
|
30467
30565
|
let query = { };
|
|
@@ -30530,6 +30628,12 @@ export default class Client extends OpenApi {
|
|
|
30530
30628
|
return $tea.cast<ModifyADConnectorDirectoryResponse>(await this.callApi(params, req, runtime), new ModifyADConnectorDirectoryResponse({}));
|
|
30531
30629
|
}
|
|
30532
30630
|
|
|
30631
|
+
/**
|
|
30632
|
+
* You can modify the following domain name- and Domain Name System (DNS)-related parameters only for Active Directory (AD) directories that are in the ERROR or REGISTERING state: `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress`.
|
|
30633
|
+
*
|
|
30634
|
+
* @param request ModifyADConnectorDirectoryRequest
|
|
30635
|
+
* @return ModifyADConnectorDirectoryResponse
|
|
30636
|
+
*/
|
|
30533
30637
|
async modifyADConnectorDirectory(request: ModifyADConnectorDirectoryRequest): Promise<ModifyADConnectorDirectoryResponse> {
|
|
30534
30638
|
let runtime = new $Util.RuntimeOptions({ });
|
|
30535
30639
|
return await this.modifyADConnectorDirectoryWithOptions(request, runtime);
|
|
@@ -34025,6 +34129,13 @@ export default class Client extends OpenApi {
|
|
|
34025
34129
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
34026
34130
|
}
|
|
34027
34131
|
|
|
34132
|
+
/**
|
|
34133
|
+
* You can call this operation to manage each image update task. This operation is valid only when the auto-update switch in the image update module for global image updates is turned off. If the auto-update switch is turned on, the switches for each image update task are always turned on. If you want to turn on or off the auto-update switch, go to the WUYING Workspace console and choose **Operations > Image Updates** in the left-side navigation pane.
|
|
34134
|
+
*
|
|
34135
|
+
* @param request UpdateFotaTaskRequest
|
|
34136
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34137
|
+
* @return UpdateFotaTaskResponse
|
|
34138
|
+
*/
|
|
34028
34139
|
async updateFotaTaskWithOptions(request: UpdateFotaTaskRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFotaTaskResponse> {
|
|
34029
34140
|
Util.validateModel(request);
|
|
34030
34141
|
let query = { };
|
|
@@ -34057,6 +34168,12 @@ export default class Client extends OpenApi {
|
|
|
34057
34168
|
return $tea.cast<UpdateFotaTaskResponse>(await this.callApi(params, req, runtime), new UpdateFotaTaskResponse({}));
|
|
34058
34169
|
}
|
|
34059
34170
|
|
|
34171
|
+
/**
|
|
34172
|
+
* You can call this operation to manage each image update task. This operation is valid only when the auto-update switch in the image update module for global image updates is turned off. If the auto-update switch is turned on, the switches for each image update task are always turned on. If you want to turn on or off the auto-update switch, go to the WUYING Workspace console and choose **Operations > Image Updates** in the left-side navigation pane.
|
|
34173
|
+
*
|
|
34174
|
+
* @param request UpdateFotaTaskRequest
|
|
34175
|
+
* @return UpdateFotaTaskResponse
|
|
34176
|
+
*/
|
|
34060
34177
|
async updateFotaTask(request: UpdateFotaTaskRequest): Promise<UpdateFotaTaskResponse> {
|
|
34061
34178
|
let runtime = new $Util.RuntimeOptions({ });
|
|
34062
34179
|
return await this.updateFotaTaskWithOptions(request, runtime);
|