@alicloud/ecd20200930 5.2.0 → 5.3.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.
Files changed (122) hide show
  1. package/dist/client.d.ts +280 -40
  2. package/dist/client.js +550 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
  5. package/dist/models/CreateDesktopsRequest.d.ts +59 -59
  6. package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
  7. package/dist/models/CreateDesktopsShrinkRequest.d.ts +48 -48
  8. package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
  9. package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
  10. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
  11. package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
  12. package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
  13. package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
  14. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
  15. package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
  16. package/dist/models/DescribePeripheralDriversRequest.js +77 -0
  17. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
  18. package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
  19. package/dist/models/DescribePeripheralDriversResponse.js +69 -0
  20. package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
  21. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
  22. package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
  23. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
  24. package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
  25. package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
  26. package/dist/models/DescribeVulDesktopsRequest.d.ts +137 -0
  27. package/dist/models/DescribeVulDesktopsRequest.js +92 -0
  28. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
  29. package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
  30. package/dist/models/DescribeVulDesktopsResponse.js +69 -0
  31. package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
  32. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +273 -0
  33. package/dist/models/DescribeVulDesktopsResponseBody.js +177 -0
  34. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
  35. package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
  36. package/dist/models/DescribeVulnerabilityRequest.js +72 -0
  37. package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
  38. package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
  39. package/dist/models/DescribeVulnerabilityResponse.js +69 -0
  40. package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
  41. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
  42. package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
  43. package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
  44. package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
  45. package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
  46. package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
  47. package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
  48. package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
  49. package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
  50. package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
  51. package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
  52. package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
  53. package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
  54. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
  55. package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
  56. package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
  57. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
  58. package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
  59. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
  60. package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
  61. package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
  62. package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
  63. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
  64. package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
  65. package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
  66. package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
  67. package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
  68. package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
  69. package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
  70. package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
  71. package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
  72. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
  73. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
  74. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
  75. package/dist/models/RebootDesktopsRequest.d.ts +9 -2
  76. package/dist/models/RebootDesktopsRequest.js.map +1 -1
  77. package/dist/models/RunCommandRequest.d.ts +8 -5
  78. package/dist/models/RunCommandRequest.js.map +1 -1
  79. package/dist/models/StartDesktopsRequest.d.ts +2 -2
  80. package/dist/models/model.d.ts +30 -0
  81. package/dist/models/model.js +82 -21
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +610 -40
  85. package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
  86. package/src/models/CreateDesktopsRequest.ts +59 -59
  87. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  88. package/src/models/CreateDesktopsShrinkRequest.ts +48 -48
  89. package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
  90. package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
  91. package/src/models/DeleteDesktopsRequest.ts +1 -1
  92. package/src/models/DescribeFlowMetricRequest.ts +5 -5
  93. package/src/models/DescribeOfficeSitesRequest.ts +6 -6
  94. package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
  95. package/src/models/DescribePeripheralDriversRequest.ts +118 -0
  96. package/src/models/DescribePeripheralDriversResponse.ts +40 -0
  97. package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
  98. package/src/models/DescribeSnapshotsRequest.ts +4 -4
  99. package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
  100. package/src/models/DescribeVulDesktopsRequest.ts +184 -0
  101. package/src/models/DescribeVulDesktopsResponse.ts +40 -0
  102. package/src/models/DescribeVulDesktopsResponseBody.ts +378 -0
  103. package/src/models/DescribeVulnerabilityRequest.ts +105 -0
  104. package/src/models/DescribeVulnerabilityResponse.ts +40 -0
  105. package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
  106. package/src/models/ListDirectoryUsersRequest.ts +3 -3
  107. package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
  108. package/src/models/MigrateDesktopsRequest.ts +3 -3
  109. package/src/models/ModifyUserEntitlementRequest.ts +4 -4
  110. package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
  111. package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
  112. package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
  113. package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
  114. package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
  115. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
  116. package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
  117. package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
  118. package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
  119. package/src/models/RebootDesktopsRequest.ts +9 -2
  120. package/src/models/RunCommandRequest.ts +8 -5
  121. package/src/models/StartDesktopsRequest.ts +2 -2
  122. package/src/models/model.ts +30 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeOfficeSitesResponseBodyOfficeSitesADConnectors extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The endpoint of the AD Connector.
8
+ * The connection address of the AD Connector.
9
9
  *
10
10
  * @example
11
11
  * 172.24.*.*
@@ -21,7 +21,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesADConnectors extends $dar
21
21
  connectorStatus?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the network interface controller (NIC) attached to the AD Connector.
24
+ * The ID of the elastic network interface (ENI) attached to the AD Connector.
25
25
  *
26
26
  * @example
27
27
  * eni-bp1i4wx78lgosrj6****
@@ -37,7 +37,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesADConnectors extends $dar
37
37
  specification?: string;
38
38
  /**
39
39
  * @remarks
40
- * The trust password configured when setting up the AD trust relationship.
40
+ * The trust password specified when configuring the AD trust relationship.
41
41
  *
42
42
  * @example
43
43
  * password123***
@@ -101,7 +101,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $dara.Model
101
101
  message?: string;
102
102
  /**
103
103
  * @remarks
104
- * The step that corresponds to the log entry.
104
+ * The step associated with the log entry.
105
105
  *
106
106
  * @example
107
107
  * CREATE_CONNECTOR
@@ -109,7 +109,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $dara.Model
109
109
  step?: string;
110
110
  /**
111
111
  * @remarks
112
- * The time when the log was printed. The time is in the ISO 8601 standard (UTC).
112
+ * The time when the log was generated. The time is in the ISO 8601 standard format (UTC).
113
113
  *
114
114
  * @example
115
115
  * 2021-05-12T09:42Z
@@ -145,7 +145,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $dara.Model
145
145
  export class DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts extends $dara.Model {
146
146
  /**
147
147
  * @remarks
148
- * The resource count.
148
+ * The number of resources.
149
149
  *
150
150
  * @example
151
151
  * 1
@@ -190,7 +190,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
190
190
  ADConnectors?: DescribeOfficeSitesResponseBodyOfficeSitesADConnectors[];
191
191
  /**
192
192
  * @remarks
193
- * The Alibaba Cloud Global Accelerator (GA) instance ID.
193
+ * The ID of the Global Accelerator (GA) instance.
194
194
  *
195
195
  * @example
196
196
  * ga-bp1astu3yrplkzoo2****
@@ -214,7 +214,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
214
214
  accountType?: string;
215
215
  /**
216
216
  * @remarks
217
- * The hostname of the domain controller. The hostname must comply with Windows hostname naming conventions.
217
+ * The hostname of the domain controller. The hostname must comply with Windows host naming conventions.
218
218
  *
219
219
  * @example
220
220
  * beijing-ad01
@@ -246,7 +246,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
246
246
  backupDns?: string;
247
247
  /**
248
248
  * @remarks
249
- * The peak Internet bandwidth. Valid values: 0 to 1000. Unit: Mbit/s.
249
+ * The peak public bandwidth. Valid values: 0 to 1000 Mbps.
250
250
  * If the value is empty or 0, Internet access is not enabled.
251
251
  *
252
252
  * @example
@@ -263,7 +263,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
263
263
  basicInternetType?: string;
264
264
  /**
265
265
  * @remarks
266
- * The status of the Cloud Enterprise Network (CEN) instance.
266
+ * The status of the CEN instance.
267
267
  *
268
268
  * @example
269
269
  * attached
@@ -311,7 +311,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
311
311
  cloudBoxOfficeSite?: boolean;
312
312
  /**
313
313
  * @remarks
314
- * The time when the office network was created. The time is in the ISO 8601 standard (UTC).
314
+ * The time when the office network was created. The time is in the ISO 8601 standard format (UTC).
315
315
  *
316
316
  * @example
317
317
  * 2021-05-06T05:58Z
@@ -340,7 +340,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
340
340
  customSecurityGroupId?: string;
341
341
  /**
342
342
  * @remarks
343
- * The access method allowed when connecting to cloud computers.
343
+ * The access method allowed for connecting to cloud computers.
344
344
  *
345
345
  * > The VPC connection method depends on the Alibaba Cloud PrivateLink service, which is free of charge. When this parameter is set to `VPC` or `Any`, the system automatically activates the PrivateLink service for you.
346
346
  *
@@ -419,7 +419,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
419
419
  enableAdminAccess?: boolean;
420
420
  /**
421
421
  * @remarks
422
- * Indicates whether cross-cloud computer access within the office network is enabled. If enabled, cloud computers within the same office network can access each other over the network.
422
+ * Indicates whether cross-cloud-computer access within the office network is enabled. After this feature is enabled, cloud computers within the same office network can access each other over the network.
423
423
  *
424
424
  * @example
425
425
  * false
@@ -427,7 +427,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
427
427
  enableCrossDesktopAccess?: boolean;
428
428
  /**
429
429
  * @remarks
430
- * Indicates whether the public network access feature is enabled.
430
+ * Indicates whether public network access is enabled.
431
431
  *
432
432
  * @example
433
433
  * false
@@ -490,7 +490,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
490
490
  name?: string;
491
491
  /**
492
492
  * @remarks
493
- * Applicable only to convenience account office networks. Indicates whether secondary authentication is required during logon. If logon secondary authentication is enabled, the system checks whether the logon account has security risks when a convenience user logs on to the client. If a risk is detected, the system sends a verification code to the email address associated with the account. The convenience user can log on to the client only after passing the verification code check.
493
+ * Applicable only to convenience account office networks. Indicates whether secondary verification is required during logon. If logon secondary verification is enabled, the system checks whether the logon account has security risks when a convenience user logs on to the client. If a risk is detected, the system sends a verification code to the email address associated with the account. The convenience user can log on to the client only after passing the verification code check.
494
494
  *
495
495
  * @example
496
496
  * false
@@ -514,7 +514,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
514
514
  networkPackageId?: string;
515
515
  /**
516
516
  * @remarks
517
- * The network version. The new version supports products such as WUYING Cloud Application.
517
+ * The network version. The new version supports products such as Wuying Cloud Application.
518
518
  *
519
519
  * @example
520
520
  * NM
@@ -578,12 +578,12 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
578
578
  rdsLicenseStatus?: string;
579
579
  /**
580
580
  * @remarks
581
- * The resource count list.
581
+ * The list of resource quantities.
582
582
  */
583
583
  resourceAmounts?: DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts[];
584
584
  /**
585
585
  * @remarks
586
- * The Network Security Protection Settings of the office network.
586
+ * The security protection configuration of the office network.
587
587
  *
588
588
  * @example
589
589
  * SASE
@@ -591,7 +591,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
591
591
  securityProtection?: string;
592
592
  /**
593
593
  * @remarks
594
- * Indicates whether single sign-on (SSO) is enabled.
594
+ * Indicates whether Single Sign-On (SSO) is enabled.
595
595
  *
596
596
  * @example
597
597
  * false
@@ -607,7 +607,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
607
607
  ssoType?: string;
608
608
  /**
609
609
  * @remarks
610
- * The status of the office network.
610
+ * The office network status.
611
611
  *
612
612
  * @example
613
613
  * REGISTERED
@@ -615,7 +615,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
615
615
  status?: string;
616
616
  /**
617
617
  * @remarks
618
- * The array of DNS addresses of the AD subdomain.
618
+ * The array of DNS addresses for the AD subdomain.
619
619
  */
620
620
  subDnsAddress?: string[];
621
621
  /**
@@ -652,7 +652,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
652
652
  totalEdsCount?: number;
653
653
  /**
654
654
  * @remarks
655
- * The number of cloud computers in shared cloud computer groups.
655
+ * The number of cloud computers in shared cloud computer pools.
656
656
  *
657
657
  * @example
658
658
  * 0
@@ -689,7 +689,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
689
689
  vpcId?: string;
690
690
  /**
691
691
  * @remarks
692
- * The usage mode of the VPC.
692
+ * The usage type of the VPC.
693
693
  *
694
694
  * @example
695
695
  * Basic
@@ -0,0 +1,118 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePeripheralDriversRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The brand identifier. Exact match is used. The value depends on the actual configuration and is not a fixed enumeration. If this parameter is not specified, drivers of all brands are returned. The example value is provided to illustrate the format only.
9
+ *
10
+ * @example
11
+ * hp
12
+ */
13
+ brand?: string;
14
+ /**
15
+ * @remarks
16
+ * The device type identifier. Exact match is used. The value depends on the actual configuration. For example, printer indicates a printer. If this parameter is not specified, drivers of all device types are returned.
17
+ *
18
+ * @example
19
+ * printer
20
+ */
21
+ deviceType?: string;
22
+ /**
23
+ * @remarks
24
+ * The list of driver IDs. If this parameter is not specified or an empty array is passed in, no filtering by driver ID is applied. Only drivers that are visible to the current account and match the specified IDs are returned. IDs that do not match any driver do not produce corresponding records.
25
+ */
26
+ driverIds?: string[];
27
+ /**
28
+ * @remarks
29
+ * The search keyword. The keyword is matched against the driver ID, brand identifier, driver name, description, device type, or brand display name. A hit on any field qualifies the driver. The wildcard % matches any number of characters, and _ matches a single character. If this parameter is not specified, no keyword filtering is applied.
30
+ *
31
+ * @example
32
+ * LaserJet
33
+ */
34
+ filter?: string;
35
+ /**
36
+ * @remarks
37
+ * Reserved parameter. This parameter does not participate in queries or pagination. Do not specify this parameter. Use PageSize to set the number of entries per page. The example value 20 is provided only to illustrate the integer type. It is not the default value of this parameter and does not take effect if specified.
38
+ *
39
+ * @example
40
+ * 20
41
+ */
42
+ maxResults?: number;
43
+ /**
44
+ * @remarks
45
+ * Reserved parameter. Token-based pagination is not supported. Do not specify this parameter. Use PageNumber to specify the page number. The example value token-for-format-only is provided only to illustrate the string type and is not a usable pagination token.
46
+ *
47
+ * @example
48
+ * token-for-format-only
49
+ */
50
+ nextToken?: string;
51
+ /**
52
+ * @remarks
53
+ * The driver ownership. Valid values:
54
+ * - WUYING: Wuying official driver.
55
+ * - CUSTOMER: Custom driver of the current account.
56
+ *
57
+ * If this parameter is not specified, both types of drivers are queried.
58
+ *
59
+ * @example
60
+ * CUSTOMER
61
+ */
62
+ ownerType?: string;
63
+ /**
64
+ * @remarks
65
+ * The page number. Start from 1. Default value: 1.
66
+ *
67
+ * @example
68
+ * 1
69
+ */
70
+ pageNumber?: number;
71
+ /**
72
+ * @remarks
73
+ * The number of entries per page. Valid values: 1 to 500. Default value: 20.
74
+ *
75
+ * @example
76
+ * 20
77
+ */
78
+ pageSize?: number;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ brand: 'Brand',
82
+ deviceType: 'DeviceType',
83
+ driverIds: 'DriverIds',
84
+ filter: 'Filter',
85
+ maxResults: 'MaxResults',
86
+ nextToken: 'NextToken',
87
+ ownerType: 'OwnerType',
88
+ pageNumber: 'PageNumber',
89
+ pageSize: 'PageSize',
90
+ };
91
+ }
92
+
93
+ static types(): { [key: string]: any } {
94
+ return {
95
+ brand: 'string',
96
+ deviceType: 'string',
97
+ driverIds: { 'type': 'array', 'itemType': 'string' },
98
+ filter: 'string',
99
+ maxResults: 'number',
100
+ nextToken: 'string',
101
+ ownerType: 'string',
102
+ pageNumber: 'number',
103
+ pageSize: 'number',
104
+ };
105
+ }
106
+
107
+ validate() {
108
+ if(Array.isArray(this.driverIds)) {
109
+ $dara.Model.validateArray(this.driverIds);
110
+ }
111
+ super.validate();
112
+ }
113
+
114
+ constructor(map?: { [key: string]: any }) {
115
+ super(map);
116
+ }
117
+ }
118
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribePeripheralDriversResponseBody } from "./DescribePeripheralDriversResponseBody";
4
+
5
+
6
+ export class DescribePeripheralDriversResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribePeripheralDriversResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribePeripheralDriversResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,191 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePeripheralDriversResponseBodyDriverInfos extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The brand to which the driver belongs.
9
+ *
10
+ * @example
11
+ * hp
12
+ */
13
+ brand?: string;
14
+ /**
15
+ * @remarks
16
+ * The time when the driver record was created, in ISO 8601 (RFC 3339) format with a time zone offset. The time zone offset is based on the returned value. This field may be empty or not returned if the time information does not exist.
17
+ *
18
+ * @example
19
+ * 2026-09-01T10:30:00+08:00
20
+ */
21
+ createTime?: string;
22
+ /**
23
+ * @remarks
24
+ * The device type to which the driver applies.
25
+ *
26
+ * @example
27
+ * printer
28
+ */
29
+ deviceType?: string;
30
+ /**
31
+ * @remarks
32
+ * The brand icon URL. This field may be empty or not returned if no icon is configured. The example value is for illustration purposes only.
33
+ *
34
+ * @example
35
+ * https://example.com/icons/printer.png
36
+ */
37
+ icon?: string;
38
+ /**
39
+ * @remarks
40
+ * The driver ID, which can be used for subsequent queries.
41
+ *
42
+ * @example
43
+ * 11111111-2222-4333-8444-555555555555
44
+ */
45
+ id?: string;
46
+ /**
47
+ * @remarks
48
+ * The driver name.
49
+ *
50
+ * @example
51
+ * HP Universal Printing PCL 6
52
+ */
53
+ name?: string;
54
+ /**
55
+ * @remarks
56
+ * The operating system to which the driver applies, such as Windows. The actual returned value prevails.
57
+ *
58
+ * @example
59
+ * Windows
60
+ */
61
+ osType?: string;
62
+ /**
63
+ * @remarks
64
+ * The driver ownership. Valid values:
65
+ * - WUYING: Wuying official driver.
66
+ * - CUSTOMER: Custom driver of the current account.
67
+ *
68
+ * @example
69
+ * WUYING
70
+ */
71
+ ownerType?: string;
72
+ /**
73
+ * @remarks
74
+ * The driver source. Valid values:
75
+ * - OpsApp: Uploaded from the management console.
76
+ * - WuyingHelper: Uploaded from Wuying Helper.
77
+ * - Wuying: Wuying source.
78
+ *
79
+ * Unrecognized sources may also be classified as Wuying. To distinguish between official and custom drivers, use OwnerType.
80
+ *
81
+ * @example
82
+ * Wuying
83
+ */
84
+ source?: string;
85
+ static names(): { [key: string]: string } {
86
+ return {
87
+ brand: 'Brand',
88
+ createTime: 'CreateTime',
89
+ deviceType: 'DeviceType',
90
+ icon: 'Icon',
91
+ id: 'Id',
92
+ name: 'Name',
93
+ osType: 'OsType',
94
+ ownerType: 'OwnerType',
95
+ source: 'Source',
96
+ };
97
+ }
98
+
99
+ static types(): { [key: string]: any } {
100
+ return {
101
+ brand: 'string',
102
+ createTime: 'string',
103
+ deviceType: 'string',
104
+ icon: 'string',
105
+ id: 'string',
106
+ name: 'string',
107
+ osType: 'string',
108
+ ownerType: 'string',
109
+ source: 'string',
110
+ };
111
+ }
112
+
113
+ validate() {
114
+ super.validate();
115
+ }
116
+
117
+ constructor(map?: { [key: string]: any }) {
118
+ super(map);
119
+ }
120
+ }
121
+
122
+ export class DescribePeripheralDriversResponseBody extends $dara.Model {
123
+ /**
124
+ * @remarks
125
+ * The total number of matching drivers, not the length of the current page list. This value may be 0 when the current page contains no data.
126
+ *
127
+ * @example
128
+ * 1
129
+ */
130
+ count?: number;
131
+ /**
132
+ * @remarks
133
+ * The list of driver information on the current page. An empty list is returned when no data is available.
134
+ */
135
+ driverInfos?: DescribePeripheralDriversResponseBodyDriverInfos[];
136
+ /**
137
+ * @remarks
138
+ * Reserved field. This field does not provide a valid return value and may not be returned. This operation uses PageSize and PageNumber for pagination. Do not rely on this field. The example value 20 is provided only to illustrate the integer type and does not represent the actual return value, default value, or page size of this operation.
139
+ *
140
+ * @example
141
+ * 20
142
+ */
143
+ maxResults?: number;
144
+ /**
145
+ * @remarks
146
+ * Reserved field. Token-based pagination is not supported and this field may not be returned. Do not rely on this field for continued queries. The example value token-for-format-only is provided only to illustrate the string type and is not an actual return value or a usable pagination token.
147
+ *
148
+ * @example
149
+ * token-for-format-only
150
+ */
151
+ nextToken?: string;
152
+ /**
153
+ * @remarks
154
+ * The request ID. Provide this value when troubleshooting issues.
155
+ *
156
+ * @example
157
+ * 00000000-1111-4222-8333-444444444444
158
+ */
159
+ requestId?: string;
160
+ static names(): { [key: string]: string } {
161
+ return {
162
+ count: 'Count',
163
+ driverInfos: 'DriverInfos',
164
+ maxResults: 'MaxResults',
165
+ nextToken: 'NextToken',
166
+ requestId: 'RequestId',
167
+ };
168
+ }
169
+
170
+ static types(): { [key: string]: any } {
171
+ return {
172
+ count: 'number',
173
+ driverInfos: { 'type': 'array', 'itemType': DescribePeripheralDriversResponseBodyDriverInfos },
174
+ maxResults: 'number',
175
+ nextToken: 'string',
176
+ requestId: 'string',
177
+ };
178
+ }
179
+
180
+ validate() {
181
+ if(Array.isArray(this.driverInfos)) {
182
+ $dara.Model.validateArray(this.driverInfos);
183
+ }
184
+ super.validate();
185
+ }
186
+
187
+ constructor(map?: { [key: string]: any }) {
188
+ super(map);
189
+ }
190
+ }
191
+
@@ -30,7 +30,7 @@ export class DescribeSnapshotsRequest extends $dara.Model {
30
30
  desktopScenario?: string;
31
31
  /**
32
32
  * @remarks
33
- * The end of the time range during which the snapshot was created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
33
+ * The end of the time range during which the snapshots were created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
34
34
  *
35
35
  * @example
36
36
  * 2020-11-31T06:32:31Z
@@ -83,7 +83,7 @@ export class DescribeSnapshotsRequest extends $dara.Model {
83
83
  snapshotId?: string;
84
84
  /**
85
85
  * @remarks
86
- * The display name of the snapshot. The name must be 2 to 127 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter or Chinese character. The name cannot start with `auto` to avoid conflicts with automatic snapshot names.
86
+ * The display name of the snapshot. The name must be 2 to 127 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. The name cannot start with `auto` to avoid conflicts with automatic snapshot names.
87
87
  *
88
88
  * @example
89
89
  * Test data disk
@@ -99,7 +99,7 @@ export class DescribeSnapshotsRequest extends $dara.Model {
99
99
  snapshotType?: string;
100
100
  /**
101
101
  * @remarks
102
- * The type of the cloud disk for which to create the snapshot.
102
+ * The type of the cloud disk from which the snapshot is created.
103
103
  *
104
104
  * > The value is case-insensitive.
105
105
  *
@@ -109,7 +109,7 @@ export class DescribeSnapshotsRequest extends $dara.Model {
109
109
  sourceDiskType?: string;
110
110
  /**
111
111
  * @remarks
112
- * The beginning of the time range during which the snapshot was created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
112
+ * The beginning of the time range during which the snapshots were created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
113
113
  *
114
114
  * @example
115
115
  * 2020-11-30T06:32:31Z
@@ -80,7 +80,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
80
80
  osType?: string;
81
81
  /**
82
82
  * @remarks
83
- * The snapshot creation progress. Unit: percent.
83
+ * The snapshot creation progress, in percentage.
84
84
  *
85
85
  * @example
86
86
  * 100%
@@ -117,7 +117,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
117
117
  * The restore point name.
118
118
  *
119
119
  * @example
120
- * 数据盘备份
120
+ * DataDiskBackup
121
121
  */
122
122
  restorePointName?: string;
123
123
  /**