@alicloud/ecd20200930 4.5.1 → 4.5.3
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 +37 -0
- package/dist/client.js +92 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +97 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -6023,6 +6023,67 @@ export class DescribeDesktopsResponseBodyDesktopsFotaUpdate extends $dara.Model
|
|
|
6023
6023
|
}
|
|
6024
6024
|
}
|
|
6025
6025
|
|
|
6026
|
+
export class DescribeDesktopsResponseBodyDesktopsOsUpdatePackages extends $dara.Model {
|
|
6027
|
+
description?: string;
|
|
6028
|
+
kb?: string;
|
|
6029
|
+
title?: string;
|
|
6030
|
+
static names(): { [key: string]: string } {
|
|
6031
|
+
return {
|
|
6032
|
+
description: 'Description',
|
|
6033
|
+
kb: 'Kb',
|
|
6034
|
+
title: 'Title',
|
|
6035
|
+
};
|
|
6036
|
+
}
|
|
6037
|
+
|
|
6038
|
+
static types(): { [key: string]: any } {
|
|
6039
|
+
return {
|
|
6040
|
+
description: 'string',
|
|
6041
|
+
kb: 'string',
|
|
6042
|
+
title: 'string',
|
|
6043
|
+
};
|
|
6044
|
+
}
|
|
6045
|
+
|
|
6046
|
+
validate() {
|
|
6047
|
+
super.validate();
|
|
6048
|
+
}
|
|
6049
|
+
|
|
6050
|
+
constructor(map?: { [key: string]: any }) {
|
|
6051
|
+
super(map);
|
|
6052
|
+
}
|
|
6053
|
+
}
|
|
6054
|
+
|
|
6055
|
+
export class DescribeDesktopsResponseBodyDesktopsOsUpdate extends $dara.Model {
|
|
6056
|
+
checkId?: string;
|
|
6057
|
+
packageCount?: number;
|
|
6058
|
+
packages?: DescribeDesktopsResponseBodyDesktopsOsUpdatePackages[];
|
|
6059
|
+
static names(): { [key: string]: string } {
|
|
6060
|
+
return {
|
|
6061
|
+
checkId: 'CheckId',
|
|
6062
|
+
packageCount: 'PackageCount',
|
|
6063
|
+
packages: 'Packages',
|
|
6064
|
+
};
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
static types(): { [key: string]: any } {
|
|
6068
|
+
return {
|
|
6069
|
+
checkId: 'string',
|
|
6070
|
+
packageCount: 'number',
|
|
6071
|
+
packages: { 'type': 'array', 'itemType': DescribeDesktopsResponseBodyDesktopsOsUpdatePackages },
|
|
6072
|
+
};
|
|
6073
|
+
}
|
|
6074
|
+
|
|
6075
|
+
validate() {
|
|
6076
|
+
if(Array.isArray(this.packages)) {
|
|
6077
|
+
$dara.Model.validateArray(this.packages);
|
|
6078
|
+
}
|
|
6079
|
+
super.validate();
|
|
6080
|
+
}
|
|
6081
|
+
|
|
6082
|
+
constructor(map?: { [key: string]: any }) {
|
|
6083
|
+
super(map);
|
|
6084
|
+
}
|
|
6085
|
+
}
|
|
6086
|
+
|
|
6026
6087
|
export class DescribeDesktopsResponseBodyDesktopsResourceGroups extends $dara.Model {
|
|
6027
6088
|
/**
|
|
6028
6089
|
* @remarks
|
|
@@ -6511,6 +6572,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
6511
6572
|
* Windows
|
|
6512
6573
|
*/
|
|
6513
6574
|
osType?: string;
|
|
6575
|
+
osUpdate?: DescribeDesktopsResponseBodyDesktopsOsUpdate;
|
|
6514
6576
|
/**
|
|
6515
6577
|
* @remarks
|
|
6516
6578
|
* The information about the OS platform.
|
|
@@ -6739,6 +6801,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
6739
6801
|
officeSiteType: 'OfficeSiteType',
|
|
6740
6802
|
officeSiteVpcType: 'OfficeSiteVpcType',
|
|
6741
6803
|
osType: 'OsType',
|
|
6804
|
+
osUpdate: 'OsUpdate',
|
|
6742
6805
|
platform: 'Platform',
|
|
6743
6806
|
policyGroupId: 'PolicyGroupId',
|
|
6744
6807
|
policyGroupIdList: 'PolicyGroupIdList',
|
|
@@ -6806,6 +6869,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
6806
6869
|
officeSiteType: 'string',
|
|
6807
6870
|
officeSiteVpcType: 'string',
|
|
6808
6871
|
osType: 'string',
|
|
6872
|
+
osUpdate: DescribeDesktopsResponseBodyDesktopsOsUpdate,
|
|
6809
6873
|
platform: 'string',
|
|
6810
6874
|
policyGroupId: 'string',
|
|
6811
6875
|
policyGroupIdList: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -6846,6 +6910,9 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
6846
6910
|
if(Array.isArray(this.managementFlags)) {
|
|
6847
6911
|
$dara.Model.validateArray(this.managementFlags);
|
|
6848
6912
|
}
|
|
6913
|
+
if(this.osUpdate && typeof (this.osUpdate as any).validate === 'function') {
|
|
6914
|
+
(this.osUpdate as any).validate();
|
|
6915
|
+
}
|
|
6849
6916
|
if(Array.isArray(this.policyGroupIdList)) {
|
|
6850
6917
|
$dara.Model.validateArray(this.policyGroupIdList);
|
|
6851
6918
|
}
|
|
@@ -12193,6 +12260,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
12193
12260
|
* on
|
|
12194
12261
|
*/
|
|
12195
12262
|
endUserGroupCoordinate?: string;
|
|
12263
|
+
fileMigrate?: string;
|
|
12196
12264
|
/**
|
|
12197
12265
|
* @remarks
|
|
12198
12266
|
* Transfers files.
|
|
@@ -12955,6 +13023,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
12955
13023
|
* EndUserId
|
|
12956
13024
|
*/
|
|
12957
13025
|
watermarkType?: string;
|
|
13026
|
+
wuyingKeeper?: string;
|
|
12958
13027
|
/**
|
|
12959
13028
|
* @remarks
|
|
12960
13029
|
* Specifies whether to provide the AI Assistant function in the DesktopAssistant when the cloud computer is accessed from the Alibaba Cloud Workspace desktop clients (including the Windows client and the macOS client).
|
|
@@ -12998,6 +13067,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
12998
13067
|
edsCount: 'EdsCount',
|
|
12999
13068
|
endUserApplyAdminCoordinate: 'EndUserApplyAdminCoordinate',
|
|
13000
13069
|
endUserGroupCoordinate: 'EndUserGroupCoordinate',
|
|
13070
|
+
fileMigrate: 'FileMigrate',
|
|
13001
13071
|
fileTransfer: 'FileTransfer',
|
|
13002
13072
|
gpuAcceleration: 'GpuAcceleration',
|
|
13003
13073
|
html5Access: 'Html5Access',
|
|
@@ -13072,6 +13142,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
13072
13142
|
watermarkTransparency: 'WatermarkTransparency',
|
|
13073
13143
|
watermarkTransparencyValue: 'WatermarkTransparencyValue',
|
|
13074
13144
|
watermarkType: 'WatermarkType',
|
|
13145
|
+
wuyingKeeper: 'WuyingKeeper',
|
|
13075
13146
|
wyAssistant: 'WyAssistant',
|
|
13076
13147
|
};
|
|
13077
13148
|
}
|
|
@@ -13104,6 +13175,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
13104
13175
|
edsCount: 'number',
|
|
13105
13176
|
endUserApplyAdminCoordinate: 'string',
|
|
13106
13177
|
endUserGroupCoordinate: 'string',
|
|
13178
|
+
fileMigrate: 'string',
|
|
13107
13179
|
fileTransfer: 'string',
|
|
13108
13180
|
gpuAcceleration: 'string',
|
|
13109
13181
|
html5Access: 'string',
|
|
@@ -13178,6 +13250,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
13178
13250
|
watermarkTransparency: 'string',
|
|
13179
13251
|
watermarkTransparencyValue: 'number',
|
|
13180
13252
|
watermarkType: 'string',
|
|
13253
|
+
wuyingKeeper: 'string',
|
|
13181
13254
|
wyAssistant: 'string',
|
|
13182
13255
|
};
|
|
13183
13256
|
}
|
|
@@ -26982,6 +27055,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
26982
27055
|
* 123456789
|
|
26983
27056
|
*/
|
|
26984
27057
|
endUserId?: string[];
|
|
27058
|
+
extendInfo?: string;
|
|
26985
27059
|
/**
|
|
26986
27060
|
* @remarks
|
|
26987
27061
|
* The ID of the cloud computer pool.
|
|
@@ -27200,6 +27274,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
27200
27274
|
desktopTimers: 'DesktopTimers',
|
|
27201
27275
|
directoryId: 'DirectoryId',
|
|
27202
27276
|
endUserId: 'EndUserId',
|
|
27277
|
+
extendInfo: 'ExtendInfo',
|
|
27203
27278
|
groupId: 'GroupId',
|
|
27204
27279
|
hostname: 'Hostname',
|
|
27205
27280
|
monthDesktopSetting: 'MonthDesktopSetting',
|
|
@@ -27238,6 +27313,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
27238
27313
|
desktopTimers: { 'type': 'array', 'itemType': CreateDesktopsRequestDesktopTimers },
|
|
27239
27314
|
directoryId: 'string',
|
|
27240
27315
|
endUserId: { 'type': 'array', 'itemType': 'string' },
|
|
27316
|
+
extendInfo: 'string',
|
|
27241
27317
|
groupId: 'string',
|
|
27242
27318
|
hostname: 'string',
|
|
27243
27319
|
monthDesktopSetting: CreateDesktopsRequestMonthDesktopSetting,
|
|
@@ -27433,6 +27509,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
27433
27509
|
* 123456789
|
|
27434
27510
|
*/
|
|
27435
27511
|
endUserId?: string[];
|
|
27512
|
+
extendInfo?: string;
|
|
27436
27513
|
/**
|
|
27437
27514
|
* @remarks
|
|
27438
27515
|
* The ID of the cloud computer pool.
|
|
@@ -27651,6 +27728,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
27651
27728
|
desktopTimers: 'DesktopTimers',
|
|
27652
27729
|
directoryId: 'DirectoryId',
|
|
27653
27730
|
endUserId: 'EndUserId',
|
|
27731
|
+
extendInfo: 'ExtendInfo',
|
|
27654
27732
|
groupId: 'GroupId',
|
|
27655
27733
|
hostname: 'Hostname',
|
|
27656
27734
|
monthDesktopSetting: 'MonthDesktopSetting',
|
|
@@ -27689,6 +27767,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
27689
27767
|
desktopTimers: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestDesktopTimers },
|
|
27690
27768
|
directoryId: 'string',
|
|
27691
27769
|
endUserId: { 'type': 'array', 'itemType': 'string' },
|
|
27770
|
+
extendInfo: 'string',
|
|
27692
27771
|
groupId: 'string',
|
|
27693
27772
|
hostname: 'string',
|
|
27694
27773
|
monthDesktopSetting: CreateDesktopsShrinkRequestMonthDesktopSetting,
|
|
@@ -55467,6 +55546,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
55467
55546
|
* ecd-gx2x1dhsmucyy****
|
|
55468
55547
|
*/
|
|
55469
55548
|
desktopId?: string[];
|
|
55549
|
+
osUpdate?: boolean;
|
|
55470
55550
|
/**
|
|
55471
55551
|
* @remarks
|
|
55472
55552
|
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
|
|
@@ -55480,6 +55560,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
55480
55560
|
static names(): { [key: string]: string } {
|
|
55481
55561
|
return {
|
|
55482
55562
|
desktopId: 'DesktopId',
|
|
55563
|
+
osUpdate: 'OsUpdate',
|
|
55483
55564
|
regionId: 'RegionId',
|
|
55484
55565
|
};
|
|
55485
55566
|
}
|
|
@@ -55487,6 +55568,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
55487
55568
|
static types(): { [key: string]: any } {
|
|
55488
55569
|
return {
|
|
55489
55570
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
55571
|
+
osUpdate: 'boolean',
|
|
55490
55572
|
regionId: 'string',
|
|
55491
55573
|
};
|
|
55492
55574
|
}
|
|
@@ -59032,6 +59114,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
59032
59114
|
* ecd-7w78ozhjcwa3u****
|
|
59033
59115
|
*/
|
|
59034
59116
|
desktopId?: string[];
|
|
59117
|
+
osUpdate?: boolean;
|
|
59035
59118
|
/**
|
|
59036
59119
|
* @remarks
|
|
59037
59120
|
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
|
|
@@ -59071,6 +59154,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
59071
59154
|
static names(): { [key: string]: string } {
|
|
59072
59155
|
return {
|
|
59073
59156
|
desktopId: 'DesktopId',
|
|
59157
|
+
osUpdate: 'OsUpdate',
|
|
59074
59158
|
regionId: 'RegionId',
|
|
59075
59159
|
stoppedMode: 'StoppedMode',
|
|
59076
59160
|
};
|
|
@@ -59079,6 +59163,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
59079
59163
|
static types(): { [key: string]: any } {
|
|
59080
59164
|
return {
|
|
59081
59165
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
59166
|
+
osUpdate: 'boolean',
|
|
59082
59167
|
regionId: 'string',
|
|
59083
59168
|
stoppedMode: 'string',
|
|
59084
59169
|
};
|
|
@@ -63550,6 +63635,10 @@ export default class Client extends OpenApi {
|
|
|
63550
63635
|
query["EndUserId"] = request.endUserId;
|
|
63551
63636
|
}
|
|
63552
63637
|
|
|
63638
|
+
if (!$dara.isNull(request.extendInfo)) {
|
|
63639
|
+
query["ExtendInfo"] = request.extendInfo;
|
|
63640
|
+
}
|
|
63641
|
+
|
|
63553
63642
|
if (!$dara.isNull(request.groupId)) {
|
|
63554
63643
|
query["GroupId"] = request.groupId;
|
|
63555
63644
|
}
|
|
@@ -74421,6 +74510,10 @@ export default class Client extends OpenApi {
|
|
|
74421
74510
|
query["DesktopId"] = request.desktopId;
|
|
74422
74511
|
}
|
|
74423
74512
|
|
|
74513
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
74514
|
+
query["OsUpdate"] = request.osUpdate;
|
|
74515
|
+
}
|
|
74516
|
+
|
|
74424
74517
|
if (!$dara.isNull(request.regionId)) {
|
|
74425
74518
|
query["RegionId"] = request.regionId;
|
|
74426
74519
|
}
|
|
@@ -75957,6 +76050,10 @@ export default class Client extends OpenApi {
|
|
|
75957
76050
|
query["DesktopId"] = request.desktopId;
|
|
75958
76051
|
}
|
|
75959
76052
|
|
|
76053
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
76054
|
+
query["OsUpdate"] = request.osUpdate;
|
|
76055
|
+
}
|
|
76056
|
+
|
|
75960
76057
|
if (!$dara.isNull(request.regionId)) {
|
|
75961
76058
|
query["RegionId"] = request.regionId;
|
|
75962
76059
|
}
|