@alicloud/ecd20200930 4.11.8 → 4.11.10
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.js +78 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyRequest.d.ts +1 -0
- package/dist/models/CreateAutoSnapshotPolicyRequest.js +2 -0
- package/dist/models/CreateAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CreateCenterPolicyRequest.d.ts +65 -0
- package/dist/models/CreateCenterPolicyRequest.js +70 -1
- package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +1 -0
- package/dist/models/CreateDesktopsRequest.js +2 -0
- package/dist/models/CreateDesktopsRequest.js.map +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +1 -0
- package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
- package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
- package/dist/models/CreateNetworkPackageRequest.d.ts +1 -0
- package/dist/models/CreateNetworkPackageRequest.js +2 -0
- package/dist/models/CreateNetworkPackageRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyResponseBody.d.ts +1 -0
- package/dist/models/DescribeAutoSnapshotPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoSnapshotPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopGroupSessionsRequest.d.ts +12 -0
- package/dist/models/DescribeDesktopGroupSessionsRequest.js +11 -0
- package/dist/models/DescribeDesktopGroupSessionsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopGroupSessionsResponseBody.d.ts +33 -0
- package/dist/models/DescribeDesktopGroupSessionsResponseBody.js +31 -1
- package/dist/models/DescribeDesktopGroupSessionsResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopSessionsRequest.d.ts +6 -0
- package/dist/models/DescribeDesktopSessionsRequest.js +4 -0
- package/dist/models/DescribeDesktopSessionsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopSessionsResponseBody.d.ts +33 -0
- package/dist/models/DescribeDesktopSessionsResponseBody.js +31 -1
- package/dist/models/DescribeDesktopSessionsResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +1 -0
- package/dist/models/DescribeDesktopsResponseBody.js +2 -0
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGroupsResponseBody.d.ts +36 -0
- package/dist/models/DescribePolicyGroupsResponseBody.js +40 -1
- package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
- package/dist/models/ModifyAutoSnapshotPolicyRequest.d.ts +1 -0
- package/dist/models/ModifyAutoSnapshotPolicyRequest.js +2 -0
- package/dist/models/ModifyAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/ModifyCenterPolicyRequest.d.ts +61 -0
- package/dist/models/ModifyCenterPolicyRequest.js +70 -1
- package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +62 -47
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +104 -0
- package/src/models/CreateAutoSnapshotPolicyRequest.ts +3 -0
- package/src/models/CreateCenterPolicyRequest.ts +116 -0
- package/src/models/CreateDesktopsRequest.ts +3 -0
- package/src/models/CreateDesktopsShrinkRequest.ts +3 -0
- package/src/models/CreateNetworkPackageRequest.ts +3 -0
- package/src/models/DescribeAutoSnapshotPolicyResponseBody.ts +3 -0
- package/src/models/DescribeDesktopGroupSessionsRequest.ts +23 -0
- package/src/models/DescribeDesktopGroupSessionsResponseBody.ts +54 -0
- package/src/models/DescribeDesktopSessionsRequest.ts +10 -0
- package/src/models/DescribeDesktopSessionsResponseBody.ts +54 -0
- package/src/models/DescribeDesktopsResponseBody.ts +3 -0
- package/src/models/DescribePolicyGroupsResponseBody.ts +66 -0
- package/src/models/ModifyAutoSnapshotPolicyRequest.ts +3 -0
- package/src/models/ModifyCenterPolicyRequest.ts +112 -0
- package/src/models/model.ts +7 -0
|
@@ -214,6 +214,35 @@ export class CreateCenterPolicyRequestClientType extends $dara.Model {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
+
export class CreateCenterPolicyRequestClipboardGraineds extends $dara.Model {
|
|
218
|
+
clipboardSize?: number;
|
|
219
|
+
clipboardType?: string;
|
|
220
|
+
grainedType?: string;
|
|
221
|
+
static names(): { [key: string]: string } {
|
|
222
|
+
return {
|
|
223
|
+
clipboardSize: 'ClipboardSize',
|
|
224
|
+
clipboardType: 'ClipboardType',
|
|
225
|
+
grainedType: 'GrainedType',
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
static types(): { [key: string]: any } {
|
|
230
|
+
return {
|
|
231
|
+
clipboardSize: 'number',
|
|
232
|
+
clipboardType: 'string',
|
|
233
|
+
grainedType: 'string',
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
validate() {
|
|
238
|
+
super.validate();
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
constructor(map?: { [key: string]: any }) {
|
|
242
|
+
super(map);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
217
246
|
export class CreateCenterPolicyRequestDeviceRedirects extends $dara.Model {
|
|
218
247
|
/**
|
|
219
248
|
* @remarks
|
|
@@ -476,6 +505,40 @@ export class CreateCenterPolicyRequestNetRedirectRule extends $dara.Model {
|
|
|
476
505
|
}
|
|
477
506
|
}
|
|
478
507
|
|
|
508
|
+
export class CreateCenterPolicyRequestRecordEventLevels extends $dara.Model {
|
|
509
|
+
/**
|
|
510
|
+
* @example
|
|
511
|
+
* HIGH
|
|
512
|
+
*/
|
|
513
|
+
eventLevel?: string;
|
|
514
|
+
/**
|
|
515
|
+
* @example
|
|
516
|
+
* StartApplication
|
|
517
|
+
*/
|
|
518
|
+
eventType?: string;
|
|
519
|
+
static names(): { [key: string]: string } {
|
|
520
|
+
return {
|
|
521
|
+
eventLevel: 'EventLevel',
|
|
522
|
+
eventType: 'EventType',
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
static types(): { [key: string]: any } {
|
|
527
|
+
return {
|
|
528
|
+
eventLevel: 'string',
|
|
529
|
+
eventType: 'string',
|
|
530
|
+
};
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
validate() {
|
|
534
|
+
super.validate();
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
constructor(map?: { [key: string]: any }) {
|
|
538
|
+
super(map);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
479
542
|
export class CreateCenterPolicyRequestUsbSupplyRedirectRule extends $dara.Model {
|
|
480
543
|
/**
|
|
481
544
|
* @remarks
|
|
@@ -592,6 +655,11 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
592
655
|
* The security group rule.
|
|
593
656
|
*/
|
|
594
657
|
authorizeSecurityPolicyRule?: CreateCenterPolicyRequestAuthorizeSecurityPolicyRule[];
|
|
658
|
+
/**
|
|
659
|
+
* @example
|
|
660
|
+
* off
|
|
661
|
+
*/
|
|
662
|
+
autoReconnect?: string;
|
|
595
663
|
/**
|
|
596
664
|
* @remarks
|
|
597
665
|
* The business type.
|
|
@@ -641,6 +709,12 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
641
709
|
* off
|
|
642
710
|
*/
|
|
643
711
|
clipboard?: string;
|
|
712
|
+
clipboardGraineds?: CreateCenterPolicyRequestClipboardGraineds[];
|
|
713
|
+
/**
|
|
714
|
+
* @example
|
|
715
|
+
* GLOBAL
|
|
716
|
+
*/
|
|
717
|
+
clipboardScope?: string;
|
|
644
718
|
/**
|
|
645
719
|
* @remarks
|
|
646
720
|
* Specifies whether to enable color enhancement for design and 3D applications.
|
|
@@ -962,6 +1036,11 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
962
1036
|
* off
|
|
963
1037
|
*/
|
|
964
1038
|
mobileRestart?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* @example
|
|
1041
|
+
* off
|
|
1042
|
+
*/
|
|
1043
|
+
mobileSafeMenu?: string;
|
|
965
1044
|
/**
|
|
966
1045
|
* @remarks
|
|
967
1046
|
* Specifies whether to display the Stop button in the DesktopAssistant menu when end users connect to cloud computers from Android clients.
|
|
@@ -977,6 +1056,16 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
977
1056
|
* off
|
|
978
1057
|
*/
|
|
979
1058
|
mobileShutdown?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* @example
|
|
1061
|
+
* off
|
|
1062
|
+
*/
|
|
1063
|
+
mobileWuyingKeeper?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* @example
|
|
1066
|
+
* off
|
|
1067
|
+
*/
|
|
1068
|
+
mobileWyAssistant?: string;
|
|
980
1069
|
/**
|
|
981
1070
|
* @remarks
|
|
982
1071
|
* The policy name.
|
|
@@ -1070,11 +1159,13 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1070
1159
|
* 10
|
|
1071
1160
|
*/
|
|
1072
1161
|
recordEventDuration?: number;
|
|
1162
|
+
recordEventFileExts?: string[];
|
|
1073
1163
|
/**
|
|
1074
1164
|
* @remarks
|
|
1075
1165
|
* The absolute paths to screen recording files.
|
|
1076
1166
|
*/
|
|
1077
1167
|
recordEventFilePaths?: string[];
|
|
1168
|
+
recordEventLevels?: CreateCenterPolicyRequestRecordEventLevels[];
|
|
1078
1169
|
/**
|
|
1079
1170
|
* @remarks
|
|
1080
1171
|
* The absolute paths to screen recording registries.
|
|
@@ -1600,11 +1691,14 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1600
1691
|
appContentProtection: 'AppContentProtection',
|
|
1601
1692
|
authorizeAccessPolicyRule: 'AuthorizeAccessPolicyRule',
|
|
1602
1693
|
authorizeSecurityPolicyRule: 'AuthorizeSecurityPolicyRule',
|
|
1694
|
+
autoReconnect: 'AutoReconnect',
|
|
1603
1695
|
businessType: 'BusinessType',
|
|
1604
1696
|
cameraRedirect: 'CameraRedirect',
|
|
1605
1697
|
clientControlMenu: 'ClientControlMenu',
|
|
1606
1698
|
clientType: 'ClientType',
|
|
1607
1699
|
clipboard: 'Clipboard',
|
|
1700
|
+
clipboardGraineds: 'ClipboardGraineds',
|
|
1701
|
+
clipboardScope: 'ClipboardScope',
|
|
1608
1702
|
colorEnhancement: 'ColorEnhancement',
|
|
1609
1703
|
cpdDriveClipboard: 'CpdDriveClipboard',
|
|
1610
1704
|
cpuDownGradeDuration: 'CpuDownGradeDuration',
|
|
@@ -1641,7 +1735,10 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1641
1735
|
memorySampleDuration: 'MemorySampleDuration',
|
|
1642
1736
|
memorySingleRateLimit: 'MemorySingleRateLimit',
|
|
1643
1737
|
mobileRestart: 'MobileRestart',
|
|
1738
|
+
mobileSafeMenu: 'MobileSafeMenu',
|
|
1644
1739
|
mobileShutdown: 'MobileShutdown',
|
|
1740
|
+
mobileWuyingKeeper: 'MobileWuyingKeeper',
|
|
1741
|
+
mobileWyAssistant: 'MobileWyAssistant',
|
|
1645
1742
|
name: 'Name',
|
|
1646
1743
|
netRedirect: 'NetRedirect',
|
|
1647
1744
|
netRedirectRule: 'NetRedirectRule',
|
|
@@ -1650,7 +1747,9 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1650
1747
|
printerRedirect: 'PrinterRedirect',
|
|
1651
1748
|
qualityEnhancement: 'QualityEnhancement',
|
|
1652
1749
|
recordEventDuration: 'RecordEventDuration',
|
|
1750
|
+
recordEventFileExts: 'RecordEventFileExts',
|
|
1653
1751
|
recordEventFilePaths: 'RecordEventFilePaths',
|
|
1752
|
+
recordEventLevels: 'RecordEventLevels',
|
|
1654
1753
|
recordEventRegisters: 'RecordEventRegisters',
|
|
1655
1754
|
recordEvents: 'RecordEvents',
|
|
1656
1755
|
recording: 'Recording',
|
|
@@ -1713,11 +1812,14 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1713
1812
|
appContentProtection: 'string',
|
|
1714
1813
|
authorizeAccessPolicyRule: { 'type': 'array', 'itemType': CreateCenterPolicyRequestAuthorizeAccessPolicyRule },
|
|
1715
1814
|
authorizeSecurityPolicyRule: { 'type': 'array', 'itemType': CreateCenterPolicyRequestAuthorizeSecurityPolicyRule },
|
|
1815
|
+
autoReconnect: 'string',
|
|
1716
1816
|
businessType: 'number',
|
|
1717
1817
|
cameraRedirect: 'string',
|
|
1718
1818
|
clientControlMenu: 'string',
|
|
1719
1819
|
clientType: { 'type': 'array', 'itemType': CreateCenterPolicyRequestClientType },
|
|
1720
1820
|
clipboard: 'string',
|
|
1821
|
+
clipboardGraineds: { 'type': 'array', 'itemType': CreateCenterPolicyRequestClipboardGraineds },
|
|
1822
|
+
clipboardScope: 'string',
|
|
1721
1823
|
colorEnhancement: 'string',
|
|
1722
1824
|
cpdDriveClipboard: 'string',
|
|
1723
1825
|
cpuDownGradeDuration: 'number',
|
|
@@ -1754,7 +1856,10 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1754
1856
|
memorySampleDuration: 'number',
|
|
1755
1857
|
memorySingleRateLimit: 'number',
|
|
1756
1858
|
mobileRestart: 'string',
|
|
1859
|
+
mobileSafeMenu: 'string',
|
|
1757
1860
|
mobileShutdown: 'string',
|
|
1861
|
+
mobileWuyingKeeper: 'string',
|
|
1862
|
+
mobileWyAssistant: 'string',
|
|
1758
1863
|
name: 'string',
|
|
1759
1864
|
netRedirect: 'string',
|
|
1760
1865
|
netRedirectRule: { 'type': 'array', 'itemType': CreateCenterPolicyRequestNetRedirectRule },
|
|
@@ -1763,7 +1868,9 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1763
1868
|
printerRedirect: 'string',
|
|
1764
1869
|
qualityEnhancement: 'string',
|
|
1765
1870
|
recordEventDuration: 'number',
|
|
1871
|
+
recordEventFileExts: { 'type': 'array', 'itemType': 'string' },
|
|
1766
1872
|
recordEventFilePaths: { 'type': 'array', 'itemType': 'string' },
|
|
1873
|
+
recordEventLevels: { 'type': 'array', 'itemType': CreateCenterPolicyRequestRecordEventLevels },
|
|
1767
1874
|
recordEventRegisters: { 'type': 'array', 'itemType': 'string' },
|
|
1768
1875
|
recordEvents: { 'type': 'array', 'itemType': 'string' },
|
|
1769
1876
|
recording: 'string',
|
|
@@ -1830,6 +1937,9 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1830
1937
|
if(Array.isArray(this.clientType)) {
|
|
1831
1938
|
$dara.Model.validateArray(this.clientType);
|
|
1832
1939
|
}
|
|
1940
|
+
if(Array.isArray(this.clipboardGraineds)) {
|
|
1941
|
+
$dara.Model.validateArray(this.clipboardGraineds);
|
|
1942
|
+
}
|
|
1833
1943
|
if(Array.isArray(this.cpuProcessors)) {
|
|
1834
1944
|
$dara.Model.validateArray(this.cpuProcessors);
|
|
1835
1945
|
}
|
|
@@ -1848,9 +1958,15 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1848
1958
|
if(Array.isArray(this.netRedirectRule)) {
|
|
1849
1959
|
$dara.Model.validateArray(this.netRedirectRule);
|
|
1850
1960
|
}
|
|
1961
|
+
if(Array.isArray(this.recordEventFileExts)) {
|
|
1962
|
+
$dara.Model.validateArray(this.recordEventFileExts);
|
|
1963
|
+
}
|
|
1851
1964
|
if(Array.isArray(this.recordEventFilePaths)) {
|
|
1852
1965
|
$dara.Model.validateArray(this.recordEventFilePaths);
|
|
1853
1966
|
}
|
|
1967
|
+
if(Array.isArray(this.recordEventLevels)) {
|
|
1968
|
+
$dara.Model.validateArray(this.recordEventLevels);
|
|
1969
|
+
}
|
|
1854
1970
|
if(Array.isArray(this.recordEventRegisters)) {
|
|
1855
1971
|
$dara.Model.validateArray(this.recordEventRegisters);
|
|
1856
1972
|
}
|
|
@@ -606,6 +606,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
606
606
|
* true
|
|
607
607
|
*/
|
|
608
608
|
bundleModels?: CreateDesktopsRequestBundleModels[];
|
|
609
|
+
channelCookie?: string;
|
|
609
610
|
/**
|
|
610
611
|
* @remarks
|
|
611
612
|
* The billing method of the cloud computers.
|
|
@@ -919,6 +920,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
919
920
|
autoRenew: 'AutoRenew',
|
|
920
921
|
bundleId: 'BundleId',
|
|
921
922
|
bundleModels: 'BundleModels',
|
|
923
|
+
channelCookie: 'ChannelCookie',
|
|
922
924
|
chargeType: 'ChargeType',
|
|
923
925
|
desktopAttachment: 'DesktopAttachment',
|
|
924
926
|
desktopMemberIp: 'DesktopMemberIp',
|
|
@@ -961,6 +963,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
961
963
|
autoRenew: 'boolean',
|
|
962
964
|
bundleId: 'string',
|
|
963
965
|
bundleModels: { 'type': 'array', 'itemType': CreateDesktopsRequestBundleModels },
|
|
966
|
+
channelCookie: 'string',
|
|
964
967
|
chargeType: 'string',
|
|
965
968
|
desktopAttachment: CreateDesktopsRequestDesktopAttachment,
|
|
966
969
|
desktopMemberIp: 'string',
|
|
@@ -479,6 +479,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
479
479
|
* true
|
|
480
480
|
*/
|
|
481
481
|
bundleModels?: CreateDesktopsShrinkRequestBundleModels[];
|
|
482
|
+
channelCookie?: string;
|
|
482
483
|
/**
|
|
483
484
|
* @remarks
|
|
484
485
|
* The billing method of the cloud computers.
|
|
@@ -792,6 +793,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
792
793
|
autoRenew: 'AutoRenew',
|
|
793
794
|
bundleId: 'BundleId',
|
|
794
795
|
bundleModels: 'BundleModels',
|
|
796
|
+
channelCookie: 'ChannelCookie',
|
|
795
797
|
chargeType: 'ChargeType',
|
|
796
798
|
desktopAttachmentShrink: 'DesktopAttachment',
|
|
797
799
|
desktopMemberIp: 'DesktopMemberIp',
|
|
@@ -834,6 +836,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
834
836
|
autoRenew: 'boolean',
|
|
835
837
|
bundleId: 'string',
|
|
836
838
|
bundleModels: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestBundleModels },
|
|
839
|
+
channelCookie: 'string',
|
|
837
840
|
chargeType: 'string',
|
|
838
841
|
desktopAttachmentShrink: 'string',
|
|
839
842
|
desktopMemberIp: 'string',
|
|
@@ -73,6 +73,7 @@ export class CreateNetworkPackageRequest extends $dara.Model {
|
|
|
73
73
|
* 10
|
|
74
74
|
*/
|
|
75
75
|
bandwidth?: number;
|
|
76
|
+
channelCookie?: string;
|
|
76
77
|
/**
|
|
77
78
|
* @remarks
|
|
78
79
|
* The charge type of the premium bandwidth plan.
|
|
@@ -183,6 +184,7 @@ export class CreateNetworkPackageRequest extends $dara.Model {
|
|
|
183
184
|
autoPay: 'AutoPay',
|
|
184
185
|
autoRenew: 'AutoRenew',
|
|
185
186
|
bandwidth: 'Bandwidth',
|
|
187
|
+
channelCookie: 'ChannelCookie',
|
|
186
188
|
internetChargeType: 'InternetChargeType',
|
|
187
189
|
officeSiteId: 'OfficeSiteId',
|
|
188
190
|
payType: 'PayType',
|
|
@@ -199,6 +201,7 @@ export class CreateNetworkPackageRequest extends $dara.Model {
|
|
|
199
201
|
autoPay: 'boolean',
|
|
200
202
|
autoRenew: 'boolean',
|
|
201
203
|
bandwidth: 'number',
|
|
204
|
+
channelCookie: 'string',
|
|
202
205
|
internetChargeType: 'string',
|
|
203
206
|
officeSiteId: 'string',
|
|
204
207
|
payType: 'string',
|
|
@@ -27,6 +27,7 @@ export class DescribeAutoSnapshotPolicyResponseBodyAutoSnapshotPolicies extends
|
|
|
27
27
|
* 5
|
|
28
28
|
*/
|
|
29
29
|
desktopNum?: number;
|
|
30
|
+
diskType?: string;
|
|
30
31
|
/**
|
|
31
32
|
* @remarks
|
|
32
33
|
* The ID of the automatic snapshot policy.
|
|
@@ -100,6 +101,7 @@ export class DescribeAutoSnapshotPolicyResponseBodyAutoSnapshotPolicies extends
|
|
|
100
101
|
creationTime: 'CreationTime',
|
|
101
102
|
cronExpression: 'CronExpression',
|
|
102
103
|
desktopNum: 'DesktopNum',
|
|
104
|
+
diskType: 'DiskType',
|
|
103
105
|
policyId: 'PolicyId',
|
|
104
106
|
policyName: 'PolicyName',
|
|
105
107
|
regionId: 'RegionId',
|
|
@@ -114,6 +116,7 @@ export class DescribeAutoSnapshotPolicyResponseBodyAutoSnapshotPolicies extends
|
|
|
114
116
|
creationTime: 'string',
|
|
115
117
|
cronExpression: 'string',
|
|
116
118
|
desktopNum: 'number',
|
|
119
|
+
diskType: 'string',
|
|
117
120
|
policyId: 'string',
|
|
118
121
|
policyName: 'string',
|
|
119
122
|
regionId: 'string',
|
|
@@ -3,6 +3,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDesktopGroupSessionsRequest extends $dara.Model {
|
|
6
|
+
desktopGroupIds?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* ecd-4oyi32wmrctgx****
|
|
10
|
+
*/
|
|
11
|
+
desktopGroupName?: string;
|
|
6
12
|
/**
|
|
7
13
|
* @remarks
|
|
8
14
|
* The end of the time range to query.
|
|
@@ -19,6 +25,12 @@ export class DescribeDesktopGroupSessionsRequest extends $dara.Model {
|
|
|
19
25
|
* xianqiu
|
|
20
26
|
*/
|
|
21
27
|
endUserId?: string;
|
|
28
|
+
fillTerminalInfo?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* zh-CN
|
|
32
|
+
*/
|
|
33
|
+
language?: string;
|
|
22
34
|
/**
|
|
23
35
|
* @remarks
|
|
24
36
|
* The number of entries per page.
|
|
@@ -92,8 +104,12 @@ export class DescribeDesktopGroupSessionsRequest extends $dara.Model {
|
|
|
92
104
|
startTime?: string;
|
|
93
105
|
static names(): { [key: string]: string } {
|
|
94
106
|
return {
|
|
107
|
+
desktopGroupIds: 'DesktopGroupIds',
|
|
108
|
+
desktopGroupName: 'DesktopGroupName',
|
|
95
109
|
endTime: 'EndTime',
|
|
96
110
|
endUserId: 'EndUserId',
|
|
111
|
+
fillTerminalInfo: 'FillTerminalInfo',
|
|
112
|
+
language: 'Language',
|
|
97
113
|
maxResults: 'MaxResults',
|
|
98
114
|
nextToken: 'NextToken',
|
|
99
115
|
ownType: 'OwnType',
|
|
@@ -105,8 +121,12 @@ export class DescribeDesktopGroupSessionsRequest extends $dara.Model {
|
|
|
105
121
|
|
|
106
122
|
static types(): { [key: string]: any } {
|
|
107
123
|
return {
|
|
124
|
+
desktopGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
125
|
+
desktopGroupName: 'string',
|
|
108
126
|
endTime: 'string',
|
|
109
127
|
endUserId: 'string',
|
|
128
|
+
fillTerminalInfo: 'boolean',
|
|
129
|
+
language: 'string',
|
|
110
130
|
maxResults: 'number',
|
|
111
131
|
nextToken: 'string',
|
|
112
132
|
ownType: 'number',
|
|
@@ -117,6 +137,9 @@ export class DescribeDesktopGroupSessionsRequest extends $dara.Model {
|
|
|
117
137
|
}
|
|
118
138
|
|
|
119
139
|
validate() {
|
|
140
|
+
if(Array.isArray(this.desktopGroupIds)) {
|
|
141
|
+
$dara.Model.validateArray(this.desktopGroupIds);
|
|
142
|
+
}
|
|
120
143
|
super.validate();
|
|
121
144
|
}
|
|
122
145
|
|
|
@@ -2,6 +2,54 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class DescribeDesktopGroupSessionsResponseBodySessionsTerminalInfo extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* wuying_mac_x86_64
|
|
9
|
+
*/
|
|
10
|
+
model?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Mac
|
|
14
|
+
*/
|
|
15
|
+
productName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 96c530bc-6095-4014-8bbc-d461b8ac****
|
|
19
|
+
*/
|
|
20
|
+
serialNumber?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* EBFDC7773BEBAD418A9F89429652****
|
|
24
|
+
*/
|
|
25
|
+
uuid?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
model: 'Model',
|
|
29
|
+
productName: 'ProductName',
|
|
30
|
+
serialNumber: 'SerialNumber',
|
|
31
|
+
uuid: 'Uuid',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
model: 'string',
|
|
38
|
+
productName: 'string',
|
|
39
|
+
serialNumber: 'string',
|
|
40
|
+
uuid: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
5
53
|
export class DescribeDesktopGroupSessionsResponseBodySessions extends $dara.Model {
|
|
6
54
|
/**
|
|
7
55
|
* @remarks
|
|
@@ -173,6 +221,7 @@ export class DescribeDesktopGroupSessionsResponseBodySessions extends $dara.Mode
|
|
|
173
221
|
* Connected
|
|
174
222
|
*/
|
|
175
223
|
sessionStatus?: string;
|
|
224
|
+
terminalInfo?: DescribeDesktopGroupSessionsResponseBodySessionsTerminalInfo;
|
|
176
225
|
/**
|
|
177
226
|
* @remarks
|
|
178
227
|
* The total duration of the sessions.
|
|
@@ -201,6 +250,7 @@ export class DescribeDesktopGroupSessionsResponseBodySessions extends $dara.Mode
|
|
|
201
250
|
protocolType: 'ProtocolType',
|
|
202
251
|
sessionIdleTime: 'SessionIdleTime',
|
|
203
252
|
sessionStatus: 'SessionStatus',
|
|
253
|
+
terminalInfo: 'TerminalInfo',
|
|
204
254
|
totalConnectionDuration: 'TotalConnectionDuration',
|
|
205
255
|
};
|
|
206
256
|
}
|
|
@@ -225,11 +275,15 @@ export class DescribeDesktopGroupSessionsResponseBodySessions extends $dara.Mode
|
|
|
225
275
|
protocolType: 'string',
|
|
226
276
|
sessionIdleTime: 'number',
|
|
227
277
|
sessionStatus: 'string',
|
|
278
|
+
terminalInfo: DescribeDesktopGroupSessionsResponseBodySessionsTerminalInfo,
|
|
228
279
|
totalConnectionDuration: 'number',
|
|
229
280
|
};
|
|
230
281
|
}
|
|
231
282
|
|
|
232
283
|
validate() {
|
|
284
|
+
if(this.terminalInfo && typeof (this.terminalInfo as any).validate === 'function') {
|
|
285
|
+
(this.terminalInfo as any).validate();
|
|
286
|
+
}
|
|
233
287
|
super.validate();
|
|
234
288
|
}
|
|
235
289
|
|
|
@@ -48,6 +48,12 @@ export class DescribeDesktopSessionsRequest extends $dara.Model {
|
|
|
48
48
|
* alice
|
|
49
49
|
*/
|
|
50
50
|
endUserIdFilter?: string;
|
|
51
|
+
fillHardwareInfo?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* zh-CN
|
|
55
|
+
*/
|
|
56
|
+
language?: string;
|
|
51
57
|
/**
|
|
52
58
|
* @remarks
|
|
53
59
|
* The office network ID.
|
|
@@ -127,6 +133,8 @@ export class DescribeDesktopSessionsRequest extends $dara.Model {
|
|
|
127
133
|
endTime: 'EndTime',
|
|
128
134
|
endUserId: 'EndUserId',
|
|
129
135
|
endUserIdFilter: 'EndUserIdFilter',
|
|
136
|
+
fillHardwareInfo: 'FillHardwareInfo',
|
|
137
|
+
language: 'Language',
|
|
130
138
|
officeSiteId: 'OfficeSiteId',
|
|
131
139
|
pageNumber: 'PageNumber',
|
|
132
140
|
pageSize: 'PageSize',
|
|
@@ -146,6 +154,8 @@ export class DescribeDesktopSessionsRequest extends $dara.Model {
|
|
|
146
154
|
endTime: 'string',
|
|
147
155
|
endUserId: 'string',
|
|
148
156
|
endUserIdFilter: 'string',
|
|
157
|
+
fillHardwareInfo: 'boolean',
|
|
158
|
+
language: 'string',
|
|
149
159
|
officeSiteId: 'string',
|
|
150
160
|
pageNumber: 'number',
|
|
151
161
|
pageSize: 'number',
|
|
@@ -28,6 +28,54 @@ export class DescribeDesktopSessionsResponseBodySessionsResourceGroups extends $
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
export class DescribeDesktopSessionsResponseBodySessionsTerminalInfo extends $dara.Model {
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* Mac
|
|
35
|
+
*/
|
|
36
|
+
model?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* Mac
|
|
40
|
+
*/
|
|
41
|
+
productName?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* 96c530bc-6095-4014-8bbc-d461b8ac****
|
|
45
|
+
*/
|
|
46
|
+
serialNumber?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* EBFDC7773BEBAD418A9F89429652****
|
|
50
|
+
*/
|
|
51
|
+
uuid?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
model: 'Model',
|
|
55
|
+
productName: 'ProductName',
|
|
56
|
+
serialNumber: 'SerialNumber',
|
|
57
|
+
uuid: 'Uuid',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static types(): { [key: string]: any } {
|
|
62
|
+
return {
|
|
63
|
+
model: 'string',
|
|
64
|
+
productName: 'string',
|
|
65
|
+
serialNumber: 'string',
|
|
66
|
+
uuid: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
31
79
|
export class DescribeDesktopSessionsResponseBodySessions extends $dara.Model {
|
|
32
80
|
/**
|
|
33
81
|
* @remarks
|
|
@@ -196,6 +244,7 @@ export class DescribeDesktopSessionsResponseBodySessions extends $dara.Model {
|
|
|
196
244
|
* monthPackage
|
|
197
245
|
*/
|
|
198
246
|
subPayType?: string;
|
|
247
|
+
terminalInfo?: DescribeDesktopSessionsResponseBodySessionsTerminalInfo;
|
|
199
248
|
/**
|
|
200
249
|
* @remarks
|
|
201
250
|
* The total connection duration. Unit: seconds.
|
|
@@ -225,6 +274,7 @@ export class DescribeDesktopSessionsResponseBodySessions extends $dara.Model {
|
|
|
225
274
|
sessionStartTime: 'SessionStartTime',
|
|
226
275
|
sessionStatus: 'SessionStatus',
|
|
227
276
|
subPayType: 'SubPayType',
|
|
277
|
+
terminalInfo: 'TerminalInfo',
|
|
228
278
|
totalConnectionTime: 'TotalConnectionTime',
|
|
229
279
|
};
|
|
230
280
|
}
|
|
@@ -250,6 +300,7 @@ export class DescribeDesktopSessionsResponseBodySessions extends $dara.Model {
|
|
|
250
300
|
sessionStartTime: 'string',
|
|
251
301
|
sessionStatus: 'string',
|
|
252
302
|
subPayType: 'string',
|
|
303
|
+
terminalInfo: DescribeDesktopSessionsResponseBodySessionsTerminalInfo,
|
|
253
304
|
totalConnectionTime: 'number',
|
|
254
305
|
};
|
|
255
306
|
}
|
|
@@ -258,6 +309,9 @@ export class DescribeDesktopSessionsResponseBodySessions extends $dara.Model {
|
|
|
258
309
|
if(Array.isArray(this.resourceGroups)) {
|
|
259
310
|
$dara.Model.validateArray(this.resourceGroups);
|
|
260
311
|
}
|
|
312
|
+
if(this.terminalInfo && typeof (this.terminalInfo as any).validate === 'function') {
|
|
313
|
+
(this.terminalInfo as any).validate();
|
|
314
|
+
}
|
|
261
315
|
super.validate();
|
|
262
316
|
}
|
|
263
317
|
|
|
@@ -860,6 +860,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
860
860
|
* The information about the enterprise resource groups.
|
|
861
861
|
*/
|
|
862
862
|
resourceGroups?: DescribeDesktopsResponseBodyDesktopsResourceGroups[];
|
|
863
|
+
serialNumber?: string;
|
|
863
864
|
/**
|
|
864
865
|
* @remarks
|
|
865
866
|
* The type of the session.
|
|
@@ -1030,6 +1031,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
1030
1031
|
progress: 'Progress',
|
|
1031
1032
|
protocolType: 'ProtocolType',
|
|
1032
1033
|
resourceGroups: 'ResourceGroups',
|
|
1034
|
+
serialNumber: 'SerialNumber',
|
|
1033
1035
|
sessionType: 'SessionType',
|
|
1034
1036
|
sessions: 'Sessions',
|
|
1035
1037
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
@@ -1100,6 +1102,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
1100
1102
|
progress: 'string',
|
|
1101
1103
|
protocolType: 'string',
|
|
1102
1104
|
resourceGroups: { 'type': 'array', 'itemType': DescribeDesktopsResponseBodyDesktopsResourceGroups },
|
|
1105
|
+
serialNumber: 'string',
|
|
1103
1106
|
sessionType: 'string',
|
|
1104
1107
|
sessions: { 'type': 'array', 'itemType': DescribeDesktopsResponseBodyDesktopsSessions },
|
|
1105
1108
|
snapshotPolicyId: 'string',
|