@alicloud/ecd20200930 4.0.1 → 4.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecd20200930",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
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',
@@ -14475,6 +14487,8 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
14475
14487
  cameraRedirect?: string;
14476
14488
  clientType?: ModifyPolicyGroupRequestClientType[];
14477
14489
  clipboard?: string;
14490
+ deviceRedirects?: ModifyPolicyGroupRequestDeviceRedirects[];
14491
+ deviceRules?: ModifyPolicyGroupRequestDeviceRules[];
14478
14492
  domainList?: string;
14479
14493
  domainResolveRule?: ModifyPolicyGroupRequestDomainResolveRule[];
14480
14494
  domainResolveRuleType?: string;
@@ -14534,6 +14548,8 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
14534
14548
  cameraRedirect: 'CameraRedirect',
14535
14549
  clientType: 'ClientType',
14536
14550
  clipboard: 'Clipboard',
14551
+ deviceRedirects: 'DeviceRedirects',
14552
+ deviceRules: 'DeviceRules',
14537
14553
  domainList: 'DomainList',
14538
14554
  domainResolveRule: 'DomainResolveRule',
14539
14555
  domainResolveRuleType: 'DomainResolveRuleType',
@@ -14596,6 +14612,8 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
14596
14612
  cameraRedirect: 'string',
14597
14613
  clientType: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestClientType },
14598
14614
  clipboard: 'string',
14615
+ deviceRedirects: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestDeviceRedirects },
14616
+ deviceRules: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestDeviceRules },
14599
14617
  domainList: 'string',
14600
14618
  domainResolveRule: { 'type': 'array', 'itemType': ModifyPolicyGroupRequestDomainResolveRule },
14601
14619
  domainResolveRuleType: 'string',
@@ -18023,6 +18041,62 @@ export class CreatePolicyGroupRequestClientType extends $tea.Model {
18023
18041
  }
18024
18042
  }
18025
18043
 
18044
+ export class CreatePolicyGroupRequestDeviceRedirects extends $tea.Model {
18045
+ deviceType?: string;
18046
+ redirectType?: string;
18047
+ static names(): { [key: string]: string } {
18048
+ return {
18049
+ deviceType: 'DeviceType',
18050
+ redirectType: 'RedirectType',
18051
+ };
18052
+ }
18053
+
18054
+ static types(): { [key: string]: any } {
18055
+ return {
18056
+ deviceType: 'string',
18057
+ redirectType: 'string',
18058
+ };
18059
+ }
18060
+
18061
+ constructor(map?: { [key: string]: any }) {
18062
+ super(map);
18063
+ }
18064
+ }
18065
+
18066
+ export class CreatePolicyGroupRequestDeviceRules extends $tea.Model {
18067
+ deviceName?: string;
18068
+ devicePid?: string;
18069
+ deviceType?: string;
18070
+ deviceVid?: string;
18071
+ optCommand?: string;
18072
+ redirectType?: string;
18073
+ static names(): { [key: string]: string } {
18074
+ return {
18075
+ deviceName: 'DeviceName',
18076
+ devicePid: 'DevicePid',
18077
+ deviceType: 'DeviceType',
18078
+ deviceVid: 'DeviceVid',
18079
+ optCommand: 'OptCommand',
18080
+ redirectType: 'RedirectType',
18081
+ };
18082
+ }
18083
+
18084
+ static types(): { [key: string]: any } {
18085
+ return {
18086
+ deviceName: 'string',
18087
+ devicePid: 'string',
18088
+ deviceType: 'string',
18089
+ deviceVid: 'string',
18090
+ optCommand: 'string',
18091
+ redirectType: 'string',
18092
+ };
18093
+ }
18094
+
18095
+ constructor(map?: { [key: string]: any }) {
18096
+ super(map);
18097
+ }
18098
+ }
18099
+
18026
18100
  export class CreatePolicyGroupRequestDomainResolveRule extends $tea.Model {
18027
18101
  description?: string;
18028
18102
  domain?: string;
@@ -20850,6 +20924,62 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsClientTypes ext
20850
20924
  }
20851
20925
  }
20852
20926
 
20927
+ export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects extends $tea.Model {
20928
+ deviceType?: string;
20929
+ redirectType?: string;
20930
+ static names(): { [key: string]: string } {
20931
+ return {
20932
+ deviceType: 'DeviceType',
20933
+ redirectType: 'RedirectType',
20934
+ };
20935
+ }
20936
+
20937
+ static types(): { [key: string]: any } {
20938
+ return {
20939
+ deviceType: 'string',
20940
+ redirectType: 'string',
20941
+ };
20942
+ }
20943
+
20944
+ constructor(map?: { [key: string]: any }) {
20945
+ super(map);
20946
+ }
20947
+ }
20948
+
20949
+ export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules extends $tea.Model {
20950
+ deviceName?: string;
20951
+ devicePid?: string;
20952
+ deviceType?: string;
20953
+ deviceVid?: string;
20954
+ optCommand?: string;
20955
+ redirectType?: string;
20956
+ static names(): { [key: string]: string } {
20957
+ return {
20958
+ deviceName: 'DeviceName',
20959
+ devicePid: 'DevicePid',
20960
+ deviceType: 'DeviceType',
20961
+ deviceVid: 'DeviceVid',
20962
+ optCommand: 'OptCommand',
20963
+ redirectType: 'RedirectType',
20964
+ };
20965
+ }
20966
+
20967
+ static types(): { [key: string]: any } {
20968
+ return {
20969
+ deviceName: 'string',
20970
+ devicePid: 'string',
20971
+ deviceType: 'string',
20972
+ deviceVid: 'string',
20973
+ optCommand: 'string',
20974
+ redirectType: 'string',
20975
+ };
20976
+ }
20977
+
20978
+ constructor(map?: { [key: string]: any }) {
20979
+ super(map);
20980
+ }
20981
+ }
20982
+
20853
20983
  export class DescribePolicyGroupsResponseBodyDescribePolicyGroupsDomainResolveRule extends $tea.Model {
20854
20984
  description?: string;
20855
20985
  domain?: string;
@@ -20952,6 +21082,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
20952
21082
  cpuRateLimit?: number;
20953
21083
  cpuSampleDuration?: number;
20954
21084
  cpuSingleRateLimit?: number;
21085
+ deviceRedirects?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects[];
21086
+ deviceRules?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules[];
20955
21087
  displayMode?: string;
20956
21088
  domainList?: string;
20957
21089
  domainResolveRule?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDomainResolveRule[];
@@ -21036,6 +21168,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
21036
21168
  cpuRateLimit: 'CpuRateLimit',
21037
21169
  cpuSampleDuration: 'CpuSampleDuration',
21038
21170
  cpuSingleRateLimit: 'CpuSingleRateLimit',
21171
+ deviceRedirects: 'DeviceRedirects',
21172
+ deviceRules: 'DeviceRules',
21039
21173
  displayMode: 'DisplayMode',
21040
21174
  domainList: 'DomainList',
21041
21175
  domainResolveRule: 'DomainResolveRule',
@@ -21123,6 +21257,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
21123
21257
  cpuRateLimit: 'number',
21124
21258
  cpuSampleDuration: 'number',
21125
21259
  cpuSingleRateLimit: 'number',
21260
+ deviceRedirects: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects },
21261
+ deviceRules: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules },
21126
21262
  displayMode: 'string',
21127
21263
  domainList: 'string',
21128
21264
  domainResolveRule: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDomainResolveRule },
@@ -22812,6 +22948,62 @@ export class ModifyPolicyGroupRequestClientType extends $tea.Model {
22812
22948
  }
22813
22949
  }
22814
22950
 
22951
+ export class ModifyPolicyGroupRequestDeviceRedirects extends $tea.Model {
22952
+ deviceType?: string;
22953
+ redirectType?: string;
22954
+ static names(): { [key: string]: string } {
22955
+ return {
22956
+ deviceType: 'DeviceType',
22957
+ redirectType: 'RedirectType',
22958
+ };
22959
+ }
22960
+
22961
+ static types(): { [key: string]: any } {
22962
+ return {
22963
+ deviceType: 'string',
22964
+ redirectType: 'string',
22965
+ };
22966
+ }
22967
+
22968
+ constructor(map?: { [key: string]: any }) {
22969
+ super(map);
22970
+ }
22971
+ }
22972
+
22973
+ export class ModifyPolicyGroupRequestDeviceRules extends $tea.Model {
22974
+ deviceName?: string;
22975
+ devicePid?: string;
22976
+ deviceType?: string;
22977
+ deviceVid?: string;
22978
+ optCommand?: string;
22979
+ redirectType?: string;
22980
+ static names(): { [key: string]: string } {
22981
+ return {
22982
+ deviceName: 'DeviceName',
22983
+ devicePid: 'DevicePid',
22984
+ deviceType: 'DeviceType',
22985
+ deviceVid: 'DeviceVid',
22986
+ optCommand: 'OptCommand',
22987
+ redirectType: 'RedirectType',
22988
+ };
22989
+ }
22990
+
22991
+ static types(): { [key: string]: any } {
22992
+ return {
22993
+ deviceName: 'string',
22994
+ devicePid: 'string',
22995
+ deviceType: 'string',
22996
+ deviceVid: 'string',
22997
+ optCommand: 'string',
22998
+ redirectType: 'string',
22999
+ };
23000
+ }
23001
+
23002
+ constructor(map?: { [key: string]: any }) {
23003
+ super(map);
23004
+ }
23005
+ }
23006
+
22815
23007
  export class ModifyPolicyGroupRequestDomainResolveRule extends $tea.Model {
22816
23008
  description?: string;
22817
23009
  domain?: string;
@@ -26081,6 +26273,14 @@ export default class Client extends OpenApi {
26081
26273
  query["Clipboard"] = request.clipboard;
26082
26274
  }
26083
26275
 
26276
+ if (!Util.isUnset(request.deviceRedirects)) {
26277
+ query["DeviceRedirects"] = request.deviceRedirects;
26278
+ }
26279
+
26280
+ if (!Util.isUnset(request.deviceRules)) {
26281
+ query["DeviceRules"] = request.deviceRules;
26282
+ }
26283
+
26084
26284
  if (!Util.isUnset(request.domainList)) {
26085
26285
  query["DomainList"] = request.domainList;
26086
26286
  }
@@ -27543,6 +27743,10 @@ export default class Client extends OpenApi {
27543
27743
  query["GpuCount"] = request.gpuCount;
27544
27744
  }
27545
27745
 
27746
+ if (!Util.isUnset(request.gpuDriverType)) {
27747
+ query["GpuDriverType"] = request.gpuDriverType;
27748
+ }
27749
+
27546
27750
  if (!Util.isUnset(request.imageId)) {
27547
27751
  query["ImageId"] = request.imageId;
27548
27752
  }
@@ -28587,6 +28791,10 @@ export default class Client extends OpenApi {
28587
28791
  query["GpuCount"] = request.gpuCount;
28588
28792
  }
28589
28793
 
28794
+ if (!Util.isUnset(request.gpuDriverType)) {
28795
+ query["GpuDriverType"] = request.gpuDriverType;
28796
+ }
28797
+
28590
28798
  if (!Util.isUnset(request.instanceTypeFamily)) {
28591
28799
  query["InstanceTypeFamily"] = request.instanceTypeFamily;
28592
28800
  }
@@ -34607,6 +34815,14 @@ export default class Client extends OpenApi {
34607
34815
  query["Clipboard"] = request.clipboard;
34608
34816
  }
34609
34817
 
34818
+ if (!Util.isUnset(request.deviceRedirects)) {
34819
+ query["DeviceRedirects"] = request.deviceRedirects;
34820
+ }
34821
+
34822
+ if (!Util.isUnset(request.deviceRules)) {
34823
+ query["DeviceRules"] = request.deviceRules;
34824
+ }
34825
+
34610
34826
  if (!Util.isUnset(request.domainList)) {
34611
34827
  query["DomainList"] = request.domainList;
34612
34828
  }