@pulumi/alicloud 3.62.0 → 3.62.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.
Files changed (68) hide show
  1. package/amqp/binding.d.ts +12 -13
  2. package/amqp/binding.js +12 -13
  3. package/amqp/binding.js.map +1 -1
  4. package/cen/trafficMarkingPolicy.d.ts +43 -23
  5. package/cen/trafficMarkingPolicy.js +3 -1
  6. package/cen/trafficMarkingPolicy.js.map +1 -1
  7. package/cen/transitRouterVpcAttachment.d.ts +120 -46
  8. package/cen/transitRouterVpcAttachment.js +10 -5
  9. package/cen/transitRouterVpcAttachment.js.map +1 -1
  10. package/cr/chartNamespace.d.ts +8 -3
  11. package/cr/chartNamespace.js +8 -3
  12. package/cr/chartNamespace.js.map +1 -1
  13. package/cr/endpointAclPolicy.d.ts +6 -1
  14. package/cr/endpointAclPolicy.js +6 -1
  15. package/cr/endpointAclPolicy.js.map +1 -1
  16. package/cr/namespace.d.ts +6 -1
  17. package/cr/namespace.js +6 -1
  18. package/cr/namespace.js.map +1 -1
  19. package/cs/registryEnterpriseSyncRule.d.ts +5 -5
  20. package/cs/registryEnterpriseSyncRule.js +5 -5
  21. package/ddos/bgpIp.d.ts +1 -1
  22. package/ens/instance.d.ts +157 -79
  23. package/ens/instance.js +9 -1
  24. package/ens/instance.js.map +1 -1
  25. package/expressconnect/physicalConnection.d.ts +118 -80
  26. package/expressconnect/physicalConnection.js +7 -1
  27. package/expressconnect/physicalConnection.js.map +1 -1
  28. package/fc/trigger.d.ts +8 -9
  29. package/fc/trigger.js +8 -9
  30. package/fc/trigger.js.map +1 -1
  31. package/ga/endpointGroup.d.ts +21 -6
  32. package/ga/endpointGroup.js +2 -0
  33. package/ga/endpointGroup.js.map +1 -1
  34. package/mongodb/instance.d.ts +24 -0
  35. package/mongodb/instance.js +4 -0
  36. package/mongodb/instance.js.map +1 -1
  37. package/nlb/getListeners.d.ts +36 -2
  38. package/nlb/getListeners.js +30 -2
  39. package/nlb/getListeners.js.map +1 -1
  40. package/nlb/getServerGroupServerAttachments.d.ts +8 -2
  41. package/nlb/getServerGroupServerAttachments.js +2 -2
  42. package/nlb/getServerGroupServerAttachments.js.map +1 -1
  43. package/nlb/listener.d.ts +135 -105
  44. package/nlb/listener.js.map +1 -1
  45. package/nlb/listenerAdditionalCertificateAttachment.d.ts +11 -11
  46. package/nlb/loadBalancer.d.ts +78 -105
  47. package/nlb/loadBalancer.js +1 -1
  48. package/nlb/loadBalancer.js.map +1 -1
  49. package/nlb/loadBalancerSecurityGroupAttachment.d.ts +13 -17
  50. package/nlb/loadBalancerSecurityGroupAttachment.js +4 -2
  51. package/nlb/loadBalancerSecurityGroupAttachment.js.map +1 -1
  52. package/nlb/loadbalancerCommonBandwidthPackageAttachment.d.ts +10 -8
  53. package/nlb/loadbalancerCommonBandwidthPackageAttachment.js +4 -2
  54. package/nlb/loadbalancerCommonBandwidthPackageAttachment.js.map +1 -1
  55. package/nlb/securityPolicy.d.ts +23 -11
  56. package/nlb/securityPolicy.js.map +1 -1
  57. package/nlb/serverGroup.d.ts +84 -57
  58. package/nlb/serverGroup.js.map +1 -1
  59. package/ocean/baseInstance.d.ts +181 -70
  60. package/ocean/baseInstance.js +8 -0
  61. package/ocean/baseInstance.js.map +1 -1
  62. package/package.json +2 -2
  63. package/servicemesh/extensionProvider.d.ts +1 -1
  64. package/servicemesh/extensionProvider.js +1 -1
  65. package/types/input.d.ts +134 -43
  66. package/types/output.d.ts +135 -44
  67. package/vpc/commonBandwithPackageAttachment.d.ts +1 -1
  68. package/vpc/commonBandwithPackageAttachment.js +1 -1
package/ens/instance.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * ## Import
6
6
  *
7
- * ENS Instance can be imported using the id, e.g.
7
+ * Ens Instance can be imported using the id, e.g.
8
8
  *
9
9
  * ```sh
10
10
  * $ pulumi import alicloud:ens/instance:Instance example <id>
@@ -27,9 +27,15 @@ export declare class Instance extends pulumi.CustomResource {
27
27
  */
28
28
  static isInstance(obj: any): obj is Instance;
29
29
  /**
30
- * The number of instances created, with a minimum of 1 and a maximum of 100.
30
+ * The number of instances created, with a minimum of 1 and a maximum of 100
31
31
  */
32
32
  readonly amount: pulumi.Output<number | undefined>;
33
+ /**
34
+ * The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
35
+ * - If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
36
+ * - The minimum release time is one hour after the current time.
37
+ */
38
+ readonly autoReleaseTime: pulumi.Output<string | undefined>;
33
39
  /**
34
40
  * Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
35
41
  */
@@ -37,25 +43,25 @@ export declare class Instance extends pulumi.CustomResource {
37
43
  /**
38
44
  * Whether to use vouchers. The default is to use. Value:
39
45
  * - true (used)
40
- * - false (not used).
46
+ * - false (not used)
41
47
  */
42
48
  readonly autoUseCoupon: pulumi.Output<string | undefined>;
43
49
  /**
44
50
  * The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
45
51
  * - Hour: hourly billing
46
52
  * - Day: Daily billing
47
- * - Month: monthly billing.
53
+ * - Month: monthly billing
48
54
  */
49
55
  readonly billingCycle: pulumi.Output<string | undefined>;
50
56
  /**
51
57
  * Operator, required for regional scheduling. Optional values:
52
58
  * - cmcc (mobile)
53
59
  * - unicom
54
- * - telecom.
60
+ * - telecom
55
61
  */
56
62
  readonly carrier: pulumi.Output<string | undefined>;
57
63
  /**
58
- * Data disk specifications. See `dataDisk` below.
64
+ * Data disk specifications See `dataDisk` below.
59
65
  */
60
66
  readonly dataDisks: pulumi.Output<outputs.ens.InstanceDataDisk[]>;
61
67
  /**
@@ -69,11 +75,11 @@ export declare class Instance extends pulumi.CustomResource {
69
75
  */
70
76
  readonly forceStop: pulumi.Output<string | undefined>;
71
77
  /**
72
- * The host name of the instance. Example value: test-HostName.
78
+ * The host name of the instance. Example value: test-HostName
73
79
  */
74
80
  readonly hostName: pulumi.Output<string>;
75
81
  /**
76
- * The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
82
+ * The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *
77
83
  */
78
84
  readonly imageId: pulumi.Output<string | undefined>;
79
85
  /**
@@ -83,54 +89,62 @@ export declare class Instance extends pulumi.CustomResource {
83
89
  /**
84
90
  * The instance billing policy. Optional values:
85
91
  * - instance: instance granularity (the subscription method does not support instance)
86
- * - user: user Dimension (user is not transmitted or supported in the prepaid mode).
92
+ * - user: user Dimension (user is not transmitted or supported in the prepaid mode)
87
93
  */
88
94
  readonly instanceChargeStrategy: pulumi.Output<string | undefined>;
89
95
  /**
90
- * The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
96
+ * The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
97
+ *
98
+ * The default value is the InstanceId of the instance.
91
99
  */
92
100
  readonly instanceName: pulumi.Output<string>;
93
101
  /**
94
- * The specification of the instance. Example value: ens.sn1.small.
102
+ * The specification of the instance. Example value: ens.sn1.small
95
103
  */
96
104
  readonly instanceType: pulumi.Output<string>;
97
105
  /**
98
106
  * Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
99
107
  * - BandwidthByDay: Daily peak bandwidth
100
- * - 95bandwidthbymonth: 95 peak bandwidth.
108
+ * - 95bandwidthbymonth: 95 peak bandwidth
101
109
  */
102
110
  readonly internetChargeType: pulumi.Output<string | undefined>;
103
111
  /**
104
- * Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
112
+ * Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
105
113
  */
106
114
  readonly internetMaxBandwidthOut: pulumi.Output<number>;
107
115
  /**
108
116
  * The IP type. Value:
109
117
  * - ipv4 (default):IPv4
110
118
  * - ipv6:IPv6
111
- * - ipv4Andipv6:IPv4 and IPv6.
119
+ * - ipv4Andipv6:IPv4 and IPv6
112
120
  */
113
121
  readonly ipType: pulumi.Output<string | undefined>;
114
122
  /**
115
- * The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
123
+ * The key pair name.
124
+ *
125
+ * > **NOTE:** At least one of `Password`, `KeyPairName`, and **PasswordInherit.
126
+ */
127
+ readonly keyPairName: pulumi.Output<string | undefined>;
128
+ /**
129
+ * The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling
116
130
  */
117
131
  readonly netDistrictCode: pulumi.Output<string | undefined>;
118
132
  /**
119
- * The network ID of the instance. Can only be used in node-level scheduling.
133
+ * The network ID of the instance. Can only be used in node-level scheduling
120
134
  */
121
135
  readonly netWorkId: pulumi.Output<string>;
122
136
  /**
123
- * The instance password. At least one of Password, KeyPairName, and PasswordInherit.
137
+ * The instance password. At least one of Password, KeyPairName, and PasswordInherit
124
138
  */
125
139
  readonly password: pulumi.Output<string | undefined>;
126
140
  /**
127
- * Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
141
+ * Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
128
142
  */
129
143
  readonly passwordInherit: pulumi.Output<boolean | undefined>;
130
144
  /**
131
- * Instance payment method. Optional values:
145
+ * Instance payment method. Since v1.230.0, you can modify payment_type. Optional values:
132
146
  * - Subscription: prepaid, annual and monthly
133
- * - PayAsYouGo: Pay by volume.
147
+ * - PayAsYouGo: Pay by volume
134
148
  */
135
149
  readonly paymentType: pulumi.Output<string>;
136
150
  /**
@@ -142,7 +156,7 @@ export declare class Instance extends pulumi.CustomResource {
142
156
  /**
143
157
  * The unit of time for purchasing resources. Value:
144
158
  * - Month (default): purchase by Month
145
- * - Day: buy by Day.
159
+ * - Day: buy by Day
146
160
  */
147
161
  readonly periodUnit: pulumi.Output<string | undefined>;
148
162
  /**
@@ -152,25 +166,25 @@ export declare class Instance extends pulumi.CustomResource {
152
166
  /**
153
167
  * Whether to assign a public IP identifier. Value:
154
168
  * - true (default): Assign
155
- * - false: do not assign.
169
+ * - false: do not assign
156
170
  */
157
171
  readonly publicIpIdentification: pulumi.Output<boolean | undefined>;
158
172
  /**
159
173
  * Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
160
174
  * - Node-level scheduling: Region
161
- * - Regional scheduling: Big (region),Middle (province),Small (city).
175
+ * - Regional scheduling: Big (region),Middle (province),Small (city)
162
176
  */
163
177
  readonly scheduleAreaLevel: pulumi.Output<string>;
164
178
  /**
165
179
  * Scheduling price policy. If it is not filled in, the default priority is low price. Value:
166
180
  * - PriceLowPriority
167
- * - PriceLowPriority (priority low price).
181
+ * - PriceLowPriority (priority low price)
168
182
  */
169
183
  readonly schedulingPriceStrategy: pulumi.Output<string | undefined>;
170
184
  /**
171
185
  * Scheduling policy. Optional values:
172
186
  * - Concentrate for node-level scheduling
173
- * - For regional scheduling, Concentrate, Disperse.
187
+ * - For regional scheduling, Concentrate, Disperse
174
188
  */
175
189
  readonly schedulingStrategy: pulumi.Output<string | undefined>;
176
190
  /**
@@ -178,13 +192,25 @@ export declare class Instance extends pulumi.CustomResource {
178
192
  */
179
193
  readonly securityId: pulumi.Output<string>;
180
194
  /**
181
- * Status of the instance.
195
+ * The bidding strategy for pay-as-you-go instances. It takes effect when the value of the 'InstanceChargeType' parameter is set to 'PostPaid. Value range:
196
+ * - NoSpot: normal pay-as-you-go instance (default)
197
+ * - SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
198
+ */
199
+ readonly spotStrategy: pulumi.Output<string | undefined>;
200
+ /**
201
+ * Status of the instance
182
202
  */
183
203
  readonly status: pulumi.Output<string>;
184
204
  /**
185
205
  * System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `systemDisk` below.
186
206
  */
187
207
  readonly systemDisk: pulumi.Output<outputs.ens.InstanceSystemDisk | undefined>;
208
+ /**
209
+ * The tag bound to the instance
210
+ */
211
+ readonly tags: pulumi.Output<{
212
+ [key: string]: string;
213
+ } | undefined>;
188
214
  /**
189
215
  * Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
190
216
  */
@@ -194,7 +220,7 @@ export declare class Instance extends pulumi.CustomResource {
194
220
  */
195
221
  readonly userData: pulumi.Output<string | undefined>;
196
222
  /**
197
- * The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
223
+ * The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
198
224
  */
199
225
  readonly vswitchId: pulumi.Output<string>;
200
226
  /**
@@ -211,9 +237,15 @@ export declare class Instance extends pulumi.CustomResource {
211
237
  */
212
238
  export interface InstanceState {
213
239
  /**
214
- * The number of instances created, with a minimum of 1 and a maximum of 100.
240
+ * The number of instances created, with a minimum of 1 and a maximum of 100
215
241
  */
216
242
  amount?: pulumi.Input<number>;
243
+ /**
244
+ * The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
245
+ * - If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
246
+ * - The minimum release time is one hour after the current time.
247
+ */
248
+ autoReleaseTime?: pulumi.Input<string>;
217
249
  /**
218
250
  * Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
219
251
  */
@@ -221,25 +253,25 @@ export interface InstanceState {
221
253
  /**
222
254
  * Whether to use vouchers. The default is to use. Value:
223
255
  * - true (used)
224
- * - false (not used).
256
+ * - false (not used)
225
257
  */
226
258
  autoUseCoupon?: pulumi.Input<string>;
227
259
  /**
228
260
  * The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
229
261
  * - Hour: hourly billing
230
262
  * - Day: Daily billing
231
- * - Month: monthly billing.
263
+ * - Month: monthly billing
232
264
  */
233
265
  billingCycle?: pulumi.Input<string>;
234
266
  /**
235
267
  * Operator, required for regional scheduling. Optional values:
236
268
  * - cmcc (mobile)
237
269
  * - unicom
238
- * - telecom.
270
+ * - telecom
239
271
  */
240
272
  carrier?: pulumi.Input<string>;
241
273
  /**
242
- * Data disk specifications. See `dataDisk` below.
274
+ * Data disk specifications See `dataDisk` below.
243
275
  */
244
276
  dataDisks?: pulumi.Input<pulumi.Input<inputs.ens.InstanceDataDisk>[]>;
245
277
  /**
@@ -253,11 +285,11 @@ export interface InstanceState {
253
285
  */
254
286
  forceStop?: pulumi.Input<string>;
255
287
  /**
256
- * The host name of the instance. Example value: test-HostName.
288
+ * The host name of the instance. Example value: test-HostName
257
289
  */
258
290
  hostName?: pulumi.Input<string>;
259
291
  /**
260
- * The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
292
+ * The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *
261
293
  */
262
294
  imageId?: pulumi.Input<string>;
263
295
  /**
@@ -267,54 +299,62 @@ export interface InstanceState {
267
299
  /**
268
300
  * The instance billing policy. Optional values:
269
301
  * - instance: instance granularity (the subscription method does not support instance)
270
- * - user: user Dimension (user is not transmitted or supported in the prepaid mode).
302
+ * - user: user Dimension (user is not transmitted or supported in the prepaid mode)
271
303
  */
272
304
  instanceChargeStrategy?: pulumi.Input<string>;
273
305
  /**
274
- * The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
306
+ * The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
307
+ *
308
+ * The default value is the InstanceId of the instance.
275
309
  */
276
310
  instanceName?: pulumi.Input<string>;
277
311
  /**
278
- * The specification of the instance. Example value: ens.sn1.small.
312
+ * The specification of the instance. Example value: ens.sn1.small
279
313
  */
280
314
  instanceType?: pulumi.Input<string>;
281
315
  /**
282
316
  * Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
283
317
  * - BandwidthByDay: Daily peak bandwidth
284
- * - 95bandwidthbymonth: 95 peak bandwidth.
318
+ * - 95bandwidthbymonth: 95 peak bandwidth
285
319
  */
286
320
  internetChargeType?: pulumi.Input<string>;
287
321
  /**
288
- * Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
322
+ * Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
289
323
  */
290
324
  internetMaxBandwidthOut?: pulumi.Input<number>;
291
325
  /**
292
326
  * The IP type. Value:
293
327
  * - ipv4 (default):IPv4
294
328
  * - ipv6:IPv6
295
- * - ipv4Andipv6:IPv4 and IPv6.
329
+ * - ipv4Andipv6:IPv4 and IPv6
296
330
  */
297
331
  ipType?: pulumi.Input<string>;
298
332
  /**
299
- * The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
333
+ * The key pair name.
334
+ *
335
+ * > **NOTE:** At least one of `Password`, `KeyPairName`, and **PasswordInherit.
336
+ */
337
+ keyPairName?: pulumi.Input<string>;
338
+ /**
339
+ * The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling
300
340
  */
301
341
  netDistrictCode?: pulumi.Input<string>;
302
342
  /**
303
- * The network ID of the instance. Can only be used in node-level scheduling.
343
+ * The network ID of the instance. Can only be used in node-level scheduling
304
344
  */
305
345
  netWorkId?: pulumi.Input<string>;
306
346
  /**
307
- * The instance password. At least one of Password, KeyPairName, and PasswordInherit.
347
+ * The instance password. At least one of Password, KeyPairName, and PasswordInherit
308
348
  */
309
349
  password?: pulumi.Input<string>;
310
350
  /**
311
- * Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
351
+ * Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
312
352
  */
313
353
  passwordInherit?: pulumi.Input<boolean>;
314
354
  /**
315
- * Instance payment method. Optional values:
355
+ * Instance payment method. Since v1.230.0, you can modify payment_type. Optional values:
316
356
  * - Subscription: prepaid, annual and monthly
317
- * - PayAsYouGo: Pay by volume.
357
+ * - PayAsYouGo: Pay by volume
318
358
  */
319
359
  paymentType?: pulumi.Input<string>;
320
360
  /**
@@ -326,7 +366,7 @@ export interface InstanceState {
326
366
  /**
327
367
  * The unit of time for purchasing resources. Value:
328
368
  * - Month (default): purchase by Month
329
- * - Day: buy by Day.
369
+ * - Day: buy by Day
330
370
  */
331
371
  periodUnit?: pulumi.Input<string>;
332
372
  /**
@@ -336,25 +376,25 @@ export interface InstanceState {
336
376
  /**
337
377
  * Whether to assign a public IP identifier. Value:
338
378
  * - true (default): Assign
339
- * - false: do not assign.
379
+ * - false: do not assign
340
380
  */
341
381
  publicIpIdentification?: pulumi.Input<boolean>;
342
382
  /**
343
383
  * Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
344
384
  * - Node-level scheduling: Region
345
- * - Regional scheduling: Big (region),Middle (province),Small (city).
385
+ * - Regional scheduling: Big (region),Middle (province),Small (city)
346
386
  */
347
387
  scheduleAreaLevel?: pulumi.Input<string>;
348
388
  /**
349
389
  * Scheduling price policy. If it is not filled in, the default priority is low price. Value:
350
390
  * - PriceLowPriority
351
- * - PriceLowPriority (priority low price).
391
+ * - PriceLowPriority (priority low price)
352
392
  */
353
393
  schedulingPriceStrategy?: pulumi.Input<string>;
354
394
  /**
355
395
  * Scheduling policy. Optional values:
356
396
  * - Concentrate for node-level scheduling
357
- * - For regional scheduling, Concentrate, Disperse.
397
+ * - For regional scheduling, Concentrate, Disperse
358
398
  */
359
399
  schedulingStrategy?: pulumi.Input<string>;
360
400
  /**
@@ -362,13 +402,25 @@ export interface InstanceState {
362
402
  */
363
403
  securityId?: pulumi.Input<string>;
364
404
  /**
365
- * Status of the instance.
405
+ * The bidding strategy for pay-as-you-go instances. It takes effect when the value of the 'InstanceChargeType' parameter is set to 'PostPaid. Value range:
406
+ * - NoSpot: normal pay-as-you-go instance (default)
407
+ * - SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
408
+ */
409
+ spotStrategy?: pulumi.Input<string>;
410
+ /**
411
+ * Status of the instance
366
412
  */
367
413
  status?: pulumi.Input<string>;
368
414
  /**
369
415
  * System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `systemDisk` below.
370
416
  */
371
417
  systemDisk?: pulumi.Input<inputs.ens.InstanceSystemDisk>;
418
+ /**
419
+ * The tag bound to the instance
420
+ */
421
+ tags?: pulumi.Input<{
422
+ [key: string]: pulumi.Input<string>;
423
+ }>;
372
424
  /**
373
425
  * Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
374
426
  */
@@ -378,7 +430,7 @@ export interface InstanceState {
378
430
  */
379
431
  userData?: pulumi.Input<string>;
380
432
  /**
381
- * The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
433
+ * The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
382
434
  */
383
435
  vswitchId?: pulumi.Input<string>;
384
436
  }
@@ -387,9 +439,15 @@ export interface InstanceState {
387
439
  */
388
440
  export interface InstanceArgs {
389
441
  /**
390
- * The number of instances created, with a minimum of 1 and a maximum of 100.
442
+ * The number of instances created, with a minimum of 1 and a maximum of 100
391
443
  */
392
444
  amount?: pulumi.Input<number>;
445
+ /**
446
+ * The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
447
+ * - If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
448
+ * - The minimum release time is one hour after the current time.
449
+ */
450
+ autoReleaseTime?: pulumi.Input<string>;
393
451
  /**
394
452
  * Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
395
453
  */
@@ -397,25 +455,25 @@ export interface InstanceArgs {
397
455
  /**
398
456
  * Whether to use vouchers. The default is to use. Value:
399
457
  * - true (used)
400
- * - false (not used).
458
+ * - false (not used)
401
459
  */
402
460
  autoUseCoupon?: pulumi.Input<string>;
403
461
  /**
404
462
  * The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
405
463
  * - Hour: hourly billing
406
464
  * - Day: Daily billing
407
- * - Month: monthly billing.
465
+ * - Month: monthly billing
408
466
  */
409
467
  billingCycle?: pulumi.Input<string>;
410
468
  /**
411
469
  * Operator, required for regional scheduling. Optional values:
412
470
  * - cmcc (mobile)
413
471
  * - unicom
414
- * - telecom.
472
+ * - telecom
415
473
  */
416
474
  carrier?: pulumi.Input<string>;
417
475
  /**
418
- * Data disk specifications. See `dataDisk` below.
476
+ * Data disk specifications See `dataDisk` below.
419
477
  */
420
478
  dataDisks?: pulumi.Input<pulumi.Input<inputs.ens.InstanceDataDisk>[]>;
421
479
  /**
@@ -429,11 +487,11 @@ export interface InstanceArgs {
429
487
  */
430
488
  forceStop?: pulumi.Input<string>;
431
489
  /**
432
- * The host name of the instance. Example value: test-HostName.
490
+ * The host name of the instance. Example value: test-HostName
433
491
  */
434
492
  hostName?: pulumi.Input<string>;
435
493
  /**
436
- * The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
494
+ * The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *
437
495
  */
438
496
  imageId?: pulumi.Input<string>;
439
497
  /**
@@ -443,54 +501,62 @@ export interface InstanceArgs {
443
501
  /**
444
502
  * The instance billing policy. Optional values:
445
503
  * - instance: instance granularity (the subscription method does not support instance)
446
- * - user: user Dimension (user is not transmitted or supported in the prepaid mode).
504
+ * - user: user Dimension (user is not transmitted or supported in the prepaid mode)
447
505
  */
448
506
  instanceChargeStrategy?: pulumi.Input<string>;
449
507
  /**
450
- * The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
508
+ * The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
509
+ *
510
+ * The default value is the InstanceId of the instance.
451
511
  */
452
512
  instanceName?: pulumi.Input<string>;
453
513
  /**
454
- * The specification of the instance. Example value: ens.sn1.small.
514
+ * The specification of the instance. Example value: ens.sn1.small
455
515
  */
456
516
  instanceType: pulumi.Input<string>;
457
517
  /**
458
518
  * Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
459
519
  * - BandwidthByDay: Daily peak bandwidth
460
- * - 95bandwidthbymonth: 95 peak bandwidth.
520
+ * - 95bandwidthbymonth: 95 peak bandwidth
461
521
  */
462
522
  internetChargeType?: pulumi.Input<string>;
463
523
  /**
464
- * Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
524
+ * Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
465
525
  */
466
526
  internetMaxBandwidthOut?: pulumi.Input<number>;
467
527
  /**
468
528
  * The IP type. Value:
469
529
  * - ipv4 (default):IPv4
470
530
  * - ipv6:IPv6
471
- * - ipv4Andipv6:IPv4 and IPv6.
531
+ * - ipv4Andipv6:IPv4 and IPv6
472
532
  */
473
533
  ipType?: pulumi.Input<string>;
474
534
  /**
475
- * The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
535
+ * The key pair name.
536
+ *
537
+ * > **NOTE:** At least one of `Password`, `KeyPairName`, and **PasswordInherit.
538
+ */
539
+ keyPairName?: pulumi.Input<string>;
540
+ /**
541
+ * The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling
476
542
  */
477
543
  netDistrictCode?: pulumi.Input<string>;
478
544
  /**
479
- * The network ID of the instance. Can only be used in node-level scheduling.
545
+ * The network ID of the instance. Can only be used in node-level scheduling
480
546
  */
481
547
  netWorkId?: pulumi.Input<string>;
482
548
  /**
483
- * The instance password. At least one of Password, KeyPairName, and PasswordInherit.
549
+ * The instance password. At least one of Password, KeyPairName, and PasswordInherit
484
550
  */
485
551
  password?: pulumi.Input<string>;
486
552
  /**
487
- * Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
553
+ * Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
488
554
  */
489
555
  passwordInherit?: pulumi.Input<boolean>;
490
556
  /**
491
- * Instance payment method. Optional values:
557
+ * Instance payment method. Since v1.230.0, you can modify payment_type. Optional values:
492
558
  * - Subscription: prepaid, annual and monthly
493
- * - PayAsYouGo: Pay by volume.
559
+ * - PayAsYouGo: Pay by volume
494
560
  */
495
561
  paymentType: pulumi.Input<string>;
496
562
  /**
@@ -502,7 +568,7 @@ export interface InstanceArgs {
502
568
  /**
503
569
  * The unit of time for purchasing resources. Value:
504
570
  * - Month (default): purchase by Month
505
- * - Day: buy by Day.
571
+ * - Day: buy by Day
506
572
  */
507
573
  periodUnit?: pulumi.Input<string>;
508
574
  /**
@@ -512,25 +578,25 @@ export interface InstanceArgs {
512
578
  /**
513
579
  * Whether to assign a public IP identifier. Value:
514
580
  * - true (default): Assign
515
- * - false: do not assign.
581
+ * - false: do not assign
516
582
  */
517
583
  publicIpIdentification?: pulumi.Input<boolean>;
518
584
  /**
519
585
  * Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
520
586
  * - Node-level scheduling: Region
521
- * - Regional scheduling: Big (region),Middle (province),Small (city).
587
+ * - Regional scheduling: Big (region),Middle (province),Small (city)
522
588
  */
523
589
  scheduleAreaLevel: pulumi.Input<string>;
524
590
  /**
525
591
  * Scheduling price policy. If it is not filled in, the default priority is low price. Value:
526
592
  * - PriceLowPriority
527
- * - PriceLowPriority (priority low price).
593
+ * - PriceLowPriority (priority low price)
528
594
  */
529
595
  schedulingPriceStrategy?: pulumi.Input<string>;
530
596
  /**
531
597
  * Scheduling policy. Optional values:
532
598
  * - Concentrate for node-level scheduling
533
- * - For regional scheduling, Concentrate, Disperse.
599
+ * - For regional scheduling, Concentrate, Disperse
534
600
  */
535
601
  schedulingStrategy?: pulumi.Input<string>;
536
602
  /**
@@ -538,13 +604,25 @@ export interface InstanceArgs {
538
604
  */
539
605
  securityId?: pulumi.Input<string>;
540
606
  /**
541
- * Status of the instance.
607
+ * The bidding strategy for pay-as-you-go instances. It takes effect when the value of the 'InstanceChargeType' parameter is set to 'PostPaid. Value range:
608
+ * - NoSpot: normal pay-as-you-go instance (default)
609
+ * - SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
610
+ */
611
+ spotStrategy?: pulumi.Input<string>;
612
+ /**
613
+ * Status of the instance
542
614
  */
543
615
  status?: pulumi.Input<string>;
544
616
  /**
545
617
  * System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `systemDisk` below.
546
618
  */
547
619
  systemDisk?: pulumi.Input<inputs.ens.InstanceSystemDisk>;
620
+ /**
621
+ * The tag bound to the instance
622
+ */
623
+ tags?: pulumi.Input<{
624
+ [key: string]: pulumi.Input<string>;
625
+ }>;
548
626
  /**
549
627
  * Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
550
628
  */
@@ -554,7 +632,7 @@ export interface InstanceArgs {
554
632
  */
555
633
  userData?: pulumi.Input<string>;
556
634
  /**
557
- * The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
635
+ * The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
558
636
  */
559
637
  vswitchId?: pulumi.Input<string>;
560
638
  }