@pulumi/ec 0.4.3-alpha.1673556028 → 0.5.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 (42) hide show
  1. package/deployment.d.ts +51 -9
  2. package/deployment.js +42 -3
  3. package/deployment.js.map +1 -1
  4. package/deploymentElasticsearchKeystore.d.ts +1 -1
  5. package/deploymentElasticsearchKeystore.js +4 -2
  6. package/deploymentElasticsearchKeystore.js.map +1 -1
  7. package/deploymentExtension.d.ts +2 -6
  8. package/deploymentExtension.js +2 -6
  9. package/deploymentExtension.js.map +1 -1
  10. package/deploymentTrafficFilter.d.ts +2 -1
  11. package/deploymentTrafficFilter.js.map +1 -1
  12. package/getAwsPrivatelinkEndpoint.d.ts +75 -0
  13. package/getAwsPrivatelinkEndpoint.js +51 -0
  14. package/getAwsPrivatelinkEndpoint.js.map +1 -0
  15. package/getAzurePrivatelinkEndpoint.d.ts +71 -0
  16. package/getAzurePrivatelinkEndpoint.js +51 -0
  17. package/getAzurePrivatelinkEndpoint.js.map +1 -0
  18. package/getDeployment.d.ts +27 -9
  19. package/getDeployment.js +18 -7
  20. package/getDeployment.js.map +1 -1
  21. package/getDeployments.d.ts +35 -3
  22. package/getDeployments.js +35 -7
  23. package/getDeployments.js.map +1 -1
  24. package/getGcpPrivateServiceConnectEndpoint.d.ts +71 -0
  25. package/getGcpPrivateServiceConnectEndpoint.js +51 -0
  26. package/getGcpPrivateServiceConnectEndpoint.js.map +1 -0
  27. package/getStack.d.ts +25 -5
  28. package/getStack.js +26 -9
  29. package/getStack.js.map +1 -1
  30. package/index.d.ts +36 -9
  31. package/index.js +37 -38
  32. package/index.js.map +1 -1
  33. package/package.json +4 -3
  34. package/package.json.bak +2 -1
  35. package/package.json.dev +4 -3
  36. package/provider.js +4 -2
  37. package/provider.js.map +1 -1
  38. package/types/index.js.map +1 -1
  39. package/types/input.d.ts +64 -52
  40. package/types/output.d.ts +64 -52
  41. package/utilities.js +13 -1
  42. package/utilities.js.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { output as outputs } from "./types";
2
+ import * as outputs from "./types/output";
3
3
  /**
4
4
  * Use this data source to retrieve information about an existing Elastic Cloud deployment.
5
5
  *
@@ -9,9 +9,9 @@ import { output as outputs } from "./types";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as ec from "@pulumi/ec";
11
11
  *
12
- * const example = pulumi.output(ec.getDeployment({
12
+ * const example = ec.getDeployment({
13
13
  * id: "f759065e5e64e9f3546f6c44f2743893",
14
- * }));
14
+ * });
15
15
  * ```
16
16
  */
17
17
  export declare function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentResult>;
@@ -142,25 +142,43 @@ export interface GetDeploymentResult {
142
142
  * The name of the deployment.
143
143
  */
144
144
  readonly name: string;
145
+ /**
146
+ * Observability settings. Information about logs and metrics shipped to a dedicated deployment.
147
+ * * `observability.#.deployment_id` - Destination deployment ID for the shipped logs and monitoring metrics.
148
+ * * `observability.#.ref_id` - Elasticsearch resource kind refId of the destination deployment.
149
+ * * `observability.#.logs` - Defines whether logs are enabled or disabled.
150
+ * * `observability.#.metrics` - Defines whether metrics are enabled or disabled.
151
+ */
145
152
  readonly observabilities: outputs.GetDeploymentObservability[];
146
153
  /**
147
154
  * Region where the deployment can be found.
148
155
  */
149
156
  readonly region: string;
157
+ /**
158
+ * Key value map of arbitrary string tags.
159
+ */
150
160
  readonly tags: {
151
161
  [key: string]: string;
152
162
  };
153
163
  /**
154
164
  * Traffic filter block, which contains a list of traffic filter rule identifiers.
155
- * * `tags` Key value map of arbitrary string tags.
156
- * * `observability` Observability settings. Information about logs and metrics shipped to a dedicated deployment.
157
- * * `observability.#.deployment_id` - Destination deployment ID for the shipped logs and monitoring metrics.
158
- * * `observability.#.ref_id` - Elasticsearch resource kind refId of the destination deployment.
159
- * * `observability.#.logs` - Defines whether logs are enabled or disabled.
160
- * * `observability.#.metrics` - Defines whether metrics are enabled or disabled.
161
165
  */
162
166
  readonly trafficFilters: string[];
163
167
  }
168
+ /**
169
+ * Use this data source to retrieve information about an existing Elastic Cloud deployment.
170
+ *
171
+ * ## Example Usage
172
+ *
173
+ * ```typescript
174
+ * import * as pulumi from "@pulumi/pulumi";
175
+ * import * as ec from "@pulumi/ec";
176
+ *
177
+ * const example = ec.getDeployment({
178
+ * id: "f759065e5e64e9f3546f6c44f2743893",
179
+ * });
180
+ * ```
181
+ */
164
182
  export declare function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeploymentResult>;
165
183
  /**
166
184
  * A collection of arguments for invoking getDeployment.
package/getDeployment.js CHANGED
@@ -14,23 +14,34 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as ec from "@pulumi/ec";
16
16
  *
17
- * const example = pulumi.output(ec.getDeployment({
17
+ * const example = ec.getDeployment({
18
18
  * id: "f759065e5e64e9f3546f6c44f2743893",
19
- * }));
19
+ * });
20
20
  * ```
21
21
  */
22
22
  function getDeployment(args, opts) {
23
- if (!opts) {
24
- opts = {};
25
- }
26
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
24
  return pulumi.runtime.invoke("ec:index/getDeployment:getDeployment", {
28
25
  "id": args.id,
29
26
  }, opts);
30
27
  }
31
28
  exports.getDeployment = getDeployment;
29
+ /**
30
+ * Use this data source to retrieve information about an existing Elastic Cloud deployment.
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as ec from "@pulumi/ec";
37
+ *
38
+ * const example = ec.getDeployment({
39
+ * id: "f759065e5e64e9f3546f6c44f2743893",
40
+ * });
41
+ * ```
42
+ */
32
43
  function getDeploymentOutput(args, opts) {
33
- return pulumi.output(args).apply(a => getDeployment(a, opts));
44
+ return pulumi.output(args).apply((a) => getDeployment(a, opts));
34
45
  }
35
46
  exports.getDeploymentOutput = getDeploymentOutput;
36
47
  //# sourceMappingURL=getDeployment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AAoJD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAuJD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Use this data source to retrieve a list of IDs for the deployment and resource kinds, based on the specified query.
5
6
  *
@@ -9,7 +10,7 @@ import { input as inputs, output as outputs } from "./types";
9
10
  * import * as pulumi from "@pulumi/pulumi";
10
11
  * import * as ec from "@pulumi/ec";
11
12
  *
12
- * const example = pulumi.output(ec.getDeployments({
13
+ * const example = ec.getDeployments({
13
14
  * deploymentTemplateId: "azure-compute-optimized",
14
15
  * elasticsearch: {
15
16
  * healthy: "true",
@@ -28,7 +29,7 @@ import { input as inputs, output as outputs } from "./types";
28
29
  * tags: {
29
30
  * foo: "bar",
30
31
  * },
31
- * }));
32
+ * });
32
33
  * ```
33
34
  */
34
35
  export declare function getDeployments(args?: GetDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentsResult>;
@@ -133,6 +134,37 @@ export interface GetDeploymentsResult {
133
134
  [key: string]: string;
134
135
  };
135
136
  }
137
+ /**
138
+ * Use this data source to retrieve a list of IDs for the deployment and resource kinds, based on the specified query.
139
+ *
140
+ * ## Example Usage
141
+ *
142
+ * ```typescript
143
+ * import * as pulumi from "@pulumi/pulumi";
144
+ * import * as ec from "@pulumi/ec";
145
+ *
146
+ * const example = ec.getDeployments({
147
+ * deploymentTemplateId: "azure-compute-optimized",
148
+ * elasticsearch: {
149
+ * healthy: "true",
150
+ * },
151
+ * enterpriseSearch: {
152
+ * healthy: "true",
153
+ * },
154
+ * integrationsServer: {
155
+ * version: "8.0.0",
156
+ * },
157
+ * kibana: {
158
+ * status: "started",
159
+ * },
160
+ * namePrefix: "test",
161
+ * size: 200,
162
+ * tags: {
163
+ * foo: "bar",
164
+ * },
165
+ * });
166
+ * ```
167
+ */
136
168
  export declare function getDeploymentsOutput(args?: GetDeploymentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeploymentsResult>;
137
169
  /**
138
170
  * A collection of arguments for invoking getDeployments.
package/getDeployments.js CHANGED
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as ec from "@pulumi/ec";
16
16
  *
17
- * const example = pulumi.output(ec.getDeployments({
17
+ * const example = ec.getDeployments({
18
18
  * deploymentTemplateId: "azure-compute-optimized",
19
19
  * elasticsearch: {
20
20
  * healthy: "true",
@@ -33,15 +33,12 @@ const utilities = require("./utilities");
33
33
  * tags: {
34
34
  * foo: "bar",
35
35
  * },
36
- * }));
36
+ * });
37
37
  * ```
38
38
  */
39
39
  function getDeployments(args, opts) {
40
40
  args = args || {};
41
- if (!opts) {
42
- opts = {};
43
- }
44
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
41
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
45
42
  return pulumi.runtime.invoke("ec:index/getDeployments:getDeployments", {
46
43
  "apm": args.apm,
47
44
  "deploymentTemplateId": args.deploymentTemplateId,
@@ -56,8 +53,39 @@ function getDeployments(args, opts) {
56
53
  }, opts);
57
54
  }
58
55
  exports.getDeployments = getDeployments;
56
+ /**
57
+ * Use this data source to retrieve a list of IDs for the deployment and resource kinds, based on the specified query.
58
+ *
59
+ * ## Example Usage
60
+ *
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as ec from "@pulumi/ec";
64
+ *
65
+ * const example = ec.getDeployments({
66
+ * deploymentTemplateId: "azure-compute-optimized",
67
+ * elasticsearch: {
68
+ * healthy: "true",
69
+ * },
70
+ * enterpriseSearch: {
71
+ * healthy: "true",
72
+ * },
73
+ * integrationsServer: {
74
+ * version: "8.0.0",
75
+ * },
76
+ * kibana: {
77
+ * status: "started",
78
+ * },
79
+ * namePrefix: "test",
80
+ * size: 200,
81
+ * tags: {
82
+ * foo: "bar",
83
+ * },
84
+ * });
85
+ * ```
86
+ */
59
87
  function getDeploymentsOutput(args, opts) {
60
- return pulumi.output(args).apply(a => getDeployments(a, opts));
88
+ return pulumi.output(args).apply((a) => getDeployments(a, opts));
61
89
  }
62
90
  exports.getDeploymentsOutput = getDeploymentsOutput;
63
91
  //# sourceMappingURL=getDeployments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDeployments.js","sourceRoot":"","sources":["../getDeployments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAnBD,wCAmBC;AAqGD,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
1
+ {"version":3,"file":"getDeployments.js","sourceRoot":"","sources":["../getDeployments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,wCAgBC;AAoGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
@@ -0,0 +1,71 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve information about the Azure Private Link configuration for a given region. Further documentation on how to establish a PrivateLink connection can be found in the ESS [documentation](https://www.elastic.co/guide/en/cloud/current/ec-traffic-filtering-psc.html).
4
+ *
5
+ * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as ec from "@pulumi/ec";
12
+ *
13
+ * const us-central1 = ec.getGcpPrivateServiceConnectEndpoint({
14
+ * region: "us-central1",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getGcpPrivateServiceConnectEndpoint(args: GetGcpPrivateServiceConnectEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetGcpPrivateServiceConnectEndpointResult>;
19
+ /**
20
+ * A collection of arguments for invoking getGcpPrivateServiceConnectEndpoint.
21
+ */
22
+ export interface GetGcpPrivateServiceConnectEndpointArgs {
23
+ /**
24
+ * Region to retrieve the Private Link configuration for.
25
+ */
26
+ region: string;
27
+ }
28
+ /**
29
+ * A collection of values returned by getGcpPrivateServiceConnectEndpoint.
30
+ */
31
+ export interface GetGcpPrivateServiceConnectEndpointResult {
32
+ /**
33
+ * The domain name to point towards the PSC endpoint.
34
+ */
35
+ readonly domainName: string;
36
+ /**
37
+ * The provider-assigned unique ID for this managed resource.
38
+ */
39
+ readonly id: string;
40
+ readonly region: string;
41
+ /**
42
+ * The service attachment URI to attach the PSC endpoint to.
43
+ */
44
+ readonly serviceAttachmentUri: string;
45
+ }
46
+ /**
47
+ * Use this data source to retrieve information about the Azure Private Link configuration for a given region. Further documentation on how to establish a PrivateLink connection can be found in the ESS [documentation](https://www.elastic.co/guide/en/cloud/current/ec-traffic-filtering-psc.html).
48
+ *
49
+ * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
50
+ *
51
+ * ## Example Usage
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as ec from "@pulumi/ec";
56
+ *
57
+ * const us-central1 = ec.getGcpPrivateServiceConnectEndpoint({
58
+ * region: "us-central1",
59
+ * });
60
+ * ```
61
+ */
62
+ export declare function getGcpPrivateServiceConnectEndpointOutput(args: GetGcpPrivateServiceConnectEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGcpPrivateServiceConnectEndpointResult>;
63
+ /**
64
+ * A collection of arguments for invoking getGcpPrivateServiceConnectEndpoint.
65
+ */
66
+ export interface GetGcpPrivateServiceConnectEndpointOutputArgs {
67
+ /**
68
+ * Region to retrieve the Private Link configuration for.
69
+ */
70
+ region: pulumi.Input<string>;
71
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGcpPrivateServiceConnectEndpointOutput = exports.getGcpPrivateServiceConnectEndpoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to retrieve information about the Azure Private Link configuration for a given region. Further documentation on how to establish a PrivateLink connection can be found in the ESS [documentation](https://www.elastic.co/guide/en/cloud/current/ec-traffic-filtering-psc.html).
10
+ *
11
+ * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as ec from "@pulumi/ec";
18
+ *
19
+ * const us-central1 = ec.getGcpPrivateServiceConnectEndpoint({
20
+ * region: "us-central1",
21
+ * });
22
+ * ```
23
+ */
24
+ function getGcpPrivateServiceConnectEndpoint(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("ec:index/getGcpPrivateServiceConnectEndpoint:getGcpPrivateServiceConnectEndpoint", {
27
+ "region": args.region,
28
+ }, opts);
29
+ }
30
+ exports.getGcpPrivateServiceConnectEndpoint = getGcpPrivateServiceConnectEndpoint;
31
+ /**
32
+ * Use this data source to retrieve information about the Azure Private Link configuration for a given region. Further documentation on how to establish a PrivateLink connection can be found in the ESS [documentation](https://www.elastic.co/guide/en/cloud/current/ec-traffic-filtering-psc.html).
33
+ *
34
+ * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as ec from "@pulumi/ec";
41
+ *
42
+ * const us-central1 = ec.getGcpPrivateServiceConnectEndpoint({
43
+ * region: "us-central1",
44
+ * });
45
+ * ```
46
+ */
47
+ function getGcpPrivateServiceConnectEndpointOutput(args, opts) {
48
+ return pulumi.output(args).apply((a) => getGcpPrivateServiceConnectEndpoint(a, opts));
49
+ }
50
+ exports.getGcpPrivateServiceConnectEndpointOutput = getGcpPrivateServiceConnectEndpointOutput;
51
+ //# sourceMappingURL=getGcpPrivateServiceConnectEndpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGcpPrivateServiceConnectEndpoint.js","sourceRoot":"","sources":["../getGcpPrivateServiceConnectEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAE1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kFAAkF,EAAE;QAC7G,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC;AA8BD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9F,CAAC;AAFD,8FAEC"}
package/getStack.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { output as outputs } from "./types";
2
+ import * as outputs from "./types/output";
3
3
  /**
4
4
  * Use this data source to retrieve information about an existing Elastic Cloud stack.
5
5
  *
@@ -9,15 +9,15 @@ import { output as outputs } from "./types";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as ec from "@pulumi/ec";
11
11
  *
12
- * const latest = pulumi.output(ec.getStack({
12
+ * const latest = ec.getStack({
13
13
  * lock: true,
14
14
  * region: "us-east-1",
15
15
  * versionRegex: "latest",
16
- * }));
17
- * const latestPatch = pulumi.output(ec.getStack({
16
+ * });
17
+ * const latestPatch = ec.getStack({
18
18
  * region: "us-east-1",
19
19
  * versionRegex: "7.9.?",
20
- * }));
20
+ * });
21
21
  * ```
22
22
  */
23
23
  export declare function getStack(args: GetStackArgs, opts?: pulumi.InvokeOptions): Promise<GetStackResult>;
@@ -108,6 +108,26 @@ export interface GetStackResult {
108
108
  readonly version: string;
109
109
  readonly versionRegex: string;
110
110
  }
111
+ /**
112
+ * Use this data source to retrieve information about an existing Elastic Cloud stack.
113
+ *
114
+ * ## Example Usage
115
+ *
116
+ * ```typescript
117
+ * import * as pulumi from "@pulumi/pulumi";
118
+ * import * as ec from "@pulumi/ec";
119
+ *
120
+ * const latest = ec.getStack({
121
+ * lock: true,
122
+ * region: "us-east-1",
123
+ * versionRegex: "latest",
124
+ * });
125
+ * const latestPatch = ec.getStack({
126
+ * region: "us-east-1",
127
+ * versionRegex: "7.9.?",
128
+ * });
129
+ * ```
130
+ */
111
131
  export declare function getStackOutput(args: GetStackOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStackResult>;
112
132
  /**
113
133
  * A collection of arguments for invoking getStack.
package/getStack.js CHANGED
@@ -14,22 +14,19 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as ec from "@pulumi/ec";
16
16
  *
17
- * const latest = pulumi.output(ec.getStack({
17
+ * const latest = ec.getStack({
18
18
  * lock: true,
19
19
  * region: "us-east-1",
20
20
  * versionRegex: "latest",
21
- * }));
22
- * const latestPatch = pulumi.output(ec.getStack({
21
+ * });
22
+ * const latestPatch = ec.getStack({
23
23
  * region: "us-east-1",
24
24
  * versionRegex: "7.9.?",
25
- * }));
25
+ * });
26
26
  * ```
27
27
  */
28
28
  function getStack(args, opts) {
29
- if (!opts) {
30
- opts = {};
31
- }
32
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
33
30
  return pulumi.runtime.invoke("ec:index/getStack:getStack", {
34
31
  "lock": args.lock,
35
32
  "region": args.region,
@@ -37,8 +34,28 @@ function getStack(args, opts) {
37
34
  }, opts);
38
35
  }
39
36
  exports.getStack = getStack;
37
+ /**
38
+ * Use this data source to retrieve information about an existing Elastic Cloud stack.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as ec from "@pulumi/ec";
45
+ *
46
+ * const latest = ec.getStack({
47
+ * lock: true,
48
+ * region: "us-east-1",
49
+ * versionRegex: "latest",
50
+ * });
51
+ * const latestPatch = ec.getStack({
52
+ * region: "us-east-1",
53
+ * versionRegex: "7.9.?",
54
+ * });
55
+ * ```
56
+ */
40
57
  function getStackOutput(args, opts) {
41
- return pulumi.output(args).apply(a => getStack(a, opts));
58
+ return pulumi.output(args).apply((a) => getStack(a, opts));
42
59
  }
43
60
  exports.getStackOutput = getStackOutput;
44
61
  //# sourceMappingURL=getStack.js.map
package/getStack.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getStack.js","sourceRoot":"","sources":["../getStack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;AA2FD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getStack.js","sourceRoot":"","sources":["../getStack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AA0FD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
package/index.d.ts CHANGED
@@ -1,12 +1,39 @@
1
- export * from "./deployment";
2
- export * from "./deploymentElasticsearchKeystore";
3
- export * from "./deploymentExtension";
4
- export * from "./deploymentTrafficFilter";
5
- export * from "./deploymentTrafficFilterAssociation";
6
- export * from "./getDeployment";
7
- export * from "./getDeployments";
8
- export * from "./getStack";
9
- export * from "./provider";
1
+ export { DeploymentArgs, DeploymentState } from "./deployment";
2
+ export type Deployment = import("./deployment").Deployment;
3
+ export declare const Deployment: typeof import("./deployment").Deployment;
4
+ export { DeploymentElasticsearchKeystoreArgs, DeploymentElasticsearchKeystoreState } from "./deploymentElasticsearchKeystore";
5
+ export type DeploymentElasticsearchKeystore = import("./deploymentElasticsearchKeystore").DeploymentElasticsearchKeystore;
6
+ export declare const DeploymentElasticsearchKeystore: typeof import("./deploymentElasticsearchKeystore").DeploymentElasticsearchKeystore;
7
+ export { DeploymentExtensionArgs, DeploymentExtensionState } from "./deploymentExtension";
8
+ export type DeploymentExtension = import("./deploymentExtension").DeploymentExtension;
9
+ export declare const DeploymentExtension: typeof import("./deploymentExtension").DeploymentExtension;
10
+ export { DeploymentTrafficFilterArgs, DeploymentTrafficFilterState } from "./deploymentTrafficFilter";
11
+ export type DeploymentTrafficFilter = import("./deploymentTrafficFilter").DeploymentTrafficFilter;
12
+ export declare const DeploymentTrafficFilter: typeof import("./deploymentTrafficFilter").DeploymentTrafficFilter;
13
+ export { DeploymentTrafficFilterAssociationArgs, DeploymentTrafficFilterAssociationState } from "./deploymentTrafficFilterAssociation";
14
+ export type DeploymentTrafficFilterAssociation = import("./deploymentTrafficFilterAssociation").DeploymentTrafficFilterAssociation;
15
+ export declare const DeploymentTrafficFilterAssociation: typeof import("./deploymentTrafficFilterAssociation").DeploymentTrafficFilterAssociation;
16
+ export { GetAwsPrivatelinkEndpointArgs, GetAwsPrivatelinkEndpointResult, GetAwsPrivatelinkEndpointOutputArgs } from "./getAwsPrivatelinkEndpoint";
17
+ export declare const getAwsPrivatelinkEndpoint: typeof import("./getAwsPrivatelinkEndpoint").getAwsPrivatelinkEndpoint;
18
+ export declare const getAwsPrivatelinkEndpointOutput: typeof import("./getAwsPrivatelinkEndpoint").getAwsPrivatelinkEndpointOutput;
19
+ export { GetAzurePrivatelinkEndpointArgs, GetAzurePrivatelinkEndpointResult, GetAzurePrivatelinkEndpointOutputArgs } from "./getAzurePrivatelinkEndpoint";
20
+ export declare const getAzurePrivatelinkEndpoint: typeof import("./getAzurePrivatelinkEndpoint").getAzurePrivatelinkEndpoint;
21
+ export declare const getAzurePrivatelinkEndpointOutput: typeof import("./getAzurePrivatelinkEndpoint").getAzurePrivatelinkEndpointOutput;
22
+ export { GetDeploymentArgs, GetDeploymentResult, GetDeploymentOutputArgs } from "./getDeployment";
23
+ export declare const getDeployment: typeof import("./getDeployment").getDeployment;
24
+ export declare const getDeploymentOutput: typeof import("./getDeployment").getDeploymentOutput;
25
+ export { GetDeploymentsArgs, GetDeploymentsResult, GetDeploymentsOutputArgs } from "./getDeployments";
26
+ export declare const getDeployments: typeof import("./getDeployments").getDeployments;
27
+ export declare const getDeploymentsOutput: typeof import("./getDeployments").getDeploymentsOutput;
28
+ export { GetGcpPrivateServiceConnectEndpointArgs, GetGcpPrivateServiceConnectEndpointResult, GetGcpPrivateServiceConnectEndpointOutputArgs } from "./getGcpPrivateServiceConnectEndpoint";
29
+ export declare const getGcpPrivateServiceConnectEndpoint: typeof import("./getGcpPrivateServiceConnectEndpoint").getGcpPrivateServiceConnectEndpoint;
30
+ export declare const getGcpPrivateServiceConnectEndpointOutput: typeof import("./getGcpPrivateServiceConnectEndpoint").getGcpPrivateServiceConnectEndpointOutput;
31
+ export { GetStackArgs, GetStackResult, GetStackOutputArgs } from "./getStack";
32
+ export declare const getStack: typeof import("./getStack").getStack;
33
+ export declare const getStackOutput: typeof import("./getStack").getStackOutput;
34
+ export { ProviderArgs } from "./provider";
35
+ export type Provider = import("./provider").Provider;
36
+ export declare const Provider: typeof import("./provider").Provider;
10
37
  import * as config from "./config";
11
38
  import * as types from "./types";
12
39
  export { config, types, };