@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,17 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeImagesRequestFilter extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The filter key
|
|
8
|
+
* The filter key for querying resources. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* -
|
|
10
|
+
* - When this parameter is set to `CreationStartTime`, you can query resources created after the time specified by `Filter.N.Value`.
|
|
11
|
+
* - When this parameter is set to `CreationEndTime`, you can query resources created before the time specified by `Filter.N.Value`.
|
|
12
|
+
* - When this parameter is set to `NetworkType`, you can query resources of the specified network type.
|
|
13
|
+
* - When this parameter is set to `CpuOnlineUpgrade`, `CpuOnlineDowngrade`, `MemoryOnlineUpgrade`, or `MemoryOnlineDowngrade`, you can query the CPU or memory hot-plugging support of the specified image.
|
|
11
14
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* - If this parameter is set to `NetworkType`, you can query resources of the specified network type.
|
|
15
|
-
*
|
|
16
|
-
* - If this parameter is set to any of `CpuOnlineUpgrade`, `CpuOnlineDowngrade`, `MemoryOnlineUpgrade`, or `MemoryOnlineDowngrade`, you can query the hot-swapping support status of CPU or memory for the specified image.
|
|
17
|
-
*
|
|
18
|
-
* Default Value: null.
|
|
15
|
+
* Default value: null.
|
|
19
16
|
*
|
|
20
17
|
* @example
|
|
21
18
|
* CreationStartTime
|
|
@@ -23,15 +20,13 @@ export class DescribeImagesRequestFilter extends $dara.Model {
|
|
|
23
20
|
key?: string;
|
|
24
21
|
/**
|
|
25
22
|
* @remarks
|
|
26
|
-
* The filter value
|
|
27
|
-
*
|
|
28
|
-
* - When
|
|
23
|
+
* The filter value for querying resources.
|
|
24
|
+
* - When `Filter.N.Key` is `CreationStartTime` or `CreationEndTime`, the format is `yyyy-MM-ddTHH:mmZ` in UTC+0.
|
|
25
|
+
* - When `Filter.N.Key` is `NetworkType`, valid values for the network type include `vpc` and `classic`.
|
|
29
26
|
*
|
|
30
|
-
* - When
|
|
27
|
+
* - When `Filter.N.Key` is `CpuOnlineUpgrade`, `CpuOnlineDowngrade`, `MemoryOnlineUpgrade`, or `MemoryOnlineDowngrade`, valid values are `supported` and `unsupported`.
|
|
31
28
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* Default Value: null.
|
|
29
|
+
* Default value: null.
|
|
35
30
|
*
|
|
36
31
|
* @example
|
|
37
32
|
* 2017-12-05T22:40Z
|
|
@@ -65,7 +60,7 @@ export class DescribeImagesRequestTag extends $dara.Model {
|
|
|
65
60
|
* @remarks
|
|
66
61
|
* The tag key of the image. Valid values of N: 1 to 20.
|
|
67
62
|
*
|
|
68
|
-
* When you use
|
|
63
|
+
* When you use a single tag to filter resources, the resource count with this tag cannot exceed 1000. When you use multiple tags to filter resources, the resource count of resources that have all specified tags attached cannot exceed 1000. If the resource count exceeds 1000, use the [ListTagResources](https://help.aliyun.com/document_detail/110425.html) operation.
|
|
69
64
|
*
|
|
70
65
|
* @example
|
|
71
66
|
* TestKey
|
|
@@ -105,11 +100,10 @@ export class DescribeImagesRequestTag extends $dara.Model {
|
|
|
105
100
|
export class DescribeImagesRequest extends $dara.Model {
|
|
106
101
|
/**
|
|
107
102
|
* @remarks
|
|
108
|
-
* The scenario in which the image
|
|
109
|
-
*
|
|
110
|
-
* - CreateEcs (default): Create an instance.
|
|
103
|
+
* The scenario in which the image is used. Valid values:
|
|
111
104
|
*
|
|
112
|
-
* -
|
|
105
|
+
* - CreateEcs (default): instance creation.
|
|
106
|
+
* - ChangeOS: replacement of the system disk or operating system.
|
|
113
107
|
*
|
|
114
108
|
* @example
|
|
115
109
|
* CreateEcs
|
|
@@ -119,11 +113,9 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
119
113
|
* @remarks
|
|
120
114
|
* The architecture of the image. Valid values:
|
|
121
115
|
*
|
|
122
|
-
* - i386
|
|
123
|
-
*
|
|
124
|
-
* -
|
|
125
|
-
*
|
|
126
|
-
* - arm64
|
|
116
|
+
* - i386.
|
|
117
|
+
* - x86_64.
|
|
118
|
+
* - arm64.
|
|
127
119
|
*
|
|
128
120
|
* @example
|
|
129
121
|
* i386
|
|
@@ -131,11 +123,10 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
131
123
|
architecture?: string;
|
|
132
124
|
/**
|
|
133
125
|
* @remarks
|
|
134
|
-
* Specifies whether to perform a dry run
|
|
135
|
-
*
|
|
136
|
-
* - true: Sends a
|
|
137
|
-
*
|
|
138
|
-
* - false: Sends a normal request. After the check passes, an HTTP 2XX status code is returned and the resource status is queried directly.
|
|
126
|
+
* Specifies whether to perform only a dry run.
|
|
127
|
+
*
|
|
128
|
+
* - true: Sends a check request without querying resource status. The check items include whether the AccessKey pair is valid, whether the Resource Access Management (RAM) user has the required authorization, and whether required parameters are specified. If the check fails, the corresponding error is returned. If the check succeeds, the DryRunOperation error code is returned.
|
|
129
|
+
* - false: Sends a normal request. After the check succeeds, a 2XX HTTP status code is returned and the resource status is queried.
|
|
139
130
|
*
|
|
140
131
|
* Default value: false.
|
|
141
132
|
*
|
|
@@ -145,16 +136,15 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
145
136
|
dryRun?: boolean;
|
|
146
137
|
/**
|
|
147
138
|
* @remarks
|
|
148
|
-
*
|
|
139
|
+
* The list of filter conditions for querying resources.
|
|
149
140
|
*/
|
|
150
141
|
filter?: DescribeImagesRequestFilter[];
|
|
151
142
|
/**
|
|
152
143
|
* @remarks
|
|
153
|
-
* The name of the image family.
|
|
144
|
+
* The name of the image family. You can set this parameter to filter images that belong to the specified image family.
|
|
154
145
|
*
|
|
155
146
|
* Default value: empty.
|
|
156
|
-
*
|
|
157
|
-
* > For information about image families associated with official Alibaba Cloud images, see [Overview of public images](https://help.aliyun.com/document_detail/108393.html).
|
|
147
|
+
* > For information about image families associated with Alibaba Cloud official images, see [Overview of public images](https://help.aliyun.com/document_detail/108393.html).
|
|
158
148
|
*
|
|
159
149
|
* @example
|
|
160
150
|
* hangzhou-daily-update
|
|
@@ -165,16 +155,11 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
165
155
|
* The image ID.
|
|
166
156
|
*
|
|
167
157
|
* <details>
|
|
158
|
+
* <summary>Naming rules for image IDs</summary>
|
|
168
159
|
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* Naming convention for image IDs
|
|
172
|
-
*
|
|
173
|
-
* </summary>
|
|
174
|
-
*
|
|
175
|
-
* - Public images: Named based on the operating system version, architecture, language, and published date. For example, the image ID for Windows Server 2008 R2 Enterprise Edition, 64-bit English system is `win2008r2_64_ent_sp1_en-us_40G_alibase_20190318.vhd`.
|
|
160
|
+
* - Public images: Named by operating system version, architecture, language, and release date. For example, the image ID of Windows Server 2008 R2 Enterprise Edition, 64-bit English system is win2008r2_64_ent_sp1_en-us_40G_alibase_20190318.vhd.
|
|
176
161
|
*
|
|
177
|
-
* - Custom images, shared images, Alibaba Cloud Marketplace images, and community images: Start with
|
|
162
|
+
* - Custom images, shared images, Alibaba Cloud Marketplace images, and community images: Start with m.
|
|
178
163
|
*
|
|
179
164
|
* </details>
|
|
180
165
|
*
|
|
@@ -184,7 +169,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
184
169
|
imageId?: string;
|
|
185
170
|
/**
|
|
186
171
|
* @remarks
|
|
187
|
-
* The name
|
|
172
|
+
* The image name. Fuzzy search is supported.
|
|
188
173
|
*
|
|
189
174
|
* @example
|
|
190
175
|
* testImageName
|
|
@@ -194,21 +179,16 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
194
179
|
* @remarks
|
|
195
180
|
* The source of the image. Valid values:
|
|
196
181
|
*
|
|
197
|
-
* - system:
|
|
198
|
-
*
|
|
199
|
-
* -
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
* - To find community images, IsPublic must be true.
|
|
204
|
-
*
|
|
205
|
-
* - To find shared images, IsPublic must be set to false or omitted.
|
|
206
|
-
*
|
|
207
|
-
* - marketplace: Images published on Alibaba Cloud Marketplace by Alibaba Cloud or third-party ISVs, which must be purchased together with ECS instances. Please review the pricing details of Alibaba Cloud Marketplace images yourself.
|
|
182
|
+
* - system: Public images provided by Alibaba Cloud that are not published through Alibaba Cloud Marketplace. This is different from the concept of "Public Image" in the console.
|
|
183
|
+
* - self: Custom images that you created.
|
|
184
|
+
* - others: Includes shared images (images directly shared by other Alibaba Cloud users) and community images (custom images that are fully shared publicly by any Alibaba Cloud user). Note:
|
|
185
|
+
* - To query community images, IsPublic must be set to true.
|
|
186
|
+
* - To query shared images, IsPublic must be set to false or left empty.
|
|
187
|
+
* - marketplace: Images published by Alibaba Cloud or third-party independent software vendors (ISVs) in Alibaba Cloud Marketplace. These images must be purchased together with ECS. Note the billing details of Alibaba Cloud Marketplace images.
|
|
208
188
|
*
|
|
209
189
|
* Default value: empty.
|
|
210
190
|
*
|
|
211
|
-
* > An empty value
|
|
191
|
+
* > An empty value indicates that images with system, self, and others values are returned.
|
|
212
192
|
*
|
|
213
193
|
* @example
|
|
214
194
|
* self
|
|
@@ -216,7 +196,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
216
196
|
imageOwnerAlias?: string;
|
|
217
197
|
/**
|
|
218
198
|
* @remarks
|
|
219
|
-
* The Alibaba Cloud account ID
|
|
199
|
+
* The Alibaba Cloud account ID of the image owner. This parameter takes effect only when you query shared images or community images.
|
|
220
200
|
*
|
|
221
201
|
* @example
|
|
222
202
|
* 20169351435666****
|
|
@@ -224,7 +204,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
224
204
|
imageOwnerId?: number;
|
|
225
205
|
/**
|
|
226
206
|
* @remarks
|
|
227
|
-
*
|
|
207
|
+
* The instance type for which available images are queried.
|
|
228
208
|
*
|
|
229
209
|
* @example
|
|
230
210
|
* ecs.g5.large
|
|
@@ -234,11 +214,10 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
234
214
|
* @remarks
|
|
235
215
|
* Specifies whether to query published community images. Valid values:
|
|
236
216
|
*
|
|
237
|
-
* - true: Queries published community images. When this parameter
|
|
238
|
-
*
|
|
239
|
-
* - false: Queries other image types excluding community images, depending on the value of the ImageOwnerAlias parameter.
|
|
217
|
+
* - true: Queries published community images. When you set this parameter to true, ImageOwnerAlias must be set to others.
|
|
218
|
+
* - false: Queries image types other than community images. The specific types depend on the ImageOwnerAlias parameter value.
|
|
240
219
|
*
|
|
241
|
-
* Default
|
|
220
|
+
* Default value: false.
|
|
242
221
|
*
|
|
243
222
|
* @example
|
|
244
223
|
* false
|
|
@@ -246,7 +225,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
246
225
|
isPublic?: boolean;
|
|
247
226
|
/**
|
|
248
227
|
* @remarks
|
|
249
|
-
*
|
|
228
|
+
* Specifies whether the image supports cloud-init.
|
|
250
229
|
*
|
|
251
230
|
* @example
|
|
252
231
|
* true
|
|
@@ -254,7 +233,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
254
233
|
isSupportCloudinit?: boolean;
|
|
255
234
|
/**
|
|
256
235
|
* @remarks
|
|
257
|
-
*
|
|
236
|
+
* Specifies whether the image can run on I/O optimized instances.
|
|
258
237
|
*
|
|
259
238
|
* @example
|
|
260
239
|
* true
|
|
@@ -264,9 +243,8 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
264
243
|
* @remarks
|
|
265
244
|
* The operating system type of the image. Valid values:
|
|
266
245
|
*
|
|
267
|
-
* - windows
|
|
268
|
-
*
|
|
269
|
-
* - linux
|
|
246
|
+
* - windows.
|
|
247
|
+
* - linux.
|
|
270
248
|
*
|
|
271
249
|
* @example
|
|
272
250
|
* linux
|
|
@@ -276,9 +254,9 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
276
254
|
ownerId?: number;
|
|
277
255
|
/**
|
|
278
256
|
* @remarks
|
|
279
|
-
* The page number of the
|
|
257
|
+
* The page number of the resources.
|
|
280
258
|
*
|
|
281
|
-
*
|
|
259
|
+
* Start value: 1.
|
|
282
260
|
*
|
|
283
261
|
* Default value: 1.
|
|
284
262
|
*
|
|
@@ -288,7 +266,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
288
266
|
pageNumber?: number;
|
|
289
267
|
/**
|
|
290
268
|
* @remarks
|
|
291
|
-
* The number of entries per page
|
|
269
|
+
* The number of entries per page for paging.
|
|
292
270
|
*
|
|
293
271
|
* Maximum value: 100.
|
|
294
272
|
*
|
|
@@ -300,7 +278,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
300
278
|
pageSize?: number;
|
|
301
279
|
/**
|
|
302
280
|
* @remarks
|
|
303
|
-
* The region ID
|
|
281
|
+
* 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.
|
|
304
282
|
*
|
|
305
283
|
* This parameter is required.
|
|
306
284
|
*
|
|
@@ -310,7 +288,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
310
288
|
regionId?: string;
|
|
311
289
|
/**
|
|
312
290
|
* @remarks
|
|
313
|
-
* The ID of the
|
|
291
|
+
* The ID of the resource group to which the custom image belongs. When you use this parameter to filter resources, the resource count cannot exceed 1000.
|
|
314
292
|
*
|
|
315
293
|
* > Filtering by the default resource group is not supported.
|
|
316
294
|
*
|
|
@@ -322,7 +300,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
322
300
|
resourceOwnerId?: number;
|
|
323
301
|
/**
|
|
324
302
|
* @remarks
|
|
325
|
-
*
|
|
303
|
+
* Specifies whether the subscription image has expired.
|
|
326
304
|
*
|
|
327
305
|
* @example
|
|
328
306
|
* false
|
|
@@ -330,7 +308,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
330
308
|
showExpired?: boolean;
|
|
331
309
|
/**
|
|
332
310
|
* @remarks
|
|
333
|
-
* The
|
|
311
|
+
* The ID of the snapshot used to create the custom image.
|
|
334
312
|
*
|
|
335
313
|
* @example
|
|
336
314
|
* s-bp17ot2q7x72ggtw****
|
|
@@ -338,19 +316,14 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
338
316
|
snapshotId?: string;
|
|
339
317
|
/**
|
|
340
318
|
* @remarks
|
|
341
|
-
*
|
|
319
|
+
* The status of the image. If you do not specify this parameter, only images in the Available state are returned. Valid values:
|
|
342
320
|
*
|
|
343
321
|
* - Creating: The image is being created.
|
|
344
|
-
*
|
|
345
|
-
* -
|
|
346
|
-
*
|
|
347
|
-
* -
|
|
348
|
-
*
|
|
349
|
-
* - UnAvailable: The image is unavailable for your use.
|
|
350
|
-
*
|
|
351
|
-
* - CreateFailed: The image creation failed.
|
|
352
|
-
*
|
|
353
|
-
* - Deprecated: The image has been deprecated.
|
|
322
|
+
* - Waiting: The image is waiting in a multi-task queue.
|
|
323
|
+
* - Available (default): The image is available for use.
|
|
324
|
+
* - UnAvailable: The image is unavailable.
|
|
325
|
+
* - CreateFailed: The image failed to be created.
|
|
326
|
+
* - Deprecated: The image is deprecated.
|
|
354
327
|
*
|
|
355
328
|
* Default value: Available. This parameter supports multiple values separated by commas (,).
|
|
356
329
|
*
|
|
@@ -363,13 +336,13 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
363
336
|
* The list of tags.
|
|
364
337
|
*/
|
|
365
338
|
tag?: DescribeImagesRequestTag[];
|
|
339
|
+
usable?: boolean;
|
|
366
340
|
/**
|
|
367
341
|
* @remarks
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
* - instance: The image is in use by one or more ECS instances.
|
|
342
|
+
* Specifies whether the image is running on ECS instances. Valid values:
|
|
371
343
|
*
|
|
372
|
-
* -
|
|
344
|
+
* - instance: The image is in use and associated with ECS instances.
|
|
345
|
+
* - none: The image is idle and not associated with any ECS instances.
|
|
373
346
|
*
|
|
374
347
|
* @example
|
|
375
348
|
* instance
|
|
@@ -403,6 +376,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
403
376
|
snapshotId: 'SnapshotId',
|
|
404
377
|
status: 'Status',
|
|
405
378
|
tag: 'Tag',
|
|
379
|
+
usable: 'Usable',
|
|
406
380
|
usage: 'Usage',
|
|
407
381
|
};
|
|
408
382
|
}
|
|
@@ -435,6 +409,7 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
435
409
|
snapshotId: 'string',
|
|
436
410
|
status: 'string',
|
|
437
411
|
tag: { 'type': 'array', 'itemType': DescribeImagesRequestTag },
|
|
412
|
+
usable: 'boolean',
|
|
438
413
|
usage: 'string',
|
|
439
414
|
};
|
|
440
415
|
}
|
|
@@ -288,6 +288,7 @@ export class DescribeImagesResponseBodyImagesImage extends $dara.Model {
|
|
|
288
288
|
status?: string;
|
|
289
289
|
supplierName?: string;
|
|
290
290
|
tags?: DescribeImagesResponseBodyImagesImageTags;
|
|
291
|
+
usable?: boolean;
|
|
291
292
|
usage?: string;
|
|
292
293
|
static names(): { [key: string]: string } {
|
|
293
294
|
return {
|
|
@@ -323,6 +324,7 @@ export class DescribeImagesResponseBodyImagesImage extends $dara.Model {
|
|
|
323
324
|
status: 'Status',
|
|
324
325
|
supplierName: 'SupplierName',
|
|
325
326
|
tags: 'Tags',
|
|
327
|
+
usable: 'Usable',
|
|
326
328
|
usage: 'Usage',
|
|
327
329
|
};
|
|
328
330
|
}
|
|
@@ -361,6 +363,7 @@ export class DescribeImagesResponseBodyImagesImage extends $dara.Model {
|
|
|
361
363
|
status: 'string',
|
|
362
364
|
supplierName: 'string',
|
|
363
365
|
tags: DescribeImagesResponseBodyImagesImageTags,
|
|
366
|
+
usable: 'boolean',
|
|
364
367
|
usage: 'string',
|
|
365
368
|
};
|
|
366
369
|
}
|
|
@@ -416,7 +419,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
416
419
|
images?: DescribeImagesResponseBodyImages;
|
|
417
420
|
/**
|
|
418
421
|
* @remarks
|
|
419
|
-
*
|
|
422
|
+
* The current page number.
|
|
420
423
|
*
|
|
421
424
|
* @example
|
|
422
425
|
* 1
|
|
@@ -424,7 +427,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
424
427
|
pageNumber?: number;
|
|
425
428
|
/**
|
|
426
429
|
* @remarks
|
|
427
|
-
*
|
|
430
|
+
* The number of entries on the current page.
|
|
428
431
|
*
|
|
429
432
|
* @example
|
|
430
433
|
* 1
|
|
@@ -432,7 +435,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
432
435
|
pageSize?: number;
|
|
433
436
|
/**
|
|
434
437
|
* @remarks
|
|
435
|
-
* The region ID
|
|
438
|
+
* The region ID of the image.
|
|
436
439
|
*
|
|
437
440
|
* @example
|
|
438
441
|
* cn-hangzhou
|
|
@@ -440,7 +443,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
440
443
|
regionId?: string;
|
|
441
444
|
/**
|
|
442
445
|
* @remarks
|
|
443
|
-
*
|
|
446
|
+
* The request ID.
|
|
444
447
|
*
|
|
445
448
|
* @example
|
|
446
449
|
* 66189103-EDB2-43E2-BB60-BFF2B62F4EB8
|
|
@@ -448,7 +451,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
448
451
|
requestId?: string;
|
|
449
452
|
/**
|
|
450
453
|
* @remarks
|
|
451
|
-
*
|
|
454
|
+
* The total number of images.
|
|
452
455
|
*
|
|
453
456
|
* @example
|
|
454
457
|
* 1
|
|
@@ -50,7 +50,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
50
50
|
instanceType?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* Settings for the collection of alternative instance families from which alternative instance types are selected. You can specify up to 10 instance families.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* ecs.hfg6
|
|
@@ -96,7 +96,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
96
96
|
* The network type of the ECS instance. Valid values:
|
|
97
97
|
*
|
|
98
98
|
* - vpc: virtual private cloud (VPC).
|
|
99
|
-
* - classic: classic network. The classic network is no longer available. For more information, see [
|
|
99
|
+
* - classic: classic network. The classic network is no longer available. For more information, see [Discontinuation notice](https://help.aliyun.com/document_detail/2833134.html).
|
|
100
100
|
*
|
|
101
101
|
* Default value: vpc.
|
|
102
102
|
*
|
|
@@ -110,7 +110,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
110
110
|
ownerId?: number;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The priority recommendation strategy. Valid values:
|
|
113
|
+
* The priority-based recommendation strategy. Valid values:
|
|
114
114
|
*
|
|
115
115
|
* - InventoryFirst: inventory first.
|
|
116
116
|
* - PriceFirst: price first. Instance types are sorted by the hourly vCPU unit price in ascending order.
|
|
@@ -155,7 +155,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
155
155
|
* - SpotWithPriceLimit: a spot instance with a maximum hourly price.
|
|
156
156
|
* - SpotAsPriceGo: a spot instance for which the system automatically bids at up to the pay-as-you-go price.
|
|
157
157
|
*
|
|
158
|
-
* > When you use SpotStrategy, set
|
|
158
|
+
* > When you use SpotStrategy, set InstanceChargerType to PostPaid.
|
|
159
159
|
*
|
|
160
160
|
* Default value: NoSpot.
|
|
161
161
|
*
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeSendFileResultsRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The tag key
|
|
8
|
+
* The tag key for the file sending task. Valid values of N: 1 to 20. The tag key cannot be an empty string.
|
|
9
9
|
*
|
|
10
|
-
* If you use a single tag to filter resources, the resource count with the specified tag cannot exceed
|
|
10
|
+
* If you use a single tag to filter resources, the resource count with the specified tag cannot exceed 1,000. If you use multiple tags to filter resources, the resource count of resources that have all specified tags attached cannot exceed 1,000. If the resource count exceeds 1,000, call the [ListTagResources](https://help.aliyun.com/document_detail/110425.html) operation to query resources.
|
|
11
11
|
*
|
|
12
12
|
* The tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class DescribeSendFileResultsRequestTag extends $dara.Model {
|
|
|
17
17
|
key?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The tag value
|
|
20
|
+
* The tag value for the file sending task. Valid values of N: 1 to 20. The tag value can be an empty string.
|
|
21
21
|
*
|
|
22
22
|
* The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
|
|
23
23
|
*
|
|
@@ -59,13 +59,13 @@ export class DescribeSendFileResultsRequest extends $dara.Model {
|
|
|
59
59
|
instanceId?: string;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The overall sending status of the file. The overall status depends on the combined execution status of all instances
|
|
62
|
+
* The overall sending status of the file. The overall status depends on the combined execution status of all target instances. Valid values:
|
|
63
63
|
*
|
|
64
64
|
* - Pending: The system is validating or sending the file. The overall status is Pending if the file sending status of at least one instance is Pending.
|
|
65
|
-
* - Running: The file is being sent to
|
|
66
|
-
* - Success: The file is sent. The overall status is Success if the file sending status of all instances is Success.
|
|
65
|
+
* - Running: The file is being sent to the instance. The overall status is Running if the file sending status of at least one instance is Running.
|
|
66
|
+
* - Success: The file is sent successfully. The overall status is Success if the file sending status of all instances is Success.
|
|
67
67
|
* - Failed: The file failed to be sent. The overall status is Failed if the file sending status of all instances is Failed.
|
|
68
|
-
* - PartialFailed: The file is sent to some instances but
|
|
68
|
+
* - PartialFailed: The file is sent to some instances but fails on others. The overall status is PartialFailed if the file sending status of all instances is Success or Failed.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* Success
|
|
@@ -81,7 +81,7 @@ export class DescribeSendFileResultsRequest extends $dara.Model {
|
|
|
81
81
|
invokeId?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The maximum number of entries per page
|
|
84
|
+
* The maximum number of entries per page in a paging query.
|
|
85
85
|
*
|
|
86
86
|
* Maximum value: 50.
|
|
87
87
|
*
|
|
@@ -93,7 +93,7 @@ export class DescribeSendFileResultsRequest extends $dara.Model {
|
|
|
93
93
|
maxResults?: number;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The name
|
|
96
|
+
* The file name. If you specify this parameter, all sending records of the file with the specified name are queried.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* test.txt
|
|
@@ -111,7 +111,7 @@ export class DescribeSendFileResultsRequest extends $dara.Model {
|
|
|
111
111
|
ownerId?: number;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* > This parameter is about to
|
|
114
|
+
* > This parameter is about to go offline. Use NextToken and MaxResults to complete paging query operations.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* 1
|
|
@@ -119,7 +119,7 @@ export class DescribeSendFileResultsRequest extends $dara.Model {
|
|
|
119
119
|
pageNumber?: number;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* > This parameter is about to
|
|
122
|
+
* > This parameter is about to go offline. Use NextToken and MaxResults to complete paging query operations.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* 10
|
|
@@ -137,7 +137,7 @@ export class DescribeSendFileResultsRequest extends $dara.Model {
|
|
|
137
137
|
regionId?: string;
|
|
138
138
|
/**
|
|
139
139
|
* @remarks
|
|
140
|
-
* The ID of the resource group to which the file sending task belongs. After you specify this parameter, you must also specify ResourceGroupId when sending
|
|
140
|
+
* The ID of the resource group to which the file sending task belongs. After you specify this parameter, you must also specify ResourceGroupId when sending a file. This parameter allows you to filter file sending results by resource group.
|
|
141
141
|
*
|
|
142
142
|
* @example
|
|
143
143
|
* rg-bp67acfmxazb4p****
|
|
@@ -147,7 +147,7 @@ export class DescribeSendFileResultsRequest extends $dara.Model {
|
|
|
147
147
|
resourceOwnerId?: number;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
* The
|
|
150
|
+
* The tags.
|
|
151
151
|
*/
|
|
152
152
|
tag?: DescribeSendFileResultsRequestTag[];
|
|
153
153
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeSnapshotGroupsRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The tag key of the snapshot-consistent group. Valid values of N: 1 to 20.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* TestKey
|
|
@@ -13,7 +13,7 @@ export class DescribeSnapshotGroupsRequestTag extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The tag value of the snapshot-consistent group. Valid values of N: 1 to 20.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* TestValue
|
|
@@ -53,7 +53,7 @@ export class DescribeSnapshotGroupsRequest extends $dara.Model {
|
|
|
53
53
|
additionalAttributes?: string[];
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The ID
|
|
56
|
+
* The instance ID.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* i-j6ca469urv8ei629****
|
|
@@ -61,9 +61,9 @@ export class DescribeSnapshotGroupsRequest extends $dara.Model {
|
|
|
61
61
|
instanceId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The maximum number of entries per page.
|
|
64
|
+
* The maximum number of entries per page in a paging query.
|
|
65
65
|
*
|
|
66
|
-
*
|
|
66
|
+
* Maximum value: 100.
|
|
67
67
|
*
|
|
68
68
|
* Default value: 10.
|
|
69
69
|
*
|
|
@@ -81,7 +81,7 @@ export class DescribeSnapshotGroupsRequest extends $dara.Model {
|
|
|
81
81
|
name?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The token
|
|
84
|
+
* The pagination token. Set this parameter to the NextToken value returned in the previous API call.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -91,7 +91,7 @@ export class DescribeSnapshotGroupsRequest extends $dara.Model {
|
|
|
91
91
|
ownerId?: number;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* The region ID
|
|
94
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
95
95
|
*
|
|
96
96
|
* This parameter is required.
|
|
97
97
|
*
|
|
@@ -111,7 +111,7 @@ export class DescribeSnapshotGroupsRequest extends $dara.Model {
|
|
|
111
111
|
resourceOwnerId?: number;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The ID of snapshot-consistent group
|
|
114
|
+
* The ID of the snapshot-consistent group. Valid values of N: 1 to 10.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* ssg-j6ciyh3k52qp7ovm****
|
|
@@ -119,13 +119,13 @@ export class DescribeSnapshotGroupsRequest extends $dara.Model {
|
|
|
119
119
|
snapshotGroupId?: string[];
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The
|
|
122
|
+
* The status of the snapshot-consistent group. Valid values of N: 1 to 3. Valid values:
|
|
123
123
|
*
|
|
124
124
|
* - progressing: The snapshot-consistent group is being created.
|
|
125
125
|
*
|
|
126
126
|
* - accomplished: The snapshot-consistent group is created.
|
|
127
127
|
*
|
|
128
|
-
* - failed: The snapshot-consistent group
|
|
128
|
+
* - failed: The snapshot-consistent group failed to be created.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* accomplished
|
|
@@ -133,7 +133,7 @@ export class DescribeSnapshotGroupsRequest extends $dara.Model {
|
|
|
133
133
|
status?: string[];
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The
|
|
136
|
+
* The tag key-value pairs of the snapshot-consistent group.
|
|
137
137
|
*/
|
|
138
138
|
tag?: DescribeSnapshotGroupsRequestTag[];
|
|
139
139
|
static names(): { [key: string]: string } {
|
|
@@ -264,9 +264,9 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroups extends $dara.Mode
|
|
|
264
264
|
export class DescribeSnapshotGroupsResponseBody extends $dara.Model {
|
|
265
265
|
/**
|
|
266
266
|
* @remarks
|
|
267
|
-
* The token
|
|
267
|
+
* The pagination token for the next query.
|
|
268
268
|
*
|
|
269
|
-
* > If
|
|
269
|
+
* > If this parameter is empty, no more results are available.
|
|
270
270
|
*
|
|
271
271
|
* @example
|
|
272
272
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -274,7 +274,7 @@ export class DescribeSnapshotGroupsResponseBody extends $dara.Model {
|
|
|
274
274
|
nextToken?: string;
|
|
275
275
|
/**
|
|
276
276
|
* @remarks
|
|
277
|
-
* The ID
|
|
277
|
+
* The request ID.
|
|
278
278
|
*
|
|
279
279
|
* @example
|
|
280
280
|
* 3F9A4CC4-362F-469A-B9EF-B3204EF8AA3A
|