@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
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to retrieve information about the GCP Private Service Connect 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
4
  *
5
- * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
6
- *
7
5
  * ## Example Usage
8
6
  *
9
7
  * ```typescript
@@ -21,7 +19,7 @@ export declare function getGcpPrivateServiceConnectEndpoint(args: GetGcpPrivateS
21
19
  */
22
20
  export interface GetGcpPrivateServiceConnectEndpointArgs {
23
21
  /**
24
- * Region to retrieve the Private Link configuration for.
22
+ * Region to retrieve the Prive Link configuration for.
25
23
  */
26
24
  region: string;
27
25
  }
@@ -37,6 +35,9 @@ export interface GetGcpPrivateServiceConnectEndpointResult {
37
35
  * The provider-assigned unique ID for this managed resource.
38
36
  */
39
37
  readonly id: string;
38
+ /**
39
+ * Region to retrieve the Prive Link configuration for.
40
+ */
40
41
  readonly region: string;
41
42
  /**
42
43
  * The service attachment URI to attach the PSC endpoint to.
@@ -46,8 +47,6 @@ export interface GetGcpPrivateServiceConnectEndpointResult {
46
47
  /**
47
48
  * Use this data source to retrieve information about the GCP Private Service Connect 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
  *
49
- * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
50
- *
51
50
  * ## Example Usage
52
51
  *
53
52
  * ```typescript
@@ -65,7 +64,7 @@ export declare function getGcpPrivateServiceConnectEndpointOutput(args: GetGcpPr
65
64
  */
66
65
  export interface GetGcpPrivateServiceConnectEndpointOutputArgs {
67
66
  /**
68
- * Region to retrieve the Private Link configuration for.
67
+ * Region to retrieve the Prive Link configuration for.
69
68
  */
70
69
  region: pulumi.Input<string>;
71
70
  }
@@ -8,8 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve information about the GCP Private Service Connect 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
10
  *
11
- * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
12
- *
13
11
  * ## Example Usage
14
12
  *
15
13
  * ```typescript
@@ -31,8 +29,6 @@ exports.getGcpPrivateServiceConnectEndpoint = getGcpPrivateServiceConnectEndpoin
31
29
  /**
32
30
  * Use this data source to retrieve information about the GCP Private Service Connect 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
31
  *
34
- * > **NOTE:** This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.
35
- *
36
32
  * ## Example Usage
37
33
  *
38
34
  * ```typescript
@@ -1 +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"}
1
+ {"version":3,"file":"getGcpPrivateServiceConnectEndpoint.js","sourceRoot":"","sources":["../getGcpPrivateServiceConnectEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;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;AAiCD;;;;;;;;;;;;;GAaG;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
@@ -3,6 +3,8 @@ 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
  *
6
+ * > **Note on regions** Before you start, you might want to check the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions available in Elasticsearch Service (ESS).
7
+ *
6
8
  * ## Example Usage
7
9
  *
8
10
  * ```typescript
@@ -26,15 +28,15 @@ export declare function getStack(args: GetStackArgs, opts?: pulumi.InvokeOptions
26
28
  */
27
29
  export interface GetStackArgs {
28
30
  /**
29
- * Lock the `"latest"` `versionRegex` obtained, so that the new stack release doesn't cascade the changes down to the deployments. It can be changed at any time.
31
+ * Lock the `latest` `versionRegex` obtained, so that the new stack release doesn't cascade the changes down to the deployments. It can be changed at any time.
30
32
  */
31
33
  lock?: boolean;
32
34
  /**
33
- * Region where the stack pack is. For Elastic Cloud Enterprise (ECE) installations, use `"ece-region`.
35
+ * Region where the stack pack is. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`.
34
36
  */
35
37
  region: string;
36
38
  /**
37
- * Regex to filter the available stacks. Can be any valid regex expression, when multiple stacks are matched through a regex, the latest version is returned. `"latest"` is also accepted to obtain the latest available stack version.
39
+ * Regex to filter the available stacks. Can be any valid regex expression, when multiple stacks are matched through a regex, the latest version is returned. `latest` is also accepted to obtain the latest available stack version.
38
40
  */
39
41
  versionRegex: string;
40
42
  }
@@ -52,65 +54,54 @@ export interface GetStackResult {
52
54
  readonly allowlisted: boolean;
53
55
  /**
54
56
  * Information for APM workloads on this stack version.
55
- * * `apm.#.denylist` - List of configuration options that cannot be overridden by user settings.
56
- * * `apm.#.capacity_constraints_min` - Minimum size of the instances.
57
- * * `apm.#.capacity_constraints_max` - Maximum size of the instances.
58
- * * `apm.#.compatible_node_types` - List of node types compatible with this one.
59
- * * `apm.#.docker_image` - Docker image to use for the APM instance.
60
57
  */
61
58
  readonly apms: outputs.GetStackApm[];
62
59
  /**
63
60
  * Information for Elasticsearch workloads on this stack version.
64
- * * `elasticsearch.#.denylist` - List of configuration options that cannot be overridden by user settings.
65
- * * `elasticsearch.#.capacity_constraints_min` - Minimum size of the instances.
66
- * * `elasticsearch.#.capacity_constraints_max` - Maximum size of the instances.
67
- * * `elasticsearch.#.compatible_node_types` - List of node types compatible with this one.
68
- * * `elasticsearch.#.default_plugins` - List of default plugins which are included in all Elasticsearch cluster instances.
69
- * * `elasticsearch.#.docker_image` - Docker image to use for the Elasticsearch cluster instances.
70
- * * `elasticsearch.#.plugins` - List of available plugins to be specified by users in Elasticsearch cluster instances.
71
61
  */
72
62
  readonly elasticsearches: outputs.GetStackElasticsearch[];
73
63
  /**
74
64
  * Information for Enterprise Search workloads on this stack version.
75
- * * `enterprise_search.#.denylist` - List of configuration options that cannot be overridden by user settings.
76
- * * `enterprise_search.#.capacity_constraints_min` - Minimum size of the instances.
77
- * * `enterprise_search.#.capacity_constraints_max` - Maximum size of the instances.
78
- * * `enterprise_search.#.compatible_node_types` - List of node types compatible with this one.
79
- * * `enterprise_search.#.docker_image` - Docker image to use for the Enterprise Search instance.
80
65
  */
81
66
  readonly enterpriseSearches: outputs.GetStackEnterpriseSearch[];
82
67
  /**
83
- * The provider-assigned unique ID for this managed resource.
68
+ * Unique identifier of this data source.
84
69
  */
85
70
  readonly id: string;
86
71
  /**
87
72
  * Information for Kibana workloads on this stack version.
88
- * * `kibana.#.denylist` - List of configuration options that cannot be overridden by user settings.
89
- * * `kibana.#.capacity_constraints_min` - Minimum size of the instances.
90
- * * `kibana.#.capacity_constraints_max` - Maximum size of the instances.
91
- * * `kibana.#.compatible_node_types` - List of node types compatible with this one.
92
- * * `kibana.#.docker_image` - Docker image to use for the Kibana instance.
93
73
  */
94
74
  readonly kibanas: outputs.GetStackKibana[];
75
+ /**
76
+ * Lock the `latest` `versionRegex` obtained, so that the new stack release doesn't cascade the changes down to the deployments. It can be changed at any time.
77
+ */
95
78
  readonly lock?: boolean;
96
79
  /**
97
- * The minimum stack version recommended.
80
+ * The minimum stack version which can be upgraded to this stack version.
98
81
  */
99
82
  readonly minUpgradableFrom: string;
83
+ /**
84
+ * Region where the stack pack is. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`.
85
+ */
100
86
  readonly region: string;
101
87
  /**
102
- * The stack version you can upgrade to.
88
+ * A list of stack versions which this stack version can be upgraded to.
103
89
  */
104
90
  readonly upgradableTos: string[];
105
91
  /**
106
- * The stack version.
92
+ * The stack version
107
93
  */
108
94
  readonly version: string;
95
+ /**
96
+ * Regex to filter the available stacks. Can be any valid regex expression, when multiple stacks are matched through a regex, the latest version is returned. `latest` is also accepted to obtain the latest available stack version.
97
+ */
109
98
  readonly versionRegex: string;
110
99
  }
111
100
  /**
112
101
  * Use this data source to retrieve information about an existing Elastic Cloud stack.
113
102
  *
103
+ * > **Note on regions** Before you start, you might want to check the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions available in Elasticsearch Service (ESS).
104
+ *
114
105
  * ## Example Usage
115
106
  *
116
107
  * ```typescript
@@ -134,15 +125,15 @@ export declare function getStackOutput(args: GetStackOutputArgs, opts?: pulumi.I
134
125
  */
135
126
  export interface GetStackOutputArgs {
136
127
  /**
137
- * Lock the `"latest"` `versionRegex` obtained, so that the new stack release doesn't cascade the changes down to the deployments. It can be changed at any time.
128
+ * Lock the `latest` `versionRegex` obtained, so that the new stack release doesn't cascade the changes down to the deployments. It can be changed at any time.
138
129
  */
139
130
  lock?: pulumi.Input<boolean>;
140
131
  /**
141
- * Region where the stack pack is. For Elastic Cloud Enterprise (ECE) installations, use `"ece-region`.
132
+ * Region where the stack pack is. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`.
142
133
  */
143
134
  region: pulumi.Input<string>;
144
135
  /**
145
- * Regex to filter the available stacks. Can be any valid regex expression, when multiple stacks are matched through a regex, the latest version is returned. `"latest"` is also accepted to obtain the latest available stack version.
136
+ * Regex to filter the available stacks. Can be any valid regex expression, when multiple stacks are matched through a regex, the latest version is returned. `latest` is also accepted to obtain the latest available stack version.
146
137
  */
147
138
  versionRegex: pulumi.Input<string>;
148
139
  }
package/getStack.js CHANGED
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve information about an existing Elastic Cloud stack.
10
10
  *
11
+ * > **Note on regions** Before you start, you might want to check the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions available in Elasticsearch Service (ESS).
12
+ *
11
13
  * ## Example Usage
12
14
  *
13
15
  * ```typescript
@@ -37,6 +39,8 @@ exports.getStack = getStack;
37
39
  /**
38
40
  * Use this data source to retrieve information about an existing Elastic Cloud stack.
39
41
  *
42
+ * > **Note on regions** Before you start, you might want to check the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions available in Elasticsearch Service (ESS).
43
+ *
40
44
  * ## Example Usage
41
45
  *
42
46
  * ```typescript
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;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"}
1
+ {"version":3,"file":"getStack.js","sourceRoot":"","sources":["../getStack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;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;AA6ED;;;;;;;;;;;;;;;;;;;;;GAqBG;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"}
@@ -0,0 +1,99 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Use this data source to filter for an existing traffic filter that has been created via one of the provided filters.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as ec from "@pulumi/ec";
11
+ *
12
+ * const name = ec.getTrafficFilter({
13
+ * name: "example-filter",
14
+ * });
15
+ * const id = ec.getTrafficFilter({
16
+ * id: "41d275439f884ce89359039e53eac516",
17
+ * });
18
+ * const region = ec.getTrafficFilter({
19
+ * region: "us-east-1",
20
+ * });
21
+ * ```
22
+ */
23
+ export declare function getTrafficFilter(args?: GetTrafficFilterArgs, opts?: pulumi.InvokeOptions): Promise<GetTrafficFilterResult>;
24
+ /**
25
+ * A collection of arguments for invoking getTrafficFilter.
26
+ */
27
+ export interface GetTrafficFilterArgs {
28
+ /**
29
+ * The id of the traffic filter to select.
30
+ */
31
+ id?: string;
32
+ /**
33
+ * The exact name of the traffic filter to select.
34
+ */
35
+ name?: string;
36
+ /**
37
+ * Region where the traffic filter is. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`
38
+ */
39
+ region?: string;
40
+ }
41
+ /**
42
+ * A collection of values returned by getTrafficFilter.
43
+ */
44
+ export interface GetTrafficFilterResult {
45
+ /**
46
+ * The id of the traffic filter to select.
47
+ */
48
+ readonly id?: string;
49
+ /**
50
+ * The exact name of the traffic filter to select.
51
+ */
52
+ readonly name?: string;
53
+ /**
54
+ * Region where the traffic filter is. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`
55
+ */
56
+ readonly region?: string;
57
+ /**
58
+ * An individual ruleset
59
+ */
60
+ readonly rulesets: outputs.GetTrafficFilterRuleset[];
61
+ }
62
+ /**
63
+ * Use this data source to filter for an existing traffic filter that has been created via one of the provided filters.
64
+ *
65
+ * ## Example Usage
66
+ *
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as ec from "@pulumi/ec";
70
+ *
71
+ * const name = ec.getTrafficFilter({
72
+ * name: "example-filter",
73
+ * });
74
+ * const id = ec.getTrafficFilter({
75
+ * id: "41d275439f884ce89359039e53eac516",
76
+ * });
77
+ * const region = ec.getTrafficFilter({
78
+ * region: "us-east-1",
79
+ * });
80
+ * ```
81
+ */
82
+ export declare function getTrafficFilterOutput(args?: GetTrafficFilterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTrafficFilterResult>;
83
+ /**
84
+ * A collection of arguments for invoking getTrafficFilter.
85
+ */
86
+ export interface GetTrafficFilterOutputArgs {
87
+ /**
88
+ * The id of the traffic filter to select.
89
+ */
90
+ id?: pulumi.Input<string>;
91
+ /**
92
+ * The exact name of the traffic filter to select.
93
+ */
94
+ name?: pulumi.Input<string>;
95
+ /**
96
+ * Region where the traffic filter is. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`
97
+ */
98
+ region?: pulumi.Input<string>;
99
+ }
@@ -0,0 +1,62 @@
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.getTrafficFilterOutput = exports.getTrafficFilter = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to filter for an existing traffic filter that has been created via one of the provided filters.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as ec from "@pulumi/ec";
16
+ *
17
+ * const name = ec.getTrafficFilter({
18
+ * name: "example-filter",
19
+ * });
20
+ * const id = ec.getTrafficFilter({
21
+ * id: "41d275439f884ce89359039e53eac516",
22
+ * });
23
+ * const region = ec.getTrafficFilter({
24
+ * region: "us-east-1",
25
+ * });
26
+ * ```
27
+ */
28
+ function getTrafficFilter(args, opts) {
29
+ args = args || {};
30
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
31
+ return pulumi.runtime.invoke("ec:index/getTrafficFilter:getTrafficFilter", {
32
+ "id": args.id,
33
+ "name": args.name,
34
+ "region": args.region,
35
+ }, opts);
36
+ }
37
+ exports.getTrafficFilter = getTrafficFilter;
38
+ /**
39
+ * Use this data source to filter for an existing traffic filter that has been created via one of the provided filters.
40
+ *
41
+ * ## Example Usage
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as ec from "@pulumi/ec";
46
+ *
47
+ * const name = ec.getTrafficFilter({
48
+ * name: "example-filter",
49
+ * });
50
+ * const id = ec.getTrafficFilter({
51
+ * id: "41d275439f884ce89359039e53eac516",
52
+ * });
53
+ * const region = ec.getTrafficFilter({
54
+ * region: "us-east-1",
55
+ * });
56
+ * ```
57
+ */
58
+ function getTrafficFilterOutput(args, opts) {
59
+ return pulumi.output(args).apply((a) => getTrafficFilter(a, opts));
60
+ }
61
+ exports.getTrafficFilterOutput = getTrafficFilterOutput;
62
+ //# sourceMappingURL=getTrafficFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTrafficFilter.js","sourceRoot":"","sources":["../getTrafficFilter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AAyCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
package/index.d.ts CHANGED
@@ -31,9 +31,15 @@ export declare const getGcpPrivateServiceConnectEndpointOutput: typeof import(".
31
31
  export { GetStackArgs, GetStackResult, GetStackOutputArgs } from "./getStack";
32
32
  export declare const getStack: typeof import("./getStack").getStack;
33
33
  export declare const getStackOutput: typeof import("./getStack").getStackOutput;
34
+ export { GetTrafficFilterArgs, GetTrafficFilterResult, GetTrafficFilterOutputArgs } from "./getTrafficFilter";
35
+ export declare const getTrafficFilter: typeof import("./getTrafficFilter").getTrafficFilter;
36
+ export declare const getTrafficFilterOutput: typeof import("./getTrafficFilter").getTrafficFilterOutput;
34
37
  export { ProviderArgs } from "./provider";
35
38
  export type Provider = import("./provider").Provider;
36
39
  export declare const Provider: typeof import("./provider").Provider;
40
+ export { SnapshotRepositoryArgs, SnapshotRepositoryState } from "./snapshotRepository";
41
+ export type SnapshotRepository = import("./snapshotRepository").SnapshotRepository;
42
+ export declare const SnapshotRepository: typeof import("./snapshotRepository").SnapshotRepository;
37
43
  import * as config from "./config";
38
44
  import * as types from "./types";
39
45
  export { config, types, };
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.types = exports.config = exports.Provider = exports.getStackOutput = exports.getStack = exports.getGcpPrivateServiceConnectEndpointOutput = exports.getGcpPrivateServiceConnectEndpoint = exports.getDeploymentsOutput = exports.getDeployments = exports.getDeploymentOutput = exports.getDeployment = exports.getAzurePrivatelinkEndpointOutput = exports.getAzurePrivatelinkEndpoint = exports.getAwsPrivatelinkEndpointOutput = exports.getAwsPrivatelinkEndpoint = exports.DeploymentTrafficFilterAssociation = exports.DeploymentTrafficFilter = exports.DeploymentExtension = exports.DeploymentElasticsearchKeystore = exports.Deployment = void 0;
5
+ exports.types = exports.config = exports.SnapshotRepository = exports.Provider = exports.getTrafficFilterOutput = exports.getTrafficFilter = exports.getStackOutput = exports.getStack = exports.getGcpPrivateServiceConnectEndpointOutput = exports.getGcpPrivateServiceConnectEndpoint = exports.getDeploymentsOutput = exports.getDeployments = exports.getDeploymentOutput = exports.getDeployment = exports.getAzurePrivatelinkEndpointOutput = exports.getAzurePrivatelinkEndpoint = exports.getAwsPrivatelinkEndpointOutput = exports.getAwsPrivatelinkEndpoint = exports.DeploymentTrafficFilterAssociation = exports.DeploymentTrafficFilter = exports.DeploymentExtension = exports.DeploymentElasticsearchKeystore = exports.Deployment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  exports.Deployment = null;
@@ -33,8 +33,13 @@ utilities.lazyLoad(exports, ["getGcpPrivateServiceConnectEndpoint", "getGcpPriva
33
33
  exports.getStack = null;
34
34
  exports.getStackOutput = null;
35
35
  utilities.lazyLoad(exports, ["getStack", "getStackOutput"], () => require("./getStack"));
36
+ exports.getTrafficFilter = null;
37
+ exports.getTrafficFilterOutput = null;
38
+ utilities.lazyLoad(exports, ["getTrafficFilter", "getTrafficFilterOutput"], () => require("./getTrafficFilter"));
36
39
  exports.Provider = null;
37
40
  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
41
+ exports.SnapshotRepository = null;
42
+ utilities.lazyLoad(exports, ["SnapshotRepository"], () => require("./snapshotRepository"));
38
43
  // Export sub-modules:
39
44
  const config = require("./config");
40
45
  exports.config = config;
@@ -54,6 +59,8 @@ const _module = {
54
59
  return new exports.DeploymentTrafficFilter(name, undefined, { urn });
55
60
  case "ec:index/deploymentTrafficFilterAssociation:DeploymentTrafficFilterAssociation":
56
61
  return new exports.DeploymentTrafficFilterAssociation(name, undefined, { urn });
62
+ case "ec:index/snapshotRepository:SnapshotRepository":
63
+ return new exports.SnapshotRepository(name, undefined, { urn });
57
64
  default:
58
65
  throw new Error(`unknown resource type ${type}`);
59
66
  }
@@ -64,6 +71,7 @@ pulumi.runtime.registerResourceModule("ec", "index/deploymentElasticsearchKeysto
64
71
  pulumi.runtime.registerResourceModule("ec", "index/deploymentExtension", _module);
65
72
  pulumi.runtime.registerResourceModule("ec", "index/deploymentTrafficFilter", _module);
66
73
  pulumi.runtime.registerResourceModule("ec", "index/deploymentTrafficFilterAssociation", _module);
74
+ pulumi.runtime.registerResourceModule("ec", "index/snapshotRepository", _module);
67
75
  pulumi.runtime.registerResourcePackage("ec", {
68
76
  version: utilities.getVersion(),
69
77
  constructProvider: (name, type, urn) => {
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,+BAA+B,GAAuF,IAAW,CAAC;AAC/I,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iCAAiC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mCAAmC,CAAC,CAAC,CAAC;AAIxG,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAIhF,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAIxF,QAAA,kCAAkC,GAA6F,IAAW,CAAC;AACxJ,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oCAAoC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAAC,CAAC;AAG9G,QAAA,yBAAyB,GAA2E,IAAW,CAAC;AAChH,QAAA,+BAA+B,GAAiF,IAAW,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,CAAC,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,IAAI,EAAE;IACzC,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,qBAAqB,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/ec",
3
- "version": "v0.5.2-alpha.1691409334+08181032",
3
+ "version": "v0.6.0",
4
4
  "description": "A Pulumi package for creating and managing ElasticCloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -15,7 +15,7 @@
15
15
  "license": "Apache-2.0",
16
16
  "scripts": {
17
17
  "build": "tsc",
18
- "install": "node scripts/install-pulumi-plugin.js resource ec v0.5.2-alpha.1691409334+08181032"
18
+ "install": "node scripts/install-pulumi-plugin.js resource ec v0.6.0"
19
19
  },
20
20
  "dependencies": {
21
21
  "@pulumi/pulumi": "^3.0.0"
package/provider.js CHANGED
@@ -20,7 +20,7 @@ class Provider extends pulumi.ProviderResource {
20
20
  if (obj === undefined || obj === null) {
21
21
  return false;
22
22
  }
23
- return obj['__pulumiType'] === Provider.__pulumiType;
23
+ return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
24
24
  }
25
25
  /**
26
26
  * Create a Provider resource with the given unique name, arguments, and options.
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAi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C;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACjG,cAAc,CAAC,oBAAoB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACvH,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,CAAC;QACvE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAnEL,4BAoEC;AAnEG,gBAAgB;AACO,qBAAY,GAAG,IAAI,CAAC"}
@@ -0,0 +1,87 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Manages Elastic Cloud Enterprise snapshot repositories.
6
+ *
7
+ * > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository.
8
+ *
9
+ * ## Import
10
+ *
11
+ * You can import snapshot repositories using the `name`, for example
12
+ *
13
+ * ```sh
14
+ * $ pulumi import ec:index/snapshotRepository:SnapshotRepository this my-snapshot-repository
15
+ * ```
16
+ */
17
+ export declare class SnapshotRepository extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing SnapshotRepository resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnapshotRepositoryState, opts?: pulumi.CustomResourceOptions): SnapshotRepository;
28
+ /**
29
+ * Returns true if the given object is an instance of SnapshotRepository. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is SnapshotRepository;
33
+ /**
34
+ * Generic repository settings.
35
+ */
36
+ readonly generic: pulumi.Output<outputs.SnapshotRepositoryGeneric | undefined>;
37
+ /**
38
+ * The name of the snapshot repository configuration.
39
+ */
40
+ readonly name: pulumi.Output<string>;
41
+ /**
42
+ * S3 repository settings.
43
+ */
44
+ readonly s3: pulumi.Output<outputs.SnapshotRepositoryS3 | undefined>;
45
+ /**
46
+ * Create a SnapshotRepository resource with the given unique name, arguments, and options.
47
+ *
48
+ * @param name The _unique_ name of the resource.
49
+ * @param args The arguments to use to populate this resource's properties.
50
+ * @param opts A bag of options that control this resource's behavior.
51
+ */
52
+ constructor(name: string, args?: SnapshotRepositoryArgs, opts?: pulumi.CustomResourceOptions);
53
+ }
54
+ /**
55
+ * Input properties used for looking up and filtering SnapshotRepository resources.
56
+ */
57
+ export interface SnapshotRepositoryState {
58
+ /**
59
+ * Generic repository settings.
60
+ */
61
+ generic?: pulumi.Input<inputs.SnapshotRepositoryGeneric>;
62
+ /**
63
+ * The name of the snapshot repository configuration.
64
+ */
65
+ name?: pulumi.Input<string>;
66
+ /**
67
+ * S3 repository settings.
68
+ */
69
+ s3?: pulumi.Input<inputs.SnapshotRepositoryS3>;
70
+ }
71
+ /**
72
+ * The set of arguments for constructing a SnapshotRepository resource.
73
+ */
74
+ export interface SnapshotRepositoryArgs {
75
+ /**
76
+ * Generic repository settings.
77
+ */
78
+ generic?: pulumi.Input<inputs.SnapshotRepositoryGeneric>;
79
+ /**
80
+ * The name of the snapshot repository configuration.
81
+ */
82
+ name?: pulumi.Input<string>;
83
+ /**
84
+ * S3 repository settings.
85
+ */
86
+ s3?: pulumi.Input<inputs.SnapshotRepositoryS3>;
87
+ }