@alicloud/ecd20200930 5.7.1 → 5.8.1

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 (53) hide show
  1. package/dist/client.d.ts +52 -16
  2. package/dist/client.js +121 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDesktopGroupRequest.d.ts +34 -34
  5. package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +64 -0
  6. package/dist/models/DescribeDesktopIdsByVulNamesRequest.js +69 -0
  7. package/dist/models/DescribeDesktopIdsByVulNamesRequest.js.map +1 -0
  8. package/dist/models/DescribeDesktopIdsByVulNamesResponse.d.ts +19 -0
  9. package/dist/models/DescribeDesktopIdsByVulNamesResponse.js +69 -0
  10. package/dist/models/DescribeDesktopIdsByVulNamesResponse.js.map +1 -0
  11. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +54 -0
  12. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js +84 -0
  13. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js.map +1 -0
  14. package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +37 -0
  15. package/dist/models/DescribeResourceStatisticByRegionRequest.js +62 -0
  16. package/dist/models/DescribeResourceStatisticByRegionRequest.js.map +1 -0
  17. package/dist/models/DescribeResourceStatisticByRegionResponse.d.ts +19 -0
  18. package/dist/models/DescribeResourceStatisticByRegionResponse.js +69 -0
  19. package/dist/models/DescribeResourceStatisticByRegionResponse.js.map +1 -0
  20. package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +111 -0
  21. package/dist/models/DescribeResourceStatisticByRegionResponseBody.js +116 -0
  22. package/dist/models/DescribeResourceStatisticByRegionResponseBody.js.map +1 -0
  23. package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
  24. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  25. package/dist/models/DescribeVulDesktopsRequest.d.ts +21 -22
  26. package/dist/models/DescribeVulDesktopsRequest.js +2 -0
  27. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -1
  28. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +21 -25
  29. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -1
  30. package/dist/models/DescribeVulnerabilityRequest.d.ts +5 -5
  31. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +21 -13
  32. package/dist/models/DescribeVulnerabilityResponseBody.js +2 -0
  33. package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -1
  34. package/dist/models/ModifyDesktopGroupRequest.d.ts +38 -38
  35. package/dist/models/model.d.ts +9 -0
  36. package/dist/models/model.js +43 -25
  37. package/dist/models/model.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/client.ts +134 -16
  40. package/src/models/CreateDesktopGroupRequest.ts +34 -34
  41. package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +88 -0
  42. package/src/models/DescribeDesktopIdsByVulNamesResponse.ts +40 -0
  43. package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +84 -0
  44. package/src/models/DescribeResourceStatisticByRegionRequest.ts +54 -0
  45. package/src/models/DescribeResourceStatisticByRegionResponse.ts +40 -0
  46. package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +164 -0
  47. package/src/models/DescribeSnapshotsResponseBody.ts +8 -0
  48. package/src/models/DescribeVulDesktopsRequest.ts +23 -22
  49. package/src/models/DescribeVulDesktopsResponseBody.ts +21 -25
  50. package/src/models/DescribeVulnerabilityRequest.ts +5 -5
  51. package/src/models/DescribeVulnerabilityResponseBody.ts +23 -13
  52. package/src/models/ModifyDesktopGroupRequest.ts +38 -38
  53. package/src/models/model.ts +9 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateDesktopGroupRequestTag extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The tag key. It cannot be an empty string. It can be up to 128 characters in length, and cannot start with aliyun or acs:, or contain http:// or https://.
5
+ * The tag key. The tag key cannot be an empty string. It can be up to 128 characters in length, and cannot start with `aliyun` or `acs:`, or contain `http://` or `https://`.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
@@ -12,7 +12,7 @@ export declare class CreateDesktopGroupRequestTag extends $dara.Model {
12
12
  key?: string;
13
13
  /**
14
14
  * @remarks
15
- * The tag value. It can be an empty string. It can be up to 128 characters in length, and cannot start with acs:, or contain http:// or https://.
15
+ * The tag value. The tag value can be an empty string. It can be up to 128 characters in length, and cannot start with `acs:`, or contain `http://` or `https://`.
16
16
  *
17
17
  * This parameter is required.
18
18
  *
@@ -44,7 +44,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
44
44
  allClassifyUsers?: boolean;
45
45
  /**
46
46
  * @remarks
47
- * Specifies whether to allow automatic creation of cloud desktops in subscription shared cloud desktops. This parameter takes effect and is required only when the ChargeType parameter is set to PrePaid.
47
+ * Specifies whether to allow automatic creation of cloud desktops in subscription shared cloud desktops. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`.
48
48
  *
49
49
  * @example
50
50
  * 1
@@ -52,11 +52,11 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
52
52
  allowAutoSetup?: number;
53
53
  /**
54
54
  * @remarks
55
- * The number of reserved cloud desktops allowed in pay-as-you-go shared cloud desktops. This parameter takes effect and is required only when the ChargeType parameter is set to PostPaid. Valid values:
55
+ * The number of reserved cloud desktops allowed in pay-as-you-go shared cloud desktops. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PostPaid`. Valid values:
56
56
  * - 0: No cloud desktops are reserved.
57
57
  * - N: N cloud desktops are reserved (1 ≤ N ≤ 100).
58
58
  *
59
- * > If no available cloud desktops are reserved, when an end user initiates a connection request, the system must create and start a cloud desktop before assigning it to the user, which takes a relatively long time. Reserve a certain number of cloud desktops as needed to ensure the user experience of end users.
59
+ * > If no available cloud desktops are reserved, when an end user initiates a connection request, the system must create and start a cloud desktop before assigning it to the user, which takes a relatively long time. We recommend that you reserve a certain number of cloud desktops as needed to ensure the user experience.
60
60
  *
61
61
  * @example
62
62
  * 1
@@ -72,7 +72,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
72
72
  autoPay?: boolean;
73
73
  /**
74
74
  * @remarks
75
- * Specifies whether to enable auto-renewal for the subscription shared cloud desktop.
75
+ * Specifies whether to enable auto-renewal for subscription shared cloud desktops.
76
76
  *
77
77
  * @example
78
78
  * false
@@ -99,7 +99,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
99
99
  /**
100
100
  * @remarks
101
101
  * - For subscription shared cloud desktops: the initial number of cloud desktops created. Valid values: 0 to 200.
102
- * - For pay-as-you-go shared cloud desktops: the minimum initial number of cloud desktops created. Default value: 1. Valid values: 0 to the value of MaxDesktopsCount.
102
+ * - For pay-as-you-go shared cloud desktops: the minimum initial number of cloud desktops created. Default value: 1. Valid values: 0 to the value of `MaxDesktopsCount`.
103
103
  *
104
104
  * @example
105
105
  * 3
@@ -127,7 +127,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
127
127
  classify?: string;
128
128
  /**
129
129
  * @remarks
130
- * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
130
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
131
131
  *
132
132
  * @example
133
133
  * 123e4567-e89b-12d3-a456-426655440000
@@ -172,16 +172,16 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
172
172
  * <props="china">
173
173
  * - A value of 0 indicates that no data cloud disk is mounted.
174
174
  *
175
- * - If the selected plan uses an ESSD cloud disk (performance level (PL) PL0), the minimum capacity of the mounted data cloud disk is 40 GB.
175
+ * - If the selected plan uses ESSD cloud disks (performance level (PL) PL0), the minimum capacity of the mounted data cloud disk is 40 GB.
176
176
  *
177
- * - If the selected plan uses a standard SSD, the minimum capacity of the mounted data cloud disk is 20 GB.
177
+ * - If the selected plan uses standard SSDs, the minimum capacity of the mounted data cloud disk is 20 GB.
178
178
  *
179
179
  *
180
180
  *
181
181
  * <props="intl">
182
182
  * - A value of 0 indicates that no data cloud disk is mounted.
183
183
  *
184
- * - If the selected plan uses a standard SSD, the minimum capacity of the mounted data cloud disk is 20 GB.
184
+ * - If the selected plan uses standard SSDs, the minimum capacity of the mounted data cloud disk is 20 GB.
185
185
  *
186
186
  *
187
187
  *
@@ -248,7 +248,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
248
248
  endUserIds?: string[];
249
249
  /**
250
250
  * @remarks
251
- * The static pool type. If you set the `SessionType` parameter to `MultipleSession`, you must specify this parameter and set the value to `Exclusive`.
251
+ * The pool type. To create a static pool, set this parameter to `Exclusive`. If the `SessionType` parameter is set to `MultipleSession`, you must specify this parameter and set the value to `Exclusive`.
252
252
  *
253
253
  * @example
254
254
  * Exclusive
@@ -266,7 +266,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
266
266
  fileSystemId?: string;
267
267
  /**
268
268
  * @remarks
269
- * The number of single-instance shared cloud desktops to create. You need to specify this parameter only when the `MultiResource` parameter is set to `false`. Valid values: 1 to 5. Default value: 1.
269
+ * The number of single-user shared cloud desktops to create. This parameter is required only when the `MultiResource` parameter is set to `false`. Valid values: 1 to 5. Default value: 1.
270
270
  *
271
271
  * @example
272
272
  * 1
@@ -282,18 +282,18 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
282
282
  groupVersion?: number;
283
283
  /**
284
284
  * @remarks
285
- * Custom Settings for the hostname of the cloud desktop. This is supported only for cloud desktops that run the Windows operating system and reside in an Active Directory (AD) office network.
285
+ * The custom hostname settings of the cloud desktop. This parameter is supported only for the settings of cloud desktops that run the Windows operating system and are connected to an AD workspace.
286
286
  *
287
- * Naming rules for hostnames:
287
+ * The hostname must meet the following naming rules:
288
288
  *
289
289
  * - The hostname must be 2 to 15 characters in length.
290
290
  * - The hostname can contain letters, digits, and hyphens (-). It cannot start or end with a hyphen, contain consecutive hyphens, or contain only digits.
291
291
  *
292
- * When you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to name them in a unified manner. For example, if you set Hostname to ecd-[1,4]-test, the hostname of the first cloud desktop is ecd-0001-test, the hostname of the second cloud desktop is ecd-0002-test, and so on.
292
+ * When you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to name the cloud desktops in a unified manner. For example, if you set Hostname to ecd-[1,4]-test, the hostname of the first cloud desktop is ecd-0001-test, the hostname of the second cloud desktop is ecd-0002-test, and so on.
293
293
  *
294
- * - ` name_prefix`: the prefix of the hostname.
295
- * - ` [begin_number,bits]`: the sequential number in the hostname. `begin_number` is the starting number. Valid values: 0 to 999999. Default value: 0. `bits` is the number of digits. Valid values: 1 to 6. Default value: 6.
296
- * - `name_suffix`: the suffix of the hostname.
294
+ * - `name_prefix`: the prefix of the hostname.
295
+ * - `[begin_number,bits]`: the sequential number in the hostname. `begin_number` specifies the starting number. Valid values: 0 to 999999. Default value: 0. `bits` specifies the number of digits. Valid values: 1 to 6. Default value: 6.
296
+ * - `name_suffix`: the suffix of the hostname.
297
297
  *
298
298
  * @example
299
299
  * testhost
@@ -321,9 +321,9 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
321
321
  imageId?: string;
322
322
  /**
323
323
  * @remarks
324
- * The retention period after a session is disconnected. Unit: milliseconds. Valid values: 180000 (3 minutes) to 345600000 (4 days). A value of 0 indicates that the session is always retained.
324
+ * The retention period of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 (3 minutes) to 345600000 (4 days). A value of 0 indicates that the session is always retained.
325
325
  *
326
- * If a session is actively disconnected by the user or unexpectedly disconnected due to other factors, the retention period starts from the time of disconnection. If the user does not reconnect to the session within the retention period, the session is logged off and unsaved data is destroyed. If the user successfully reconnects within the retention period, the user can enter the original session and access the data before the disconnection.
326
+ * If a session is actively disconnected by the user or unexpectedly disconnected due to other factors, the retention period starts from the time of disconnection. If the user does not reconnect to the session within the retention period, the session is logged off and unsaved data is destroyed. If the user successfully reconnects to the session within the retention period, the user can enter the original session and access the data before the disconnection.
327
327
  *
328
328
  * @example
329
329
  * 180000
@@ -349,7 +349,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
349
349
  maxDesktopsCount?: number;
350
350
  /**
351
351
  * @remarks
352
- * The maximum number of cloud desktops for automatic creation in subscription shared cloud desktops. This parameter takes effect and is required only when the ChargeType parameter is set to PrePaid. Default value: 1. Valid values: 0 to the value of MaxDesktopsCount.
352
+ * The maximum number of shared cloud desktops for automatic creation in a subscription plan. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`. Default value: 1. Valid values: 0 to the value of `MaxDesktopsCount`.
353
353
  *
354
354
  * @example
355
355
  * 1
@@ -357,7 +357,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
357
357
  minDesktopsCount?: number;
358
358
  /**
359
359
  * @remarks
360
- * Specifies whether the cloud desktop is a multi-instance shared cloud desktop.
360
+ * Specifies whether the cloud desktop is a multi-user shared cloud desktop.
361
361
  *
362
362
  * @example
363
363
  * false
@@ -385,13 +385,13 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
385
385
  ownType?: number;
386
386
  /**
387
387
  * @remarks
388
- * The subscription period of the shared cloud desktop. This parameter takes effect and is required only when the ChargeType parameter is set to PrePaid. The unit is specified by the PeriodUnit parameter.
389
- * - If PeriodUnit is set to Month, valid values:
388
+ * The subscription period of the shared cloud desktop. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`. The unit is specified by the `PeriodUnit` parameter.
389
+ * - If `PeriodUnit` is set to `Month`, valid values:
390
390
  * - 1
391
391
  * - 2
392
392
  * - 3
393
393
  * - 6
394
- * - If PeriodUnit is set to Year, valid values:
394
+ * - If `PeriodUnit` is set to `Year`, valid values:
395
395
  * - 1
396
396
  * - 2
397
397
  * - 3
@@ -404,7 +404,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
404
404
  period?: number;
405
405
  /**
406
406
  * @remarks
407
- * The duration unit of the subscription billing method.
407
+ * The billing time unit for the subscription Billable methods.
408
408
  *
409
409
  * @example
410
410
  * Month
@@ -440,7 +440,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
440
440
  promotionId?: string;
441
441
  /**
442
442
  * @remarks
443
- * The session usage threshold, which is used as the trigger for automatic scaling of multi-session shared cloud desktops. The formula for session usage is:
443
+ * The session usage threshold, which is used as the trigger for automatic scaling of multi-session shared cloud desktops. The formula for calculating the session usage is:
444
444
  *
445
445
  * ```Session usage = Number of attached sessions / (Total number of cloud desktop resources × Maximum number of sessions supported per cloud desktop) × 100%```
446
446
  *
@@ -454,7 +454,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
454
454
  ratioThreshold?: number;
455
455
  /**
456
456
  * @remarks
457
- * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by Elastic Desktop Service.
457
+ * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by Wuying Cloud Computer.
458
458
  *
459
459
  * This parameter is required.
460
460
  *
@@ -464,7 +464,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
464
464
  regionId?: string;
465
465
  /**
466
466
  * @remarks
467
- * The user ID for resource ownership in the reseller pattern. You do not need to specify this parameter for the non-reseller pattern.
467
+ * The user ID for resource ownership in the reseller pattern. This parameter is not required in the non-reseller pattern.
468
468
  *
469
469
  * @example
470
470
  * 1422724566551XXX
@@ -514,7 +514,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
514
514
  snapshotPolicyId?: string;
515
515
  /**
516
516
  * @remarks
517
- * The idle shutdown time. When the idle time of the cloud desktop reaches this value, the cloud desktop is automatically shut down. If a user connects to the cloud desktop after it is shut down, the cloud desktop is automatically started. Unit: milliseconds.
517
+ * The idle shutdown time. When the idle time of a cloud desktop reaches this value, the cloud desktop is automatically shut down. If a user connects to the cloud desktop after it is shut down, the cloud desktop is automatically started. Unit: milliseconds.
518
518
  *
519
519
  * @example
520
520
  * 300000
@@ -540,7 +540,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
540
540
  * @remarks
541
541
  * The size of the system cloud disk. Unit: GiB.
542
542
  *
543
- * > The size of the system cloud disk cannot be smaller than the image file.
543
+ * > The size of the system cloud disk cannot be smaller than the size of the image file.
544
544
  *
545
545
  * @example
546
546
  * 80
@@ -569,7 +569,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
569
569
  userGroupName?: string;
570
570
  /**
571
571
  * @remarks
572
- * The path of the user organizational unit.
572
+ * The path of the user organizational unit (OU).
573
573
  *
574
574
  * @example
575
575
  * example.com
@@ -585,7 +585,7 @@ export declare class CreateDesktopGroupRequest extends $dara.Model {
585
585
  volumeEncryptionEnabled?: boolean;
586
586
  /**
587
587
  * @remarks
588
- * The ID of the KMS key used when disk encryption is enabled. You can obtain it by calling the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation.
588
+ * The ID of the KMS key used when disk encryption is enabled. You can obtain the key ID by calling the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation.
589
589
  *
590
590
  * @example
591
591
  * 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
@@ -0,0 +1,64 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeDesktopIdsByVulNamesRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The necessity level for vulnerability fixing, which indicates the urgency of the vulnerability. Valid values:
6
+ * - asap: high
7
+ * - later: medium
8
+ * - nntf: low
9
+ *
10
+ * @example
11
+ * asap
12
+ */
13
+ necessity?: string;
14
+ /**
15
+ * @remarks
16
+ * The workspace ID.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * cn-hangzhou+dir-363353****
22
+ */
23
+ officeSiteId?: string;
24
+ /**
25
+ * @remarks
26
+ * The region ID.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * cn-hangzhou
32
+ */
33
+ regionId?: string;
34
+ /**
35
+ * @remarks
36
+ * The vulnerability type. Valid values:
37
+ *
38
+ * - cve: Linux software vulnerability
39
+ * - sys: Windows system vulnerability
40
+ *
41
+ * This parameter is required.
42
+ *
43
+ * @example
44
+ * cve
45
+ */
46
+ type?: string;
47
+ /**
48
+ * @remarks
49
+ * The array of vulnerability names.
50
+ *
51
+ * This parameter is required.
52
+ */
53
+ vulName?: string[];
54
+ static names(): {
55
+ [key: string]: string;
56
+ };
57
+ static types(): {
58
+ [key: string]: any;
59
+ };
60
+ validate(): void;
61
+ constructor(map?: {
62
+ [key: string]: any;
63
+ });
64
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeDesktopIdsByVulNamesRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeDesktopIdsByVulNamesRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ necessity: 'Necessity',
43
+ officeSiteId: 'OfficeSiteId',
44
+ regionId: 'RegionId',
45
+ type: 'Type',
46
+ vulName: 'VulName',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ necessity: 'string',
52
+ officeSiteId: 'string',
53
+ regionId: 'string',
54
+ type: 'string',
55
+ vulName: { 'type': 'array', 'itemType': 'string' },
56
+ };
57
+ }
58
+ validate() {
59
+ if (Array.isArray(this.vulName)) {
60
+ $dara.Model.validateArray(this.vulName);
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeDesktopIdsByVulNamesRequest = DescribeDesktopIdsByVulNamesRequest;
69
+ //# sourceMappingURL=DescribeDesktopIdsByVulNamesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDesktopIdsByVulNamesRequest.js","sourceRoot":"","sources":["../../src/models/DescribeDesktopIdsByVulNamesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAoDlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACnD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlFD,kFAkFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeDesktopIdsByVulNamesResponseBody } from "./DescribeDesktopIdsByVulNamesResponseBody";
3
+ export declare class DescribeDesktopIdsByVulNamesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeDesktopIdsByVulNamesResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeDesktopIdsByVulNamesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeDesktopIdsByVulNamesResponseBody_1 = require("./DescribeDesktopIdsByVulNamesResponseBody");
40
+ class DescribeDesktopIdsByVulNamesResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeDesktopIdsByVulNamesResponseBody_1.DescribeDesktopIdsByVulNamesResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeDesktopIdsByVulNamesResponse = DescribeDesktopIdsByVulNamesResponse;
69
+ //# sourceMappingURL=DescribeDesktopIdsByVulNamesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDesktopIdsByVulNamesResponse.js","sourceRoot":"","sources":["../../src/models/DescribeDesktopIdsByVulNamesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yGAAsG;AAGtG,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAInE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,mFAAwC;SAC/C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oFAiCC"}
@@ -0,0 +1,54 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeDesktopIdsByVulNamesResponseBodyDesktopItems extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The cloud desktop ID.
6
+ *
7
+ * @example
8
+ * ecd-138dsptkrt00u****
9
+ */
10
+ desktopId?: string;
11
+ /**
12
+ * @remarks
13
+ * The cloud desktop name.
14
+ *
15
+ * @example
16
+ * Graphics-21
17
+ */
18
+ desktopName?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
30
+ export declare class DescribeDesktopIdsByVulNamesResponseBody extends $dara.Model {
31
+ /**
32
+ * @remarks
33
+ * The array of cloud desktop information.
34
+ */
35
+ desktopItems?: DescribeDesktopIdsByVulNamesResponseBodyDesktopItems[];
36
+ /**
37
+ * @remarks
38
+ * The request ID.
39
+ *
40
+ * @example
41
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
42
+ */
43
+ requestId?: string;
44
+ static names(): {
45
+ [key: string]: string;
46
+ };
47
+ static types(): {
48
+ [key: string]: any;
49
+ };
50
+ validate(): void;
51
+ constructor(map?: {
52
+ [key: string]: any;
53
+ });
54
+ }
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeDesktopIdsByVulNamesResponseBody = exports.DescribeDesktopIdsByVulNamesResponseBodyDesktopItems = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeDesktopIdsByVulNamesResponseBodyDesktopItems extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ desktopId: 'DesktopId',
43
+ desktopName: 'DesktopName',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ desktopId: 'string',
49
+ desktopName: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribeDesktopIdsByVulNamesResponseBodyDesktopItems = DescribeDesktopIdsByVulNamesResponseBodyDesktopItems;
60
+ class DescribeDesktopIdsByVulNamesResponseBody extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ desktopItems: 'DesktopItems',
64
+ requestId: 'RequestId',
65
+ };
66
+ }
67
+ static types() {
68
+ return {
69
+ desktopItems: { 'type': 'array', 'itemType': DescribeDesktopIdsByVulNamesResponseBodyDesktopItems },
70
+ requestId: 'string',
71
+ };
72
+ }
73
+ validate() {
74
+ if (Array.isArray(this.desktopItems)) {
75
+ $dara.Model.validateArray(this.desktopItems);
76
+ }
77
+ super.validate();
78
+ }
79
+ constructor(map) {
80
+ super(map);
81
+ }
82
+ }
83
+ exports.DescribeDesktopIdsByVulNamesResponseBody = DescribeDesktopIdsByVulNamesResponseBody;
84
+ //# sourceMappingURL=DescribeDesktopIdsByVulNamesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDesktopIdsByVulNamesResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeDesktopIdsByVulNamesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;IAiBnF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oHAsCC;AAED,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAcvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,oDAAoD,EAAE;YACnG,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,4FAsCC"}
@@ -0,0 +1,37 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeResourceStatisticByRegionRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Specifies whether the statistics include the number of shared cloud desktops.
6
+ *
7
+ * @example
8
+ * true
9
+ */
10
+ includeGroupDesktops?: boolean;
11
+ /**
12
+ * @remarks
13
+ * The ID of the service region. Valid values: China (Shanghai) and Singapore.
14
+ *
15
+ * @example
16
+ * cn-shanghai
17
+ */
18
+ regionId?: string;
19
+ /**
20
+ * @remarks
21
+ * The ID of the region to search. This parameter is used to filter cloud desktops in the specified region.
22
+ *
23
+ * @example
24
+ * cn-shanghai
25
+ */
26
+ searchRegionId?: string;
27
+ static names(): {
28
+ [key: string]: string;
29
+ };
30
+ static types(): {
31
+ [key: string]: any;
32
+ };
33
+ validate(): void;
34
+ constructor(map?: {
35
+ [key: string]: any;
36
+ });
37
+ }