@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
|
@@ -2,11 +2,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The device name
|
|
5
|
+
* The device name in the custom image. Valid values:
|
|
6
6
|
*
|
|
7
7
|
* - The device name of the system disk must be /dev/xvda.
|
|
8
8
|
*
|
|
9
|
-
* -
|
|
9
|
+
* - Data disk device names are sequentially ordered from /dev/xvdb to /dev/xvdz and cannot be duplicated.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* /dev/xvdb
|
|
@@ -14,11 +14,10 @@ export declare class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
14
14
|
device?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The type of the disk in the image. You can
|
|
17
|
+
* 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:
|
|
18
18
|
*
|
|
19
|
-
* - system: system disk.
|
|
20
|
-
*
|
|
21
|
-
* - data: data disk. You can specify a maximum of 16 data disk snapshots.
|
|
19
|
+
* - system: system disk. Only one system disk snapshot can be specified.
|
|
20
|
+
* - data: data disk. Up to 16 data disk snapshots can be specified.
|
|
22
21
|
*
|
|
23
22
|
* @example
|
|
24
23
|
* system
|
|
@@ -26,15 +25,12 @@ export declare class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
26
25
|
diskType?: string;
|
|
27
26
|
/**
|
|
28
27
|
* @remarks
|
|
29
|
-
* The size of the
|
|
30
|
-
*
|
|
31
|
-
* - If `DiskDeviceMapping.N.SnapshotId` is not specified, the value of this parameter depends on the disk type:
|
|
32
|
-
*
|
|
33
|
-
* - For basic disks, the value range is 5 to 2,000 and the default value is 5.
|
|
28
|
+
* The size of the disk, in GiB. The valid values and default value of DiskDeviceMapping.N.Size depend on DiskDeviceMapping.N.SnapshotId:
|
|
34
29
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
30
|
+
* - If SnapshotId is not specified, the valid values and default value of Size are:
|
|
31
|
+
* - Basic disk: 5 to 2000 GiB. Default value: 5.
|
|
32
|
+
* - Other disk types: 20 to 32768 GiB. Default value: 20.
|
|
33
|
+
* - 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.
|
|
38
34
|
*
|
|
39
35
|
* @example
|
|
40
36
|
* 2000
|
|
@@ -42,7 +38,7 @@ export declare class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
42
38
|
size?: number;
|
|
43
39
|
/**
|
|
44
40
|
* @remarks
|
|
45
|
-
* The ID
|
|
41
|
+
* The snapshot ID.
|
|
46
42
|
*
|
|
47
43
|
* @example
|
|
48
44
|
* s-bp17441ohwkdca0****
|
|
@@ -62,13 +58,11 @@ export declare class CreateImageRequestDiskDeviceMapping extends $dara.Model {
|
|
|
62
58
|
export declare class CreateImageRequestFeatures extends $dara.Model {
|
|
63
59
|
/**
|
|
64
60
|
* @remarks
|
|
65
|
-
* The
|
|
66
|
-
*
|
|
67
|
-
* -
|
|
68
|
-
*
|
|
69
|
-
* - 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.
|
|
61
|
+
* The metadata access mode of the image. Valid values:
|
|
62
|
+
* - v1: When you create an ECS instance from this image, you cannot set the metadata access mode to "security hardening mode only".
|
|
63
|
+
* - v2: When you create an ECS instance from this image, you can set the metadata access mode to "security hardening mode only".
|
|
70
64
|
*
|
|
71
|
-
* Default value:
|
|
65
|
+
* 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.
|
|
72
66
|
*
|
|
73
67
|
* @example
|
|
74
68
|
* v2
|
|
@@ -88,9 +82,7 @@ export declare class CreateImageRequestFeatures extends $dara.Model {
|
|
|
88
82
|
export declare class CreateImageRequestTag extends $dara.Model {
|
|
89
83
|
/**
|
|
90
84
|
* @remarks
|
|
91
|
-
* The key of
|
|
92
|
-
*
|
|
93
|
-
* > For compatibility, we recommend that you use the `Tag.N.Key` parameter.
|
|
85
|
+
* 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://`.
|
|
94
86
|
*
|
|
95
87
|
* @example
|
|
96
88
|
* KeyTest
|
|
@@ -98,7 +90,7 @@ export declare class CreateImageRequestTag extends $dara.Model {
|
|
|
98
90
|
key?: string;
|
|
99
91
|
/**
|
|
100
92
|
* @remarks
|
|
101
|
-
* The value of
|
|
93
|
+
* 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://`.
|
|
102
94
|
*
|
|
103
95
|
* @example
|
|
104
96
|
* ValueTest
|
|
@@ -118,13 +110,11 @@ export declare class CreateImageRequestTag extends $dara.Model {
|
|
|
118
110
|
export declare class CreateImageRequest extends $dara.Model {
|
|
119
111
|
/**
|
|
120
112
|
* @remarks
|
|
121
|
-
* The system
|
|
122
|
-
*
|
|
123
|
-
* - i386
|
|
124
|
-
*
|
|
125
|
-
* - x86_64
|
|
113
|
+
* 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:
|
|
126
114
|
*
|
|
127
|
-
* -
|
|
115
|
+
* - i386.
|
|
116
|
+
* - x86_64.
|
|
117
|
+
* - arm64.
|
|
128
118
|
*
|
|
129
119
|
* Default value: x86_64.
|
|
130
120
|
*
|
|
@@ -137,14 +127,14 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
137
127
|
* The boot mode of the image. Valid values:
|
|
138
128
|
*
|
|
139
129
|
* - BIOS: BIOS boot mode.
|
|
140
|
-
*
|
|
141
130
|
* - UEFI: UEFI boot mode.
|
|
131
|
+
* - (Default) UEFI-Preferred: dual boot mode.
|
|
142
132
|
*
|
|
143
|
-
*
|
|
133
|
+
* <notice>
|
|
144
134
|
*
|
|
145
|
-
*
|
|
135
|
+
* 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~~).
|
|
146
136
|
*
|
|
147
|
-
*
|
|
137
|
+
* </notice>
|
|
148
138
|
*
|
|
149
139
|
* @example
|
|
150
140
|
* BIOS
|
|
@@ -152,7 +142,7 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
152
142
|
bootMode?: string;
|
|
153
143
|
/**
|
|
154
144
|
* @remarks
|
|
155
|
-
*
|
|
145
|
+
* 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).
|
|
156
146
|
*
|
|
157
147
|
* @example
|
|
158
148
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -160,7 +150,7 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
160
150
|
clientToken?: string;
|
|
161
151
|
/**
|
|
162
152
|
* @remarks
|
|
163
|
-
* The image description
|
|
153
|
+
* The description of the image. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
164
154
|
*
|
|
165
155
|
* @example
|
|
166
156
|
* ImageTestDescription
|
|
@@ -168,9 +158,9 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
168
158
|
description?: string;
|
|
169
159
|
/**
|
|
170
160
|
* @remarks
|
|
171
|
-
* The image
|
|
161
|
+
* The image detection strategy. If this parameter is not specified, detection is not triggered. Only the Standard detection mode is supported.
|
|
172
162
|
*
|
|
173
|
-
* >
|
|
163
|
+
* > 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).
|
|
174
164
|
*
|
|
175
165
|
* @example
|
|
176
166
|
* Standard
|
|
@@ -178,28 +168,18 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
178
168
|
detectionStrategy?: string;
|
|
179
169
|
/**
|
|
180
170
|
* @remarks
|
|
181
|
-
* The
|
|
171
|
+
* 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.
|
|
182
172
|
*/
|
|
183
173
|
diskDeviceMapping?: CreateImageRequestDiskDeviceMapping[];
|
|
184
|
-
/**
|
|
185
|
-
* @remarks
|
|
186
|
-
* Specifies whether to perform a dry run to check the request. Valid values:
|
|
187
|
-
*
|
|
188
|
-
* - 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.
|
|
189
|
-
*
|
|
190
|
-
* - 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.
|
|
191
|
-
*
|
|
192
|
-
* Default value: false.
|
|
193
|
-
*/
|
|
194
174
|
dryRun?: boolean;
|
|
195
175
|
/**
|
|
196
176
|
* @remarks
|
|
197
|
-
* The image
|
|
177
|
+
* The image feature properties.
|
|
198
178
|
*/
|
|
199
179
|
features?: CreateImageRequestFeatures;
|
|
200
180
|
/**
|
|
201
181
|
* @remarks
|
|
202
|
-
* The
|
|
182
|
+
* 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 (-).
|
|
203
183
|
*
|
|
204
184
|
* @example
|
|
205
185
|
* hangzhou-daily-update
|
|
@@ -207,7 +187,7 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
207
187
|
imageFamily?: string;
|
|
208
188
|
/**
|
|
209
189
|
* @remarks
|
|
210
|
-
* The name
|
|
190
|
+
* 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 (-).
|
|
211
191
|
*
|
|
212
192
|
* @example
|
|
213
193
|
* TestCentOS
|
|
@@ -215,9 +195,9 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
215
195
|
imageName?: string;
|
|
216
196
|
/**
|
|
217
197
|
* @remarks
|
|
218
|
-
* The version
|
|
198
|
+
* The image version.
|
|
219
199
|
*
|
|
220
|
-
* > If you specify an instance ID (`InstanceId`) and the
|
|
200
|
+
* > 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.
|
|
221
201
|
*
|
|
222
202
|
* @example
|
|
223
203
|
* 2017011017
|
|
@@ -225,7 +205,7 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
225
205
|
imageVersion?: string;
|
|
226
206
|
/**
|
|
227
207
|
* @remarks
|
|
228
|
-
* The ID
|
|
208
|
+
* The instance ID. This parameter is required when you create a custom image from an instance.
|
|
229
209
|
*
|
|
230
210
|
* @example
|
|
231
211
|
* i-bp1g6zv0ce8oghu7****
|
|
@@ -235,58 +215,33 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
235
215
|
ownerId?: number;
|
|
236
216
|
/**
|
|
237
217
|
* @remarks
|
|
238
|
-
* The operating system distribution.
|
|
218
|
+
* 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:
|
|
239
219
|
*
|
|
240
220
|
* - Aliyun
|
|
241
|
-
*
|
|
242
221
|
* - Anolis
|
|
243
|
-
*
|
|
244
222
|
* - CentOS
|
|
245
|
-
*
|
|
246
223
|
* - Ubuntu
|
|
247
|
-
*
|
|
248
224
|
* - CoreOS
|
|
249
|
-
*
|
|
250
225
|
* - SUSE
|
|
251
|
-
*
|
|
252
226
|
* - Debian
|
|
253
|
-
*
|
|
254
227
|
* - OpenSUSE
|
|
255
|
-
*
|
|
256
228
|
* - FreeBSD
|
|
257
|
-
*
|
|
258
229
|
* - RedHat
|
|
259
|
-
*
|
|
260
230
|
* - Kylin
|
|
261
|
-
*
|
|
262
231
|
* - UOS
|
|
263
|
-
*
|
|
264
232
|
* - Fedora
|
|
265
|
-
*
|
|
266
233
|
* - Fedora CoreOS
|
|
267
|
-
*
|
|
268
234
|
* - CentOS Stream
|
|
269
|
-
*
|
|
270
235
|
* - AlmaLinux
|
|
271
|
-
*
|
|
272
236
|
* - Rocky Linux
|
|
273
|
-
*
|
|
274
237
|
* - Gentoo
|
|
275
|
-
*
|
|
276
238
|
* - Customized Linux
|
|
277
|
-
*
|
|
278
239
|
* - Others Linux
|
|
279
|
-
*
|
|
280
240
|
* - Windows Server 2022
|
|
281
|
-
*
|
|
282
241
|
* - Windows Server 2019
|
|
283
|
-
*
|
|
284
242
|
* - Windows Server 2016
|
|
285
|
-
*
|
|
286
243
|
* - Windows Server 2012
|
|
287
|
-
*
|
|
288
244
|
* - Windows Server 2008
|
|
289
|
-
*
|
|
290
245
|
* - Windows Server 2003
|
|
291
246
|
*
|
|
292
247
|
* Default value: Others Linux.
|
|
@@ -297,7 +252,7 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
297
252
|
platform?: string;
|
|
298
253
|
/**
|
|
299
254
|
* @remarks
|
|
300
|
-
* The ID of the
|
|
255
|
+
* 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.
|
|
301
256
|
*
|
|
302
257
|
* This parameter is required.
|
|
303
258
|
*
|
|
@@ -307,9 +262,9 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
307
262
|
regionId?: string;
|
|
308
263
|
/**
|
|
309
264
|
* @remarks
|
|
310
|
-
* The ID of the resource group to which
|
|
265
|
+
* 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.
|
|
311
266
|
*
|
|
312
|
-
* >
|
|
267
|
+
* > 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.
|
|
313
268
|
*
|
|
314
269
|
* @example
|
|
315
270
|
* rg-bp67acfmxazb4p****
|
|
@@ -319,9 +274,9 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
319
274
|
resourceOwnerId?: number;
|
|
320
275
|
/**
|
|
321
276
|
* @remarks
|
|
322
|
-
* The ID
|
|
277
|
+
* The snapshot ID used to create the custom image.
|
|
323
278
|
*
|
|
324
|
-
* > If you create a custom image from
|
|
279
|
+
* > 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.
|
|
325
280
|
*
|
|
326
281
|
* @example
|
|
327
282
|
* s-bp17441ohwkdca0****
|
|
@@ -329,7 +284,7 @@ export declare class CreateImageRequest extends $dara.Model {
|
|
|
329
284
|
snapshotId?: string;
|
|
330
285
|
/**
|
|
331
286
|
* @remarks
|
|
332
|
-
* The tags
|
|
287
|
+
* The tags.
|
|
333
288
|
*/
|
|
334
289
|
tag?: CreateImageRequestTag[];
|
|
335
290
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateImageRequest.js","sourceRoot":"","sources":["../../src/models/CreateImageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateImageRequest.js","sourceRoot":"","sources":["../../src/models/CreateImageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IA6ClE,MAAM,CAAC,KAAK;QACV,OA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OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE;SAC5D,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC;QACD,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxPD,gDAwPC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateImageResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID
|
|
5
|
+
* The image ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* m-bp146shijn7hujku****
|
|
@@ -10,7 +10,7 @@ export declare class CreateImageResponseBody extends $dara.Model {
|
|
|
10
10
|
imageId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The ID
|
|
13
|
+
* The request ID.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* C8B26B44-0189-443E-9816-*******
|