@pulumi/alicloud 3.107.0 → 3.108.0
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/apig/index.d.ts +3 -0
- package/apig/index.d.ts.map +1 -1
- package/apig/index.js +6 -1
- package/apig/index.js.map +1 -1
- package/apig/secret.d.ts +214 -0
- package/apig/secret.d.ts.map +1 -0
- package/apig/secret.js +175 -0
- package/apig/secret.js.map +1 -0
- package/cloudfirewall/getNatFirewalls.d.ts +6 -0
- package/cloudfirewall/getNatFirewalls.d.ts.map +1 -1
- package/cloudfirewall/getNatFirewalls.js.map +1 -1
- package/cr/endpointAclPolicy.d.ts +4 -4
- package/cr/endpointAclPolicy.js +1 -1
- package/cr/getEndpointAclPolicies.d.ts +22 -4
- package/cr/getEndpointAclPolicies.d.ts.map +1 -1
- package/cr/getEndpointAclPolicies.js +4 -2
- package/cr/getEndpointAclPolicies.js.map +1 -1
- package/cr/getEndpointAclService.d.ts +7 -4
- package/cr/getEndpointAclService.d.ts.map +1 -1
- package/cr/getEndpointAclService.js +2 -2
- package/cr/getEndpointAclService.js.map +1 -1
- package/cr/index.d.ts +3 -0
- package/cr/index.d.ts.map +1 -1
- package/cr/index.js +6 -1
- package/cr/index.js.map +1 -1
- package/cr/instanceCustomizedDomain.d.ts +168 -0
- package/cr/instanceCustomizedDomain.d.ts.map +1 -0
- package/cr/instanceCustomizedDomain.js +145 -0
- package/cr/instanceCustomizedDomain.js.map +1 -0
- package/ecs/autoSnapshotPolicy.d.ts +36 -0
- package/ecs/autoSnapshotPolicy.d.ts.map +1 -1
- package/ecs/autoSnapshotPolicy.js +4 -0
- package/ecs/autoSnapshotPolicy.js.map +1 -1
- package/ecs/ecsSnapshot.d.ts +24 -0
- package/ecs/ecsSnapshot.d.ts.map +1 -1
- package/ecs/ecsSnapshot.js +8 -0
- package/ecs/ecsSnapshot.js.map +1 -1
- package/ecs/getAutoSnapshotPolicies.d.ts +14 -2
- package/ecs/getAutoSnapshotPolicies.d.ts.map +1 -1
- package/ecs/getAutoSnapshotPolicies.js +2 -2
- package/ecs/getAutoSnapshotPolicies.js.map +1 -1
- package/ecs/instance.d.ts +33 -15
- package/ecs/instance.d.ts.map +1 -1
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/ecs/snapshot.d.ts +5 -0
- package/ecs/snapshot.d.ts.map +1 -1
- package/ecs/snapshot.js +4 -0
- package/ecs/snapshot.js.map +1 -1
- package/ecs/snapshotPolicy.d.ts +6 -0
- package/ecs/snapshotPolicy.d.ts.map +1 -1
- package/ecs/snapshotPolicy.js +4 -0
- package/ecs/snapshotPolicy.js.map +1 -1
- package/esa/getLists.d.ts +129 -0
- package/esa/getLists.d.ts.map +1 -0
- package/esa/getLists.js +113 -0
- package/esa/getLists.js.map +1 -0
- package/esa/index.d.ts +3 -0
- package/esa/index.d.ts.map +1 -1
- package/esa/index.js +5 -2
- package/esa/index.js.map +1 -1
- package/eventbridge/eventStreaming.d.ts +210 -0
- package/eventbridge/eventStreaming.d.ts.map +1 -0
- package/eventbridge/eventStreaming.js +159 -0
- package/eventbridge/eventStreaming.js.map +1 -0
- package/eventbridge/index.d.ts +3 -0
- package/eventbridge/index.d.ts.map +1 -1
- package/eventbridge/index.js +6 -1
- package/eventbridge/index.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kvstore/instance.d.ts +9 -15
- package/kvstore/instance.d.ts.map +1 -1
- package/kvstore/instance.js.map +1 -1
- package/log/getService.d.ts +5 -9
- package/log/getService.d.ts.map +1 -1
- package/log/getService.js +2 -2
- package/log/getService.js.map +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +111 -11
- package/polardb/cluster.d.ts.map +1 -1
- package/polardb/cluster.js +48 -3
- package/polardb/cluster.js.map +1 -1
- package/privatelink/getService.d.ts +8 -4
- package/privatelink/getService.d.ts.map +1 -1
- package/privatelink/getService.js +6 -2
- package/privatelink/getService.js.map +1 -1
- package/rds/getClassDetails.d.ts +2 -2
- package/rds/instance.d.ts +3 -3
- package/rds/rdsAccount.d.ts +3 -3
- package/rds/rdsCloneDbInstance.d.ts +3 -3
- package/rds/rdsUpgradeDbInstance.d.ts +3 -3
- package/realtimecompute/vvpInstance.d.ts +36 -0
- package/realtimecompute/vvpInstance.d.ts.map +1 -1
- package/realtimecompute/vvpInstance.js +6 -0
- package/realtimecompute/vvpInstance.js.map +1 -1
- package/sslcertificatesservice/pcaCertificate.d.ts +1 -4
- package/sslcertificatesservice/pcaCertificate.d.ts.map +1 -1
- package/sslcertificatesservice/pcaCertificate.js +3 -6
- package/sslcertificatesservice/pcaCertificate.js.map +1 -1
- package/sslcertificatesservicepca/cert.d.ts +10 -7
- package/sslcertificatesservicepca/cert.d.ts.map +1 -1
- package/sslcertificatesservicepca/cert.js +8 -3
- package/sslcertificatesservicepca/cert.js.map +1 -1
- package/sslcertificatesservicepca/certificate.d.ts +4 -1
- package/sslcertificatesservicepca/certificate.d.ts.map +1 -1
- package/sslcertificatesservicepca/certificate.js +6 -3
- package/sslcertificatesservicepca/certificate.js.map +1 -1
- package/sslcertificatesservicepcacert/index.d.ts +7 -0
- package/sslcertificatesservicepcacert/index.d.ts.map +1 -0
- package/sslcertificatesservicepcacert/index.js +50 -0
- package/sslcertificatesservicepcacert/index.js.map +1 -0
- package/sslcertificatesservicepcacert/sslCertificatesServicePcaCert.d.ts +494 -0
- package/sslcertificatesservicepcacert/sslCertificatesServicePcaCert.d.ts.map +1 -0
- package/sslcertificatesservicepcacert/sslCertificatesServicePcaCert.js +191 -0
- package/sslcertificatesservicepcacert/sslCertificatesServicePcaCert.js.map +1 -0
- package/sslcertificatesservicepcacert/sync.d.ts +109 -0
- package/sslcertificatesservicepcacert/sync.d.ts.map +1 -0
- package/sslcertificatesservicepcacert/sync.js +135 -0
- package/sslcertificatesservicepcacert/sync.js.map +1 -0
- package/types/input.d.ts +96 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +132 -4
- package/types/output.d.ts.map +1 -1
|
@@ -58,6 +58,14 @@ export declare class AutoSnapshotPolicy extends pulumi.CustomResource {
|
|
|
58
58
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
59
|
*/
|
|
60
60
|
static isInstance(obj: any): obj is AutoSnapshotPolicy;
|
|
61
|
+
/**
|
|
62
|
+
* The association type between the automatic snapshot policy and target resources. Valid values:
|
|
63
|
+
* - `AssociatedWithDisk`: The automatic snapshot policy is applied to disks.
|
|
64
|
+
* - `AssociatedWithInstanceTag`: The automatic snapshot policy is associated with ECS instances that have the specified `targetTags`. Changing this parameter creates a new resource.
|
|
65
|
+
*
|
|
66
|
+
* > **NOTE:** Before you can set `associationType` to `AssociatedWithInstanceTag`, you must contact the ECS product team to add your Alibaba Cloud account to the `AssociatedWithInstanceTag` whitelist. If your account is not on the whitelist, `CreateAutoSnapshotPolicy` returns the `InvalidOperation.UserNotInWhiteList` error. You can submit a ticket to apply for the whitelist.
|
|
67
|
+
*/
|
|
68
|
+
readonly associationType: pulumi.Output<string>;
|
|
61
69
|
/**
|
|
62
70
|
* The name of the automatic snapshot policy. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
63
71
|
*/
|
|
@@ -116,6 +124,10 @@ export declare class AutoSnapshotPolicy extends pulumi.CustomResource {
|
|
|
116
124
|
* The destination region to which to copy the snapshot. You can specify only a single destination region.
|
|
117
125
|
*/
|
|
118
126
|
readonly targetCopyRegions: pulumi.Output<string[] | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The tags used to associate the automatic snapshot policy with ECS instances. This parameter takes effect only when `associationType` is set to `AssociatedWithInstanceTag`. See `targetTags` below.
|
|
129
|
+
*/
|
|
130
|
+
readonly targetTags: pulumi.Output<outputs.ecs.AutoSnapshotPolicyTargetTag[] | undefined>;
|
|
119
131
|
/**
|
|
120
132
|
* The points in time of the day at which to create automatic snapshots.
|
|
121
133
|
*
|
|
@@ -139,6 +151,14 @@ export declare class AutoSnapshotPolicy extends pulumi.CustomResource {
|
|
|
139
151
|
* Input properties used for looking up and filtering AutoSnapshotPolicy resources.
|
|
140
152
|
*/
|
|
141
153
|
export interface AutoSnapshotPolicyState {
|
|
154
|
+
/**
|
|
155
|
+
* The association type between the automatic snapshot policy and target resources. Valid values:
|
|
156
|
+
* - `AssociatedWithDisk`: The automatic snapshot policy is applied to disks.
|
|
157
|
+
* - `AssociatedWithInstanceTag`: The automatic snapshot policy is associated with ECS instances that have the specified `targetTags`. Changing this parameter creates a new resource.
|
|
158
|
+
*
|
|
159
|
+
* > **NOTE:** Before you can set `associationType` to `AssociatedWithInstanceTag`, you must contact the ECS product team to add your Alibaba Cloud account to the `AssociatedWithInstanceTag` whitelist. If your account is not on the whitelist, `CreateAutoSnapshotPolicy` returns the `InvalidOperation.UserNotInWhiteList` error. You can submit a ticket to apply for the whitelist.
|
|
160
|
+
*/
|
|
161
|
+
associationType?: pulumi.Input<string | undefined>;
|
|
142
162
|
/**
|
|
143
163
|
* The name of the automatic snapshot policy. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
144
164
|
*/
|
|
@@ -197,6 +217,10 @@ export interface AutoSnapshotPolicyState {
|
|
|
197
217
|
* The destination region to which to copy the snapshot. You can specify only a single destination region.
|
|
198
218
|
*/
|
|
199
219
|
targetCopyRegions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
220
|
+
/**
|
|
221
|
+
* The tags used to associate the automatic snapshot policy with ECS instances. This parameter takes effect only when `associationType` is set to `AssociatedWithInstanceTag`. See `targetTags` below.
|
|
222
|
+
*/
|
|
223
|
+
targetTags?: pulumi.Input<pulumi.Input<inputs.ecs.AutoSnapshotPolicyTargetTag>[] | undefined>;
|
|
200
224
|
/**
|
|
201
225
|
* The points in time of the day at which to create automatic snapshots.
|
|
202
226
|
*
|
|
@@ -212,6 +236,14 @@ export interface AutoSnapshotPolicyState {
|
|
|
212
236
|
* The set of arguments for constructing a AutoSnapshotPolicy resource.
|
|
213
237
|
*/
|
|
214
238
|
export interface AutoSnapshotPolicyArgs {
|
|
239
|
+
/**
|
|
240
|
+
* The association type between the automatic snapshot policy and target resources. Valid values:
|
|
241
|
+
* - `AssociatedWithDisk`: The automatic snapshot policy is applied to disks.
|
|
242
|
+
* - `AssociatedWithInstanceTag`: The automatic snapshot policy is associated with ECS instances that have the specified `targetTags`. Changing this parameter creates a new resource.
|
|
243
|
+
*
|
|
244
|
+
* > **NOTE:** Before you can set `associationType` to `AssociatedWithInstanceTag`, you must contact the ECS product team to add your Alibaba Cloud account to the `AssociatedWithInstanceTag` whitelist. If your account is not on the whitelist, `CreateAutoSnapshotPolicy` returns the `InvalidOperation.UserNotInWhiteList` error. You can submit a ticket to apply for the whitelist.
|
|
245
|
+
*/
|
|
246
|
+
associationType?: pulumi.Input<string | undefined>;
|
|
215
247
|
/**
|
|
216
248
|
* The name of the automatic snapshot policy. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
217
249
|
*/
|
|
@@ -258,6 +290,10 @@ export interface AutoSnapshotPolicyArgs {
|
|
|
258
290
|
* The destination region to which to copy the snapshot. You can specify only a single destination region.
|
|
259
291
|
*/
|
|
260
292
|
targetCopyRegions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
293
|
+
/**
|
|
294
|
+
* The tags used to associate the automatic snapshot policy with ECS instances. This parameter takes effect only when `associationType` is set to `AssociatedWithInstanceTag`. See `targetTags` below.
|
|
295
|
+
*/
|
|
296
|
+
targetTags?: pulumi.Input<pulumi.Input<inputs.ecs.AutoSnapshotPolicyTargetTag>[] | undefined>;
|
|
261
297
|
/**
|
|
262
298
|
* The points in time of the day at which to create automatic snapshots.
|
|
263
299
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|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AG,CAAC,2BAA2B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9F;;;;;;;;OAQG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CACpD"}
|
|
@@ -99,6 +99,7 @@ class AutoSnapshotPolicy extends pulumi.CustomResource {
|
|
|
99
99
|
opts = opts || {};
|
|
100
100
|
if (opts.id) {
|
|
101
101
|
const state = argsOrState;
|
|
102
|
+
resourceInputs["associationType"] = state?.associationType;
|
|
102
103
|
resourceInputs["autoSnapshotPolicyName"] = state?.autoSnapshotPolicyName;
|
|
103
104
|
resourceInputs["copiedSnapshotsRetentionDays"] = state?.copiedSnapshotsRetentionDays;
|
|
104
105
|
resourceInputs["copyEncryptionConfiguration"] = state?.copyEncryptionConfiguration;
|
|
@@ -112,6 +113,7 @@ class AutoSnapshotPolicy extends pulumi.CustomResource {
|
|
|
112
113
|
resourceInputs["status"] = state?.status;
|
|
113
114
|
resourceInputs["tags"] = state?.tags;
|
|
114
115
|
resourceInputs["targetCopyRegions"] = state?.targetCopyRegions;
|
|
116
|
+
resourceInputs["targetTags"] = state?.targetTags;
|
|
115
117
|
resourceInputs["timePoints"] = state?.timePoints;
|
|
116
118
|
}
|
|
117
119
|
else {
|
|
@@ -125,6 +127,7 @@ class AutoSnapshotPolicy extends pulumi.CustomResource {
|
|
|
125
127
|
if (args?.timePoints === undefined && !opts.urn) {
|
|
126
128
|
throw new Error("Missing required property 'timePoints'");
|
|
127
129
|
}
|
|
130
|
+
resourceInputs["associationType"] = args?.associationType;
|
|
128
131
|
resourceInputs["autoSnapshotPolicyName"] = args?.autoSnapshotPolicyName;
|
|
129
132
|
resourceInputs["copiedSnapshotsRetentionDays"] = args?.copiedSnapshotsRetentionDays;
|
|
130
133
|
resourceInputs["copyEncryptionConfiguration"] = args?.copyEncryptionConfiguration;
|
|
@@ -135,6 +138,7 @@ class AutoSnapshotPolicy extends pulumi.CustomResource {
|
|
|
135
138
|
resourceInputs["retentionDays"] = args?.retentionDays;
|
|
136
139
|
resourceInputs["tags"] = args?.tags;
|
|
137
140
|
resourceInputs["targetCopyRegions"] = args?.targetCopyRegions;
|
|
141
|
+
resourceInputs["targetTags"] = args?.targetTags;
|
|
138
142
|
resourceInputs["timePoints"] = args?.timePoints;
|
|
139
143
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
140
144
|
resourceInputs["regionId"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoSnapshotPolicy.js","sourceRoot":"","sources":["../../ecs/autoSnapshotPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oDAAoD,CAAC;IAE3F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"autoSnapshotPolicy.js","sourceRoot":"","sources":["../../ecs/autoSnapshotPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE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*
|
|
9
|
+
* > **NOTE:** By default, creation waits for `status` to become `accomplished`. Set `waitUntil = "available"` to finish when ECS reports `Available=true`. At this point, the snapshot can be used to create disks, roll back disks, or create images, and can be shared, even if background upload is still in progress and `status` remains `progressing`. Each operation's other requirements still apply. `waitUntil` only controls when Terraform finishes waiting for snapshot creation; it does not change the snapshot's capabilities. Changing `retentionDays` still requires `Status=accomplished`.
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* Basic Usage
|
|
@@ -82,6 +84,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
82
84
|
*
|
|
83
85
|
* ECS Snapshot can be imported using the id, e.g.
|
|
84
86
|
*
|
|
87
|
+
* `available` is populated from ECS when the imported snapshot is refreshed. `waitUntil` is a local setting and cannot be recovered from the imported snapshot. Keep any explicitly selected waiting policy in the Terraform configuration; omitting it continues to wait for `Status=accomplished` on subsequent creation without adding a default policy to state.
|
|
88
|
+
*
|
|
85
89
|
* ```sh
|
|
86
90
|
* $ pulumi import alicloud:ecs/ecsSnapshot:EcsSnapshot example <id>
|
|
87
91
|
* ```
|
|
@@ -102,6 +106,10 @@ export declare class EcsSnapshot extends pulumi.CustomResource {
|
|
|
102
106
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
107
|
*/
|
|
104
108
|
static isInstance(obj: any): obj is EcsSnapshot;
|
|
109
|
+
/**
|
|
110
|
+
* Whether ECS reports the snapshot as available. This read-only value can be `true` while `status` is still `progressing`, allowing the operations described in the availability note above. It reflects the most recent refresh, not the configured `waitUntil` policy.
|
|
111
|
+
*/
|
|
112
|
+
readonly available: pulumi.Output<boolean>;
|
|
105
113
|
/**
|
|
106
114
|
* The category of the snapshot. Valid values:
|
|
107
115
|
*/
|
|
@@ -166,6 +174,10 @@ export declare class EcsSnapshot extends pulumi.CustomResource {
|
|
|
166
174
|
readonly tags: pulumi.Output<{
|
|
167
175
|
[key: string]: string;
|
|
168
176
|
} | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* Local waiting policy for creation only. Valid values: `accomplished`, which waits for `Status=accomplished`, and `available`, which waits for `Available=true`. When omitted, creation still waits for `Status=accomplished`, but no default waiting policy is inserted into state, avoiding a new `waitUntil` default-value diff for existing configurations. This argument is not sent to ECS or read from ECS. Changing only `waitUntil` neither recreates nor modifies the snapshot and is not a readiness barrier; it affects subsequent creation only. Metadata updates (`snapshotName`, `name`, `description`) do not wait for background upload after ECS accepts the update; Read preserves the actual status. Resource-group and tag updates are also unaffected. **NOTE:** Independently of this policy, `retentionDays` changes, including mixed attribute updates, must wait for `Status=accomplished` before sending the update, with no additional wait afterward.
|
|
179
|
+
*/
|
|
180
|
+
readonly waitUntil: pulumi.Output<string | undefined>;
|
|
169
181
|
/**
|
|
170
182
|
* Create a EcsSnapshot resource with the given unique name, arguments, and options.
|
|
171
183
|
*
|
|
@@ -179,6 +191,10 @@ export declare class EcsSnapshot extends pulumi.CustomResource {
|
|
|
179
191
|
* Input properties used for looking up and filtering EcsSnapshot resources.
|
|
180
192
|
*/
|
|
181
193
|
export interface EcsSnapshotState {
|
|
194
|
+
/**
|
|
195
|
+
* Whether ECS reports the snapshot as available. This read-only value can be `true` while `status` is still `progressing`, allowing the operations described in the availability note above. It reflects the most recent refresh, not the configured `waitUntil` policy.
|
|
196
|
+
*/
|
|
197
|
+
available?: pulumi.Input<boolean | undefined>;
|
|
182
198
|
/**
|
|
183
199
|
* The category of the snapshot. Valid values:
|
|
184
200
|
*/
|
|
@@ -243,6 +259,10 @@ export interface EcsSnapshotState {
|
|
|
243
259
|
tags?: pulumi.Input<{
|
|
244
260
|
[key: string]: pulumi.Input<string>;
|
|
245
261
|
} | undefined>;
|
|
262
|
+
/**
|
|
263
|
+
* Local waiting policy for creation only. Valid values: `accomplished`, which waits for `Status=accomplished`, and `available`, which waits for `Available=true`. When omitted, creation still waits for `Status=accomplished`, but no default waiting policy is inserted into state, avoiding a new `waitUntil` default-value diff for existing configurations. This argument is not sent to ECS or read from ECS. Changing only `waitUntil` neither recreates nor modifies the snapshot and is not a readiness barrier; it affects subsequent creation only. Metadata updates (`snapshotName`, `name`, `description`) do not wait for background upload after ECS accepts the update; Read preserves the actual status. Resource-group and tag updates are also unaffected. **NOTE:** Independently of this policy, `retentionDays` changes, including mixed attribute updates, must wait for `Status=accomplished` before sending the update, with no additional wait afterward.
|
|
264
|
+
*/
|
|
265
|
+
waitUntil?: pulumi.Input<string | undefined>;
|
|
246
266
|
}
|
|
247
267
|
/**
|
|
248
268
|
* The set of arguments for constructing a EcsSnapshot resource.
|
|
@@ -300,5 +320,9 @@ export interface EcsSnapshotArgs {
|
|
|
300
320
|
tags?: pulumi.Input<{
|
|
301
321
|
[key: string]: pulumi.Input<string>;
|
|
302
322
|
} | undefined>;
|
|
323
|
+
/**
|
|
324
|
+
* Local waiting policy for creation only. Valid values: `accomplished`, which waits for `Status=accomplished`, and `available`, which waits for `Available=true`. When omitted, creation still waits for `Status=accomplished`, but no default waiting policy is inserted into state, avoiding a new `waitUntil` default-value diff for existing configurations. This argument is not sent to ECS or read from ECS. Changing only `waitUntil` neither recreates nor modifies the snapshot and is not a readiness barrier; it affects subsequent creation only. Metadata updates (`snapshotName`, `name`, `description`) do not wait for background upload after ECS accepts the update; Read preserves the actual status. Resource-group and tag updates are also unaffected. **NOTE:** Independently of this policy, `retentionDays` changes, including mixed attribute updates, must wait for `Status=accomplished` before sending the update, with no additional wait afterward.
|
|
325
|
+
*/
|
|
326
|
+
waitUntil?: pulumi.Input<string | undefined>;
|
|
303
327
|
}
|
|
304
328
|
//# sourceMappingURL=ecsSnapshot.d.ts.map
|
package/ecs/ecsSnapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecsSnapshot.d.ts","sourceRoot":"","sources":["../../ecs/ecsSnapshot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"ec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
CHANGED
|
@@ -35,6 +35,8 @@ const utilities = __importStar(require("../utilities"));
|
|
|
35
35
|
*
|
|
36
36
|
* > **NOTE:** Available since v1.120.0.
|
|
37
37
|
*
|
|
38
|
+
* > **NOTE:** By default, creation waits for `status` to become `accomplished`. Set `waitUntil = "available"` to finish when ECS reports `Available=true`. At this point, the snapshot can be used to create disks, roll back disks, or create images, and can be shared, even if background upload is still in progress and `status` remains `progressing`. Each operation's other requirements still apply. `waitUntil` only controls when Terraform finishes waiting for snapshot creation; it does not change the snapshot's capabilities. Changing `retentionDays` still requires `Status=accomplished`.
|
|
39
|
+
*
|
|
38
40
|
* ## Example Usage
|
|
39
41
|
*
|
|
40
42
|
* Basic Usage
|
|
@@ -111,6 +113,8 @@ const utilities = __importStar(require("../utilities"));
|
|
|
111
113
|
*
|
|
112
114
|
* ECS Snapshot can be imported using the id, e.g.
|
|
113
115
|
*
|
|
116
|
+
* `available` is populated from ECS when the imported snapshot is refreshed. `waitUntil` is a local setting and cannot be recovered from the imported snapshot. Keep any explicitly selected waiting policy in the Terraform configuration; omitting it continues to wait for `Status=accomplished` on subsequent creation without adding a default policy to state.
|
|
117
|
+
*
|
|
114
118
|
* ```sh
|
|
115
119
|
* $ pulumi import alicloud:ecs/ecsSnapshot:EcsSnapshot example <id>
|
|
116
120
|
* ```
|
|
@@ -145,6 +149,7 @@ class EcsSnapshot extends pulumi.CustomResource {
|
|
|
145
149
|
opts = opts || {};
|
|
146
150
|
if (opts.id) {
|
|
147
151
|
const state = argsOrState;
|
|
152
|
+
resourceInputs["available"] = state?.available;
|
|
148
153
|
resourceInputs["category"] = state?.category;
|
|
149
154
|
resourceInputs["createTime"] = state?.createTime;
|
|
150
155
|
resourceInputs["description"] = state?.description;
|
|
@@ -159,6 +164,7 @@ class EcsSnapshot extends pulumi.CustomResource {
|
|
|
159
164
|
resourceInputs["snapshotName"] = state?.snapshotName;
|
|
160
165
|
resourceInputs["status"] = state?.status;
|
|
161
166
|
resourceInputs["tags"] = state?.tags;
|
|
167
|
+
resourceInputs["waitUntil"] = state?.waitUntil;
|
|
162
168
|
}
|
|
163
169
|
else {
|
|
164
170
|
const args = argsOrState;
|
|
@@ -176,6 +182,8 @@ class EcsSnapshot extends pulumi.CustomResource {
|
|
|
176
182
|
resourceInputs["retentionDays"] = args?.retentionDays;
|
|
177
183
|
resourceInputs["snapshotName"] = args?.snapshotName;
|
|
178
184
|
resourceInputs["tags"] = args?.tags;
|
|
185
|
+
resourceInputs["waitUntil"] = args?.waitUntil;
|
|
186
|
+
resourceInputs["available"] = undefined /*out*/;
|
|
179
187
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
180
188
|
resourceInputs["regionId"] = undefined /*out*/;
|
|
181
189
|
resourceInputs["status"] = undefined /*out*/;
|
package/ecs/ecsSnapshot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecsSnapshot.js","sourceRoot":"","sources":["../../ecs/ecsSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"ecsSnapshot.js","sourceRoot":"","sources":["../../ecs/ecsSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,E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OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAxJL,kCAyJC"}
|
|
@@ -3,7 +3,7 @@ import * as outputs from "../types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* This data source provides the Ecs Auto Snapshot Policies of the current Alibaba Cloud user.
|
|
5
5
|
*
|
|
6
|
-
* > **NOTE:** Available
|
|
6
|
+
* > **NOTE:** Available since v1.117.0.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
@@ -58,10 +58,22 @@ export interface GetAutoSnapshotPoliciesResult {
|
|
|
58
58
|
readonly id: string;
|
|
59
59
|
readonly ids: string[];
|
|
60
60
|
readonly nameRegex?: string;
|
|
61
|
+
/**
|
|
62
|
+
* A list of Auto Snapshot Policy names.
|
|
63
|
+
*/
|
|
61
64
|
readonly names: string[];
|
|
62
65
|
readonly outputFile?: string;
|
|
66
|
+
/**
|
|
67
|
+
* A list of Ecs Auto Snapshot Policies. Each element contains the following attributes:
|
|
68
|
+
*/
|
|
63
69
|
readonly policies: outputs.ecs.GetAutoSnapshotPoliciesPolicy[];
|
|
70
|
+
/**
|
|
71
|
+
* The status of Auto Snapshot Policy.
|
|
72
|
+
*/
|
|
64
73
|
readonly status?: string;
|
|
74
|
+
/**
|
|
75
|
+
* A mapping of tags to assign to the resource.
|
|
76
|
+
*/
|
|
65
77
|
readonly tags?: {
|
|
66
78
|
[key: string]: string;
|
|
67
79
|
};
|
|
@@ -69,7 +81,7 @@ export interface GetAutoSnapshotPoliciesResult {
|
|
|
69
81
|
/**
|
|
70
82
|
* This data source provides the Ecs Auto Snapshot Policies of the current Alibaba Cloud user.
|
|
71
83
|
*
|
|
72
|
-
* > **NOTE:** Available
|
|
84
|
+
* > **NOTE:** Available since v1.117.0.
|
|
73
85
|
*
|
|
74
86
|
* ## Example Usage
|
|
75
87
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAutoSnapshotPolicies.d.ts","sourceRoot":"","sources":["../../ecs/getAutoSnapshotPolicies.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAU/I;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;I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C,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAUvK;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACvD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;CAC1E"}
|
|
@@ -31,7 +31,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* This data source provides the Ecs Auto Snapshot Policies of the current Alibaba Cloud user.
|
|
33
33
|
*
|
|
34
|
-
* > **NOTE:** Available
|
|
34
|
+
* > **NOTE:** Available since v1.117.0.
|
|
35
35
|
*
|
|
36
36
|
* ## Example Usage
|
|
37
37
|
*
|
|
@@ -63,7 +63,7 @@ exports.getAutoSnapshotPolicies = getAutoSnapshotPolicies;
|
|
|
63
63
|
/**
|
|
64
64
|
* This data source provides the Ecs Auto Snapshot Policies of the current Alibaba Cloud user.
|
|
65
65
|
*
|
|
66
|
-
* > **NOTE:** Available
|
|
66
|
+
* > **NOTE:** Available since v1.117.0.
|
|
67
67
|
*
|
|
68
68
|
* ## Example Usage
|
|
69
69
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAutoSnapshotPolicies.js","sourceRoot":"","sources":["../../ecs/getAutoSnapshotPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0DAUC;
|
|
1
|
+
{"version":3,"file":"getAutoSnapshotPolicies.js","sourceRoot":"","sources":["../../ecs/getAutoSnapshotPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0DAUC;AAwDD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAAiC;IACrH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sEAUC"}
|
package/ecs/instance.d.ts
CHANGED
|
@@ -138,7 +138,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
138
138
|
*/
|
|
139
139
|
readonly creditSpecification: pulumi.Output<string>;
|
|
140
140
|
/**
|
|
141
|
-
* The list of data disks created with instance. See `dataDisks` below.
|
|
141
|
+
* The list of data disks created with instance. **Note: The parameter is immutable after resource creation.** This resource only configures these disks during instance creation; it does not update or refresh the inline disk settings. See `dataDisks` below.
|
|
142
142
|
*/
|
|
143
143
|
readonly dataDisks: pulumi.Output<outputs.ecs.InstanceDataDisk[] | undefined>;
|
|
144
144
|
/**
|
|
@@ -177,6 +177,12 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
177
177
|
* Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
178
178
|
*/
|
|
179
179
|
readonly enableJumboFrame: pulumi.Output<boolean>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies whether to enable network encryption for the instance. Valid values: `true`, `false`.
|
|
182
|
+
*
|
|
183
|
+
* > **NOTE:** VPC traffic encryption is currently in private preview. To use this feature, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex) to request access.
|
|
184
|
+
*/
|
|
185
|
+
readonly enableNetworkEncryption: pulumi.Output<boolean>;
|
|
180
186
|
/**
|
|
181
187
|
* (Available since v1.232.0) The expiration time of the instance.
|
|
182
188
|
*/
|
|
@@ -214,7 +220,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
214
220
|
*/
|
|
215
221
|
readonly imageId: pulumi.Output<string>;
|
|
216
222
|
/**
|
|
217
|
-
* The options of images. See `imageOptions` below.
|
|
223
|
+
* The options of images. **Note: The parameter is immutable after resource creation.** See `imageOptions` below.
|
|
218
224
|
*/
|
|
219
225
|
readonly imageOptions: pulumi.Output<outputs.ecs.InstanceImageOptions>;
|
|
220
226
|
/**
|
|
@@ -263,7 +269,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
263
269
|
*/
|
|
264
270
|
readonly ipv6Addresses: pulumi.Output<string[]>;
|
|
265
271
|
/**
|
|
266
|
-
* Whether to use outdated instance type.
|
|
272
|
+
* Whether to use outdated instance type. **Note: The parameter is immutable after resource creation.** It only controls the I/O optimization option sent when creating the instance.
|
|
267
273
|
*/
|
|
268
274
|
readonly isOutdated: pulumi.Output<boolean | undefined>;
|
|
269
275
|
/**
|
|
@@ -329,7 +335,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
329
335
|
*/
|
|
330
336
|
readonly networkInterfaceTrafficMode: pulumi.Output<string>;
|
|
331
337
|
/**
|
|
332
|
-
* The list of network interfaces created with instance. See `networkInterfaces` below.
|
|
338
|
+
* The list of network interfaces created with instance. **Note: The parameter is immutable after resource creation.** See `networkInterfaces` below.
|
|
333
339
|
*/
|
|
334
340
|
readonly networkInterfaces: pulumi.Output<outputs.ecs.InstanceNetworkInterfaces>;
|
|
335
341
|
/**
|
|
@@ -449,7 +455,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
449
455
|
*/
|
|
450
456
|
readonly sourceDestCheck: pulumi.Output<boolean>;
|
|
451
457
|
/**
|
|
452
|
-
* The retention time of the preemptive instance in hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, `6`. Retention duration 2~6 is under invitation test, please submit a work order if you need to open. If the value is `0`, the mode is no protection period. Default value is `1`.
|
|
458
|
+
* The retention time of the preemptive instance in hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, `6`. Retention duration 2~6 is under invitation test, please submit a work order if you need to open. If the value is `0`, the mode is no protection period. Default value is `1`. **Note: The parameter is immutable after resource creation.** This resource sends it only when creating the instance.
|
|
453
459
|
*/
|
|
454
460
|
readonly spotDuration: pulumi.Output<number>;
|
|
455
461
|
/**
|
|
@@ -621,7 +627,7 @@ export interface InstanceState {
|
|
|
621
627
|
*/
|
|
622
628
|
creditSpecification?: pulumi.Input<string | undefined>;
|
|
623
629
|
/**
|
|
624
|
-
* The list of data disks created with instance. See `dataDisks` below.
|
|
630
|
+
* The list of data disks created with instance. **Note: The parameter is immutable after resource creation.** This resource only configures these disks during instance creation; it does not update or refresh the inline disk settings. See `dataDisks` below.
|
|
625
631
|
*/
|
|
626
632
|
dataDisks?: pulumi.Input<pulumi.Input<inputs.ecs.InstanceDataDisk>[] | undefined>;
|
|
627
633
|
/**
|
|
@@ -660,6 +666,12 @@ export interface InstanceState {
|
|
|
660
666
|
* Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
661
667
|
*/
|
|
662
668
|
enableJumboFrame?: pulumi.Input<boolean | undefined>;
|
|
669
|
+
/**
|
|
670
|
+
* Specifies whether to enable network encryption for the instance. Valid values: `true`, `false`.
|
|
671
|
+
*
|
|
672
|
+
* > **NOTE:** VPC traffic encryption is currently in private preview. To use this feature, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex) to request access.
|
|
673
|
+
*/
|
|
674
|
+
enableNetworkEncryption?: pulumi.Input<boolean | undefined>;
|
|
663
675
|
/**
|
|
664
676
|
* (Available since v1.232.0) The expiration time of the instance.
|
|
665
677
|
*/
|
|
@@ -697,7 +709,7 @@ export interface InstanceState {
|
|
|
697
709
|
*/
|
|
698
710
|
imageId?: pulumi.Input<string | undefined>;
|
|
699
711
|
/**
|
|
700
|
-
* The options of images. See `imageOptions` below.
|
|
712
|
+
* The options of images. **Note: The parameter is immutable after resource creation.** See `imageOptions` below.
|
|
701
713
|
*/
|
|
702
714
|
imageOptions?: pulumi.Input<inputs.ecs.InstanceImageOptions | undefined>;
|
|
703
715
|
/**
|
|
@@ -746,7 +758,7 @@ export interface InstanceState {
|
|
|
746
758
|
*/
|
|
747
759
|
ipv6Addresses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
748
760
|
/**
|
|
749
|
-
* Whether to use outdated instance type.
|
|
761
|
+
* Whether to use outdated instance type. **Note: The parameter is immutable after resource creation.** It only controls the I/O optimization option sent when creating the instance.
|
|
750
762
|
*/
|
|
751
763
|
isOutdated?: pulumi.Input<boolean | undefined>;
|
|
752
764
|
/**
|
|
@@ -812,7 +824,7 @@ export interface InstanceState {
|
|
|
812
824
|
*/
|
|
813
825
|
networkInterfaceTrafficMode?: pulumi.Input<string | undefined>;
|
|
814
826
|
/**
|
|
815
|
-
* The list of network interfaces created with instance. See `networkInterfaces` below.
|
|
827
|
+
* The list of network interfaces created with instance. **Note: The parameter is immutable after resource creation.** See `networkInterfaces` below.
|
|
816
828
|
*/
|
|
817
829
|
networkInterfaces?: pulumi.Input<inputs.ecs.InstanceNetworkInterfaces | undefined>;
|
|
818
830
|
/**
|
|
@@ -932,7 +944,7 @@ export interface InstanceState {
|
|
|
932
944
|
*/
|
|
933
945
|
sourceDestCheck?: pulumi.Input<boolean | undefined>;
|
|
934
946
|
/**
|
|
935
|
-
* The retention time of the preemptive instance in hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, `6`. Retention duration 2~6 is under invitation test, please submit a work order if you need to open. If the value is `0`, the mode is no protection period. Default value is `1`.
|
|
947
|
+
* The retention time of the preemptive instance in hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, `6`. Retention duration 2~6 is under invitation test, please submit a work order if you need to open. If the value is `0`, the mode is no protection period. Default value is `1`. **Note: The parameter is immutable after resource creation.** This resource sends it only when creating the instance.
|
|
936
948
|
*/
|
|
937
949
|
spotDuration?: pulumi.Input<number | undefined>;
|
|
938
950
|
/**
|
|
@@ -1088,7 +1100,7 @@ export interface InstanceArgs {
|
|
|
1088
1100
|
*/
|
|
1089
1101
|
creditSpecification?: pulumi.Input<string | undefined>;
|
|
1090
1102
|
/**
|
|
1091
|
-
* The list of data disks created with instance. See `dataDisks` below.
|
|
1103
|
+
* The list of data disks created with instance. **Note: The parameter is immutable after resource creation.** This resource only configures these disks during instance creation; it does not update or refresh the inline disk settings. See `dataDisks` below.
|
|
1092
1104
|
*/
|
|
1093
1105
|
dataDisks?: pulumi.Input<pulumi.Input<inputs.ecs.InstanceDataDisk>[] | undefined>;
|
|
1094
1106
|
/**
|
|
@@ -1123,6 +1135,12 @@ export interface InstanceArgs {
|
|
|
1123
1135
|
* Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1124
1136
|
*/
|
|
1125
1137
|
enableJumboFrame?: pulumi.Input<boolean | undefined>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Specifies whether to enable network encryption for the instance. Valid values: `true`, `false`.
|
|
1140
|
+
*
|
|
1141
|
+
* > **NOTE:** VPC traffic encryption is currently in private preview. To use this feature, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex) to request access.
|
|
1142
|
+
*/
|
|
1143
|
+
enableNetworkEncryption?: pulumi.Input<boolean | undefined>;
|
|
1126
1144
|
/**
|
|
1127
1145
|
* If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
|
|
1128
1146
|
* However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
@@ -1156,7 +1174,7 @@ export interface InstanceArgs {
|
|
|
1156
1174
|
*/
|
|
1157
1175
|
imageId?: pulumi.Input<string | undefined>;
|
|
1158
1176
|
/**
|
|
1159
|
-
* The options of images. See `imageOptions` below.
|
|
1177
|
+
* The options of images. **Note: The parameter is immutable after resource creation.** See `imageOptions` below.
|
|
1160
1178
|
*/
|
|
1161
1179
|
imageOptions?: pulumi.Input<inputs.ecs.InstanceImageOptions | undefined>;
|
|
1162
1180
|
/**
|
|
@@ -1205,7 +1223,7 @@ export interface InstanceArgs {
|
|
|
1205
1223
|
*/
|
|
1206
1224
|
ipv6Addresses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
1207
1225
|
/**
|
|
1208
|
-
* Whether to use outdated instance type.
|
|
1226
|
+
* Whether to use outdated instance type. **Note: The parameter is immutable after resource creation.** It only controls the I/O optimization option sent when creating the instance.
|
|
1209
1227
|
*/
|
|
1210
1228
|
isOutdated?: pulumi.Input<boolean | undefined>;
|
|
1211
1229
|
/**
|
|
@@ -1267,7 +1285,7 @@ export interface InstanceArgs {
|
|
|
1267
1285
|
*/
|
|
1268
1286
|
networkInterfaceTrafficMode?: pulumi.Input<string | undefined>;
|
|
1269
1287
|
/**
|
|
1270
|
-
* The list of network interfaces created with instance. See `networkInterfaces` below.
|
|
1288
|
+
* The list of network interfaces created with instance. **Note: The parameter is immutable after resource creation.** See `networkInterfaces` below.
|
|
1271
1289
|
*/
|
|
1272
1290
|
networkInterfaces?: pulumi.Input<inputs.ecs.InstanceNetworkInterfaces | undefined>;
|
|
1273
1291
|
/**
|
|
@@ -1371,7 +1389,7 @@ export interface InstanceArgs {
|
|
|
1371
1389
|
*/
|
|
1372
1390
|
sourceDestCheck?: pulumi.Input<boolean | undefined>;
|
|
1373
1391
|
/**
|
|
1374
|
-
* The retention time of the preemptive instance in hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, `6`. Retention duration 2~6 is under invitation test, please submit a work order if you need to open. If the value is `0`, the mode is no protection period. Default value is `1`.
|
|
1392
|
+
* The retention time of the preemptive instance in hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, `6`. Retention duration 2~6 is under invitation test, please submit a work order if you need to open. If the value is `0`, the mode is no protection period. Default value is `1`. **Note: The parameter is immutable after resource creation.** This resource sends it only when creating the instance.
|
|
1375
1393
|
*/
|
|
1376
1394
|
spotDuration?: pulumi.Input<number | undefined>;
|
|
1377
1395
|
/**
|