@alicloud/ecd20200930 5.2.0 → 5.4.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 +334 -64
- package/dist/client.js +718 -64
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +56 -45
- package/dist/models/CreateDesktopsRequest.js +2 -0
- package/dist/models/CreateDesktopsRequest.js.map +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +41 -33
- 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/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
- package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +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/DeleteDesktopsRequest.d.ts +1 -1
- package/dist/models/DeleteTemplatesResponseBody.d.ts +3 -6
- package/dist/models/DeleteTemplatesResponseBody.js.map +1 -1
- 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/DescribeDesktopsRequest.d.ts +26 -8
- package/dist/models/DescribeDesktopsRequest.js +2 -0
- package/dist/models/DescribeDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +22 -7
- package/dist/models/DescribeDesktopsResponseBody.js +6 -0
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
- 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/DescribeOfficeSitesRequest.d.ts +6 -6
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
- package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
- package/dist/models/DescribePeripheralDriversRequest.js +77 -0
- package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
- package/dist/models/DescribePeripheralDriversResponse.js +69 -0
- package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
- 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/DescribeSnapshotsRequest.d.ts +4 -4
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
- 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 +156 -0
- package/dist/models/DescribeVulDesktopsRequest.js +96 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
- package/dist/models/DescribeVulDesktopsResponse.js +69 -0
- package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +289 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js +181 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
- package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
- package/dist/models/DescribeVulnerabilityRequest.js +72 -0
- package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
- package/dist/models/DescribeVulnerabilityResponse.js +69 -0
- package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
- package/dist/models/DownloadCdsFileResponseBody.d.ts +1 -1
- package/dist/models/GetAggregatedDesktopsRequest.d.ts +37 -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/ListDirectoryUsersRequest.d.ts +3 -3
- package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
- package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
- 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/ModifyUserEntitlementRequest.d.ts +4 -4
- package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
- package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
- package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
- 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/QueryEndUserHistoryUsageRequest.d.ts +50 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/RebootDesktopsRequest.d.ts +9 -2
- package/dist/models/RebootDesktopsRequest.js.map +1 -1
- package/dist/models/RunCommandRequest.d.ts +8 -5
- package/dist/models/RunCommandRequest.js.map +1 -1
- package/dist/models/StartDesktopsRequest.d.ts +2 -2
- package/dist/models/model.d.ts +38 -0
- package/dist/models/model.js +98 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +806 -64
- package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
- package/src/models/CreateDesktopsRequest.ts +58 -45
- package/src/models/CreateDesktopsShrinkRequest.ts +43 -33
- package/src/models/CreateDriveResponseBody.ts +1 -1
- package/src/models/CreateNasfileSystemRequest.ts +22 -2
- package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
- package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
- package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
- package/src/models/CreateTemplateRequest.ts +38 -18
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DeleteDesktopsRequest.ts +1 -1
- package/src/models/DeleteTemplatesResponseBody.ts +3 -6
- package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +3 -3
- package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +13 -3
- package/src/models/DescribeDesktopsRequest.ts +28 -8
- package/src/models/DescribeDesktopsResponseBody.ts +28 -7
- package/src/models/DescribeFlowMetricRequest.ts +5 -5
- 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/DescribeOfficeSitesRequest.ts +6 -6
- package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
- package/src/models/DescribePeripheralDriversRequest.ts +118 -0
- package/src/models/DescribePeripheralDriversResponse.ts +40 -0
- package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
- 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/DescribeSnapshotsRequest.ts +4 -4
- package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
- package/src/models/DescribeTemplatesRequest.ts +5 -8
- package/src/models/DescribeTemplatesResponseBody.ts +43 -12
- package/src/models/DescribeVulDesktopsRequest.ts +207 -0
- package/src/models/DescribeVulDesktopsResponse.ts +40 -0
- package/src/models/DescribeVulDesktopsResponseBody.ts +398 -0
- package/src/models/DescribeVulnerabilityRequest.ts +105 -0
- package/src/models/DescribeVulnerabilityResponse.ts +40 -0
- package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
- package/src/models/DownloadCdsFileResponseBody.ts +1 -1
- package/src/models/GetAggregatedDesktopsRequest.ts +54 -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/ListDirectoryUsersRequest.ts +3 -3
- package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
- package/src/models/MigrateDesktopsRequest.ts +3 -3
- package/src/models/ModifyTemplateBaseInfoRequest.ts +11 -1
- package/src/models/ModifyTemplateRequest.ts +30 -10
- package/src/models/ModifyUserEntitlementRequest.ts +4 -4
- package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
- package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
- package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
- package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
- package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
- package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
- package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
- package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
- package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/RebootDesktopsRequest.ts +9 -2
- package/src/models/RunCommandRequest.ts +8 -5
- package/src/models/StartDesktopsRequest.ts +2 -2
- package/src/models/model.ts +38 -0
|
@@ -33,7 +33,7 @@ export class ConfigADConnectorTrustRequest extends $dara.Model {
|
|
|
33
33
|
regionId?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The trust password. This password is the one that you
|
|
36
|
+
* The trust password. This password is the one that you set when configuring the trust relationship (establishing a trust relationship with the Elastic Desktop Service ecd.acs domain) in the AD domain.
|
|
37
37
|
*
|
|
38
38
|
* This parameter is required.
|
|
39
39
|
*
|
|
@@ -23,9 +23,9 @@ export class CreateDesktopsRequestBundleModels extends $dara.Model {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* The cloud desktop name. The naming rules are as follows:
|
|
25
25
|
*
|
|
26
|
-
* - The name
|
|
27
|
-
* - The name must start with a letter
|
|
28
|
-
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.),
|
|
26
|
+
* - The name can be up to 64 characters in length.
|
|
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 (.), and hyphens (-).
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* DemoComputer02
|
|
@@ -38,17 +38,17 @@ export class CreateDesktopsRequestBundleModels extends $dara.Model {
|
|
|
38
38
|
endUserIds?: string[];
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The custom hostname
|
|
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 uppercase letters, lowercase 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
|
-
* - `[begin_number,bits]`: the sequential number in the hostname. `begin_number`
|
|
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.
|
|
52
52
|
* - `name_suffix`: the suffix of the hostname.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
@@ -65,7 +65,7 @@ export class CreateDesktopsRequestBundleModels extends $dara.Model {
|
|
|
65
65
|
volumeEncryptionEnabled?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The ID of the Key Management Service (KMS) key used when disk encryption is enabled.
|
|
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,9 +110,9 @@ export class CreateDesktopsRequestBundleModels extends $dara.Model {
|
|
|
110
110
|
export class CreateDesktopsRequestDesktopAttachment extends $dara.Model {
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The type of the data cloud disk. The system cloud disk
|
|
114
|
-
* - cloud_auto: standard SSD
|
|
115
|
-
* - cloud_essd: ESSD cloud disk
|
|
113
|
+
* The type of the data cloud disk. The system cloud disk and data cloud disk must be of the same type. Valid values:
|
|
114
|
+
* - cloud_auto: standard SSD.
|
|
115
|
+
* - cloud_essd: ESSD cloud disk.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* cloud_auto
|
|
@@ -130,7 +130,7 @@ export class CreateDesktopsRequestDesktopAttachment extends $dara.Model {
|
|
|
130
130
|
dataDiskPerLevel?: string;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
* The capacity of the user disk. Valid values: 40 to 2040
|
|
133
|
+
* The capacity of the user disk. Valid values: 40 to 2040. The value must be a multiple of 10. Unit: GiB.
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
136
|
* 40
|
|
@@ -150,7 +150,7 @@ export class CreateDesktopsRequestDesktopAttachment extends $dara.Model {
|
|
|
150
150
|
defaultLanguage?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* The cloud desktop
|
|
153
|
+
* The cloud desktop type. You can call [DescribeDesktopTypes](https://help.aliyun.com/document_detail/188882.html) to query the supported cloud desktop type IDs.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* eds.enterprise_office.8c16g
|
|
@@ -166,9 +166,9 @@ export class CreateDesktopsRequestDesktopAttachment extends $dara.Model {
|
|
|
166
166
|
imageId?: string;
|
|
167
167
|
/**
|
|
168
168
|
* @remarks
|
|
169
|
-
* The type of the system cloud disk. The system cloud disk
|
|
170
|
-
* - cloud_auto: standard SSD
|
|
171
|
-
* - cloud_essd: ESSD cloud disk
|
|
169
|
+
* The type of the system cloud disk. The system cloud disk and data cloud disk must be of the same type. Valid values:
|
|
170
|
+
* - cloud_auto: standard SSD.
|
|
171
|
+
* - cloud_essd: ESSD cloud disk.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* cloud_auto
|
|
@@ -186,7 +186,7 @@ export class CreateDesktopsRequestDesktopAttachment extends $dara.Model {
|
|
|
186
186
|
systemDiskPerLevel?: string;
|
|
187
187
|
/**
|
|
188
188
|
* @remarks
|
|
189
|
-
* The capacity of the system cloud disk. Valid values: 40 to 2040
|
|
189
|
+
* The capacity of the system cloud disk. Valid values: 40 to 2040. The value must be a multiple of 10. Unit: GiB.
|
|
190
190
|
*
|
|
191
191
|
* @example
|
|
192
192
|
* 40
|
|
@@ -233,6 +233,9 @@ export class CreateDesktopsRequestDesktopNameModel extends $dara.Model {
|
|
|
233
233
|
/**
|
|
234
234
|
* @remarks
|
|
235
235
|
* Specifies whether to automatically append a suffix to the cloud desktop name when creating multiple cloud desktops in a batch. Default value: true.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* true
|
|
236
239
|
*/
|
|
237
240
|
desktopNameIsSuffix?: boolean;
|
|
238
241
|
static names(): { [key: string]: string } {
|
|
@@ -259,7 +262,7 @@ export class CreateDesktopsRequestDesktopNameModel extends $dara.Model {
|
|
|
259
262
|
export class CreateDesktopsRequestDesktopTimers extends $dara.Model {
|
|
260
263
|
/**
|
|
261
264
|
* @remarks
|
|
262
|
-
* Specifies whether
|
|
265
|
+
* Specifies whether end users can configure scheduled tasks.
|
|
263
266
|
*
|
|
264
267
|
* @example
|
|
265
268
|
* true
|
|
@@ -269,7 +272,7 @@ export class CreateDesktopsRequestDesktopTimers extends $dara.Model {
|
|
|
269
272
|
* @remarks
|
|
270
273
|
* The cron expression of the scheduled task.
|
|
271
274
|
*
|
|
272
|
-
* >Notice: The time must be specified in UTC. For example, to specify 00:00 (UTC+8) every day,
|
|
275
|
+
* >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>
|
|
273
276
|
*
|
|
274
277
|
* @example
|
|
275
278
|
* 0 40 7 ? * 1,2,3,4,5,6,7
|
|
@@ -293,7 +296,7 @@ export class CreateDesktopsRequestDesktopTimers extends $dara.Model {
|
|
|
293
296
|
interval?: number;
|
|
294
297
|
/**
|
|
295
298
|
* @remarks
|
|
296
|
-
* The operation type of the scheduled task. Currently, only the
|
|
299
|
+
* The operation type of the scheduled task. Currently, only the disconnect scheduled task is supported.
|
|
297
300
|
*
|
|
298
301
|
* @example
|
|
299
302
|
* Shutdown
|
|
@@ -367,10 +370,10 @@ export class CreateDesktopsRequestMonthDesktopSetting extends $dara.Model {
|
|
|
367
370
|
desktopId?: string;
|
|
368
371
|
/**
|
|
369
372
|
* @remarks
|
|
370
|
-
* The plan
|
|
373
|
+
* The plan option when purchasing a monthly hours package. Valid values: 120, 250, and 360.
|
|
371
374
|
*
|
|
372
375
|
* @example
|
|
373
|
-
*
|
|
376
|
+
* 120
|
|
374
377
|
*/
|
|
375
378
|
useDuration?: number;
|
|
376
379
|
static names(): { [key: string]: string } {
|
|
@@ -401,7 +404,7 @@ export class CreateDesktopsRequestMonthDesktopSetting extends $dara.Model {
|
|
|
401
404
|
export class CreateDesktopsRequestPurchaseOptions extends $dara.Model {
|
|
402
405
|
/**
|
|
403
406
|
* @remarks
|
|
404
|
-
* The WUYING credit package
|
|
407
|
+
* The quota of the WUYING credit package.
|
|
405
408
|
*
|
|
406
409
|
* @example
|
|
407
410
|
* 10000
|
|
@@ -409,7 +412,7 @@ export class CreateDesktopsRequestPurchaseOptions extends $dara.Model {
|
|
|
409
412
|
creditPackageAmountSpec?: number;
|
|
410
413
|
/**
|
|
411
414
|
* @remarks
|
|
412
|
-
* The WUYING credit package
|
|
415
|
+
* The duration of the WUYING credit package.
|
|
413
416
|
*
|
|
414
417
|
* @example
|
|
415
418
|
* 1
|
|
@@ -425,7 +428,7 @@ export class CreateDesktopsRequestPurchaseOptions extends $dara.Model {
|
|
|
425
428
|
creditPackagePeriodUnit?: string;
|
|
426
429
|
/**
|
|
427
430
|
* @remarks
|
|
428
|
-
* The monthly credit package
|
|
431
|
+
* The monthly credit package. This parameter is used to select a credit plan when purchasing Agent resources. Valid values: 200, 1600, and 4000.
|
|
429
432
|
*
|
|
430
433
|
* @example
|
|
431
434
|
* 200
|
|
@@ -630,9 +633,9 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
630
633
|
* @remarks
|
|
631
634
|
* The cloud desktop name. The naming rules are as follows:
|
|
632
635
|
*
|
|
633
|
-
* - The name
|
|
634
|
-
* - The name must start with a letter
|
|
635
|
-
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.),
|
|
636
|
+
* - The name can be up to 64 characters in length.
|
|
637
|
+
* - The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.
|
|
638
|
+
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
636
639
|
*
|
|
637
640
|
* @example
|
|
638
641
|
* DemoComputer01
|
|
@@ -645,7 +648,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
645
648
|
desktopNameModel?: CreateDesktopsRequestDesktopNameModel;
|
|
646
649
|
/**
|
|
647
650
|
* @remarks
|
|
648
|
-
* Specifies whether to automatically append a suffix to the cloud desktop name when
|
|
651
|
+
* Specifies whether to automatically append a suffix to the cloud desktop name when you create multiple cloud desktops in a batch.
|
|
649
652
|
*
|
|
650
653
|
* @example
|
|
651
654
|
* false
|
|
@@ -653,7 +656,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
653
656
|
desktopNameSuffix?: boolean;
|
|
654
657
|
/**
|
|
655
658
|
* @remarks
|
|
656
|
-
* The details of the scheduled
|
|
659
|
+
* The details of the scheduled task for the cloud desktop. This parameter is being deprecated. Use the TimerGroupId parameter instead.
|
|
657
660
|
*
|
|
658
661
|
* **if can be null:**
|
|
659
662
|
* true
|
|
@@ -693,17 +696,17 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
693
696
|
groupId?: string;
|
|
694
697
|
/**
|
|
695
698
|
* @remarks
|
|
696
|
-
* The custom hostname
|
|
699
|
+
* 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.
|
|
697
700
|
*
|
|
698
701
|
* The naming rules for the hostname are as follows:
|
|
699
702
|
*
|
|
700
703
|
* - The hostname must be 2 to 15 characters in length.
|
|
701
|
-
* - The hostname can contain uppercase letters, lowercase letters, digits,
|
|
704
|
+
* - 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.
|
|
702
705
|
*
|
|
703
|
-
* When
|
|
706
|
+
* 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.
|
|
704
707
|
*
|
|
705
708
|
* - `name_prefix`: the prefix of the hostname.
|
|
706
|
-
* - `[begin_number,bits]`: the sequential number in the hostname. `begin_number`
|
|
709
|
+
* - `[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.
|
|
707
710
|
* - `name_suffix`: the suffix of the hostname.
|
|
708
711
|
*
|
|
709
712
|
* @example
|
|
@@ -725,7 +728,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
725
728
|
officeSiteId?: string;
|
|
726
729
|
/**
|
|
727
730
|
* @remarks
|
|
728
|
-
* The organizational unit (OU) path.
|
|
731
|
+
* The organizational unit (OU) path. If specified, the cloud desktop is added to the corresponding OU in Active Directory (AD).
|
|
729
732
|
*
|
|
730
733
|
* @example
|
|
731
734
|
* test.com/wuyingtest/computers
|
|
@@ -735,14 +738,14 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
735
738
|
* @remarks
|
|
736
739
|
* The subscription duration of the resource. The unit is specified by `PeriodUnit`. This parameter takes effect and is required only when `ChargeType` is set to `PrePaid`.
|
|
737
740
|
*
|
|
738
|
-
* - If `PeriodUnit` is set to `Month`, valid values:
|
|
741
|
+
* - If `PeriodUnit` is set to `Month`, valid values of this parameter:
|
|
739
742
|
*
|
|
740
743
|
* - 1
|
|
741
744
|
* - 2
|
|
742
745
|
* - 3
|
|
743
746
|
* - 6
|
|
744
747
|
*
|
|
745
|
-
* - If `PeriodUnit` is set to `Year`, valid values:
|
|
748
|
+
* - If `PeriodUnit` is set to `Year`, valid values of this parameter:
|
|
746
749
|
*
|
|
747
750
|
* - 1
|
|
748
751
|
* - 2
|
|
@@ -756,7 +759,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
756
759
|
period?: number;
|
|
757
760
|
/**
|
|
758
761
|
* @remarks
|
|
759
|
-
* The unit of the subscription
|
|
762
|
+
* The unit of the subscription billing method duration.
|
|
760
763
|
*
|
|
761
764
|
* @example
|
|
762
765
|
* Month
|
|
@@ -785,7 +788,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
785
788
|
purchaseOptions?: CreateDesktopsRequestPurchaseOptions;
|
|
786
789
|
/**
|
|
787
790
|
* @remarks
|
|
788
|
-
* The ID of the
|
|
791
|
+
* The ID of the Internet bandwidth throttling rule.
|
|
789
792
|
*
|
|
790
793
|
* @example
|
|
791
794
|
* qos-52fqmg6kvyro7zu4l
|
|
@@ -803,12 +806,20 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
803
806
|
regionId?: string;
|
|
804
807
|
/**
|
|
805
808
|
* @remarks
|
|
806
|
-
* The user ID
|
|
809
|
+
* The user ID for resource ownership in reseller pattern. You do not need to specify this parameter in non-reseller pattern.
|
|
807
810
|
*
|
|
808
811
|
* @example
|
|
809
812
|
* 1828644634819902
|
|
810
813
|
*/
|
|
811
814
|
resellerOwnerUid?: number;
|
|
815
|
+
/**
|
|
816
|
+
* @remarks
|
|
817
|
+
* 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.
|
|
818
|
+
*
|
|
819
|
+
* @example
|
|
820
|
+
* rp-xxx
|
|
821
|
+
*/
|
|
822
|
+
reservePoolId?: string;
|
|
812
823
|
/**
|
|
813
824
|
* @remarks
|
|
814
825
|
* The ID of the WUYING resource group.
|
|
@@ -837,10 +848,10 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
837
848
|
* @remarks
|
|
838
849
|
* The purchase method of the cloud desktop. Valid values:
|
|
839
850
|
*
|
|
840
|
-
* - prePaid:
|
|
841
|
-
* - postPaid:
|
|
842
|
-
* - monthPackage:
|
|
843
|
-
* - jvsAgentPackage: JVS Agent
|
|
851
|
+
* - prePaid: Monthly subscription with unlimited duration.
|
|
852
|
+
* - postPaid: Pay-as-you-go.
|
|
853
|
+
* - monthPackage: Monthly hours package.
|
|
854
|
+
* - jvsAgentPackage: JVS Agent hours package.
|
|
844
855
|
*
|
|
845
856
|
* @example
|
|
846
857
|
* monthPackage
|
|
@@ -900,7 +911,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
900
911
|
volumeEncryptionEnabled?: boolean;
|
|
901
912
|
/**
|
|
902
913
|
* @remarks
|
|
903
|
-
* The ID of the Key Management Service (KMS) key used when disk encryption is enabled.
|
|
914
|
+
* 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.
|
|
904
915
|
*
|
|
905
916
|
* @example
|
|
906
917
|
* 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
|
|
@@ -946,6 +957,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
946
957
|
qosRuleId: 'QosRuleId',
|
|
947
958
|
regionId: 'RegionId',
|
|
948
959
|
resellerOwnerUid: 'ResellerOwnerUid',
|
|
960
|
+
reservePoolId: 'ReservePoolId',
|
|
949
961
|
resourceGroupId: 'ResourceGroupId',
|
|
950
962
|
savingPlanId: 'SavingPlanId',
|
|
951
963
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
@@ -994,6 +1006,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
994
1006
|
qosRuleId: 'string',
|
|
995
1007
|
regionId: 'string',
|
|
996
1008
|
resellerOwnerUid: 'number',
|
|
1009
|
+
reservePoolId: 'string',
|
|
997
1010
|
resourceGroupId: 'string',
|
|
998
1011
|
savingPlanId: 'string',
|
|
999
1012
|
snapshotPolicyId: 'string',
|
|
@@ -23,9 +23,9 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* The cloud desktop name. The naming rules are as follows:
|
|
25
25
|
*
|
|
26
|
-
* - The name
|
|
27
|
-
* - The name must start with a letter
|
|
28
|
-
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.),
|
|
26
|
+
* - The name can be up to 64 characters in length.
|
|
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 (.), and hyphens (-).
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* DemoComputer02
|
|
@@ -38,17 +38,17 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
|
|
|
38
38
|
endUserIds?: string[];
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The custom hostname
|
|
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 uppercase letters, lowercase 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
|
-
* - `[begin_number,bits]`: the sequential number in the hostname. `begin_number`
|
|
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.
|
|
52
52
|
* - `name_suffix`: the suffix of the hostname.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
@@ -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 when disk encryption is enabled.
|
|
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: The time must be specified in UTC. For example, to specify 00:00 (UTC+8) every day,
|
|
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
|
|
@@ -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 } {
|
|
@@ -421,9 +421,9 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
421
421
|
* @remarks
|
|
422
422
|
* The cloud desktop name. The naming rules are as follows:
|
|
423
423
|
*
|
|
424
|
-
* - The name
|
|
425
|
-
* - The name must start with a letter
|
|
426
|
-
* - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.),
|
|
424
|
+
* - The name can be up to 64 characters in length.
|
|
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 (.), and hyphens (-).
|
|
427
427
|
*
|
|
428
428
|
* @example
|
|
429
429
|
* DemoComputer01
|
|
@@ -436,7 +436,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
436
436
|
desktopNameModelShrink?: string;
|
|
437
437
|
/**
|
|
438
438
|
* @remarks
|
|
439
|
-
* Specifies whether to automatically append a suffix to the cloud desktop name when
|
|
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 scheduled
|
|
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
|
|
@@ -484,17 +484,17 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
484
484
|
groupId?: string;
|
|
485
485
|
/**
|
|
486
486
|
* @remarks
|
|
487
|
-
* The custom hostname
|
|
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 uppercase letters, lowercase 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
|
-
* - `[begin_number,bits]`: the sequential number in the hostname. `begin_number`
|
|
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.
|
|
498
498
|
* - `name_suffix`: the suffix of the hostname.
|
|
499
499
|
*
|
|
500
500
|
* @example
|
|
@@ -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
|
|
@@ -526,14 +526,14 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
526
526
|
* @remarks
|
|
527
527
|
* The subscription duration of the resource. The unit is specified by `PeriodUnit`. This parameter takes effect and is required only when `ChargeType` is set to `PrePaid`.
|
|
528
528
|
*
|
|
529
|
-
* - If `PeriodUnit` is set to `Month`, valid values:
|
|
529
|
+
* - If `PeriodUnit` is set to `Month`, valid values of this parameter:
|
|
530
530
|
*
|
|
531
531
|
* - 1
|
|
532
532
|
* - 2
|
|
533
533
|
* - 3
|
|
534
534
|
* - 6
|
|
535
535
|
*
|
|
536
|
-
* - If `PeriodUnit` is set to `Year`, valid values:
|
|
536
|
+
* - If `PeriodUnit` is set to `Year`, valid values of this parameter:
|
|
537
537
|
*
|
|
538
538
|
* - 1
|
|
539
539
|
* - 2
|
|
@@ -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
|
|
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
|
|
@@ -594,12 +594,20 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
594
594
|
regionId?: string;
|
|
595
595
|
/**
|
|
596
596
|
* @remarks
|
|
597
|
-
* The user 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
|
|
601
601
|
*/
|
|
602
602
|
resellerOwnerUid?: number;
|
|
603
|
+
/**
|
|
604
|
+
* @remarks
|
|
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;
|
|
603
611
|
/**
|
|
604
612
|
* @remarks
|
|
605
613
|
* The ID of the WUYING resource group.
|
|
@@ -628,10 +636,10 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
628
636
|
* @remarks
|
|
629
637
|
* The purchase method of the cloud desktop. Valid values:
|
|
630
638
|
*
|
|
631
|
-
* - prePaid:
|
|
632
|
-
* - postPaid:
|
|
633
|
-
* - monthPackage:
|
|
634
|
-
* - jvsAgentPackage: JVS Agent
|
|
639
|
+
* - prePaid: Monthly subscription with unlimited duration.
|
|
640
|
+
* - postPaid: Pay-as-you-go.
|
|
641
|
+
* - monthPackage: Monthly hours package.
|
|
642
|
+
* - jvsAgentPackage: JVS Agent hours package.
|
|
635
643
|
*
|
|
636
644
|
* @example
|
|
637
645
|
* monthPackage
|
|
@@ -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 when disk encryption is enabled.
|
|
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',
|