@alicloud/ecs20140526 7.9.0 → 7.9.2
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 +302 -298
- package/dist/client.js +305 -298
- package/dist/client.js.map +1 -1
- package/dist/models/AttachDiskRequest.d.ts +25 -27
- package/dist/models/AttachDiskRequest.js.map +1 -1
- package/dist/models/CancelAutoSnapshotPolicyRequest.d.ts +6 -9
- package/dist/models/CancelAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +1 -1
- package/dist/models/CloneDisksRequest.d.ts +55 -80
- package/dist/models/CloneDisksRequest.js.map +1 -1
- package/dist/models/CloneDisksResponseBody.d.ts +2 -2
- package/dist/models/CopySnapshotRequest.d.ts +17 -18
- package/dist/models/CopySnapshotRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +286 -380
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +282 -375
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyRequest.d.ts +29 -35
- package/dist/models/CreateAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateDiskRequest.d.ts +30 -30
- package/dist/models/CreateDiskResponseBody.d.ts +2 -2
- package/dist/models/CreateImageRequest.d.ts +43 -88
- package/dist/models/CreateImageRequest.js.map +1 -1
- package/dist/models/CreateImageResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateRequest.d.ts +235 -278
- package/dist/models/CreateLaunchTemplateRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateResponseBody.d.ts +3 -3
- package/dist/models/CreateSnapshotGroupRequest.d.ts +23 -25
- package/dist/models/CreateSnapshotGroupRequest.js.map +1 -1
- package/dist/models/CreateSnapshotRequest.d.ts +24 -29
- package/dist/models/CreateSnapshotRequest.js.map +1 -1
- package/dist/models/CreateVswitchRequest.d.ts +0 -29
- package/dist/models/CreateVswitchRequest.js.map +1 -1
- package/dist/models/CreateVswitchResponseBody.d.ts +0 -8
- package/dist/models/CreateVswitchResponseBody.js.map +1 -1
- package/dist/models/DeleteSnapshotGroupRequest.d.ts +2 -2
- package/dist/models/DeleteSnapshotGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteSnapshotRequest.d.ts +2 -2
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -1
- package/dist/models/DescribeDiskDefaultKmskeyIdResponseBody.d.ts +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusResponseBody.d.ts +5 -3
- package/dist/models/DescribeDiskEncryptionByDefaultStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeImagesRequest.d.ts +61 -88
- package/dist/models/DescribeImagesRequest.js +2 -0
- package/dist/models/DescribeImagesRequest.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +6 -5
- package/dist/models/DescribeImagesResponseBody.js +2 -0
- package/dist/models/DescribeImagesResponseBody.js.map +1 -1
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +13 -13
- package/dist/models/DescribeSnapshotGroupsRequest.d.ts +11 -11
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +3 -3
- package/dist/models/DisableDiskEncryptionByDefaultRequest.d.ts +1 -1
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +306 -298
- package/src/models/AttachDiskRequest.ts +25 -27
- package/src/models/CancelAutoSnapshotPolicyRequest.ts +6 -9
- package/src/models/CancelImagePipelineExecutionRequest.ts +1 -1
- package/src/models/CloneDisksRequest.ts +55 -80
- package/src/models/CloneDisksResponseBody.ts +2 -2
- package/src/models/CopySnapshotRequest.ts +17 -18
- package/src/models/CreateAutoProvisioningGroupRequest.ts +287 -381
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +283 -376
- package/src/models/CreateAutoSnapshotPolicyRequest.ts +29 -35
- package/src/models/CreateAutoSnapshotPolicyResponseBody.ts +1 -1
- package/src/models/CreateDiskRequest.ts +30 -30
- package/src/models/CreateDiskResponseBody.ts +2 -2
- package/src/models/CreateImageRequest.ts +43 -88
- package/src/models/CreateImageResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateRequest.ts +235 -278
- package/src/models/CreateLaunchTemplateResponseBody.ts +3 -3
- package/src/models/CreateSnapshotGroupRequest.ts +23 -25
- package/src/models/CreateSnapshotRequest.ts +24 -29
- package/src/models/CreateVswitchRequest.ts +0 -29
- package/src/models/CreateVswitchResponseBody.ts +0 -8
- package/src/models/DeleteSnapshotGroupRequest.ts +2 -2
- package/src/models/DeleteSnapshotGroupResponseBody.ts +1 -1
- package/src/models/DeleteSnapshotRequest.ts +2 -2
- package/src/models/DescribeDiskDefaultKmskeyIdRequest.ts +1 -1
- package/src/models/DescribeDiskDefaultKmskeyIdResponseBody.ts +1 -1
- package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +1 -1
- package/src/models/DescribeDiskEncryptionByDefaultStatusResponseBody.ts +5 -3
- package/src/models/DescribeImagesRequest.ts +64 -89
- package/src/models/DescribeImagesResponseBody.ts +8 -5
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +13 -13
- package/src/models/DescribeSnapshotGroupsRequest.ts +11 -11
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +3 -3
- package/src/models/DisableDiskEncryptionByDefaultRequest.ts +1 -1
- package/src/models/RenewElasticityAssurancesRequest.ts +3 -3
|
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The device name
|
|
8
|
+
* The device name in the custom image. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - The device name of the system disk must be /dev/xvda.
|
|
11
11
|
*
|
|
12
|
-
* -
|
|
12
|
+
* - Data disk device names are sequentially ordered from /dev/xvdb to /dev/xvdz and cannot be duplicated.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* /dev/xvdb
|
|
@@ -17,11 +17,10 @@ export class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
17
17
|
device?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The type of the disk in the image. You can
|
|
20
|
+
* The type of the disk in the new image. You can use this parameter to specify a data disk snapshot as the system disk of the image. If this parameter is not specified, the disk type defaults to the type of the disk corresponding to the snapshot. Valid values:
|
|
21
21
|
*
|
|
22
|
-
* - system: system disk.
|
|
23
|
-
*
|
|
24
|
-
* - data: data disk. You can specify a maximum of 16 data disk snapshots.
|
|
22
|
+
* - system: system disk. Only one system disk snapshot can be specified.
|
|
23
|
+
* - data: data disk. Up to 16 data disk snapshots can be specified.
|
|
25
24
|
*
|
|
26
25
|
* @example
|
|
27
26
|
* system
|
|
@@ -29,15 +28,12 @@ export class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
29
28
|
diskType?: string;
|
|
30
29
|
/**
|
|
31
30
|
* @remarks
|
|
32
|
-
* The size of the
|
|
33
|
-
*
|
|
34
|
-
* - If `DiskDeviceMapping.N.SnapshotId` is not specified, the value of this parameter depends on the disk type:
|
|
35
|
-
*
|
|
36
|
-
* - For basic disks, the value range is 5 to 2,000 and the default value is 5.
|
|
31
|
+
* The size of the disk, in GiB. The valid values and default value of DiskDeviceMapping.N.Size depend on DiskDeviceMapping.N.SnapshotId:
|
|
37
32
|
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
33
|
+
* - If SnapshotId is not specified, the valid values and default value of Size are:
|
|
34
|
+
* - Basic disk: 5 to 2000 GiB. Default value: 5.
|
|
35
|
+
* - Other disk types: 20 to 32768 GiB. Default value: 20.
|
|
36
|
+
* - If SnapshotId is specified, the value of Size must be greater than or equal to the size of the snapshot. Default value: the size of the snapshot.
|
|
41
37
|
*
|
|
42
38
|
* @example
|
|
43
39
|
* 2000
|
|
@@ -45,7 +41,7 @@ export class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
45
41
|
size?: number;
|
|
46
42
|
/**
|
|
47
43
|
* @remarks
|
|
48
|
-
* The ID
|
|
44
|
+
* The snapshot ID.
|
|
49
45
|
*
|
|
50
46
|
* @example
|
|
51
47
|
* s-bp17441ohwkdca0****
|
|
@@ -81,13 +77,11 @@ export class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
81
77
|
export class CreateImageRequestFeatures extends $dara.Model {
|
|
82
78
|
/**
|
|
83
79
|
* @remarks
|
|
84
|
-
* The
|
|
85
|
-
*
|
|
86
|
-
* -
|
|
87
|
-
*
|
|
88
|
-
* - v2: The enforced mode. When you create an ECS instance from an image that has the metadata access mode set to this value, you can configure the instance metadata access mode as Enforced.
|
|
80
|
+
* The metadata access mode of the image. Valid values:
|
|
81
|
+
* - v1: When you create an ECS instance from this image, you cannot set the metadata access mode to "security hardening mode only".
|
|
82
|
+
* - v2: When you create an ECS instance from this image, you can set the metadata access mode to "security hardening mode only".
|
|
89
83
|
*
|
|
90
|
-
* Default value:
|
|
84
|
+
* Default value: When creating an image from a snapshot, the default is v1. When creating an image from an instance, the default is the ImdsSupport value of the image used when the instance was created.
|
|
91
85
|
*
|
|
92
86
|
* @example
|
|
93
87
|
* v2
|
|
@@ -117,9 +111,7 @@ export class CreateImageRequestFeatures extends $dara.Model {
|
|
|
117
111
|
export class CreateImageRequestTag extends $dara.Model {
|
|
118
112
|
/**
|
|
119
113
|
* @remarks
|
|
120
|
-
* The key of
|
|
121
|
-
*
|
|
122
|
-
* > For compatibility, we recommend that you use the `Tag.N.Key` parameter.
|
|
114
|
+
* The tag key of the image. Valid values of N: 1 to 20. The tag key cannot be an empty string. It can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
|
|
123
115
|
*
|
|
124
116
|
* @example
|
|
125
117
|
* KeyTest
|
|
@@ -127,7 +119,7 @@ export class CreateImageRequestTag extends $dara.Model {
|
|
|
127
119
|
key?: string;
|
|
128
120
|
/**
|
|
129
121
|
* @remarks
|
|
130
|
-
* The value of
|
|
122
|
+
* The tag value of the image. Valid values of N: 1 to 20. The tag value can be an empty string. It can be up to 128 characters in length and cannot start with `acs:`. It cannot contain `http://` or `https://`.
|
|
131
123
|
*
|
|
132
124
|
* @example
|
|
133
125
|
* ValueTest
|
|
@@ -159,13 +151,11 @@ export class CreateImageRequestTag extends $dara.Model {
|
|
|
159
151
|
export class CreateImageRequest extends $dara.Model {
|
|
160
152
|
/**
|
|
161
153
|
* @remarks
|
|
162
|
-
* The system
|
|
163
|
-
*
|
|
164
|
-
* - i386
|
|
165
|
-
*
|
|
166
|
-
* - x86_64
|
|
154
|
+
* The system architecture. After a data disk snapshot is specified as the system disk of the image, use this parameter to specify the system architecture of the system disk. Valid values:
|
|
167
155
|
*
|
|
168
|
-
* -
|
|
156
|
+
* - i386.
|
|
157
|
+
* - x86_64.
|
|
158
|
+
* - arm64.
|
|
169
159
|
*
|
|
170
160
|
* Default value: x86_64.
|
|
171
161
|
*
|
|
@@ -178,14 +168,14 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
178
168
|
* The boot mode of the image. Valid values:
|
|
179
169
|
*
|
|
180
170
|
* - BIOS: BIOS boot mode.
|
|
181
|
-
*
|
|
182
171
|
* - UEFI: UEFI boot mode.
|
|
172
|
+
* - (Default) UEFI-Preferred: dual boot mode.
|
|
183
173
|
*
|
|
184
|
-
*
|
|
174
|
+
* <notice>
|
|
185
175
|
*
|
|
186
|
-
*
|
|
176
|
+
* To prevent instances from failing to start due to an unsupported boot mode, make sure that you understand the boot modes supported by the target image before specifying this parameter. For more information about image boot modes, see [Image boot modes](~~2244655#b9caa9b8bb1wf~~).
|
|
187
177
|
*
|
|
188
|
-
*
|
|
178
|
+
* </notice>
|
|
189
179
|
*
|
|
190
180
|
* @example
|
|
191
181
|
* BIOS
|
|
@@ -193,7 +183,7 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
193
183
|
bootMode?: string;
|
|
194
184
|
/**
|
|
195
185
|
* @remarks
|
|
196
|
-
*
|
|
186
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. **ClientToken** 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).
|
|
197
187
|
*
|
|
198
188
|
* @example
|
|
199
189
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -201,7 +191,7 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
201
191
|
clientToken?: string;
|
|
202
192
|
/**
|
|
203
193
|
* @remarks
|
|
204
|
-
* The image description
|
|
194
|
+
* The description of the image. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
205
195
|
*
|
|
206
196
|
* @example
|
|
207
197
|
* ImageTestDescription
|
|
@@ -209,9 +199,9 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
209
199
|
description?: string;
|
|
210
200
|
/**
|
|
211
201
|
* @remarks
|
|
212
|
-
* The image
|
|
202
|
+
* The image detection strategy. If this parameter is not specified, detection is not triggered. Only the Standard detection mode is supported.
|
|
213
203
|
*
|
|
214
|
-
* >
|
|
204
|
+
* > Most Linux and Windows versions are supported. For more information about image detection items and operating system limitations, see [Image detection overview](https://help.aliyun.com/document_detail/439819.html) and [Operating system limitations for image detection](https://help.aliyun.com/document_detail/475800.html).
|
|
215
205
|
*
|
|
216
206
|
* @example
|
|
217
207
|
* Standard
|
|
@@ -219,28 +209,18 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
219
209
|
detectionStrategy?: string;
|
|
220
210
|
/**
|
|
221
211
|
* @remarks
|
|
222
|
-
* The
|
|
212
|
+
* The disk and snapshot information used to create the custom image. Use this parameter to specify snapshots when you want to create a custom image from system disk and data disk snapshots.
|
|
223
213
|
*/
|
|
224
214
|
diskDeviceMapping?: CreateImageRequestDiskDeviceMapping[];
|
|
225
|
-
/**
|
|
226
|
-
* @remarks
|
|
227
|
-
* Specifies whether to perform a dry run to check the request. Valid values:
|
|
228
|
-
*
|
|
229
|
-
* - true: performs a dry run but does not create the image. The system checks whether your AccessKey pair is valid, whether RAM users are granted permissions, and whether the required parameters are specified. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
230
|
-
*
|
|
231
|
-
* - false: Sends the request to perform the operation. If the request is valid, a 2xx HTTP status code is returned and the image is created.
|
|
232
|
-
*
|
|
233
|
-
* Default value: false.
|
|
234
|
-
*/
|
|
235
215
|
dryRun?: boolean;
|
|
236
216
|
/**
|
|
237
217
|
* @remarks
|
|
238
|
-
* The image
|
|
218
|
+
* The image feature properties.
|
|
239
219
|
*/
|
|
240
220
|
features?: CreateImageRequestFeatures;
|
|
241
221
|
/**
|
|
242
222
|
* @remarks
|
|
243
|
-
* The
|
|
223
|
+
* The image family name. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with aliyun or acs:. It cannot contain http:// or https://. It can contain digits, colons (:), underscores (_), or hyphens (-).
|
|
244
224
|
*
|
|
245
225
|
* @example
|
|
246
226
|
* hangzhou-daily-update
|
|
@@ -248,7 +228,7 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
248
228
|
imageFamily?: string;
|
|
249
229
|
/**
|
|
250
230
|
* @remarks
|
|
251
|
-
* The name
|
|
231
|
+
* The image name. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with http:// or https://. It can contain digits, colons (:), underscores (_), or hyphens (-).
|
|
252
232
|
*
|
|
253
233
|
* @example
|
|
254
234
|
* TestCentOS
|
|
@@ -256,9 +236,9 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
256
236
|
imageName?: string;
|
|
257
237
|
/**
|
|
258
238
|
* @remarks
|
|
259
|
-
* The version
|
|
239
|
+
* The image version.
|
|
260
240
|
*
|
|
261
|
-
* > If you specify an instance ID (`InstanceId`) and the
|
|
241
|
+
* > If you specify an instance ID (`InstanceId`) and the image of the instance is an Alibaba Cloud Marketplace image or a custom image created from an Alibaba Cloud Marketplace image, this parameter must be the same as the `ImageVersion` of the current instance image or left empty.
|
|
262
242
|
*
|
|
263
243
|
* @example
|
|
264
244
|
* 2017011017
|
|
@@ -266,7 +246,7 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
266
246
|
imageVersion?: string;
|
|
267
247
|
/**
|
|
268
248
|
* @remarks
|
|
269
|
-
* The ID
|
|
249
|
+
* The instance ID. This parameter is required when you create a custom image from an instance.
|
|
270
250
|
*
|
|
271
251
|
* @example
|
|
272
252
|
* i-bp1g6zv0ce8oghu7****
|
|
@@ -276,58 +256,33 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
276
256
|
ownerId?: number;
|
|
277
257
|
/**
|
|
278
258
|
* @remarks
|
|
279
|
-
* The operating system distribution.
|
|
259
|
+
* The operating system distribution. After a data disk snapshot is specified as the system disk of the image, use this parameter to specify the operating system distribution of the system disk. Valid values:
|
|
280
260
|
*
|
|
281
261
|
* - Aliyun
|
|
282
|
-
*
|
|
283
262
|
* - Anolis
|
|
284
|
-
*
|
|
285
263
|
* - CentOS
|
|
286
|
-
*
|
|
287
264
|
* - Ubuntu
|
|
288
|
-
*
|
|
289
265
|
* - CoreOS
|
|
290
|
-
*
|
|
291
266
|
* - SUSE
|
|
292
|
-
*
|
|
293
267
|
* - Debian
|
|
294
|
-
*
|
|
295
268
|
* - OpenSUSE
|
|
296
|
-
*
|
|
297
269
|
* - FreeBSD
|
|
298
|
-
*
|
|
299
270
|
* - RedHat
|
|
300
|
-
*
|
|
301
271
|
* - Kylin
|
|
302
|
-
*
|
|
303
272
|
* - UOS
|
|
304
|
-
*
|
|
305
273
|
* - Fedora
|
|
306
|
-
*
|
|
307
274
|
* - Fedora CoreOS
|
|
308
|
-
*
|
|
309
275
|
* - CentOS Stream
|
|
310
|
-
*
|
|
311
276
|
* - AlmaLinux
|
|
312
|
-
*
|
|
313
277
|
* - Rocky Linux
|
|
314
|
-
*
|
|
315
278
|
* - Gentoo
|
|
316
|
-
*
|
|
317
279
|
* - Customized Linux
|
|
318
|
-
*
|
|
319
280
|
* - Others Linux
|
|
320
|
-
*
|
|
321
281
|
* - Windows Server 2022
|
|
322
|
-
*
|
|
323
282
|
* - Windows Server 2019
|
|
324
|
-
*
|
|
325
283
|
* - Windows Server 2016
|
|
326
|
-
*
|
|
327
284
|
* - Windows Server 2012
|
|
328
|
-
*
|
|
329
285
|
* - Windows Server 2008
|
|
330
|
-
*
|
|
331
286
|
* - Windows Server 2003
|
|
332
287
|
*
|
|
333
288
|
* Default value: Others Linux.
|
|
@@ -338,7 +293,7 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
338
293
|
platform?: string;
|
|
339
294
|
/**
|
|
340
295
|
* @remarks
|
|
341
|
-
* The ID of the
|
|
296
|
+
* The region ID of the image. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
342
297
|
*
|
|
343
298
|
* This parameter is required.
|
|
344
299
|
*
|
|
@@ -348,9 +303,9 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
348
303
|
regionId?: string;
|
|
349
304
|
/**
|
|
350
305
|
* @remarks
|
|
351
|
-
* The ID of the resource group to which
|
|
306
|
+
* The ID of the resource group to which the custom image belongs. If this parameter is not set, the created image belongs to the default resource group.
|
|
352
307
|
*
|
|
353
|
-
* >
|
|
308
|
+
* > If you invoke this operation as a Resource Access Management (RAM) user and `ResourceGroupId` is left empty, note that when the RAM user does not have permissions on the default resource group, the error message `Forbidden: User not authorized to operate on the specified resource` is returned. Set a resource group ID that the RAM user has permissions on, or grant the RAM user permissions on the default resource group before invoking this operation again.
|
|
354
309
|
*
|
|
355
310
|
* @example
|
|
356
311
|
* rg-bp67acfmxazb4p****
|
|
@@ -360,9 +315,9 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
360
315
|
resourceOwnerId?: number;
|
|
361
316
|
/**
|
|
362
317
|
* @remarks
|
|
363
|
-
* The ID
|
|
318
|
+
* The snapshot ID used to create the custom image.
|
|
364
319
|
*
|
|
365
|
-
* > If you create a custom image from
|
|
320
|
+
* > If you want to create a custom image only from the system disk snapshot of an instance, you can use this parameter or the `DiskDeviceMapping.N.SnapshotId` parameter. To include data disk snapshots, use only the `DiskDeviceMapping.N.SnapshotId` parameter to specify snapshots.
|
|
366
321
|
*
|
|
367
322
|
* @example
|
|
368
323
|
* s-bp17441ohwkdca0****
|
|
@@ -370,7 +325,7 @@ export class CreateImageRequest extends $dara.Model {
|
|
|
370
325
|
snapshotId?: string;
|
|
371
326
|
/**
|
|
372
327
|
* @remarks
|
|
373
|
-
* The tags
|
|
328
|
+
* The tags.
|
|
374
329
|
*/
|
|
375
330
|
tag?: CreateImageRequestTag[];
|
|
376
331
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateImageResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The image ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* m-bp146shijn7hujku****
|
|
@@ -13,7 +13,7 @@ export class CreateImageResponseBody extends $dara.Model {
|
|
|
13
13
|
imageId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The request ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* C8B26B44-0189-443E-9816-*******
|