@alicloud/ecd20200930 4.5.2 → 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 +35 -0
- package/dist/client.js +85 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +87 -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
|
}
|
|
@@ -55473,6 +55546,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
55473
55546
|
* ecd-gx2x1dhsmucyy****
|
|
55474
55547
|
*/
|
|
55475
55548
|
desktopId?: string[];
|
|
55549
|
+
osUpdate?: boolean;
|
|
55476
55550
|
/**
|
|
55477
55551
|
* @remarks
|
|
55478
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.
|
|
@@ -55486,6 +55560,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
55486
55560
|
static names(): { [key: string]: string } {
|
|
55487
55561
|
return {
|
|
55488
55562
|
desktopId: 'DesktopId',
|
|
55563
|
+
osUpdate: 'OsUpdate',
|
|
55489
55564
|
regionId: 'RegionId',
|
|
55490
55565
|
};
|
|
55491
55566
|
}
|
|
@@ -55493,6 +55568,7 @@ export class RebootDesktopsRequest extends $dara.Model {
|
|
|
55493
55568
|
static types(): { [key: string]: any } {
|
|
55494
55569
|
return {
|
|
55495
55570
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
55571
|
+
osUpdate: 'boolean',
|
|
55496
55572
|
regionId: 'string',
|
|
55497
55573
|
};
|
|
55498
55574
|
}
|
|
@@ -59038,6 +59114,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
59038
59114
|
* ecd-7w78ozhjcwa3u****
|
|
59039
59115
|
*/
|
|
59040
59116
|
desktopId?: string[];
|
|
59117
|
+
osUpdate?: boolean;
|
|
59041
59118
|
/**
|
|
59042
59119
|
* @remarks
|
|
59043
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.
|
|
@@ -59077,6 +59154,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
59077
59154
|
static names(): { [key: string]: string } {
|
|
59078
59155
|
return {
|
|
59079
59156
|
desktopId: 'DesktopId',
|
|
59157
|
+
osUpdate: 'OsUpdate',
|
|
59080
59158
|
regionId: 'RegionId',
|
|
59081
59159
|
stoppedMode: 'StoppedMode',
|
|
59082
59160
|
};
|
|
@@ -59085,6 +59163,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
59085
59163
|
static types(): { [key: string]: any } {
|
|
59086
59164
|
return {
|
|
59087
59165
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
59166
|
+
osUpdate: 'boolean',
|
|
59088
59167
|
regionId: 'string',
|
|
59089
59168
|
stoppedMode: 'string',
|
|
59090
59169
|
};
|
|
@@ -74431,6 +74510,10 @@ export default class Client extends OpenApi {
|
|
|
74431
74510
|
query["DesktopId"] = request.desktopId;
|
|
74432
74511
|
}
|
|
74433
74512
|
|
|
74513
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
74514
|
+
query["OsUpdate"] = request.osUpdate;
|
|
74515
|
+
}
|
|
74516
|
+
|
|
74434
74517
|
if (!$dara.isNull(request.regionId)) {
|
|
74435
74518
|
query["RegionId"] = request.regionId;
|
|
74436
74519
|
}
|
|
@@ -75967,6 +76050,10 @@ export default class Client extends OpenApi {
|
|
|
75967
76050
|
query["DesktopId"] = request.desktopId;
|
|
75968
76051
|
}
|
|
75969
76052
|
|
|
76053
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
76054
|
+
query["OsUpdate"] = request.osUpdate;
|
|
76055
|
+
}
|
|
76056
|
+
|
|
75970
76057
|
if (!$dara.isNull(request.regionId)) {
|
|
75971
76058
|
query["RegionId"] = request.regionId;
|
|
75972
76059
|
}
|