@alicloud/ecd20200930 5.3.0 → 5.5.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.
- package/dist/client.d.ts +158 -68
- package/dist/client.js +347 -68
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +68 -57
- package/dist/models/CreateDesktopsRequest.js +2 -0
- package/dist/models/CreateDesktopsRequest.js.map +1 -1
- package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +56 -48
- package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
- package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
- package/dist/models/CreateDriveResponseBody.d.ts +1 -1
- package/dist/models/CreateNasfileSystemRequest.d.ts +18 -2
- package/dist/models/CreateNasfileSystemRequest.js +4 -0
- package/dist/models/CreateNasfileSystemRequest.js.map +1 -1
- package/dist/models/CreateNasfileSystemResponseBody.d.ts +8 -0
- package/dist/models/CreateNasfileSystemResponseBody.js +2 -0
- package/dist/models/CreateNasfileSystemResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +34 -18
- package/dist/models/CreateTemplateRequest.js +4 -0
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/CreateVirtualBridgeRequest.d.ts +10 -10
- package/dist/models/DeleteTemplatesResponseBody.d.ts +3 -6
- package/dist/models/DeleteTemplatesResponseBody.js.map +1 -1
- package/dist/models/DeleteVirtualBridgeRequest.d.ts +2 -2
- package/dist/models/DescribeCloudDiskGroupDrivesRequest.d.ts +3 -3
- package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.d.ts +11 -3
- package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js +2 -0
- package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsoleMessagesRequest.d.ts +84 -0
- package/dist/models/DescribeConsoleMessagesRequest.js +85 -0
- package/dist/models/DescribeConsoleMessagesRequest.js.map +1 -0
- package/dist/models/DescribeConsoleMessagesResponse.d.ts +19 -0
- package/dist/models/DescribeConsoleMessagesResponse.js +69 -0
- package/dist/models/DescribeConsoleMessagesResponse.js.map +1 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.d.ts +365 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.js +258 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.js.map +1 -0
- package/dist/models/DescribeDesktopsRequest.d.ts +50 -25
- package/dist/models/DescribeDesktopsRequest.js +2 -0
- package/dist/models/DescribeDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +89 -60
- package/dist/models/DescribeDesktopsResponseBody.js +6 -0
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +7 -7
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +12 -5
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +6 -6
- package/dist/models/DescribeInvocationsResponseBody.d.ts +26 -26
- package/dist/models/DescribeNasfileSystemsRequest.d.ts +2 -2
- package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +23 -4
- package/dist/models/DescribeNasfileSystemsResponseBody.js +2 -0
- package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
- package/dist/models/DescribeRecordFileRequest.d.ts +18 -5
- package/dist/models/DescribeRecordFileRequest.js +2 -0
- package/dist/models/DescribeRecordFileRequest.js.map +1 -1
- package/dist/models/DescribeRecordFileResponseBody.d.ts +14 -9
- package/dist/models/DescribeRecordFileResponseBody.js +5 -0
- package/dist/models/DescribeRecordFileResponseBody.js.map +1 -1
- package/dist/models/DescribeRenewalPriceRequest.d.ts +4 -4
- package/dist/models/DescribeRenewalPriceResponseBody.d.ts +3 -3
- package/dist/models/DescribeTemplatesRequest.d.ts +5 -8
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +39 -12
- package/dist/models/DescribeTemplatesResponseBody.js +4 -0
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeVulDesktopsRequest.d.ts +29 -10
- package/dist/models/DescribeVulDesktopsRequest.js +4 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +26 -10
- package/dist/models/DescribeVulDesktopsResponseBody.js +4 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeVulnerabilityRequest.d.ts +1 -1
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +5 -5
- package/dist/models/DownloadCdsFileResponseBody.d.ts +1 -1
- package/dist/models/GetAggregatedDesktopsRequest.d.ts +41 -0
- package/dist/models/GetAggregatedDesktopsRequest.js +62 -0
- package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -0
- package/dist/models/GetAggregatedDesktopsResponse.d.ts +19 -0
- package/dist/models/GetAggregatedDesktopsResponse.js +69 -0
- package/dist/models/GetAggregatedDesktopsResponse.js.map +1 -0
- package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +46 -0
- package/dist/models/GetAggregatedDesktopsResponseBody.js +85 -0
- package/dist/models/GetAggregatedDesktopsResponseBody.js.map +1 -0
- package/dist/models/GetConnectionTicketRequest.d.ts +12 -4
- package/dist/models/GetConnectionTicketRequest.js +2 -0
- package/dist/models/GetConnectionTicketRequest.js.map +1 -1
- package/dist/models/GetConnectionTicketResponseBody.d.ts +3 -3
- package/dist/models/ListVirtualBridgesRequest.d.ts +3 -3
- package/dist/models/ListVirtualBridgesResponseBody.d.ts +5 -3
- package/dist/models/ListVirtualBridgesResponseBody.js.map +1 -1
- package/dist/models/ModifyTemplateBaseInfoRequest.d.ts +9 -1
- package/dist/models/ModifyTemplateBaseInfoRequest.js +2 -0
- package/dist/models/ModifyTemplateBaseInfoRequest.js.map +1 -1
- package/dist/models/ModifyTemplateRequest.d.ts +26 -10
- package/dist/models/ModifyTemplateRequest.js +4 -0
- package/dist/models/ModifyTemplateRequest.js.map +1 -1
- package/dist/models/ModifyVirtualBridgeLevelRequest.d.ts +5 -5
- package/dist/models/ModifyVirtualBridgeStatusRequest.d.ts +3 -3
- package/dist/models/QueryAuthUserConnectDurationListRequest.d.ts +93 -0
- package/dist/models/QueryAuthUserConnectDurationListRequest.js +76 -0
- package/dist/models/QueryAuthUserConnectDurationListRequest.js.map +1 -0
- package/dist/models/QueryAuthUserConnectDurationListResponse.d.ts +19 -0
- package/dist/models/QueryAuthUserConnectDurationListResponse.js +69 -0
- package/dist/models/QueryAuthUserConnectDurationListResponse.js.map +1 -0
- package/dist/models/QueryAuthUserConnectDurationListResponseBody.d.ts +171 -0
- package/dist/models/QueryAuthUserConnectDurationListResponseBody.js +112 -0
- package/dist/models/QueryAuthUserConnectDurationListResponseBody.js.map +1 -0
- package/dist/models/RenewVirtualBridgeRequest.d.ts +3 -3
- package/dist/models/SendConsoleMessageRequest.d.ts +23 -0
- package/dist/models/SendConsoleMessageRequest.js +58 -0
- package/dist/models/SendConsoleMessageRequest.js.map +1 -0
- package/dist/models/SendConsoleMessageResponse.d.ts +19 -0
- package/dist/models/SendConsoleMessageResponse.js +69 -0
- package/dist/models/SendConsoleMessageResponse.js.map +1 -0
- package/dist/models/SendConsoleMessageResponseBody.d.ts +29 -0
- package/dist/models/SendConsoleMessageResponseBody.js +60 -0
- package/dist/models/SendConsoleMessageResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +20 -0
- package/dist/models/model.js +64 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +390 -68
- package/src/models/CreateDesktopsRequest.ts +70 -57
- package/src/models/CreateDesktopsResponseBody.ts +1 -1
- package/src/models/CreateDesktopsShrinkRequest.ts +58 -48
- package/src/models/CreateDriveResponseBody.ts +1 -1
- package/src/models/CreateNasfileSystemRequest.ts +22 -2
- package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
- package/src/models/CreateTemplateRequest.ts +38 -18
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/CreateVirtualBridgeRequest.ts +10 -10
- package/src/models/DeleteTemplatesResponseBody.ts +3 -6
- package/src/models/DeleteVirtualBridgeRequest.ts +2 -2
- package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +3 -3
- package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +13 -3
- package/src/models/DescribeConsoleMessagesRequest.ts +124 -0
- package/src/models/DescribeConsoleMessagesResponse.ts +40 -0
- package/src/models/DescribeConsoleMessagesResponseBody.ts +524 -0
- package/src/models/DescribeDesktopsRequest.ts +52 -25
- package/src/models/DescribeDesktopsResponseBody.ts +95 -60
- package/src/models/DescribeGlobalDesktopRecordsRequest.ts +7 -7
- package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +14 -5
- package/src/models/DescribeInvocationsRequest.ts +6 -6
- package/src/models/DescribeInvocationsResponseBody.ts +26 -26
- package/src/models/DescribeNasfileSystemsRequest.ts +2 -2
- package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -4
- package/src/models/DescribeRecordFileRequest.ts +20 -5
- package/src/models/DescribeRecordFileResponseBody.ts +19 -9
- package/src/models/DescribeRenewalPriceRequest.ts +4 -4
- package/src/models/DescribeRenewalPriceResponseBody.ts +3 -3
- package/src/models/DescribeTemplatesRequest.ts +5 -8
- package/src/models/DescribeTemplatesResponseBody.ts +43 -12
- package/src/models/DescribeVulDesktopsRequest.ts +33 -10
- package/src/models/DescribeVulDesktopsResponseBody.ts +30 -10
- package/src/models/DescribeVulnerabilityRequest.ts +1 -1
- package/src/models/DescribeVulnerabilityResponseBody.ts +5 -5
- package/src/models/DownloadCdsFileResponseBody.ts +1 -1
- package/src/models/GetAggregatedDesktopsRequest.ts +58 -0
- package/src/models/GetAggregatedDesktopsResponse.ts +40 -0
- package/src/models/GetAggregatedDesktopsResponseBody.ts +75 -0
- package/src/models/GetConnectionTicketRequest.ts +14 -4
- package/src/models/GetConnectionTicketResponseBody.ts +3 -3
- package/src/models/ListVirtualBridgesRequest.ts +3 -3
- package/src/models/ListVirtualBridgesResponseBody.ts +5 -3
- package/src/models/ModifyTemplateBaseInfoRequest.ts +11 -1
- package/src/models/ModifyTemplateRequest.ts +30 -10
- package/src/models/ModifyVirtualBridgeLevelRequest.ts +5 -5
- package/src/models/ModifyVirtualBridgeStatusRequest.ts +3 -3
- package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
- package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
- package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
- package/src/models/RenewVirtualBridgeRequest.ts +3 -3
- package/src/models/SendConsoleMessageRequest.ts +36 -0
- package/src/models/SendConsoleMessageResponse.ts +40 -0
- package/src/models/SendConsoleMessageResponseBody.ts +44 -0
- package/src/models/model.ts +20 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The number of cloud
|
|
8
|
+
* The number of cloud desktops to create. Valid values: 1 to 300. Default value: 0.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|
|
@@ -13,7 +13,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
13
13
|
amount?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The cloud
|
|
16
|
+
* The cloud desktop template ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* b-je9hani001wfn****
|
|
@@ -21,11 +21,11 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
21
21
|
bundleId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The cloud
|
|
24
|
+
* The cloud desktop name. The naming rules are as follows:
|
|
25
25
|
*
|
|
26
26
|
* - The name can be up to 64 characters in length.
|
|
27
27
|
* - The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.
|
|
28
|
-
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.),
|
|
28
|
+
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* DemoComputer02
|
|
@@ -33,19 +33,19 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
33
33
|
desktopName?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The list of users to whom the cloud
|
|
36
|
+
* The list of users to whom the cloud desktops are assigned.
|
|
37
37
|
*/
|
|
38
38
|
endUserIds?: string[];
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The custom hostname of the cloud
|
|
41
|
+
* The custom hostname of the cloud desktop. Settings are supported only for cloud desktops with the Windows operating system type in AD office networks.
|
|
42
42
|
*
|
|
43
43
|
* The naming rules for the hostname are as follows:
|
|
44
44
|
*
|
|
45
45
|
* - The hostname must be 2 to 15 characters in length.
|
|
46
|
-
* - The hostname can contain letters, digits,
|
|
46
|
+
* - The hostname can contain uppercase letters, lowercase letters, digits, and hyphens (-). It cannot start or end with a hyphen, cannot contain consecutive hyphens, and cannot consist of only digits.
|
|
47
47
|
*
|
|
48
|
-
* When
|
|
48
|
+
* 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.
|
|
49
49
|
*
|
|
50
50
|
* - `name_prefix`: the prefix of the hostname.
|
|
51
51
|
* - `[begin_number,bits]`: the sequential number in the hostname. `begin_number` specifies the start number. Valid values: 0 to 999999. Default value: 0. `bits` specifies the number of digits. Valid values: 1 to 6. Default value: 6.
|
|
@@ -57,7 +57,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
57
57
|
hostname?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* Specifies whether to enable
|
|
60
|
+
* Specifies whether to enable disk encryption.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* false
|
|
@@ -65,7 +65,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
65
65
|
volumeEncryptionEnabled?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The ID of the Key Management Service (KMS) key used
|
|
68
|
+
* The ID of the Key Management Service (KMS) key used when disk encryption is enabled. You can call [ListKeys](https://help.aliyun.com/document_detail/28951.html) to obtain the key ID.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
|
|
@@ -110,7 +110,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
110
110
|
export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* Specifies whether
|
|
113
|
+
* Specifies whether end users can configure scheduled tasks.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
116
|
* true
|
|
@@ -120,7 +120,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
|
|
|
120
120
|
* @remarks
|
|
121
121
|
* The cron expression of the scheduled task.
|
|
122
122
|
*
|
|
123
|
-
* >Notice:
|
|
123
|
+
* >Notice: The time must be specified in UTC. For example, to specify 00:00 (UTC+8) every day, set this parameter to 0 0 16 ? * 1,2,3,4,5,6,7.</notice>
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* 0 40 7 ? * 1,2,3,4,5,6,7
|
|
@@ -144,7 +144,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
|
|
|
144
144
|
interval?: number;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* The operation type of the scheduled task. Currently, only the
|
|
147
|
+
* The operation type of the scheduled task. Currently, only the disconnect scheduled task is supported.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
150
|
* Shutdown
|
|
@@ -152,7 +152,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
|
|
|
152
152
|
operationType?: string;
|
|
153
153
|
/**
|
|
154
154
|
* @remarks
|
|
155
|
-
* The reset type of the cloud
|
|
155
|
+
* The reset type of the cloud desktop.
|
|
156
156
|
*
|
|
157
157
|
* @example
|
|
158
158
|
* RESET_TYPE_SYSTEM
|
|
@@ -218,10 +218,10 @@ export class CreateDesktopsShrinkRequestMonthDesktopSetting extends $dara.Model
|
|
|
218
218
|
desktopId?: string;
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The plan
|
|
221
|
+
* The plan option when purchasing a monthly hours package. Valid values: 120, 250, and 360.
|
|
222
222
|
*
|
|
223
223
|
* @example
|
|
224
|
-
*
|
|
224
|
+
* 120
|
|
225
225
|
*/
|
|
226
226
|
useDuration?: number;
|
|
227
227
|
static names(): { [key: string]: string } {
|
|
@@ -342,7 +342,7 @@ export class CreateDesktopsShrinkRequestUserCommands extends $dara.Model {
|
|
|
342
342
|
export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
343
343
|
/**
|
|
344
344
|
* @remarks
|
|
345
|
-
* The number of cloud
|
|
345
|
+
* The number of cloud desktops to create. Valid values: 1 to 300. Default value: 1.
|
|
346
346
|
*
|
|
347
347
|
* @example
|
|
348
348
|
* 1
|
|
@@ -374,7 +374,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
374
374
|
autoRenew?: boolean;
|
|
375
375
|
/**
|
|
376
376
|
* @remarks
|
|
377
|
-
* The cloud
|
|
377
|
+
* The cloud desktop template ID. If no template ID is specified, you can create a cloud desktop by specifying the required fields.
|
|
378
378
|
*
|
|
379
379
|
* @example
|
|
380
380
|
* b-je9hani001wfn****
|
|
@@ -382,7 +382,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
382
382
|
bundleId?: string;
|
|
383
383
|
/**
|
|
384
384
|
* @remarks
|
|
385
|
-
* The list of cloud
|
|
385
|
+
* The list of cloud desktop templates.
|
|
386
386
|
*
|
|
387
387
|
* **if can be null:**
|
|
388
388
|
* true
|
|
@@ -398,7 +398,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
398
398
|
channelCookie?: string;
|
|
399
399
|
/**
|
|
400
400
|
* @remarks
|
|
401
|
-
* The billing method of the cloud
|
|
401
|
+
* The billing method of the cloud desktop.
|
|
402
402
|
*
|
|
403
403
|
* @example
|
|
404
404
|
* PrePaid
|
|
@@ -406,12 +406,12 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
406
406
|
chargeType?: string;
|
|
407
407
|
/**
|
|
408
408
|
* @remarks
|
|
409
|
-
* The parameters for creating a cloud
|
|
409
|
+
* The parameters for creating a cloud desktop without a template. This parameter is invalid when the BundleID parameter is specified.
|
|
410
410
|
*/
|
|
411
411
|
desktopAttachmentShrink?: string;
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
* The private IP address of the cloud
|
|
414
|
+
* The private IP address of the cloud desktop.
|
|
415
415
|
*
|
|
416
416
|
* @example
|
|
417
417
|
* 10.0.0.1
|
|
@@ -419,11 +419,11 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
419
419
|
desktopMemberIp?: string;
|
|
420
420
|
/**
|
|
421
421
|
* @remarks
|
|
422
|
-
* The cloud
|
|
422
|
+
* The cloud desktop name. The naming rules are as follows:
|
|
423
423
|
*
|
|
424
424
|
* - The name can be up to 64 characters in length.
|
|
425
425
|
* - The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.
|
|
426
|
-
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.),
|
|
426
|
+
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
427
427
|
*
|
|
428
428
|
* @example
|
|
429
429
|
* DemoComputer01
|
|
@@ -431,12 +431,12 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
431
431
|
desktopName?: string;
|
|
432
432
|
/**
|
|
433
433
|
* @remarks
|
|
434
|
-
* Controls the format of the
|
|
434
|
+
* Controls the format of the desktop name.
|
|
435
435
|
*/
|
|
436
436
|
desktopNameModelShrink?: string;
|
|
437
437
|
/**
|
|
438
438
|
* @remarks
|
|
439
|
-
* Specifies whether to automatically append a suffix to the cloud
|
|
439
|
+
* Specifies whether to automatically append a suffix to the cloud desktop name when you create multiple cloud desktops in a batch.
|
|
440
440
|
*
|
|
441
441
|
* @example
|
|
442
442
|
* false
|
|
@@ -444,7 +444,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
444
444
|
desktopNameSuffix?: boolean;
|
|
445
445
|
/**
|
|
446
446
|
* @remarks
|
|
447
|
-
* The details of the
|
|
447
|
+
* The details of the scheduled task for the cloud desktop. This parameter is being deprecated. Use the TimerGroupId parameter instead.
|
|
448
448
|
*
|
|
449
449
|
* **if can be null:**
|
|
450
450
|
* true
|
|
@@ -460,7 +460,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
460
460
|
directoryId?: string;
|
|
461
461
|
/**
|
|
462
462
|
* @remarks
|
|
463
|
-
* The list of authorized user IDs to add to the cloud
|
|
463
|
+
* The list of authorized user IDs to add to the cloud desktops. You can specify 1 to 100 user IDs.
|
|
464
464
|
*
|
|
465
465
|
* @example
|
|
466
466
|
* 123456789
|
|
@@ -476,7 +476,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
476
476
|
extendInfo?: string;
|
|
477
477
|
/**
|
|
478
478
|
* @remarks
|
|
479
|
-
* The cloud
|
|
479
|
+
* The cloud desktop pool ID.
|
|
480
480
|
*
|
|
481
481
|
* @example
|
|
482
482
|
* dg-boyczi8enfyc5****
|
|
@@ -484,14 +484,14 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
484
484
|
groupId?: string;
|
|
485
485
|
/**
|
|
486
486
|
* @remarks
|
|
487
|
-
* The custom hostname of the cloud
|
|
487
|
+
* The custom hostname of the cloud desktop. Settings are supported only for Windows cloud desktops with the Windows operating system type in AD office networks.
|
|
488
488
|
*
|
|
489
489
|
* The naming rules for the hostname are as follows:
|
|
490
490
|
*
|
|
491
491
|
* - The hostname must be 2 to 15 characters in length.
|
|
492
|
-
* - The hostname can contain letters, digits,
|
|
492
|
+
* - The hostname can contain uppercase letters, lowercase letters, digits, and hyphens (-). It cannot start or end with a hyphen, cannot contain consecutive hyphens, and cannot consist of only digits.
|
|
493
493
|
*
|
|
494
|
-
* When
|
|
494
|
+
* 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.
|
|
495
495
|
*
|
|
496
496
|
* - `name_prefix`: the prefix of the hostname.
|
|
497
497
|
* - `[begin_number,bits]`: the sequential number in the hostname. `begin_number` specifies the start number. Valid values: 0 to 999999. Default value: 0. `bits` specifies the number of digits. Valid values: 1 to 6. Default value: 6.
|
|
@@ -503,7 +503,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
503
503
|
hostname?: string;
|
|
504
504
|
/**
|
|
505
505
|
* @remarks
|
|
506
|
-
* The
|
|
506
|
+
* The parameters for purchasing a monthly hours package.
|
|
507
507
|
*/
|
|
508
508
|
monthDesktopSetting?: CreateDesktopsShrinkRequestMonthDesktopSetting;
|
|
509
509
|
/**
|
|
@@ -516,7 +516,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
516
516
|
officeSiteId?: string;
|
|
517
517
|
/**
|
|
518
518
|
* @remarks
|
|
519
|
-
* The organizational unit (OU) path.
|
|
519
|
+
* The organizational unit (OU) path. If specified, the cloud desktop is added to the corresponding OU in Active Directory (AD).
|
|
520
520
|
*
|
|
521
521
|
* @example
|
|
522
522
|
* test.com/wuyingtest/computers
|
|
@@ -547,7 +547,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
547
547
|
period?: number;
|
|
548
548
|
/**
|
|
549
549
|
* @remarks
|
|
550
|
-
* The unit of the subscription duration.
|
|
550
|
+
* The unit of the subscription billing method duration.
|
|
551
551
|
*
|
|
552
552
|
* @example
|
|
553
553
|
* Month
|
|
@@ -576,7 +576,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
576
576
|
purchaseOptionsShrink?: string;
|
|
577
577
|
/**
|
|
578
578
|
* @remarks
|
|
579
|
-
* The ID of the
|
|
579
|
+
* The ID of the Internet bandwidth throttling rule.
|
|
580
580
|
*
|
|
581
581
|
* @example
|
|
582
582
|
* qos-52fqmg6kvyro7zu4l
|
|
@@ -584,7 +584,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
584
584
|
qosRuleId?: string;
|
|
585
585
|
/**
|
|
586
586
|
* @remarks
|
|
587
|
-
* The region ID. Call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by
|
|
587
|
+
* The region ID. Call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by WUYING Workspace.
|
|
588
588
|
*
|
|
589
589
|
* This parameter is required.
|
|
590
590
|
*
|
|
@@ -594,7 +594,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
594
594
|
regionId?: string;
|
|
595
595
|
/**
|
|
596
596
|
* @remarks
|
|
597
|
-
* The ID
|
|
597
|
+
* The user ID for resource ownership in reseller pattern. You do not need to specify this parameter in non-reseller pattern.
|
|
598
598
|
*
|
|
599
599
|
* @example
|
|
600
600
|
* 1828644634819902
|
|
@@ -602,7 +602,15 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
602
602
|
resellerOwnerUid?: number;
|
|
603
603
|
/**
|
|
604
604
|
* @remarks
|
|
605
|
-
* The ID
|
|
605
|
+
* The resource reserve pool ID (rp-xxx). This parameter is optional. If specified, the cloud desktop is created from the reserve pool, and compute resources are provided by the reserve pool without generating a compute fee order. If ZoneId is explicitly specified, it must match the zone of the reserve pool.
|
|
606
|
+
*
|
|
607
|
+
* @example
|
|
608
|
+
* rp-xxx
|
|
609
|
+
*/
|
|
610
|
+
reservePoolId?: string;
|
|
611
|
+
/**
|
|
612
|
+
* @remarks
|
|
613
|
+
* The ID of the WUYING resource group.
|
|
606
614
|
*
|
|
607
615
|
* @example
|
|
608
616
|
* rg-3mtuc28rx95lx****
|
|
@@ -618,7 +626,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
618
626
|
savingPlanId?: string;
|
|
619
627
|
/**
|
|
620
628
|
* @remarks
|
|
621
|
-
* The ID of the
|
|
629
|
+
* The ID of the WUYING automatic snapshot policy.
|
|
622
630
|
*
|
|
623
631
|
* @example
|
|
624
632
|
* sp-28mp6my0l6zow****
|
|
@@ -626,11 +634,11 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
626
634
|
snapshotPolicyId?: string;
|
|
627
635
|
/**
|
|
628
636
|
* @remarks
|
|
629
|
-
* The purchase method of the cloud
|
|
637
|
+
* The purchase method of the cloud desktop. Valid values:
|
|
630
638
|
*
|
|
631
|
-
* - prePaid:
|
|
632
|
-
* - postPaid:
|
|
633
|
-
* - monthPackage:
|
|
639
|
+
* - prePaid: Monthly subscription with unlimited duration.
|
|
640
|
+
* - postPaid: Pay-as-you-go.
|
|
641
|
+
* - monthPackage: Monthly hours package.
|
|
634
642
|
* - jvsAgentPackage: JVS Agent hours package.
|
|
635
643
|
*
|
|
636
644
|
* @example
|
|
@@ -660,9 +668,9 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
660
668
|
timerGroupId?: string;
|
|
661
669
|
/**
|
|
662
670
|
* @remarks
|
|
663
|
-
* The cloud
|
|
671
|
+
* The cloud desktop assignment mode.
|
|
664
672
|
*
|
|
665
|
-
* > If `EndUserId` is not specified, the created cloud
|
|
673
|
+
* > If `EndUserId` is not specified, the created cloud desktops are not assigned to any user.
|
|
666
674
|
*
|
|
667
675
|
* @example
|
|
668
676
|
* ALL
|
|
@@ -683,7 +691,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
683
691
|
userName?: string;
|
|
684
692
|
/**
|
|
685
693
|
* @remarks
|
|
686
|
-
* Specifies whether to enable
|
|
694
|
+
* Specifies whether to enable disk encryption.
|
|
687
695
|
*
|
|
688
696
|
* @example
|
|
689
697
|
* false
|
|
@@ -691,7 +699,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
691
699
|
volumeEncryptionEnabled?: boolean;
|
|
692
700
|
/**
|
|
693
701
|
* @remarks
|
|
694
|
-
* The ID of the Key Management Service (KMS) key used
|
|
702
|
+
* The ID of the Key Management Service (KMS) key used when disk encryption is enabled. You can call [ListKeys](https://help.aliyun.com/document_detail/28951.html) to obtain the key ID.
|
|
695
703
|
*
|
|
696
704
|
* @example
|
|
697
705
|
* 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
|
|
@@ -737,6 +745,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
737
745
|
qosRuleId: 'QosRuleId',
|
|
738
746
|
regionId: 'RegionId',
|
|
739
747
|
resellerOwnerUid: 'ResellerOwnerUid',
|
|
748
|
+
reservePoolId: 'ReservePoolId',
|
|
740
749
|
resourceGroupId: 'ResourceGroupId',
|
|
741
750
|
savingPlanId: 'SavingPlanId',
|
|
742
751
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
@@ -785,6 +794,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
785
794
|
qosRuleId: 'string',
|
|
786
795
|
regionId: 'string',
|
|
787
796
|
resellerOwnerUid: 'number',
|
|
797
|
+
reservePoolId: 'string',
|
|
788
798
|
resourceGroupId: 'string',
|
|
789
799
|
savingPlanId: 'string',
|
|
790
800
|
snapshotPolicyId: 'string',
|
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateNASFileSystemRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The capacity.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 3600
|
|
12
|
+
*/
|
|
13
|
+
capacity?: number;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The description of the NAS file system.
|
|
@@ -13,12 +21,20 @@ export class CreateNASFileSystemRequest extends $dara.Model {
|
|
|
13
21
|
description?: string;
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
16
|
-
* Specifies whether
|
|
24
|
+
* Specifies whether the file system uses a key managed by Key Management Service (KMS) to encrypt data stored on the file system. Encrypted data does not need to be decrypted during read and write operations.
|
|
17
25
|
*
|
|
18
26
|
* @example
|
|
19
27
|
* 0
|
|
20
28
|
*/
|
|
21
29
|
encryptType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The file system type.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* standard
|
|
36
|
+
*/
|
|
37
|
+
fileSystemType?: string;
|
|
22
38
|
/**
|
|
23
39
|
* @remarks
|
|
24
40
|
* The name of the NAS file system. The name must meet the following requirements: The name must be 2 to 128 characters in length and can contain letters and Chinese characters. The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`. The name can contain digits, underscores (_), or hyphens (-).
|
|
@@ -42,7 +58,7 @@ export class CreateNASFileSystemRequest extends $dara.Model {
|
|
|
42
58
|
* The protocol type.
|
|
43
59
|
*
|
|
44
60
|
* @example
|
|
45
|
-
*
|
|
61
|
+
* SMB
|
|
46
62
|
*/
|
|
47
63
|
protocolType?: string;
|
|
48
64
|
/**
|
|
@@ -65,8 +81,10 @@ export class CreateNASFileSystemRequest extends $dara.Model {
|
|
|
65
81
|
storageType?: string;
|
|
66
82
|
static names(): { [key: string]: string } {
|
|
67
83
|
return {
|
|
84
|
+
capacity: 'Capacity',
|
|
68
85
|
description: 'Description',
|
|
69
86
|
encryptType: 'EncryptType',
|
|
87
|
+
fileSystemType: 'FileSystemType',
|
|
70
88
|
name: 'Name',
|
|
71
89
|
officeSiteId: 'OfficeSiteId',
|
|
72
90
|
protocolType: 'ProtocolType',
|
|
@@ -77,8 +95,10 @@ export class CreateNASFileSystemRequest extends $dara.Model {
|
|
|
77
95
|
|
|
78
96
|
static types(): { [key: string]: any } {
|
|
79
97
|
return {
|
|
98
|
+
capacity: 'number',
|
|
80
99
|
description: 'string',
|
|
81
100
|
encryptType: 'string',
|
|
101
|
+
fileSystemType: 'string',
|
|
82
102
|
name: 'string',
|
|
83
103
|
officeSiteId: 'string',
|
|
84
104
|
protocolType: 'string',
|
|
@@ -35,6 +35,14 @@ export class CreateNASFileSystemResponseBody extends $dara.Model {
|
|
|
35
35
|
* cn-hangzhou+dir-363353****
|
|
36
36
|
*/
|
|
37
37
|
officeSiteId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The protocol type.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* SMB
|
|
44
|
+
*/
|
|
45
|
+
protocolType?: string;
|
|
38
46
|
/**
|
|
39
47
|
* @remarks
|
|
40
48
|
* The request ID.
|
|
@@ -49,6 +57,7 @@ export class CreateNASFileSystemResponseBody extends $dara.Model {
|
|
|
49
57
|
fileSystemName: 'FileSystemName',
|
|
50
58
|
mountTargetDomain: 'MountTargetDomain',
|
|
51
59
|
officeSiteId: 'OfficeSiteId',
|
|
60
|
+
protocolType: 'ProtocolType',
|
|
52
61
|
requestId: 'RequestId',
|
|
53
62
|
};
|
|
54
63
|
}
|
|
@@ -59,6 +68,7 @@ export class CreateNASFileSystemResponseBody extends $dara.Model {
|
|
|
59
68
|
fileSystemName: 'string',
|
|
60
69
|
mountTargetDomain: 'string',
|
|
61
70
|
officeSiteId: 'string',
|
|
71
|
+
protocolType: 'string',
|
|
62
72
|
requestId: 'string',
|
|
63
73
|
};
|
|
64
74
|
}
|
|
@@ -13,9 +13,9 @@ export class CreateTemplateRequestDataDiskList extends $dara.Model {
|
|
|
13
13
|
performanceLevel?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The data cloud disk size. Unit: GiB. Valid values: 40 to 2040, in increments of 10 GiB.
|
|
17
17
|
*
|
|
18
|
-
* >Notice: The larger the ESSD cloud disk capacity, the higher the performance level (PL)
|
|
18
|
+
* >Notice: The larger the ESSD cloud disk capacity, the higher the available performance level (PL) (for example, PL2 is available for capacities of 460 GiB or more). Higher performance levels (PLs) incur higher costs. Select the ESSD cloud disk performance level (PL) based on your requirements.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 40
|
|
@@ -55,7 +55,7 @@ export class CreateTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
55
55
|
officeSiteId?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The region ID.
|
|
58
|
+
* The region ID. Call [DescribeRegions](~~DescribeRegions~~) to query the list of regions supported by WUYING Workspace.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* cn-hangzhou
|
|
@@ -71,7 +71,7 @@ export class CreateTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
71
71
|
resourceInstanceType?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The
|
|
74
|
+
* The automatic snapshot policy ID.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* sp-35fvn8m21pnx2****
|
|
@@ -85,6 +85,14 @@ export class CreateTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
85
85
|
* vsw-bp1yiu**********
|
|
86
86
|
*/
|
|
87
87
|
subnetId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The virtual node pool, used in workstation scenarios.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* vnp-0bydg********
|
|
94
|
+
*/
|
|
95
|
+
virtualNodePoolId?: string;
|
|
88
96
|
/**
|
|
89
97
|
* @remarks
|
|
90
98
|
* Specifies whether to enable disk encryption.
|
|
@@ -95,7 +103,7 @@ export class CreateTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
95
103
|
volumeEncryptionEnable?: boolean;
|
|
96
104
|
/**
|
|
97
105
|
* @remarks
|
|
98
|
-
* The
|
|
106
|
+
* The KMS key ID used when disk encryption is enabled. You can call [ListKeys](https://help.aliyun.com/document_detail/28951.html) to obtain the key ID.
|
|
99
107
|
*
|
|
100
108
|
* @example
|
|
101
109
|
* a7b3c0c8-b3a2-4876-b1cc-*********
|
|
@@ -108,6 +116,7 @@ export class CreateTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
108
116
|
resourceInstanceType: 'ResourceInstanceType',
|
|
109
117
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
110
118
|
subnetId: 'SubnetId',
|
|
119
|
+
virtualNodePoolId: 'VirtualNodePoolId',
|
|
111
120
|
volumeEncryptionEnable: 'VolumeEncryptionEnable',
|
|
112
121
|
volumeEncryptionKey: 'VolumeEncryptionKey',
|
|
113
122
|
};
|
|
@@ -120,6 +129,7 @@ export class CreateTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
120
129
|
resourceInstanceType: 'string',
|
|
121
130
|
snapshotPolicyId: 'string',
|
|
122
131
|
subnetId: 'string',
|
|
132
|
+
virtualNodePoolId: 'string',
|
|
123
133
|
volumeEncryptionEnable: 'boolean',
|
|
124
134
|
volumeEncryptionKey: 'string',
|
|
125
135
|
};
|
|
@@ -217,7 +227,7 @@ export class CreateTemplateRequestSiteConfigList extends $dara.Model {
|
|
|
217
227
|
export class CreateTemplateRequest extends $dara.Model {
|
|
218
228
|
/**
|
|
219
229
|
* @remarks
|
|
220
|
-
*
|
|
230
|
+
* Specifies whether automatic payment is enabled for the subscription order.
|
|
221
231
|
*/
|
|
222
232
|
autoPay?: boolean;
|
|
223
233
|
/**
|
|
@@ -243,7 +253,7 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
243
253
|
chargeType?: string;
|
|
244
254
|
/**
|
|
245
255
|
* @remarks
|
|
246
|
-
* The size and specification configurations
|
|
256
|
+
* The data disk size and specification configurations.
|
|
247
257
|
*/
|
|
248
258
|
dataDiskList?: CreateTemplateRequestDataDiskList[];
|
|
249
259
|
/**
|
|
@@ -258,8 +268,8 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
258
268
|
* @remarks
|
|
259
269
|
* The description of the template. The description must meet the following requirements:
|
|
260
270
|
*
|
|
261
|
-
* - The description must be 2 to 256 characters in length
|
|
262
|
-
* - The description can contain Chinese characters, letters, digits, spaces, and special characters
|
|
271
|
+
* - The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
272
|
+
* - The description can contain Chinese characters, letters, digits, spaces, and special characters, and supports line breaks.
|
|
263
273
|
*
|
|
264
274
|
* @example
|
|
265
275
|
* DesignDepartmentTemplate
|
|
@@ -267,12 +277,20 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
267
277
|
description?: string;
|
|
268
278
|
/**
|
|
269
279
|
* @remarks
|
|
270
|
-
* The
|
|
280
|
+
* The cloud computer image ID. You can query the ID on the image management page. System images, custom images, and other image types are supported.
|
|
271
281
|
*
|
|
272
282
|
* @example
|
|
273
283
|
* desktopimage-windows-server-2022-64-asp
|
|
274
284
|
*/
|
|
275
285
|
imageId?: string;
|
|
286
|
+
/**
|
|
287
|
+
* @remarks
|
|
288
|
+
* The instance name.
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* myHost
|
|
292
|
+
*/
|
|
293
|
+
instanceName?: string;
|
|
276
294
|
/**
|
|
277
295
|
* @remarks
|
|
278
296
|
* The subscription duration of the subscription cloud computer. This parameter takes effect and is required only when `ChargeType` is set to `PrePaid`. The unit is specified by `PeriodUnit`.
|
|
@@ -323,9 +341,9 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
323
341
|
productType?: string;
|
|
324
342
|
/**
|
|
325
343
|
* @remarks
|
|
326
|
-
* The region-specific template configurations.
|
|
344
|
+
* The region-specific template configurations. Multiple configurations are supported. The configuration that matches the specific region is used.
|
|
327
345
|
*
|
|
328
|
-
* > You can
|
|
346
|
+
* > You can configure up to 20 regions.
|
|
329
347
|
*/
|
|
330
348
|
regionConfigList?: CreateTemplateRequestRegionConfigList[];
|
|
331
349
|
/**
|
|
@@ -338,7 +356,7 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
338
356
|
resourceGroupId?: string;
|
|
339
357
|
/**
|
|
340
358
|
* @remarks
|
|
341
|
-
* The
|
|
359
|
+
* The cloud computer tags in key-value format. You can specify up to 20 tags.
|
|
342
360
|
*/
|
|
343
361
|
resourceTagList?: CreateTemplateRequestResourceTagList[];
|
|
344
362
|
/**
|
|
@@ -348,9 +366,9 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
348
366
|
siteConfigList?: CreateTemplateRequestSiteConfigList[];
|
|
349
367
|
/**
|
|
350
368
|
* @remarks
|
|
351
|
-
* The
|
|
369
|
+
* The system disk type.
|
|
352
370
|
*
|
|
353
|
-
* > Only high
|
|
371
|
+
* > Only high frequency and graphics cloud computer specifications support ESSD disks.
|
|
354
372
|
*
|
|
355
373
|
* @example
|
|
356
374
|
* AutoPL
|
|
@@ -358,9 +376,9 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
358
376
|
systemDiskPerformanceLevel?: string;
|
|
359
377
|
/**
|
|
360
378
|
* @remarks
|
|
361
|
-
* The
|
|
379
|
+
* The system disk size. Unit: GiB. Valid values: 40 to 500, in increments of 10 GiB.
|
|
362
380
|
*
|
|
363
|
-
* > The system disk size cannot be smaller than the image
|
|
381
|
+
* > The system disk size cannot be smaller than the size of the configured image.
|
|
364
382
|
*
|
|
365
383
|
* @example
|
|
366
384
|
* 80
|
|
@@ -370,7 +388,7 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
370
388
|
* @remarks
|
|
371
389
|
* The name of the template. The name must meet the following requirements:
|
|
372
390
|
*
|
|
373
|
-
* - The name must be 2 to 126 characters in length.
|
|
391
|
+
* - The name must be 2 to 126 characters in length and can contain letters and Chinese characters.
|
|
374
392
|
* - The name must start with a letter or a Chinese character. It cannot start with `http://` or `https://`.
|
|
375
393
|
* - The name can contain letters, digits, Chinese characters, colons (:), underscores (_), or hyphens (-). Periods (.) are not supported.
|
|
376
394
|
*
|
|
@@ -406,6 +424,7 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
406
424
|
defaultLanguage: 'DefaultLanguage',
|
|
407
425
|
description: 'Description',
|
|
408
426
|
imageId: 'ImageId',
|
|
427
|
+
instanceName: 'InstanceName',
|
|
409
428
|
period: 'Period',
|
|
410
429
|
periodUnit: 'PeriodUnit',
|
|
411
430
|
policyGroupId: 'PolicyGroupId',
|
|
@@ -433,6 +452,7 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
433
452
|
defaultLanguage: 'string',
|
|
434
453
|
description: 'string',
|
|
435
454
|
imageId: 'string',
|
|
455
|
+
instanceName: 'string',
|
|
436
456
|
period: 'number',
|
|
437
457
|
periodUnit: 'string',
|
|
438
458
|
policyGroupId: 'string',
|