@alicloud/ecd20200930 4.0.1 → 4.1.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 +178 -0
- package/dist/client.js +320 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +395 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3632,6 +3632,8 @@ export class CreatePolicyGroupRequest extends $tea.Model {
|
|
|
3632
3632
|
cameraRedirect?: string;
|
|
3633
3633
|
clientType?: CreatePolicyGroupRequestClientType[];
|
|
3634
3634
|
clipboard?: string;
|
|
3635
|
+
deviceRedirects?: CreatePolicyGroupRequestDeviceRedirects[];
|
|
3636
|
+
deviceRules?: CreatePolicyGroupRequestDeviceRules[];
|
|
3635
3637
|
domainList?: string;
|
|
3636
3638
|
domainResolveRule?: CreatePolicyGroupRequestDomainResolveRule[];
|
|
3637
3639
|
domainResolveRuleType?: string;
|
|
@@ -3688,6 +3690,8 @@ export class CreatePolicyGroupRequest extends $tea.Model {
|
|
|
3688
3690
|
cameraRedirect: 'CameraRedirect',
|
|
3689
3691
|
clientType: 'ClientType',
|
|
3690
3692
|
clipboard: 'Clipboard',
|
|
3693
|
+
deviceRedirects: 'DeviceRedirects',
|
|
3694
|
+
deviceRules: 'DeviceRules',
|
|
3691
3695
|
domainList: 'DomainList',
|
|
3692
3696
|
domainResolveRule: 'DomainResolveRule',
|
|
3693
3697
|
domainResolveRuleType: 'DomainResolveRuleType',
|
|
@@ -3747,6 +3751,8 @@ export class CreatePolicyGroupRequest extends $tea.Model {
|
|
|
3747
3751
|
cameraRedirect: 'string',
|
|
3748
3752
|
clientType: { 'type': 'array', 'itemType': CreatePolicyGroupRequestClientType },
|
|
3749
3753
|
clipboard: 'string',
|
|
3754
|
+
deviceRedirects: { 'type': 'array', 'itemType': CreatePolicyGroupRequestDeviceRedirects },
|
|
3755
|
+
deviceRules: { 'type': 'array', 'itemType': CreatePolicyGroupRequestDeviceRules },
|
|
3750
3756
|
domainList: 'string',
|
|
3751
3757
|
domainResolveRule: { 'type': 'array', 'itemType': CreatePolicyGroupRequestDomainResolveRule },
|
|
3752
3758
|
domainResolveRuleType: 'string',
|
|
@@ -5454,6 +5460,7 @@ export class DescribeBundlesRequest extends $tea.Model {
|
|
|
5454
5460
|
fotaChannel?: string;
|
|
5455
5461
|
fromDesktopGroup?: boolean;
|
|
5456
5462
|
gpuCount?: number;
|
|
5463
|
+
gpuDriverType?: string;
|
|
5457
5464
|
imageId?: string[];
|
|
5458
5465
|
maxResults?: number;
|
|
5459
5466
|
memorySize?: number;
|
|
@@ -5476,6 +5483,7 @@ export class DescribeBundlesRequest extends $tea.Model {
|
|
|
5476
5483
|
fotaChannel: 'FotaChannel',
|
|
5477
5484
|
fromDesktopGroup: 'FromDesktopGroup',
|
|
5478
5485
|
gpuCount: 'GpuCount',
|
|
5486
|
+
gpuDriverType: 'GpuDriverType',
|
|
5479
5487
|
imageId: 'ImageId',
|
|
5480
5488
|
maxResults: 'MaxResults',
|
|
5481
5489
|
memorySize: 'MemorySize',
|
|
@@ -5501,6 +5509,7 @@ export class DescribeBundlesRequest extends $tea.Model {
|
|
|
5501
5509
|
fotaChannel: 'string',
|
|
5502
5510
|
fromDesktopGroup: 'boolean',
|
|
5503
5511
|
gpuCount: 'number',
|
|
5512
|
+
gpuDriverType: 'string',
|
|
5504
5513
|
imageId: { 'type': 'array', 'itemType': 'string' },
|
|
5505
5514
|
maxResults: 'number',
|
|
5506
5515
|
memorySize: 'number',
|
|
@@ -6823,6 +6832,7 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
|
|
|
6823
6832
|
desktopIdForModify?: string;
|
|
6824
6833
|
desktopTypeId?: string;
|
|
6825
6834
|
gpuCount?: number;
|
|
6835
|
+
gpuDriverType?: string;
|
|
6826
6836
|
instanceTypeFamily?: string;
|
|
6827
6837
|
memorySize?: number;
|
|
6828
6838
|
orderType?: string;
|
|
@@ -6835,6 +6845,7 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
|
|
|
6835
6845
|
desktopIdForModify: 'DesktopIdForModify',
|
|
6836
6846
|
desktopTypeId: 'DesktopTypeId',
|
|
6837
6847
|
gpuCount: 'GpuCount',
|
|
6848
|
+
gpuDriverType: 'GpuDriverType',
|
|
6838
6849
|
instanceTypeFamily: 'InstanceTypeFamily',
|
|
6839
6850
|
memorySize: 'MemorySize',
|
|
6840
6851
|
orderType: 'OrderType',
|
|
@@ -6850,6 +6861,7 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
|
|
|
6850
6861
|
desktopIdForModify: 'string',
|
|
6851
6862
|
desktopTypeId: 'string',
|
|
6852
6863
|
gpuCount: 'number',
|
|
6864
|
+
gpuDriverType: 'string',
|
|
6853
6865
|
instanceTypeFamily: 'string',
|
|
6854
6866
|
memorySize: 'number',
|
|
6855
6867
|
orderType: 'string',
|
|
@@ -10236,6 +10248,90 @@ export class DissociateNetworkPackageResponse extends $tea.Model {
|
|
|
10236
10248
|
}
|
|
10237
10249
|
}
|
|
10238
10250
|
|
|
10251
|
+
export class DownloadCdsFileRequest extends $tea.Model {
|
|
10252
|
+
cdsId?: string;
|
|
10253
|
+
endUserId?: string;
|
|
10254
|
+
fileId?: string;
|
|
10255
|
+
groupId?: string;
|
|
10256
|
+
regionId?: string;
|
|
10257
|
+
static names(): { [key: string]: string } {
|
|
10258
|
+
return {
|
|
10259
|
+
cdsId: 'CdsId',
|
|
10260
|
+
endUserId: 'EndUserId',
|
|
10261
|
+
fileId: 'FileId',
|
|
10262
|
+
groupId: 'GroupId',
|
|
10263
|
+
regionId: 'RegionId',
|
|
10264
|
+
};
|
|
10265
|
+
}
|
|
10266
|
+
|
|
10267
|
+
static types(): { [key: string]: any } {
|
|
10268
|
+
return {
|
|
10269
|
+
cdsId: 'string',
|
|
10270
|
+
endUserId: 'string',
|
|
10271
|
+
fileId: 'string',
|
|
10272
|
+
groupId: 'string',
|
|
10273
|
+
regionId: 'string',
|
|
10274
|
+
};
|
|
10275
|
+
}
|
|
10276
|
+
|
|
10277
|
+
constructor(map?: { [key: string]: any }) {
|
|
10278
|
+
super(map);
|
|
10279
|
+
}
|
|
10280
|
+
}
|
|
10281
|
+
|
|
10282
|
+
export class DownloadCdsFileResponseBody extends $tea.Model {
|
|
10283
|
+
downloadFileModel?: DownloadCdsFileResponseBodyDownloadFileModel;
|
|
10284
|
+
message?: string;
|
|
10285
|
+
requestId?: string;
|
|
10286
|
+
success?: boolean;
|
|
10287
|
+
static names(): { [key: string]: string } {
|
|
10288
|
+
return {
|
|
10289
|
+
downloadFileModel: 'DownloadFileModel',
|
|
10290
|
+
message: 'Message',
|
|
10291
|
+
requestId: 'RequestId',
|
|
10292
|
+
success: 'Success',
|
|
10293
|
+
};
|
|
10294
|
+
}
|
|
10295
|
+
|
|
10296
|
+
static types(): { [key: string]: any } {
|
|
10297
|
+
return {
|
|
10298
|
+
downloadFileModel: DownloadCdsFileResponseBodyDownloadFileModel,
|
|
10299
|
+
message: 'string',
|
|
10300
|
+
requestId: 'string',
|
|
10301
|
+
success: 'boolean',
|
|
10302
|
+
};
|
|
10303
|
+
}
|
|
10304
|
+
|
|
10305
|
+
constructor(map?: { [key: string]: any }) {
|
|
10306
|
+
super(map);
|
|
10307
|
+
}
|
|
10308
|
+
}
|
|
10309
|
+
|
|
10310
|
+
export class DownloadCdsFileResponse extends $tea.Model {
|
|
10311
|
+
headers?: { [key: string]: string };
|
|
10312
|
+
statusCode?: number;
|
|
10313
|
+
body?: DownloadCdsFileResponseBody;
|
|
10314
|
+
static names(): { [key: string]: string } {
|
|
10315
|
+
return {
|
|
10316
|
+
headers: 'headers',
|
|
10317
|
+
statusCode: 'statusCode',
|
|
10318
|
+
body: 'body',
|
|
10319
|
+
};
|
|
10320
|
+
}
|
|
10321
|
+
|
|
10322
|
+
static types(): { [key: string]: any } {
|
|
10323
|
+
return {
|
|
10324
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10325
|
+
statusCode: 'number',
|
|
10326
|
+
body: DownloadCdsFileResponseBody,
|
|
10327
|
+
};
|
|
10328
|
+
}
|
|
10329
|
+
|
|
10330
|
+
constructor(map?: { [key: string]: any }) {
|
|
10331
|
+
super(map);
|
|
10332
|
+
}
|
|
10333
|
+
}
|
|
10334
|
+
|
|
10239
10335
|
export class ExportClientEventsRequest extends $tea.Model {
|
|
10240
10336
|
desktopId?: string;
|
|
10241
10337
|
desktopName?: string;
|
|
@@ -14475,6 +14571,8 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
|
|
|
14475
14571
|
cameraRedirect?: string;
|
|
14476
14572
|
clientType?: ModifyPolicyGroupRequestClientType[];
|
|
14477
14573
|
clipboard?: string;
|
|
14574
|
+
deviceRedirects?: ModifyPolicyGroupRequestDeviceRedirects[];
|
|
14575
|
+
deviceRules?: ModifyPolicyGroupRequestDeviceRules[];
|
|
14478
14576
|
domainList?: string;
|
|
14479
14577
|
domainResolveRule?: ModifyPolicyGroupRequestDomainResolveRule[];
|
|
14480
14578
|
domainResolveRuleType?: string;
|
|
@@ -14534,6 +14632,8 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
|
|
|
14534
14632
|
cameraRedirect: 'CameraRedirect',
|
|
14535
14633
|
clientType: 'ClientType',
|
|
14536
14634
|
clipboard: 'Clipboard',
|
|
14635
|
+
deviceRedirects: 'DeviceRedirects',
|
|
14636
|
+
deviceRules: 'DeviceRules',
|
|
14537
14637
|
domainList: 'DomainList',
|
|
14538
14638
|
domainResolveRule: 'DomainResolveRule',
|
|
14539
14639
|
domainResolveRuleType: 'DomainResolveRuleType',
|
|
@@ -14596,6 +14696,8 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
|
|
|
14596
14696
|
cameraRedirect: 'string',
|
|
14597
14697
|
clientType: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestClientType },
|
|
14598
14698
|
clipboard: 'string',
|
|
14699
|
+
deviceRedirects: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestDeviceRedirects },
|
|
14700
|
+
deviceRules: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestDeviceRules },
|
|
14599
14701
|
domainList: 'string',
|
|
14600
14702
|
domainResolveRule: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestDomainResolveRule },
|
|
14601
14703
|
domainResolveRuleType: 'string',
|
|
@@ -18023,6 +18125,62 @@ export class CreatePolicyGroupRequestClientType extends $tea.Model {
|
|
|
18023
18125
|
}
|
|
18024
18126
|
}
|
|
18025
18127
|
|
|
18128
|
+
export class CreatePolicyGroupRequestDeviceRedirects extends $tea.Model {
|
|
18129
|
+
deviceType?: string;
|
|
18130
|
+
redirectType?: string;
|
|
18131
|
+
static names(): { [key: string]: string } {
|
|
18132
|
+
return {
|
|
18133
|
+
deviceType: 'DeviceType',
|
|
18134
|
+
redirectType: 'RedirectType',
|
|
18135
|
+
};
|
|
18136
|
+
}
|
|
18137
|
+
|
|
18138
|
+
static types(): { [key: string]: any } {
|
|
18139
|
+
return {
|
|
18140
|
+
deviceType: 'string',
|
|
18141
|
+
redirectType: 'string',
|
|
18142
|
+
};
|
|
18143
|
+
}
|
|
18144
|
+
|
|
18145
|
+
constructor(map?: { [key: string]: any }) {
|
|
18146
|
+
super(map);
|
|
18147
|
+
}
|
|
18148
|
+
}
|
|
18149
|
+
|
|
18150
|
+
export class CreatePolicyGroupRequestDeviceRules extends $tea.Model {
|
|
18151
|
+
deviceName?: string;
|
|
18152
|
+
devicePid?: string;
|
|
18153
|
+
deviceType?: string;
|
|
18154
|
+
deviceVid?: string;
|
|
18155
|
+
optCommand?: string;
|
|
18156
|
+
redirectType?: string;
|
|
18157
|
+
static names(): { [key: string]: string } {
|
|
18158
|
+
return {
|
|
18159
|
+
deviceName: 'DeviceName',
|
|
18160
|
+
devicePid: 'DevicePid',
|
|
18161
|
+
deviceType: 'DeviceType',
|
|
18162
|
+
deviceVid: 'DeviceVid',
|
|
18163
|
+
optCommand: 'OptCommand',
|
|
18164
|
+
redirectType: 'RedirectType',
|
|
18165
|
+
};
|
|
18166
|
+
}
|
|
18167
|
+
|
|
18168
|
+
static types(): { [key: string]: any } {
|
|
18169
|
+
return {
|
|
18170
|
+
deviceName: 'string',
|
|
18171
|
+
devicePid: 'string',
|
|
18172
|
+
deviceType: 'string',
|
|
18173
|
+
deviceVid: 'string',
|
|
18174
|
+
optCommand: 'string',
|
|
18175
|
+
redirectType: 'string',
|
|
18176
|
+
};
|
|
18177
|
+
}
|
|
18178
|
+
|
|
18179
|
+
constructor(map?: { [key: string]: any }) {
|
|
18180
|
+
super(map);
|
|
18181
|
+
}
|
|
18182
|
+
}
|
|
18183
|
+
|
|
18026
18184
|
export class CreatePolicyGroupRequestDomainResolveRule extends $tea.Model {
|
|
18027
18185
|
description?: string;
|
|
18028
18186
|
domain?: string;
|
|
@@ -20850,6 +21008,62 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsClientTypes ext
|
|
|
20850
21008
|
}
|
|
20851
21009
|
}
|
|
20852
21010
|
|
|
21011
|
+
export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects extends $tea.Model {
|
|
21012
|
+
deviceType?: string;
|
|
21013
|
+
redirectType?: string;
|
|
21014
|
+
static names(): { [key: string]: string } {
|
|
21015
|
+
return {
|
|
21016
|
+
deviceType: 'DeviceType',
|
|
21017
|
+
redirectType: 'RedirectType',
|
|
21018
|
+
};
|
|
21019
|
+
}
|
|
21020
|
+
|
|
21021
|
+
static types(): { [key: string]: any } {
|
|
21022
|
+
return {
|
|
21023
|
+
deviceType: 'string',
|
|
21024
|
+
redirectType: 'string',
|
|
21025
|
+
};
|
|
21026
|
+
}
|
|
21027
|
+
|
|
21028
|
+
constructor(map?: { [key: string]: any }) {
|
|
21029
|
+
super(map);
|
|
21030
|
+
}
|
|
21031
|
+
}
|
|
21032
|
+
|
|
21033
|
+
export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules extends $tea.Model {
|
|
21034
|
+
deviceName?: string;
|
|
21035
|
+
devicePid?: string;
|
|
21036
|
+
deviceType?: string;
|
|
21037
|
+
deviceVid?: string;
|
|
21038
|
+
optCommand?: string;
|
|
21039
|
+
redirectType?: string;
|
|
21040
|
+
static names(): { [key: string]: string } {
|
|
21041
|
+
return {
|
|
21042
|
+
deviceName: 'DeviceName',
|
|
21043
|
+
devicePid: 'DevicePid',
|
|
21044
|
+
deviceType: 'DeviceType',
|
|
21045
|
+
deviceVid: 'DeviceVid',
|
|
21046
|
+
optCommand: 'OptCommand',
|
|
21047
|
+
redirectType: 'RedirectType',
|
|
21048
|
+
};
|
|
21049
|
+
}
|
|
21050
|
+
|
|
21051
|
+
static types(): { [key: string]: any } {
|
|
21052
|
+
return {
|
|
21053
|
+
deviceName: 'string',
|
|
21054
|
+
devicePid: 'string',
|
|
21055
|
+
deviceType: 'string',
|
|
21056
|
+
deviceVid: 'string',
|
|
21057
|
+
optCommand: 'string',
|
|
21058
|
+
redirectType: 'string',
|
|
21059
|
+
};
|
|
21060
|
+
}
|
|
21061
|
+
|
|
21062
|
+
constructor(map?: { [key: string]: any }) {
|
|
21063
|
+
super(map);
|
|
21064
|
+
}
|
|
21065
|
+
}
|
|
21066
|
+
|
|
20853
21067
|
export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsDomainResolveRule extends $tea.Model {
|
|
20854
21068
|
description?: string;
|
|
20855
21069
|
domain?: string;
|
|
@@ -20952,6 +21166,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
20952
21166
|
cpuRateLimit?: number;
|
|
20953
21167
|
cpuSampleDuration?: number;
|
|
20954
21168
|
cpuSingleRateLimit?: number;
|
|
21169
|
+
deviceRedirects?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects[];
|
|
21170
|
+
deviceRules?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules[];
|
|
20955
21171
|
displayMode?: string;
|
|
20956
21172
|
domainList?: string;
|
|
20957
21173
|
domainResolveRule?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDomainResolveRule[];
|
|
@@ -21036,6 +21252,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
21036
21252
|
cpuRateLimit: 'CpuRateLimit',
|
|
21037
21253
|
cpuSampleDuration: 'CpuSampleDuration',
|
|
21038
21254
|
cpuSingleRateLimit: 'CpuSingleRateLimit',
|
|
21255
|
+
deviceRedirects: 'DeviceRedirects',
|
|
21256
|
+
deviceRules: 'DeviceRules',
|
|
21039
21257
|
displayMode: 'DisplayMode',
|
|
21040
21258
|
domainList: 'DomainList',
|
|
21041
21259
|
domainResolveRule: 'DomainResolveRule',
|
|
@@ -21123,6 +21341,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
21123
21341
|
cpuRateLimit: 'number',
|
|
21124
21342
|
cpuSampleDuration: 'number',
|
|
21125
21343
|
cpuSingleRateLimit: 'number',
|
|
21344
|
+
deviceRedirects: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects },
|
|
21345
|
+
deviceRules: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules },
|
|
21126
21346
|
displayMode: 'string',
|
|
21127
21347
|
domainList: 'string',
|
|
21128
21348
|
domainResolveRule: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDomainResolveRule },
|
|
@@ -21994,6 +22214,43 @@ export class DisconnectDesktopSessionsResponseBodyInvalidSessions extends $tea.M
|
|
|
21994
22214
|
}
|
|
21995
22215
|
}
|
|
21996
22216
|
|
|
22217
|
+
export class DownloadCdsFileResponseBodyDownloadFileModel extends $tea.Model {
|
|
22218
|
+
downloadType?: string;
|
|
22219
|
+
downloadUrl?: string;
|
|
22220
|
+
expirationSecond?: string;
|
|
22221
|
+
expirationTime?: string;
|
|
22222
|
+
fileId?: string;
|
|
22223
|
+
size?: number;
|
|
22224
|
+
streamUrl?: string;
|
|
22225
|
+
static names(): { [key: string]: string } {
|
|
22226
|
+
return {
|
|
22227
|
+
downloadType: 'DownloadType',
|
|
22228
|
+
downloadUrl: 'DownloadUrl',
|
|
22229
|
+
expirationSecond: 'ExpirationSecond',
|
|
22230
|
+
expirationTime: 'ExpirationTime',
|
|
22231
|
+
fileId: 'FileId',
|
|
22232
|
+
size: 'Size',
|
|
22233
|
+
streamUrl: 'StreamUrl',
|
|
22234
|
+
};
|
|
22235
|
+
}
|
|
22236
|
+
|
|
22237
|
+
static types(): { [key: string]: any } {
|
|
22238
|
+
return {
|
|
22239
|
+
downloadType: 'string',
|
|
22240
|
+
downloadUrl: 'string',
|
|
22241
|
+
expirationSecond: 'string',
|
|
22242
|
+
expirationTime: 'string',
|
|
22243
|
+
fileId: 'string',
|
|
22244
|
+
size: 'number',
|
|
22245
|
+
streamUrl: 'string',
|
|
22246
|
+
};
|
|
22247
|
+
}
|
|
22248
|
+
|
|
22249
|
+
constructor(map?: { [key: string]: any }) {
|
|
22250
|
+
super(map);
|
|
22251
|
+
}
|
|
22252
|
+
}
|
|
22253
|
+
|
|
21997
22254
|
export class ExportDesktopGroupInfoRequestTag extends $tea.Model {
|
|
21998
22255
|
key?: string;
|
|
21999
22256
|
value?: string;
|
|
@@ -22812,6 +23069,62 @@ export class ModifyPolicyGroupRequestClientType extends $tea.Model {
|
|
|
22812
23069
|
}
|
|
22813
23070
|
}
|
|
22814
23071
|
|
|
23072
|
+
export class ModifyPolicyGroupRequestDeviceRedirects extends $tea.Model {
|
|
23073
|
+
deviceType?: string;
|
|
23074
|
+
redirectType?: string;
|
|
23075
|
+
static names(): { [key: string]: string } {
|
|
23076
|
+
return {
|
|
23077
|
+
deviceType: 'DeviceType',
|
|
23078
|
+
redirectType: 'RedirectType',
|
|
23079
|
+
};
|
|
23080
|
+
}
|
|
23081
|
+
|
|
23082
|
+
static types(): { [key: string]: any } {
|
|
23083
|
+
return {
|
|
23084
|
+
deviceType: 'string',
|
|
23085
|
+
redirectType: 'string',
|
|
23086
|
+
};
|
|
23087
|
+
}
|
|
23088
|
+
|
|
23089
|
+
constructor(map?: { [key: string]: any }) {
|
|
23090
|
+
super(map);
|
|
23091
|
+
}
|
|
23092
|
+
}
|
|
23093
|
+
|
|
23094
|
+
export class ModifyPolicyGroupRequestDeviceRules extends $tea.Model {
|
|
23095
|
+
deviceName?: string;
|
|
23096
|
+
devicePid?: string;
|
|
23097
|
+
deviceType?: string;
|
|
23098
|
+
deviceVid?: string;
|
|
23099
|
+
optCommand?: string;
|
|
23100
|
+
redirectType?: string;
|
|
23101
|
+
static names(): { [key: string]: string } {
|
|
23102
|
+
return {
|
|
23103
|
+
deviceName: 'DeviceName',
|
|
23104
|
+
devicePid: 'DevicePid',
|
|
23105
|
+
deviceType: 'DeviceType',
|
|
23106
|
+
deviceVid: 'DeviceVid',
|
|
23107
|
+
optCommand: 'OptCommand',
|
|
23108
|
+
redirectType: 'RedirectType',
|
|
23109
|
+
};
|
|
23110
|
+
}
|
|
23111
|
+
|
|
23112
|
+
static types(): { [key: string]: any } {
|
|
23113
|
+
return {
|
|
23114
|
+
deviceName: 'string',
|
|
23115
|
+
devicePid: 'string',
|
|
23116
|
+
deviceType: 'string',
|
|
23117
|
+
deviceVid: 'string',
|
|
23118
|
+
optCommand: 'string',
|
|
23119
|
+
redirectType: 'string',
|
|
23120
|
+
};
|
|
23121
|
+
}
|
|
23122
|
+
|
|
23123
|
+
constructor(map?: { [key: string]: any }) {
|
|
23124
|
+
super(map);
|
|
23125
|
+
}
|
|
23126
|
+
}
|
|
23127
|
+
|
|
22815
23128
|
export class ModifyPolicyGroupRequestDomainResolveRule extends $tea.Model {
|
|
22816
23129
|
description?: string;
|
|
22817
23130
|
domain?: string;
|
|
@@ -26081,6 +26394,14 @@ export default class Client extends OpenApi {
|
|
|
26081
26394
|
query["Clipboard"] = request.clipboard;
|
|
26082
26395
|
}
|
|
26083
26396
|
|
|
26397
|
+
if (!Util.isUnset(request.deviceRedirects)) {
|
|
26398
|
+
query["DeviceRedirects"] = request.deviceRedirects;
|
|
26399
|
+
}
|
|
26400
|
+
|
|
26401
|
+
if (!Util.isUnset(request.deviceRules)) {
|
|
26402
|
+
query["DeviceRules"] = request.deviceRules;
|
|
26403
|
+
}
|
|
26404
|
+
|
|
26084
26405
|
if (!Util.isUnset(request.domainList)) {
|
|
26085
26406
|
query["DomainList"] = request.domainList;
|
|
26086
26407
|
}
|
|
@@ -27543,6 +27864,10 @@ export default class Client extends OpenApi {
|
|
|
27543
27864
|
query["GpuCount"] = request.gpuCount;
|
|
27544
27865
|
}
|
|
27545
27866
|
|
|
27867
|
+
if (!Util.isUnset(request.gpuDriverType)) {
|
|
27868
|
+
query["GpuDriverType"] = request.gpuDriverType;
|
|
27869
|
+
}
|
|
27870
|
+
|
|
27546
27871
|
if (!Util.isUnset(request.imageId)) {
|
|
27547
27872
|
query["ImageId"] = request.imageId;
|
|
27548
27873
|
}
|
|
@@ -28587,6 +28912,10 @@ export default class Client extends OpenApi {
|
|
|
28587
28912
|
query["GpuCount"] = request.gpuCount;
|
|
28588
28913
|
}
|
|
28589
28914
|
|
|
28915
|
+
if (!Util.isUnset(request.gpuDriverType)) {
|
|
28916
|
+
query["GpuDriverType"] = request.gpuDriverType;
|
|
28917
|
+
}
|
|
28918
|
+
|
|
28590
28919
|
if (!Util.isUnset(request.instanceTypeFamily)) {
|
|
28591
28920
|
query["InstanceTypeFamily"] = request.instanceTypeFamily;
|
|
28592
28921
|
}
|
|
@@ -31167,6 +31496,64 @@ export default class Client extends OpenApi {
|
|
|
31167
31496
|
return await this.dissociateNetworkPackageWithOptions(request, runtime);
|
|
31168
31497
|
}
|
|
31169
31498
|
|
|
31499
|
+
/**
|
|
31500
|
+
* @summary CDS文件下载
|
|
31501
|
+
*
|
|
31502
|
+
* @param request DownloadCdsFileRequest
|
|
31503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31504
|
+
* @return DownloadCdsFileResponse
|
|
31505
|
+
*/
|
|
31506
|
+
async downloadCdsFileWithOptions(request: DownloadCdsFileRequest, runtime: $Util.RuntimeOptions): Promise<DownloadCdsFileResponse> {
|
|
31507
|
+
Util.validateModel(request);
|
|
31508
|
+
let query = { };
|
|
31509
|
+
if (!Util.isUnset(request.cdsId)) {
|
|
31510
|
+
query["CdsId"] = request.cdsId;
|
|
31511
|
+
}
|
|
31512
|
+
|
|
31513
|
+
if (!Util.isUnset(request.endUserId)) {
|
|
31514
|
+
query["EndUserId"] = request.endUserId;
|
|
31515
|
+
}
|
|
31516
|
+
|
|
31517
|
+
if (!Util.isUnset(request.fileId)) {
|
|
31518
|
+
query["FileId"] = request.fileId;
|
|
31519
|
+
}
|
|
31520
|
+
|
|
31521
|
+
if (!Util.isUnset(request.groupId)) {
|
|
31522
|
+
query["GroupId"] = request.groupId;
|
|
31523
|
+
}
|
|
31524
|
+
|
|
31525
|
+
if (!Util.isUnset(request.regionId)) {
|
|
31526
|
+
query["RegionId"] = request.regionId;
|
|
31527
|
+
}
|
|
31528
|
+
|
|
31529
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
31530
|
+
query: OpenApiUtil.query(query),
|
|
31531
|
+
});
|
|
31532
|
+
let params = new $OpenApi.Params({
|
|
31533
|
+
action: "DownloadCdsFile",
|
|
31534
|
+
version: "2020-09-30",
|
|
31535
|
+
protocol: "HTTPS",
|
|
31536
|
+
pathname: "/",
|
|
31537
|
+
method: "POST",
|
|
31538
|
+
authType: "AK",
|
|
31539
|
+
style: "RPC",
|
|
31540
|
+
reqBodyType: "formData",
|
|
31541
|
+
bodyType: "json",
|
|
31542
|
+
});
|
|
31543
|
+
return $tea.cast<DownloadCdsFileResponse>(await this.callApi(params, req, runtime), new DownloadCdsFileResponse({}));
|
|
31544
|
+
}
|
|
31545
|
+
|
|
31546
|
+
/**
|
|
31547
|
+
* @summary CDS文件下载
|
|
31548
|
+
*
|
|
31549
|
+
* @param request DownloadCdsFileRequest
|
|
31550
|
+
* @return DownloadCdsFileResponse
|
|
31551
|
+
*/
|
|
31552
|
+
async downloadCdsFile(request: DownloadCdsFileRequest): Promise<DownloadCdsFileResponse> {
|
|
31553
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
31554
|
+
return await this.downloadCdsFileWithOptions(request, runtime);
|
|
31555
|
+
}
|
|
31556
|
+
|
|
31170
31557
|
/**
|
|
31171
31558
|
* @summary Exports events that occur on a cloud desktop from an Alibaba Cloud Workspace client.
|
|
31172
31559
|
*
|
|
@@ -34607,6 +34994,14 @@ export default class Client extends OpenApi {
|
|
|
34607
34994
|
query["Clipboard"] = request.clipboard;
|
|
34608
34995
|
}
|
|
34609
34996
|
|
|
34997
|
+
if (!Util.isUnset(request.deviceRedirects)) {
|
|
34998
|
+
query["DeviceRedirects"] = request.deviceRedirects;
|
|
34999
|
+
}
|
|
35000
|
+
|
|
35001
|
+
if (!Util.isUnset(request.deviceRules)) {
|
|
35002
|
+
query["DeviceRules"] = request.deviceRules;
|
|
35003
|
+
}
|
|
35004
|
+
|
|
34610
35005
|
if (!Util.isUnset(request.domainList)) {
|
|
34611
35006
|
query["DomainList"] = request.domainList;
|
|
34612
35007
|
}
|