@alicloud/ecs20140526 7.9.0 → 7.9.1
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 +108 -110
- package/dist/client.js +108 -110
- package/dist/client.js.map +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/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/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/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/DescribeImagesRequest.d.ts +61 -89
- package/dist/models/DescribeImagesRequest.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +5 -5
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +4 -4
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +108 -110
- package/src/models/CloneDisksRequest.ts +55 -80
- package/src/models/CloneDisksResponseBody.ts +2 -2
- package/src/models/CreateAutoProvisioningGroupRequest.ts +287 -381
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +283 -376
- 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/CreateVswitchRequest.ts +0 -29
- package/src/models/CreateVswitchResponseBody.ts +0 -8
- package/src/models/DescribeImagesRequest.ts +62 -90
- package/src/models/DescribeImagesResponseBody.ts +5 -5
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +4 -4
- package/src/models/RenewElasticityAssurancesRequest.ts +3 -3
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateLaunchTemplateResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The launch template ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* lt-m5eiaupmvm2op9d****
|
|
@@ -13,7 +13,7 @@ export class CreateLaunchTemplateResponseBody extends $dara.Model {
|
|
|
13
13
|
launchTemplateId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The version number
|
|
16
|
+
* The launch template version number.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 20
|
|
@@ -21,7 +21,7 @@ export class CreateLaunchTemplateResponseBody extends $dara.Model {
|
|
|
21
21
|
launchTemplateVersionNumber?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID
|
|
24
|
+
* The request ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -5,53 +5,24 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateVSwitchRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The CIDR block for the vSwitch.\\
|
|
9
|
-
* It must be a subnet of the VPC\\"s CIDR block and must not overlap with the CIDR blocks of other vSwitches in the same VPC.\\
|
|
10
|
-
*
|
|
11
8
|
* This parameter is required.
|
|
12
9
|
*/
|
|
13
10
|
cidrBlock?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* A client token to ensure the idempotence of the request. The token must be unique across requests, contain only ASCII characters, and not exceed 64 characters in length.
|
|
17
|
-
*/
|
|
18
11
|
clientToken?: string;
|
|
19
|
-
/**
|
|
20
|
-
* @remarks
|
|
21
|
-
* The description for the vSwitch.\\
|
|
22
|
-
* It must be 2 to 256 characters long and must not start with `http://` or `https://`.\\
|
|
23
|
-
*/
|
|
24
12
|
description?: string;
|
|
25
13
|
ownerAccount?: string;
|
|
26
14
|
ownerId?: number;
|
|
27
|
-
/**
|
|
28
|
-
* @remarks
|
|
29
|
-
* The ID of the region in which to create the vSwitch.\\
|
|
30
|
-
* Call the `DescribeRegions` operation to get a list of available regions.\\
|
|
31
|
-
*/
|
|
32
15
|
regionId?: string;
|
|
33
16
|
resourceOwnerAccount?: string;
|
|
34
17
|
resourceOwnerId?: number;
|
|
35
|
-
/**
|
|
36
|
-
* @remarks
|
|
37
|
-
* The name for the vSwitch.\\
|
|
38
|
-
* The name must be 2 to 128 characters long, start with a letter, and contain only letters, digits, underscores (_), and hyphens (-).\\
|
|
39
|
-
* If unspecified, the name defaults to the vSwitch ID.\\
|
|
40
|
-
* \\
|
|
41
|
-
*/
|
|
42
18
|
vSwitchName?: string;
|
|
43
19
|
/**
|
|
44
20
|
* @remarks
|
|
45
|
-
* The ID of the VPC in which to create the vSwitch.
|
|
46
|
-
*
|
|
47
21
|
* This parameter is required.
|
|
48
22
|
*/
|
|
49
23
|
vpcId?: string;
|
|
50
24
|
/**
|
|
51
25
|
* @remarks
|
|
52
|
-
* The ID of the zone in which to create the vSwitch.\\
|
|
53
|
-
* Call the `DescribeZones` operation to get a list of available zones.\\
|
|
54
|
-
*
|
|
55
26
|
* This parameter is required.
|
|
56
27
|
*/
|
|
57
28
|
zoneId?: string;
|
|
@@ -3,15 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateVSwitchResponseBody extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The ID of the request.
|
|
9
|
-
*/
|
|
10
6
|
requestId?: string;
|
|
11
|
-
/**
|
|
12
|
-
* @remarks
|
|
13
|
-
* The ID of the created VSwitch.
|
|
14
|
-
*/
|
|
15
7
|
vSwitchId?: string;
|
|
16
8
|
static names(): { [key: string]: string } {
|
|
17
9
|
return {
|
|
@@ -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 specified time point (`Filter.N.Value`).
|
|
11
|
+
* - When this parameter is set to `CreationEndTime`, you can query resources created before the specified time point (`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 any of `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 set to `CreationStartTime` or `CreationEndTime`, the format is `yyyy-MM-ddTHH:mmZ`, using the UTC+0 time zone.
|
|
25
|
+
* - When `Filter.N.Key` is set to `NetworkType`, valid network type values include `vpc` and `classic`.
|
|
29
26
|
*
|
|
30
|
-
* - When
|
|
27
|
+
* - When `Filter.N.Key` is set to `CpuOnlineUpgrade`, `CpuOnlineDowngrade`, `MemoryOnlineUpgrade`, or `MemoryOnlineDowngrade`, the value can be `supported` or `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 1,000. When you use multiple tags to filter resources, the resource count of resources that are attached to all specified tags cannot exceed 1,000. If the resource count exceeds 1,000, call 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 dry run request without querying resource status. The system checks whether
|
|
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 dry run request without querying resource status. The system checks whether your AccessKey pair is valid, whether Resource Access Management (RAM) user authorization is granted, and whether the 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 conventions 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 for 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 images" 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 by any Alibaba Cloud user). Note the following:
|
|
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. Check 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 the 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 you want to query available images.
|
|
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 1,000.
|
|
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,21 +316,16 @@ 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 by default. Valid values:
|
|
342
320
|
*
|
|
343
321
|
* - Creating: The image is being created.
|
|
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.
|
|
344
327
|
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
* - Available (default): The image is available for your use.
|
|
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.
|
|
354
|
-
*
|
|
355
|
-
* Default value: Available. This parameter supports multiple values separated by commas (,).
|
|
328
|
+
* Default value: Available. This parameter supports multiple values at the same time, separated by commas (,).
|
|
356
329
|
*
|
|
357
330
|
* @example
|
|
358
331
|
* Available
|
|
@@ -365,11 +338,10 @@ export class DescribeImagesRequest extends $dara.Model {
|
|
|
365
338
|
tag?: DescribeImagesRequestTag[];
|
|
366
339
|
/**
|
|
367
340
|
* @remarks
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
* - instance: The image is in use by one or more ECS instances.
|
|
341
|
+
* Specifies whether the image is running on ECS instances. Valid values:
|
|
371
342
|
*
|
|
372
|
-
* -
|
|
343
|
+
* - instance: The image is in use. ECS instances are created from this image.
|
|
344
|
+
* - none: The image is idle. No ECS instances are created from this image.
|
|
373
345
|
*
|
|
374
346
|
* @example
|
|
375
347
|
* instance
|
|
@@ -416,7 +416,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
416
416
|
images?: DescribeImagesResponseBodyImages;
|
|
417
417
|
/**
|
|
418
418
|
* @remarks
|
|
419
|
-
*
|
|
419
|
+
* The current page number.
|
|
420
420
|
*
|
|
421
421
|
* @example
|
|
422
422
|
* 1
|
|
@@ -424,7 +424,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
424
424
|
pageNumber?: number;
|
|
425
425
|
/**
|
|
426
426
|
* @remarks
|
|
427
|
-
*
|
|
427
|
+
* The number of entries on the current page.
|
|
428
428
|
*
|
|
429
429
|
* @example
|
|
430
430
|
* 1
|
|
@@ -432,7 +432,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
432
432
|
pageSize?: number;
|
|
433
433
|
/**
|
|
434
434
|
* @remarks
|
|
435
|
-
* The region ID
|
|
435
|
+
* The region ID of the image.
|
|
436
436
|
*
|
|
437
437
|
* @example
|
|
438
438
|
* cn-hangzhou
|
|
@@ -440,7 +440,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
440
440
|
regionId?: string;
|
|
441
441
|
/**
|
|
442
442
|
* @remarks
|
|
443
|
-
*
|
|
443
|
+
* The request ID.
|
|
444
444
|
*
|
|
445
445
|
* @example
|
|
446
446
|
* 66189103-EDB2-43E2-BB60-BFF2B62F4EB8
|
|
@@ -448,7 +448,7 @@ export class DescribeImagesResponseBody extends $dara.Model {
|
|
|
448
448
|
requestId?: string;
|
|
449
449
|
/**
|
|
450
450
|
* @remarks
|
|
451
|
-
*
|
|
451
|
+
* The total number of images.
|
|
452
452
|
*
|
|
453
453
|
* @example
|
|
454
454
|
* 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
|
*
|
|
@@ -66,7 +66,7 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
66
66
|
autoRenew?: boolean;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The auto-renewal
|
|
69
|
+
* The auto-renewal duration. Unit: months. Valid values: 1, 2, 3, 6, 12, 24, and 36.
|
|
70
70
|
*
|
|
71
71
|
* - When `PeriodUnit=Month`, the default value is 1.
|
|
72
72
|
*
|
|
@@ -93,7 +93,7 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
93
93
|
ownerId?: number;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The renewal
|
|
96
|
+
* The renewal duration. The unit of the duration is determined by the `PeriodUnit` parameter. Valid values:
|
|
97
97
|
*
|
|
98
98
|
* - When `PeriodUnit` is set to `Weekly`: 1, 2, and 3.
|
|
99
99
|
*
|
|
@@ -110,7 +110,7 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
110
110
|
period?: number;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The unit of the renewal
|
|
113
|
+
* The unit of the renewal duration. Valid values:
|
|
114
114
|
*
|
|
115
115
|
* - Weekly: week
|
|
116
116
|
*
|