@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.
- package/dist/client.d.ts +52 -16
- package/dist/client.js +121 -16
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDesktopGroupRequest.d.ts +34 -34
- package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +64 -0
- package/dist/models/DescribeDesktopIdsByVulNamesRequest.js +69 -0
- package/dist/models/DescribeDesktopIdsByVulNamesRequest.js.map +1 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponse.d.ts +19 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponse.js +69 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponse.js.map +1 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +54 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js +84 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js.map +1 -0
- package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +37 -0
- package/dist/models/DescribeResourceStatisticByRegionRequest.js +62 -0
- package/dist/models/DescribeResourceStatisticByRegionRequest.js.map +1 -0
- package/dist/models/DescribeResourceStatisticByRegionResponse.d.ts +19 -0
- package/dist/models/DescribeResourceStatisticByRegionResponse.js +69 -0
- package/dist/models/DescribeResourceStatisticByRegionResponse.js.map +1 -0
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +111 -0
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.js +116 -0
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.js.map +1 -0
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeVulDesktopsRequest.d.ts +21 -22
- package/dist/models/DescribeVulDesktopsRequest.js +2 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +21 -25
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeVulnerabilityRequest.d.ts +5 -5
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +21 -13
- package/dist/models/DescribeVulnerabilityResponseBody.js +2 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -1
- package/dist/models/ModifyDesktopGroupRequest.d.ts +38 -38
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +43 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +134 -16
- package/src/models/CreateDesktopGroupRequest.ts +34 -34
- package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +88 -0
- package/src/models/DescribeDesktopIdsByVulNamesResponse.ts +40 -0
- package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +84 -0
- package/src/models/DescribeResourceStatisticByRegionRequest.ts +54 -0
- package/src/models/DescribeResourceStatisticByRegionResponse.ts +40 -0
- package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +164 -0
- package/src/models/DescribeSnapshotsResponseBody.ts +8 -0
- package/src/models/DescribeVulDesktopsRequest.ts +23 -22
- package/src/models/DescribeVulDesktopsResponseBody.ts +21 -25
- package/src/models/DescribeVulnerabilityRequest.ts +5 -5
- package/src/models/DescribeVulnerabilityResponseBody.ts +23 -13
- package/src/models/ModifyDesktopGroupRequest.ts +38 -38
- package/src/models/model.ts +9 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDesktopGroupRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The tag key.
|
|
8
|
+
* 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://`.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class CreateDesktopGroupRequestTag extends $dara.Model {
|
|
|
15
15
|
key?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The tag value.
|
|
18
|
+
* 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://`.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -59,7 +59,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
59
59
|
allClassifyUsers?: boolean;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* 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
|
|
62
|
+
* 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`.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* 1
|
|
@@ -67,11 +67,11 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
67
67
|
allowAutoSetup?: number;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* 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
|
|
70
|
+
* 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:
|
|
71
71
|
* - 0: No cloud desktops are reserved.
|
|
72
72
|
* - N: N cloud desktops are reserved (1 ≤ N ≤ 100).
|
|
73
73
|
*
|
|
74
|
-
* > 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.
|
|
74
|
+
* > 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.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* 1
|
|
@@ -87,7 +87,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
87
87
|
autoPay?: boolean;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* Specifies whether to enable auto-renewal for
|
|
90
|
+
* Specifies whether to enable auto-renewal for subscription shared cloud desktops.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* false
|
|
@@ -114,7 +114,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
114
114
|
/**
|
|
115
115
|
* @remarks
|
|
116
116
|
* - For subscription shared cloud desktops: the initial number of cloud desktops created. Valid values: 0 to 200.
|
|
117
|
-
* - 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
|
|
117
|
+
* - 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`.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* 3
|
|
@@ -142,7 +142,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
142
142
|
classify?: string;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the
|
|
145
|
+
* 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).
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -187,16 +187,16 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
187
187
|
* <props="china">
|
|
188
188
|
* - A value of 0 indicates that no data cloud disk is mounted.
|
|
189
189
|
*
|
|
190
|
-
* - If the selected plan uses
|
|
190
|
+
* - If the selected plan uses ESSD cloud disks (performance level (PL) PL0), the minimum capacity of the mounted data cloud disk is 40 GB.
|
|
191
191
|
*
|
|
192
|
-
* - If the selected plan uses
|
|
192
|
+
* - If the selected plan uses standard SSDs, the minimum capacity of the mounted data cloud disk is 20 GB.
|
|
193
193
|
*
|
|
194
194
|
*
|
|
195
195
|
*
|
|
196
196
|
* <props="intl">
|
|
197
197
|
* - A value of 0 indicates that no data cloud disk is mounted.
|
|
198
198
|
*
|
|
199
|
-
* - If the selected plan uses
|
|
199
|
+
* - If the selected plan uses standard SSDs, the minimum capacity of the mounted data cloud disk is 20 GB.
|
|
200
200
|
*
|
|
201
201
|
*
|
|
202
202
|
*
|
|
@@ -263,7 +263,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
263
263
|
endUserIds?: string[];
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The
|
|
266
|
+
* 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`.
|
|
267
267
|
*
|
|
268
268
|
* @example
|
|
269
269
|
* Exclusive
|
|
@@ -281,7 +281,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
281
281
|
fileSystemId?: string;
|
|
282
282
|
/**
|
|
283
283
|
* @remarks
|
|
284
|
-
* The number of single-
|
|
284
|
+
* 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.
|
|
285
285
|
*
|
|
286
286
|
* @example
|
|
287
287
|
* 1
|
|
@@ -297,18 +297,18 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
297
297
|
groupVersion?: number;
|
|
298
298
|
/**
|
|
299
299
|
* @remarks
|
|
300
|
-
*
|
|
300
|
+
* 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.
|
|
301
301
|
*
|
|
302
|
-
*
|
|
302
|
+
* The hostname must meet the following naming rules:
|
|
303
303
|
*
|
|
304
304
|
* - The hostname must be 2 to 15 characters in length.
|
|
305
305
|
* - The hostname can contain letters, digits, and hyphens (-). It cannot start or end with a hyphen, contain consecutive hyphens, or contain only digits.
|
|
306
306
|
*
|
|
307
|
-
* When you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to name
|
|
307
|
+
* 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.
|
|
308
308
|
*
|
|
309
|
-
* - `
|
|
310
|
-
* - `
|
|
311
|
-
* -
|
|
309
|
+
* - `name_prefix`: the prefix of the hostname.
|
|
310
|
+
* - `[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.
|
|
311
|
+
* - `name_suffix`: the suffix of the hostname.
|
|
312
312
|
*
|
|
313
313
|
* @example
|
|
314
314
|
* testhost
|
|
@@ -336,9 +336,9 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
336
336
|
imageId?: string;
|
|
337
337
|
/**
|
|
338
338
|
* @remarks
|
|
339
|
-
* The retention period
|
|
339
|
+
* 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.
|
|
340
340
|
*
|
|
341
|
-
* 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.
|
|
341
|
+
* 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.
|
|
342
342
|
*
|
|
343
343
|
* @example
|
|
344
344
|
* 180000
|
|
@@ -364,7 +364,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
364
364
|
maxDesktopsCount?: number;
|
|
365
365
|
/**
|
|
366
366
|
* @remarks
|
|
367
|
-
* The maximum number of cloud desktops for automatic creation in subscription
|
|
367
|
+
* 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`.
|
|
368
368
|
*
|
|
369
369
|
* @example
|
|
370
370
|
* 1
|
|
@@ -372,7 +372,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
372
372
|
minDesktopsCount?: number;
|
|
373
373
|
/**
|
|
374
374
|
* @remarks
|
|
375
|
-
* Specifies whether the cloud desktop is a multi-
|
|
375
|
+
* Specifies whether the cloud desktop is a multi-user shared cloud desktop.
|
|
376
376
|
*
|
|
377
377
|
* @example
|
|
378
378
|
* false
|
|
@@ -400,13 +400,13 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
400
400
|
ownType?: number;
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
* The subscription period of the shared cloud desktop. This parameter takes effect and is required only when the ChargeType parameter is set to PrePaid
|
|
404
|
-
* - If PeriodUnit is set to Month
|
|
403
|
+
* 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.
|
|
404
|
+
* - If `PeriodUnit` is set to `Month`, valid values:
|
|
405
405
|
* - 1
|
|
406
406
|
* - 2
|
|
407
407
|
* - 3
|
|
408
408
|
* - 6
|
|
409
|
-
* - If PeriodUnit is set to Year
|
|
409
|
+
* - If `PeriodUnit` is set to `Year`, valid values:
|
|
410
410
|
* - 1
|
|
411
411
|
* - 2
|
|
412
412
|
* - 3
|
|
@@ -419,7 +419,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
419
419
|
period?: number;
|
|
420
420
|
/**
|
|
421
421
|
* @remarks
|
|
422
|
-
* The
|
|
422
|
+
* The billing time unit for the subscription Billable methods.
|
|
423
423
|
*
|
|
424
424
|
* @example
|
|
425
425
|
* Month
|
|
@@ -455,7 +455,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
455
455
|
promotionId?: string;
|
|
456
456
|
/**
|
|
457
457
|
* @remarks
|
|
458
|
-
* 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:
|
|
458
|
+
* 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:
|
|
459
459
|
*
|
|
460
460
|
* ```Session usage = Number of attached sessions / (Total number of cloud desktop resources × Maximum number of sessions supported per cloud desktop) × 100%```
|
|
461
461
|
*
|
|
@@ -469,7 +469,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
469
469
|
ratioThreshold?: number;
|
|
470
470
|
/**
|
|
471
471
|
* @remarks
|
|
472
|
-
* The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by
|
|
472
|
+
* The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by Wuying Cloud Computer.
|
|
473
473
|
*
|
|
474
474
|
* This parameter is required.
|
|
475
475
|
*
|
|
@@ -479,7 +479,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
479
479
|
regionId?: string;
|
|
480
480
|
/**
|
|
481
481
|
* @remarks
|
|
482
|
-
* The user ID for resource ownership in the reseller pattern.
|
|
482
|
+
* The user ID for resource ownership in the reseller pattern. This parameter is not required in the non-reseller pattern.
|
|
483
483
|
*
|
|
484
484
|
* @example
|
|
485
485
|
* 1422724566551XXX
|
|
@@ -529,7 +529,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
529
529
|
snapshotPolicyId?: string;
|
|
530
530
|
/**
|
|
531
531
|
* @remarks
|
|
532
|
-
* The idle shutdown time. When the idle time of
|
|
532
|
+
* 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.
|
|
533
533
|
*
|
|
534
534
|
* @example
|
|
535
535
|
* 300000
|
|
@@ -555,7 +555,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
555
555
|
* @remarks
|
|
556
556
|
* The size of the system cloud disk. Unit: GiB.
|
|
557
557
|
*
|
|
558
|
-
* > The size of the system cloud disk cannot be smaller than the image file.
|
|
558
|
+
* > The size of the system cloud disk cannot be smaller than the size of the image file.
|
|
559
559
|
*
|
|
560
560
|
* @example
|
|
561
561
|
* 80
|
|
@@ -584,7 +584,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
584
584
|
userGroupName?: string;
|
|
585
585
|
/**
|
|
586
586
|
* @remarks
|
|
587
|
-
* The path of the user organizational unit.
|
|
587
|
+
* The path of the user organizational unit (OU).
|
|
588
588
|
*
|
|
589
589
|
* @example
|
|
590
590
|
* example.com
|
|
@@ -600,7 +600,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
600
600
|
volumeEncryptionEnabled?: boolean;
|
|
601
601
|
/**
|
|
602
602
|
* @remarks
|
|
603
|
-
* The ID of the KMS key used when disk encryption is enabled. You can obtain
|
|
603
|
+
* 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.
|
|
604
604
|
*
|
|
605
605
|
* @example
|
|
606
606
|
* 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDesktopIdsByVulNamesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The necessity level for vulnerability fixing, which indicates the urgency of the vulnerability. Valid values:
|
|
9
|
+
* - asap: high
|
|
10
|
+
* - later: medium
|
|
11
|
+
* - nntf: low
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* asap
|
|
15
|
+
*/
|
|
16
|
+
necessity?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* The workspace ID.
|
|
20
|
+
*
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cn-hangzhou+dir-363353****
|
|
25
|
+
*/
|
|
26
|
+
officeSiteId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The region ID.
|
|
30
|
+
*
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* cn-hangzhou
|
|
35
|
+
*/
|
|
36
|
+
regionId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The vulnerability type. Valid values:
|
|
40
|
+
*
|
|
41
|
+
* - cve: Linux software vulnerability
|
|
42
|
+
* - sys: Windows system vulnerability
|
|
43
|
+
*
|
|
44
|
+
* This parameter is required.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* cve
|
|
48
|
+
*/
|
|
49
|
+
type?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The array of vulnerability names.
|
|
53
|
+
*
|
|
54
|
+
* This parameter is required.
|
|
55
|
+
*/
|
|
56
|
+
vulName?: string[];
|
|
57
|
+
static names(): { [key: string]: string } {
|
|
58
|
+
return {
|
|
59
|
+
necessity: 'Necessity',
|
|
60
|
+
officeSiteId: 'OfficeSiteId',
|
|
61
|
+
regionId: 'RegionId',
|
|
62
|
+
type: 'Type',
|
|
63
|
+
vulName: 'VulName',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
necessity: 'string',
|
|
70
|
+
officeSiteId: 'string',
|
|
71
|
+
regionId: 'string',
|
|
72
|
+
type: 'string',
|
|
73
|
+
vulName: { 'type': 'array', 'itemType': 'string' },
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
validate() {
|
|
78
|
+
if(Array.isArray(this.vulName)) {
|
|
79
|
+
$dara.Model.validateArray(this.vulName);
|
|
80
|
+
}
|
|
81
|
+
super.validate();
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
constructor(map?: { [key: string]: any }) {
|
|
85
|
+
super(map);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDesktopIdsByVulNamesResponseBody } from "./DescribeDesktopIdsByVulNamesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDesktopIdsByVulNamesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDesktopIdsByVulNamesResponseBody;
|
|
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: DescribeDesktopIdsByVulNamesResponseBody,
|
|
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,84 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDesktopIdsByVulNamesResponseBodyDesktopItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The cloud desktop ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ecd-138dsptkrt00u****
|
|
12
|
+
*/
|
|
13
|
+
desktopId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The cloud desktop name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* Graphics-21
|
|
20
|
+
*/
|
|
21
|
+
desktopName?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
desktopId: 'DesktopId',
|
|
25
|
+
desktopName: 'DesktopName',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
desktopId: 'string',
|
|
32
|
+
desktopName: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class DescribeDesktopIdsByVulNamesResponseBody extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The array of cloud desktop information.
|
|
49
|
+
*/
|
|
50
|
+
desktopItems?: DescribeDesktopIdsByVulNamesResponseBodyDesktopItems[];
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The request ID.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
57
|
+
*/
|
|
58
|
+
requestId?: string;
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
desktopItems: 'DesktopItems',
|
|
62
|
+
requestId: 'RequestId',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
static types(): { [key: string]: any } {
|
|
67
|
+
return {
|
|
68
|
+
desktopItems: { 'type': 'array', 'itemType': DescribeDesktopIdsByVulNamesResponseBodyDesktopItems },
|
|
69
|
+
requestId: 'string',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
validate() {
|
|
74
|
+
if(Array.isArray(this.desktopItems)) {
|
|
75
|
+
$dara.Model.validateArray(this.desktopItems);
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeResourceStatisticByRegionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether the statistics include the number of shared cloud desktops.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* true
|
|
12
|
+
*/
|
|
13
|
+
includeGroupDesktops?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the service region. Valid values: China (Shanghai) and Singapore.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-shanghai
|
|
20
|
+
*/
|
|
21
|
+
regionId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the region to search. This parameter is used to filter cloud desktops in the specified region.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* cn-shanghai
|
|
28
|
+
*/
|
|
29
|
+
searchRegionId?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
includeGroupDesktops: 'IncludeGroupDesktops',
|
|
33
|
+
regionId: 'RegionId',
|
|
34
|
+
searchRegionId: 'SearchRegionId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
includeGroupDesktops: 'boolean',
|
|
41
|
+
regionId: 'string',
|
|
42
|
+
searchRegionId: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeResourceStatisticByRegionResponseBody } from "./DescribeResourceStatisticByRegionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeResourceStatisticByRegionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeResourceStatisticByRegionResponseBody;
|
|
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: DescribeResourceStatisticByRegionResponseBody,
|
|
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
|
+
|