@pulumi/ec 0.5.2-alpha.1691409334 → 0.6.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.
Files changed (45) hide show
  1. package/deployment.d.ts +75 -293
  2. package/deployment.js +10 -167
  3. package/deployment.js.map +1 -1
  4. package/deploymentElasticsearchKeystore.d.ts +27 -24
  5. package/deploymentElasticsearchKeystore.js +17 -14
  6. package/deploymentElasticsearchKeystore.js.map +1 -1
  7. package/deploymentExtension.d.ts +31 -88
  8. package/deploymentExtension.js +5 -62
  9. package/deploymentExtension.js.map +1 -1
  10. package/deploymentTrafficFilter.d.ts +41 -30
  11. package/deploymentTrafficFilter.js +20 -12
  12. package/deploymentTrafficFilter.js.map +1 -1
  13. package/deploymentTrafficFilterAssociation.d.ts +7 -7
  14. package/deploymentTrafficFilterAssociation.js +1 -1
  15. package/getAwsPrivatelinkEndpoint.d.ts +7 -8
  16. package/getAwsPrivatelinkEndpoint.js +4 -8
  17. package/getAwsPrivatelinkEndpoint.js.map +1 -1
  18. package/getAzurePrivatelinkEndpoint.d.ts +3 -4
  19. package/getAzurePrivatelinkEndpoint.js +0 -4
  20. package/getAzurePrivatelinkEndpoint.js.map +1 -1
  21. package/getDeployment.d.ts +5 -83
  22. package/getDeployment.js.map +1 -1
  23. package/getDeployments.d.ts +75 -85
  24. package/getDeployments.js +21 -21
  25. package/getDeployments.js.map +1 -1
  26. package/getGcpPrivateServiceConnectEndpoint.d.ts +5 -6
  27. package/getGcpPrivateServiceConnectEndpoint.js +0 -4
  28. package/getGcpPrivateServiceConnectEndpoint.js.map +1 -1
  29. package/getStack.d.ts +23 -32
  30. package/getStack.js +4 -0
  31. package/getStack.js.map +1 -1
  32. package/getTrafficFilter.d.ts +99 -0
  33. package/getTrafficFilter.js +62 -0
  34. package/getTrafficFilter.js.map +1 -0
  35. package/index.d.ts +6 -0
  36. package/index.js +9 -1
  37. package/index.js.map +1 -1
  38. package/package.json +2 -2
  39. package/provider.js +1 -1
  40. package/provider.js.map +1 -1
  41. package/snapshotRepository.d.ts +87 -0
  42. package/snapshotRepository.js +66 -0
  43. package/snapshotRepository.js.map +1 -0
  44. package/types/input.d.ts +317 -353
  45. package/types/output.d.ts +586 -384
package/deployment.d.ts CHANGED
@@ -3,185 +3,26 @@ import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
5
  * ## Example Usage
6
- * ### Basic
7
6
  *
8
- * ```typescript
9
- * import * as pulumi from "@pulumi/pulumi";
10
- * import * as ec from "@pulumi/ec";
7
+ * ### Basic
11
8
  *
12
- * const latest = ec.getStack({
13
- * versionRegex: "latest",
14
- * region: "us-east-1",
15
- * });
16
- * const exampleMinimal = new ec.Deployment("exampleMinimal", {
17
- * region: "us-east-1",
18
- * version: latest.then(latest => latest.version),
19
- * deploymentTemplateId: "aws-io-optimized-v2",
20
- * elasticsearch: {},
21
- * kibana: {},
22
- * integrationsServer: {},
23
- * enterpriseSearch: {},
24
- * });
25
- * ```
26
- * ### Tiered deployment with Autoscaling enabled
9
+ * ### With config
27
10
  *
28
- * ```typescript
29
- * import * as pulumi from "@pulumi/pulumi";
30
- * import * as ec from "@pulumi/ec";
11
+ * `es.yaml`
31
12
  *
32
- * const latest = ec.getStack({
33
- * versionRegex: "latest",
34
- * region: "us-east-1",
35
- * });
36
- * const exampleMinimal = new ec.Deployment("exampleMinimal", {
37
- * region: "us-east-1",
38
- * version: latest.then(latest => latest.version),
39
- * deploymentTemplateId: "aws-io-optimized-v2",
40
- * elasticsearch: {
41
- * autoscale: "true",
42
- * topologies: [
43
- * {
44
- * id: "cold",
45
- * },
46
- * {
47
- * id: "frozen",
48
- * },
49
- * {
50
- * id: "hot_content",
51
- * size: "8g",
52
- * autoscaling: {
53
- * maxSize: "128g",
54
- * maxSizeResource: "memory",
55
- * },
56
- * },
57
- * {
58
- * id: "ml",
59
- * },
60
- * {
61
- * id: "warm",
62
- * },
63
- * ],
64
- * },
65
- * kibana: {},
66
- * integrationsServer: {},
67
- * enterpriseSearch: {},
68
- * });
69
- * ```
70
- * ### With observability settings
13
+ * `deployment.tf`:
71
14
  *
72
- * ```typescript
73
- * import * as pulumi from "@pulumi/pulumi";
74
- * import * as ec from "@pulumi/ec";
15
+ * ### With autoscaling
75
16
  *
76
- * const latest = ec.getStack({
77
- * versionRegex: "latest",
78
- * region: "us-east-1",
79
- * });
80
- * const exampleObservability = new ec.Deployment("exampleObservability", {
81
- * region: "us-east-1",
82
- * version: latest.then(latest => latest.version),
83
- * deploymentTemplateId: "aws-io-optimized-v2",
84
- * elasticsearch: {},
85
- * kibana: {},
86
- * observability: {
87
- * deploymentId: ec_deployment.example_minimal.id,
88
- * },
89
- * });
90
- * ```
17
+ * ### With observability
91
18
  *
92
19
  * It is possible to enable observability without using a second deployment, by storing the observability data in the current deployment. To enable this, set `deploymentId` to `self`.
93
- * ```typescript
94
- * import * as pulumi from "@pulumi/pulumi";
95
- * ```
96
- * ### With Cross Cluster Search settings
97
- *
98
- * ```typescript
99
- * import * as pulumi from "@pulumi/pulumi";
100
- * import * as ec from "@pulumi/ec";
101
- *
102
- * const latest = ec.getStack({
103
- * versionRegex: "latest",
104
- * region: "us-east-1",
105
- * });
106
- * const sourceDeployment = new ec.Deployment("sourceDeployment", {
107
- * region: "us-east-1",
108
- * version: latest.then(latest => latest.version),
109
- * deploymentTemplateId: "aws-io-optimized-v2",
110
- * elasticsearch: {
111
- * topologies: [{
112
- * id: "hot_content",
113
- * size: "1g",
114
- * }],
115
- * },
116
- * });
117
- * const ccs = new ec.Deployment("ccs", {
118
- * region: "us-east-1",
119
- * version: latest.then(latest => latest.version),
120
- * deploymentTemplateId: "aws-cross-cluster-search-v2",
121
- * elasticsearch: {
122
- * remoteClusters: [{
123
- * deploymentId: sourceDeployment.id,
124
- * alias: sourceDeployment.name,
125
- * refId: sourceDeployment.elasticsearch.apply(elasticsearch => elasticsearch.refId),
126
- * }],
127
- * },
128
- * kibana: {},
129
- * });
130
- * ```
131
- * ### With tags
132
- *
133
- * ```typescript
134
- * import * as pulumi from "@pulumi/pulumi";
135
- * import * as ec from "@pulumi/ec";
136
20
  *
137
- * const latest = ec.getStack({
138
- * versionRegex: "latest",
139
- * region: "us-east-1",
140
- * });
141
- * const withTags = new ec.Deployment("withTags", {
142
- * region: "us-east-1",
143
- * version: latest.then(latest => latest.version),
144
- * deploymentTemplateId: "aws-io-optimized-v2",
145
- * elasticsearch: {},
146
- * tags: {
147
- * owner: "elastic cloud",
148
- * component: "search",
149
- * },
150
- * });
151
- * ```
152
- * ### With configuration strategy
153
- *
154
- * ```typescript
155
- * import * as pulumi from "@pulumi/pulumi";
156
- * import * as ec from "@pulumi/ec";
157
- *
158
- * const latest = ec.getStack({
159
- * versionRegex: "latest",
160
- * region: "us-east-1",
161
- * });
162
- * const withTags = new ec.Deployment("withTags", {
163
- * region: "us-east-1",
164
- * version: latest.then(latest => latest.version),
165
- * deploymentTemplateId: "aws-io-optimized-v2",
166
- * elasticsearch: {
167
- * strategy: {
168
- * type: "rolling_all",
169
- * },
170
- * },
171
- * tags: {
172
- * owner: "elastic cloud",
173
- * component: "search",
174
- * },
175
- * });
176
- * ```
21
+ * ### With Çross Cluster Search settings
177
22
  *
178
23
  * ## Import
179
24
  *
180
- * ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. ~> **Note on legacy (pre-slider) deployments** Importing deployments created prior to the addition of sliders in ECE or ESS, without being migrated to use sliders, is not supported. ~> **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported. ~> **Note on deployments with topology user settings** Only deployments with global user settings (config) are supported. Make sure to migrate to global settings before importing. Deployments can be imported using the `id`, for example
181
- *
182
- * ```sh
183
- * $ pulumi import ec:index/deployment:Deployment search 320b7b540dfc967a7a649c18e2fce4ed
184
- * ```
25
+ * ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. ~> **Note on legacy (pre-slider) deployments** Importing deployments created prior to the addition of sliders in ECE or ESS, without being migrated to use sliders, is not supported. ~> **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported. ~> **Note on deployments with topology user settings** Only deployments with global user settings (config) are supported. Make sure to migrate to global settings before importing. Deployments can be imported using the `id`, for example: <break><break>```sh<break> $ pulumi import ec:index/deployment:Deployment search 320b7b540dfc967a7a649c18e2fce4ed <break>```<break><break>
185
26
  */
186
27
  export declare class Deployment extends pulumi.CustomResource {
187
28
  /**
@@ -204,108 +45,75 @@ export declare class Deployment extends pulumi.CustomResource {
204
45
  */
205
46
  readonly alias: pulumi.Output<string>;
206
47
  /**
207
- * **DEPRECATED** (Optional) APM instance definition, can only be specified once. It should only be used with deployments with a version prior to 8.0.0.
48
+ * **DEPRECATED** APM cluster definition. This should only be used for deployments running a version lower than 8.0
208
49
  */
209
50
  readonly apm: pulumi.Output<outputs.DeploymentApm | undefined>;
210
- /**
211
- * Auto-generated APM secret_token, empty unless an `apm` resource is specified.
212
- * * `elasticsearch.#.resource_id` - Elasticsearch resource unique identifier.
213
- * * `elasticsearch.#.region` - Elasticsearch region.
214
- * * `elasticsearch.#.cloud_id` - Encoded Elasticsearch credentials to use in Beats or Logstash. For more information, see [Configure Beats and Logstash with Cloud ID](https://www.elastic.co/guide/en/cloud/current/ec-cloud-id.html).
215
- * * `elasticsearch.#.http_endpoint` - Elasticsearch resource HTTP endpoint.
216
- * * `elasticsearch.#.https_endpoint` - Elasticsearch resource HTTPs endpoint.
217
- * * `elasticsearch.#.topology.#.instance_configuration_id` - instance configuration of the deployment topology element.
218
- * * `elasticsearch.#.topology.#.node_type_data` - Node type (data) for the Elasticsearch topology element.
219
- * * `elasticsearch.#.topology.#.node_type_master` - Node type (master) for the Elasticsearch topology element.
220
- * * `elasticsearch.#.topology.#.node_type_ingest` - Node type (ingest) for the Elasticsearch topology element.
221
- * * `elasticsearch.#.topology.#.node_type_ml` - Node type (machine learning) for the Elasticsearch topology element.
222
- * * `elasticsearch.#.topology.#.node_roles` - List of roles for the topology element. They are inferred from the deployment template.
223
- * * `elasticsearch.#.topology.#.autoscaling.#.policy_override_json` - Computed policy overrides set directly via the API or other clients.
224
- * * `elasticsearch.#.snapshot_source.#.source_elasticsearch_cluster_id` - ID of the Elasticsearch cluster that will be used as the source of the snapshot.
225
- * * `elasticsearch.#.snapshot_source.#.snapshot_name` - Name of the snapshot to restore.
226
- * * `kibana.#.resource_id` - Kibana resource unique identifier.
227
- * * `kibana.#.region` - Kibana region.
228
- * * `kibana.#.http_endpoint` - Kibana resource HTTP endpoint.
229
- * * `kibana.#.https_endpoint` - Kibana resource HTTPs endpoint.
230
- * * `integrations_server.#.resource_id` - Integrations Server resource unique identifier.
231
- * * `integrations_server.#.region` - Integrations Server region.
232
- * * `integrations_server.#.http_endpoint` - Integrations Server resource HTTP endpoint.
233
- * * `integrations_server.#.https_endpoint` - Integrations Server resource HTTPs endpoint.
234
- * * `integrations_server.#.fleet_https_endpoint` - HTTPs endpoint for Fleet Server.
235
- * * `integrations_server.#.apm_https_endpoint` - HTTPs endpoint for APM Server.
236
- * * `apm.#.resource_id` - APM resource unique identifier.
237
- * * `apm.#.region` - APM region.
238
- * * `apm.#.http_endpoint` - APM resource HTTP endpoint.
239
- * * `apm.#.https_endpoint` - APM resource HTTPs endpoint.
240
- * * `enterprise_search.#.resource_id` - Enterprise Search resource unique identifier.
241
- * * `enterprise_search.#.region` - Enterprise Search region.
242
- * * `enterprise_search.#.http_endpoint` - Enterprise Search resource HTTP endpoint.
243
- * * `enterprise_search.#.https_endpoint` - Enterprise Search resource HTTPs endpoint.
244
- * * `enterprise_search.#.topology.#.node_type_appserver` - Node type (Appserver) for the Enterprise Search topology element.
245
- * * `enterprise_search.#.topology.#.node_type_connector` - Node type (Connector) for the Enterprise Search topology element.
246
- * * `enterprise_search.#.topology.#.node_type_worker` - Node type (worker) for the Enterprise Search topology element.
247
- * * `observability.#.deployment_id` - Destination deployment ID for the shipped logs and monitoring metrics. Use `self` as destination deployment ID to target the current deployment.
248
- * * `observability.#.ref_id` - (Optional) Elasticsearch resource kind refId of the destination deployment.
249
- * * `observability.#.logs` - Enables or disables shipping logs. Defaults to true.
250
- * * `observability.#.metrics` - Enables or disables shipping metrics. Defaults to true.
251
- */
252
51
  readonly apmSecretToken: pulumi.Output<string>;
253
52
  /**
254
53
  * Deployment template identifier to create the deployment from. See the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in ESS.
255
54
  */
256
55
  readonly deploymentTemplateId: pulumi.Output<string>;
257
56
  /**
258
- * Elasticsearch cluster definition, can only be specified once. For multi-node Elasticsearch clusters, use multiple `topology` blocks.
57
+ * Elasticsearch cluster definition
259
58
  */
260
59
  readonly elasticsearch: pulumi.Output<outputs.DeploymentElasticsearch>;
261
60
  /**
262
- * Auto-generated Elasticsearch password.
61
+ * Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The
62
+ * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not
63
+ * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes.
263
64
  */
264
65
  readonly elasticsearchPassword: pulumi.Output<string>;
265
66
  /**
266
- * Auto-generated Elasticsearch username.
67
+ * Username for authenticating to the Elasticsearch resource.
267
68
  */
268
69
  readonly elasticsearchUsername: pulumi.Output<string>;
269
70
  /**
270
- * Enterprise Search server definition, can only be specified once. For multi-node Enterprise Search deployments, use multiple `topology` blocks.
71
+ * Enterprise Search cluster definition.
271
72
  */
272
73
  readonly enterpriseSearch: pulumi.Output<outputs.DeploymentEnterpriseSearch | undefined>;
273
74
  /**
274
- * Integrations Server instance definition, can only be specified once. It has replaced `apm` in stack version 8.0.0.
75
+ * Integrations Server cluster definition. Integrations Server replaces `apm` in Stack versions > 8.0
275
76
  */
276
77
  readonly integrationsServer: pulumi.Output<outputs.DeploymentIntegrationsServer | undefined>;
277
78
  /**
278
- * Kibana instance definition, can only be specified once.
79
+ * Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana
80
+ * block, since not doing so might cause issues when modifying or upgrading the deployment.
279
81
  */
280
82
  readonly kibana: pulumi.Output<outputs.DeploymentKibana | undefined>;
281
83
  /**
282
- * Name of the deployment.
84
+ * Name for the deployment
283
85
  */
284
86
  readonly name: pulumi.Output<string>;
285
87
  /**
286
- * Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the current deployment itself.
88
+ * Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the
89
+ * current deployment itself by setting observability.deployment_id to `self`.
287
90
  */
288
91
  readonly observability: pulumi.Output<outputs.DeploymentObservability | undefined>;
289
92
  /**
290
- * Elasticsearch Service (ESS) region where to create the deployment. For Elastic Cloud Enterprise (ECE) installations, set `"ece-region"`.
93
+ * Elasticsearch Service (ESS) region where the deployment should be hosted. For Elastic Cloud Enterprise (ECE) installations, set to `"ece-region".
291
94
  */
292
95
  readonly region: pulumi.Output<string>;
293
96
  /**
294
- * Request ID to set when you create the deployment. Use it only when previous attempts return an error and `requestId` is returned as part of the error.
97
+ * Request ID to set when you create the deployment. Use it only when previous attempts return an error and `request_id` is
98
+ * returned as part of the error.
99
+ */
100
+ readonly requestId: pulumi.Output<string>;
101
+ /**
102
+ * Explicitly resets the elasticsearch_password when true
295
103
  */
296
- readonly requestId: pulumi.Output<string | undefined>;
104
+ readonly resetElasticsearchPassword: pulumi.Output<boolean | undefined>;
297
105
  /**
298
- * Key value map of arbitrary string tags.
106
+ * Optional map of deployment tags
299
107
  */
300
108
  readonly tags: pulumi.Output<{
301
109
  [key: string]: string;
302
110
  } | undefined>;
303
111
  /**
304
- * List of traffic filter rule identifiers that will be applied to the deployment.
112
+ * List of traffic filters rule identifiers that will be applied to the deployment.
305
113
  */
306
- readonly trafficFilters: pulumi.Output<string[] | undefined>;
114
+ readonly trafficFilters: pulumi.Output<string[]>;
307
115
  /**
308
- * Elastic Stack version to use for all the deployment resources.
116
+ * Elastic Stack version to use for all of the deployment resources.
309
117
  */
310
118
  readonly version: pulumi.Output<string>;
311
119
  /**
@@ -326,108 +134,75 @@ export interface DeploymentState {
326
134
  */
327
135
  alias?: pulumi.Input<string>;
328
136
  /**
329
- * **DEPRECATED** (Optional) APM instance definition, can only be specified once. It should only be used with deployments with a version prior to 8.0.0.
137
+ * **DEPRECATED** APM cluster definition. This should only be used for deployments running a version lower than 8.0
330
138
  */
331
139
  apm?: pulumi.Input<inputs.DeploymentApm>;
332
- /**
333
- * Auto-generated APM secret_token, empty unless an `apm` resource is specified.
334
- * * `elasticsearch.#.resource_id` - Elasticsearch resource unique identifier.
335
- * * `elasticsearch.#.region` - Elasticsearch region.
336
- * * `elasticsearch.#.cloud_id` - Encoded Elasticsearch credentials to use in Beats or Logstash. For more information, see [Configure Beats and Logstash with Cloud ID](https://www.elastic.co/guide/en/cloud/current/ec-cloud-id.html).
337
- * * `elasticsearch.#.http_endpoint` - Elasticsearch resource HTTP endpoint.
338
- * * `elasticsearch.#.https_endpoint` - Elasticsearch resource HTTPs endpoint.
339
- * * `elasticsearch.#.topology.#.instance_configuration_id` - instance configuration of the deployment topology element.
340
- * * `elasticsearch.#.topology.#.node_type_data` - Node type (data) for the Elasticsearch topology element.
341
- * * `elasticsearch.#.topology.#.node_type_master` - Node type (master) for the Elasticsearch topology element.
342
- * * `elasticsearch.#.topology.#.node_type_ingest` - Node type (ingest) for the Elasticsearch topology element.
343
- * * `elasticsearch.#.topology.#.node_type_ml` - Node type (machine learning) for the Elasticsearch topology element.
344
- * * `elasticsearch.#.topology.#.node_roles` - List of roles for the topology element. They are inferred from the deployment template.
345
- * * `elasticsearch.#.topology.#.autoscaling.#.policy_override_json` - Computed policy overrides set directly via the API or other clients.
346
- * * `elasticsearch.#.snapshot_source.#.source_elasticsearch_cluster_id` - ID of the Elasticsearch cluster that will be used as the source of the snapshot.
347
- * * `elasticsearch.#.snapshot_source.#.snapshot_name` - Name of the snapshot to restore.
348
- * * `kibana.#.resource_id` - Kibana resource unique identifier.
349
- * * `kibana.#.region` - Kibana region.
350
- * * `kibana.#.http_endpoint` - Kibana resource HTTP endpoint.
351
- * * `kibana.#.https_endpoint` - Kibana resource HTTPs endpoint.
352
- * * `integrations_server.#.resource_id` - Integrations Server resource unique identifier.
353
- * * `integrations_server.#.region` - Integrations Server region.
354
- * * `integrations_server.#.http_endpoint` - Integrations Server resource HTTP endpoint.
355
- * * `integrations_server.#.https_endpoint` - Integrations Server resource HTTPs endpoint.
356
- * * `integrations_server.#.fleet_https_endpoint` - HTTPs endpoint for Fleet Server.
357
- * * `integrations_server.#.apm_https_endpoint` - HTTPs endpoint for APM Server.
358
- * * `apm.#.resource_id` - APM resource unique identifier.
359
- * * `apm.#.region` - APM region.
360
- * * `apm.#.http_endpoint` - APM resource HTTP endpoint.
361
- * * `apm.#.https_endpoint` - APM resource HTTPs endpoint.
362
- * * `enterprise_search.#.resource_id` - Enterprise Search resource unique identifier.
363
- * * `enterprise_search.#.region` - Enterprise Search region.
364
- * * `enterprise_search.#.http_endpoint` - Enterprise Search resource HTTP endpoint.
365
- * * `enterprise_search.#.https_endpoint` - Enterprise Search resource HTTPs endpoint.
366
- * * `enterprise_search.#.topology.#.node_type_appserver` - Node type (Appserver) for the Enterprise Search topology element.
367
- * * `enterprise_search.#.topology.#.node_type_connector` - Node type (Connector) for the Enterprise Search topology element.
368
- * * `enterprise_search.#.topology.#.node_type_worker` - Node type (worker) for the Enterprise Search topology element.
369
- * * `observability.#.deployment_id` - Destination deployment ID for the shipped logs and monitoring metrics. Use `self` as destination deployment ID to target the current deployment.
370
- * * `observability.#.ref_id` - (Optional) Elasticsearch resource kind refId of the destination deployment.
371
- * * `observability.#.logs` - Enables or disables shipping logs. Defaults to true.
372
- * * `observability.#.metrics` - Enables or disables shipping metrics. Defaults to true.
373
- */
374
140
  apmSecretToken?: pulumi.Input<string>;
375
141
  /**
376
142
  * Deployment template identifier to create the deployment from. See the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in ESS.
377
143
  */
378
144
  deploymentTemplateId?: pulumi.Input<string>;
379
145
  /**
380
- * Elasticsearch cluster definition, can only be specified once. For multi-node Elasticsearch clusters, use multiple `topology` blocks.
146
+ * Elasticsearch cluster definition
381
147
  */
382
148
  elasticsearch?: pulumi.Input<inputs.DeploymentElasticsearch>;
383
149
  /**
384
- * Auto-generated Elasticsearch password.
150
+ * Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The
151
+ * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not
152
+ * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes.
385
153
  */
386
154
  elasticsearchPassword?: pulumi.Input<string>;
387
155
  /**
388
- * Auto-generated Elasticsearch username.
156
+ * Username for authenticating to the Elasticsearch resource.
389
157
  */
390
158
  elasticsearchUsername?: pulumi.Input<string>;
391
159
  /**
392
- * Enterprise Search server definition, can only be specified once. For multi-node Enterprise Search deployments, use multiple `topology` blocks.
160
+ * Enterprise Search cluster definition.
393
161
  */
394
162
  enterpriseSearch?: pulumi.Input<inputs.DeploymentEnterpriseSearch>;
395
163
  /**
396
- * Integrations Server instance definition, can only be specified once. It has replaced `apm` in stack version 8.0.0.
164
+ * Integrations Server cluster definition. Integrations Server replaces `apm` in Stack versions > 8.0
397
165
  */
398
166
  integrationsServer?: pulumi.Input<inputs.DeploymentIntegrationsServer>;
399
167
  /**
400
- * Kibana instance definition, can only be specified once.
168
+ * Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana
169
+ * block, since not doing so might cause issues when modifying or upgrading the deployment.
401
170
  */
402
171
  kibana?: pulumi.Input<inputs.DeploymentKibana>;
403
172
  /**
404
- * Name of the deployment.
173
+ * Name for the deployment
405
174
  */
406
175
  name?: pulumi.Input<string>;
407
176
  /**
408
- * Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the current deployment itself.
177
+ * Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the
178
+ * current deployment itself by setting observability.deployment_id to `self`.
409
179
  */
410
180
  observability?: pulumi.Input<inputs.DeploymentObservability>;
411
181
  /**
412
- * Elasticsearch Service (ESS) region where to create the deployment. For Elastic Cloud Enterprise (ECE) installations, set `"ece-region"`.
182
+ * Elasticsearch Service (ESS) region where the deployment should be hosted. For Elastic Cloud Enterprise (ECE) installations, set to `"ece-region".
413
183
  */
414
184
  region?: pulumi.Input<string>;
415
185
  /**
416
- * Request ID to set when you create the deployment. Use it only when previous attempts return an error and `requestId` is returned as part of the error.
186
+ * Request ID to set when you create the deployment. Use it only when previous attempts return an error and `request_id` is
187
+ * returned as part of the error.
417
188
  */
418
189
  requestId?: pulumi.Input<string>;
419
190
  /**
420
- * Key value map of arbitrary string tags.
191
+ * Explicitly resets the elasticsearch_password when true
192
+ */
193
+ resetElasticsearchPassword?: pulumi.Input<boolean>;
194
+ /**
195
+ * Optional map of deployment tags
421
196
  */
422
197
  tags?: pulumi.Input<{
423
198
  [key: string]: pulumi.Input<string>;
424
199
  }>;
425
200
  /**
426
- * List of traffic filter rule identifiers that will be applied to the deployment.
201
+ * List of traffic filters rule identifiers that will be applied to the deployment.
427
202
  */
428
203
  trafficFilters?: pulumi.Input<pulumi.Input<string>[]>;
429
204
  /**
430
- * Elastic Stack version to use for all the deployment resources.
205
+ * Elastic Stack version to use for all of the deployment resources.
431
206
  */
432
207
  version?: pulumi.Input<string>;
433
208
  }
@@ -440,7 +215,7 @@ export interface DeploymentArgs {
440
215
  */
441
216
  alias?: pulumi.Input<string>;
442
217
  /**
443
- * **DEPRECATED** (Optional) APM instance definition, can only be specified once. It should only be used with deployments with a version prior to 8.0.0.
218
+ * **DEPRECATED** APM cluster definition. This should only be used for deployments running a version lower than 8.0
444
219
  */
445
220
  apm?: pulumi.Input<inputs.DeploymentApm>;
446
221
  /**
@@ -448,49 +223,56 @@ export interface DeploymentArgs {
448
223
  */
449
224
  deploymentTemplateId: pulumi.Input<string>;
450
225
  /**
451
- * Elasticsearch cluster definition, can only be specified once. For multi-node Elasticsearch clusters, use multiple `topology` blocks.
226
+ * Elasticsearch cluster definition
452
227
  */
453
228
  elasticsearch: pulumi.Input<inputs.DeploymentElasticsearch>;
454
229
  /**
455
- * Enterprise Search server definition, can only be specified once. For multi-node Enterprise Search deployments, use multiple `topology` blocks.
230
+ * Enterprise Search cluster definition.
456
231
  */
457
232
  enterpriseSearch?: pulumi.Input<inputs.DeploymentEnterpriseSearch>;
458
233
  /**
459
- * Integrations Server instance definition, can only be specified once. It has replaced `apm` in stack version 8.0.0.
234
+ * Integrations Server cluster definition. Integrations Server replaces `apm` in Stack versions > 8.0
460
235
  */
461
236
  integrationsServer?: pulumi.Input<inputs.DeploymentIntegrationsServer>;
462
237
  /**
463
- * Kibana instance definition, can only be specified once.
238
+ * Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana
239
+ * block, since not doing so might cause issues when modifying or upgrading the deployment.
464
240
  */
465
241
  kibana?: pulumi.Input<inputs.DeploymentKibana>;
466
242
  /**
467
- * Name of the deployment.
243
+ * Name for the deployment
468
244
  */
469
245
  name?: pulumi.Input<string>;
470
246
  /**
471
- * Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the current deployment itself.
247
+ * Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the
248
+ * current deployment itself by setting observability.deployment_id to `self`.
472
249
  */
473
250
  observability?: pulumi.Input<inputs.DeploymentObservability>;
474
251
  /**
475
- * Elasticsearch Service (ESS) region where to create the deployment. For Elastic Cloud Enterprise (ECE) installations, set `"ece-region"`.
252
+ * Elasticsearch Service (ESS) region where the deployment should be hosted. For Elastic Cloud Enterprise (ECE) installations, set to `"ece-region".
476
253
  */
477
254
  region: pulumi.Input<string>;
478
255
  /**
479
- * Request ID to set when you create the deployment. Use it only when previous attempts return an error and `requestId` is returned as part of the error.
256
+ * Request ID to set when you create the deployment. Use it only when previous attempts return an error and `request_id` is
257
+ * returned as part of the error.
480
258
  */
481
259
  requestId?: pulumi.Input<string>;
482
260
  /**
483
- * Key value map of arbitrary string tags.
261
+ * Explicitly resets the elasticsearch_password when true
262
+ */
263
+ resetElasticsearchPassword?: pulumi.Input<boolean>;
264
+ /**
265
+ * Optional map of deployment tags
484
266
  */
485
267
  tags?: pulumi.Input<{
486
268
  [key: string]: pulumi.Input<string>;
487
269
  }>;
488
270
  /**
489
- * List of traffic filter rule identifiers that will be applied to the deployment.
271
+ * List of traffic filters rule identifiers that will be applied to the deployment.
490
272
  */
491
273
  trafficFilters?: pulumi.Input<pulumi.Input<string>[]>;
492
274
  /**
493
- * Elastic Stack version to use for all the deployment resources.
275
+ * Elastic Stack version to use for all of the deployment resources.
494
276
  */
495
277
  version: pulumi.Input<string>;
496
278
  }