@pulumi/ec 0.10.8 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploymentExtension.d.ts +73 -0
- package/deploymentExtension.js +73 -0
- package/deploymentExtension.js.map +1 -1
- package/deploymentTrafficFilter.d.ts +1 -1
- package/deploymentTrafficFilter.js +1 -1
- package/observabilityProject.d.ts +12 -0
- package/observabilityProject.js +2 -0
- package/observabilityProject.js.map +1 -1
- package/package.json +2 -2
- package/snapshotRepository.d.ts +14 -0
- package/snapshotRepository.js +14 -0
- package/snapshotRepository.js.map +1 -1
- package/types/input.d.ts +22 -14
- package/types/output.d.ts +22 -14
package/deploymentExtension.d.ts
CHANGED
|
@@ -10,8 +10,81 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* ### With extension file
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as ec from "@pulumi/ec";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const filePath = "/path/to/plugin.zip";
|
|
19
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
20
|
+
* name: "my_extension",
|
|
21
|
+
* description: "my extension",
|
|
22
|
+
* version: "*",
|
|
23
|
+
* extensionType: "bundle",
|
|
24
|
+
* filePath: filePath,
|
|
25
|
+
* fileHash: std.filebase64sha256({
|
|
26
|
+
* input: filePath,
|
|
27
|
+
* }).then(invoke => invoke.result),
|
|
28
|
+
* });
|
|
29
|
+
* const latest = ec.getStack({
|
|
30
|
+
* versionRegex: "latest",
|
|
31
|
+
* region: "us-east-1",
|
|
32
|
+
* });
|
|
33
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
34
|
+
* name: "my_example_deployment",
|
|
35
|
+
* region: "us-east-1",
|
|
36
|
+
* version: latest.then(latest => latest.version),
|
|
37
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
38
|
+
* elasticsearch: {
|
|
39
|
+
* hot: {
|
|
40
|
+
* autoscaling: {},
|
|
41
|
+
* },
|
|
42
|
+
* extensions: [{
|
|
43
|
+
* name: exampleExtension.name,
|
|
44
|
+
* type: "bundle",
|
|
45
|
+
* version: latest.then(latest => latest.version),
|
|
46
|
+
* url: exampleExtension.url,
|
|
47
|
+
* }],
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
13
52
|
* ### With download URL
|
|
14
53
|
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as ec from "@pulumi/ec";
|
|
57
|
+
*
|
|
58
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
59
|
+
* name: "my_extension",
|
|
60
|
+
* description: "my extension",
|
|
61
|
+
* version: "*",
|
|
62
|
+
* extensionType: "bundle",
|
|
63
|
+
* downloadUrl: "https://example.net",
|
|
64
|
+
* });
|
|
65
|
+
* const latest = ec.getStack({
|
|
66
|
+
* versionRegex: "latest",
|
|
67
|
+
* region: "us-east-1",
|
|
68
|
+
* });
|
|
69
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
70
|
+
* name: "my_example_deployment",
|
|
71
|
+
* region: "us-east-1",
|
|
72
|
+
* version: latest.then(latest => latest.version),
|
|
73
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
74
|
+
* elasticsearch: {
|
|
75
|
+
* hot: {
|
|
76
|
+
* autoscaling: {},
|
|
77
|
+
* },
|
|
78
|
+
* extensions: [{
|
|
79
|
+
* name: exampleExtension.name,
|
|
80
|
+
* type: "bundle",
|
|
81
|
+
* version: latest.then(latest => latest.version),
|
|
82
|
+
* url: exampleExtension.url,
|
|
83
|
+
* }],
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
15
88
|
* ## Import
|
|
16
89
|
*
|
|
17
90
|
* Extensions can be imported using the `id`, for example:
|
package/deploymentExtension.js
CHANGED
|
@@ -16,8 +16,81 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ### With extension file
|
|
18
18
|
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as ec from "@pulumi/ec";
|
|
22
|
+
* import * as std from "@pulumi/std";
|
|
23
|
+
*
|
|
24
|
+
* const filePath = "/path/to/plugin.zip";
|
|
25
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
26
|
+
* name: "my_extension",
|
|
27
|
+
* description: "my extension",
|
|
28
|
+
* version: "*",
|
|
29
|
+
* extensionType: "bundle",
|
|
30
|
+
* filePath: filePath,
|
|
31
|
+
* fileHash: std.filebase64sha256({
|
|
32
|
+
* input: filePath,
|
|
33
|
+
* }).then(invoke => invoke.result),
|
|
34
|
+
* });
|
|
35
|
+
* const latest = ec.getStack({
|
|
36
|
+
* versionRegex: "latest",
|
|
37
|
+
* region: "us-east-1",
|
|
38
|
+
* });
|
|
39
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
40
|
+
* name: "my_example_deployment",
|
|
41
|
+
* region: "us-east-1",
|
|
42
|
+
* version: latest.then(latest => latest.version),
|
|
43
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
44
|
+
* elasticsearch: {
|
|
45
|
+
* hot: {
|
|
46
|
+
* autoscaling: {},
|
|
47
|
+
* },
|
|
48
|
+
* extensions: [{
|
|
49
|
+
* name: exampleExtension.name,
|
|
50
|
+
* type: "bundle",
|
|
51
|
+
* version: latest.then(latest => latest.version),
|
|
52
|
+
* url: exampleExtension.url,
|
|
53
|
+
* }],
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
19
58
|
* ### With download URL
|
|
20
59
|
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as ec from "@pulumi/ec";
|
|
63
|
+
*
|
|
64
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
65
|
+
* name: "my_extension",
|
|
66
|
+
* description: "my extension",
|
|
67
|
+
* version: "*",
|
|
68
|
+
* extensionType: "bundle",
|
|
69
|
+
* downloadUrl: "https://example.net",
|
|
70
|
+
* });
|
|
71
|
+
* const latest = ec.getStack({
|
|
72
|
+
* versionRegex: "latest",
|
|
73
|
+
* region: "us-east-1",
|
|
74
|
+
* });
|
|
75
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
76
|
+
* name: "my_example_deployment",
|
|
77
|
+
* region: "us-east-1",
|
|
78
|
+
* version: latest.then(latest => latest.version),
|
|
79
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
80
|
+
* elasticsearch: {
|
|
81
|
+
* hot: {
|
|
82
|
+
* autoscaling: {},
|
|
83
|
+
* },
|
|
84
|
+
* extensions: [{
|
|
85
|
+
* name: exampleExtension.name,
|
|
86
|
+
* type: "bundle",
|
|
87
|
+
* version: latest.then(latest => latest.version),
|
|
88
|
+
* url: exampleExtension.url,
|
|
89
|
+
* }],
|
|
90
|
+
* },
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
21
94
|
* ## Import
|
|
22
95
|
*
|
|
23
96
|
* Extensions can be imported using the `id`, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentExtension.js","sourceRoot":"","sources":["../deploymentExtension.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deploymentExtension.js","sourceRoot":"","sources":["../deploymentExtension.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;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I,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjHL,kDAkHC;AApGG,gBAAgB;AACO,gCAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -67,6 +67,10 @@ export declare class ObservabilityProject extends pulumi.CustomResource {
|
|
|
67
67
|
* Descriptive name for a project.
|
|
68
68
|
*/
|
|
69
69
|
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* the tier of the observability project
|
|
72
|
+
*/
|
|
73
|
+
readonly productTier: pulumi.Output<string>;
|
|
70
74
|
/**
|
|
71
75
|
* Unique human-readable identifier for a region in Elastic Cloud.
|
|
72
76
|
*/
|
|
@@ -112,6 +116,10 @@ export interface ObservabilityProjectState {
|
|
|
112
116
|
* Descriptive name for a project.
|
|
113
117
|
*/
|
|
114
118
|
name?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* the tier of the observability project
|
|
121
|
+
*/
|
|
122
|
+
productTier?: pulumi.Input<string>;
|
|
115
123
|
/**
|
|
116
124
|
* Unique human-readable identifier for a region in Elastic Cloud.
|
|
117
125
|
*/
|
|
@@ -133,6 +141,10 @@ export interface ObservabilityProjectArgs {
|
|
|
133
141
|
* Descriptive name for a project.
|
|
134
142
|
*/
|
|
135
143
|
name?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* the tier of the observability project
|
|
146
|
+
*/
|
|
147
|
+
productTier?: pulumi.Input<string>;
|
|
136
148
|
/**
|
|
137
149
|
* Unique human-readable identifier for a region in Elastic Cloud.
|
|
138
150
|
*/
|
package/observabilityProject.js
CHANGED
|
@@ -65,6 +65,7 @@ class ObservabilityProject extends pulumi.CustomResource {
|
|
|
65
65
|
resourceInputs["endpoints"] = state?.endpoints;
|
|
66
66
|
resourceInputs["metadata"] = state?.metadata;
|
|
67
67
|
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["productTier"] = state?.productTier;
|
|
68
69
|
resourceInputs["regionId"] = state?.regionId;
|
|
69
70
|
resourceInputs["type"] = state?.type;
|
|
70
71
|
}
|
|
@@ -75,6 +76,7 @@ class ObservabilityProject extends pulumi.CustomResource {
|
|
|
75
76
|
}
|
|
76
77
|
resourceInputs["alias"] = args?.alias;
|
|
77
78
|
resourceInputs["name"] = args?.name;
|
|
79
|
+
resourceInputs["productTier"] = args?.productTier;
|
|
78
80
|
resourceInputs["regionId"] = args?.regionId;
|
|
79
81
|
resourceInputs["cloudId"] = undefined /*out*/;
|
|
80
82
|
resourceInputs["credentials"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observabilityProject.js","sourceRoot":"","sources":["../observabilityProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;
|
|
1
|
+
{"version":3,"file":"observabilityProject.js","sourceRoot":"","sources":["../observabilityProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,o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C;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAxGL,oDAyGC;AA3FG,gBAAgB;AACO,iCAAY,GAAG,oDAAoD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/ec",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.9",
|
|
4
4
|
"description": "A Pulumi package for creating and managing ElasticCloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"pulumi": {
|
|
28
28
|
"resource": true,
|
|
29
29
|
"name": "ec",
|
|
30
|
-
"version": "0.10.
|
|
30
|
+
"version": "0.10.9"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/snapshotRepository.d.ts
CHANGED
|
@@ -6,6 +6,20 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ### S3 style
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as ec from "@pulumi/ec";
|
|
12
|
+
*
|
|
13
|
+
* const _this = new ec.SnapshotRepository("this", {
|
|
14
|
+
* name: "my-snapshot-repository",
|
|
15
|
+
* s3: {
|
|
16
|
+
* bucket: "my-bucket",
|
|
17
|
+
* accessKey: "my-access-key",
|
|
18
|
+
* secretKey: "my-secret-key",
|
|
19
|
+
* },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
9
23
|
* ### Azure
|
|
10
24
|
*
|
|
11
25
|
* ```typescript
|
package/snapshotRepository.js
CHANGED
|
@@ -10,6 +10,20 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ### S3 style
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as ec from "@pulumi/ec";
|
|
16
|
+
*
|
|
17
|
+
* const _this = new ec.SnapshotRepository("this", {
|
|
18
|
+
* name: "my-snapshot-repository",
|
|
19
|
+
* s3: {
|
|
20
|
+
* bucket: "my-bucket",
|
|
21
|
+
* accessKey: "my-access-key",
|
|
22
|
+
* secretKey: "my-secret-key",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
13
27
|
* ### Azure
|
|
14
28
|
*
|
|
15
29
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshotRepository.js","sourceRoot":"","sources":["../snapshotRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"snapshotRepository.js","sourceRoot":"","sources":["../snapshotRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,EAAE,CAAC;SACpC;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC;SACnC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAjEL,gDAkEC;AApDG,gBAAgB;AACO,+BAAY,GAAG,gDAAgD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -201,7 +201,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
201
201
|
*/
|
|
202
202
|
autoscale?: pulumi.Input<boolean>;
|
|
203
203
|
/**
|
|
204
|
-
* Maximum size
|
|
204
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
205
205
|
*/
|
|
206
206
|
maxSize?: pulumi.Input<string>;
|
|
207
207
|
/**
|
|
@@ -209,7 +209,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
209
209
|
*/
|
|
210
210
|
maxSizeResource?: pulumi.Input<string>;
|
|
211
211
|
/**
|
|
212
|
-
* Minimum
|
|
212
|
+
* Minimum autoscaling size.
|
|
213
213
|
*/
|
|
214
214
|
minSize?: pulumi.Input<string>;
|
|
215
215
|
/**
|
|
@@ -307,7 +307,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
307
307
|
*/
|
|
308
308
|
autoscale?: pulumi.Input<boolean>;
|
|
309
309
|
/**
|
|
310
|
-
* Maximum size
|
|
310
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
311
311
|
*/
|
|
312
312
|
maxSize?: pulumi.Input<string>;
|
|
313
313
|
/**
|
|
@@ -315,7 +315,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
315
315
|
*/
|
|
316
316
|
maxSizeResource?: pulumi.Input<string>;
|
|
317
317
|
/**
|
|
318
|
-
* Minimum
|
|
318
|
+
* Minimum autoscaling size.
|
|
319
319
|
*/
|
|
320
320
|
minSize?: pulumi.Input<string>;
|
|
321
321
|
/**
|
|
@@ -405,7 +405,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
405
405
|
*/
|
|
406
406
|
autoscale?: pulumi.Input<boolean>;
|
|
407
407
|
/**
|
|
408
|
-
* Maximum size
|
|
408
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
409
409
|
*/
|
|
410
410
|
maxSize?: pulumi.Input<string>;
|
|
411
411
|
/**
|
|
@@ -413,7 +413,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
413
413
|
*/
|
|
414
414
|
maxSizeResource?: pulumi.Input<string>;
|
|
415
415
|
/**
|
|
416
|
-
* Minimum
|
|
416
|
+
* Minimum autoscaling size.
|
|
417
417
|
*/
|
|
418
418
|
minSize?: pulumi.Input<string>;
|
|
419
419
|
/**
|
|
@@ -485,7 +485,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
485
485
|
*/
|
|
486
486
|
autoscale?: pulumi.Input<boolean>;
|
|
487
487
|
/**
|
|
488
|
-
* Maximum size
|
|
488
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
489
489
|
*/
|
|
490
490
|
maxSize?: pulumi.Input<string>;
|
|
491
491
|
/**
|
|
@@ -493,7 +493,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
493
493
|
*/
|
|
494
494
|
maxSizeResource?: pulumi.Input<string>;
|
|
495
495
|
/**
|
|
496
|
-
* Minimum
|
|
496
|
+
* Minimum autoscaling size.
|
|
497
497
|
*/
|
|
498
498
|
minSize?: pulumi.Input<string>;
|
|
499
499
|
/**
|
|
@@ -575,7 +575,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
575
575
|
*/
|
|
576
576
|
autoscale?: pulumi.Input<boolean>;
|
|
577
577
|
/**
|
|
578
|
-
* Maximum size
|
|
578
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
579
579
|
*/
|
|
580
580
|
maxSize?: pulumi.Input<string>;
|
|
581
581
|
/**
|
|
@@ -583,7 +583,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
583
583
|
*/
|
|
584
584
|
maxSizeResource?: pulumi.Input<string>;
|
|
585
585
|
/**
|
|
586
|
-
* Minimum
|
|
586
|
+
* Minimum autoscaling size.
|
|
587
587
|
*/
|
|
588
588
|
minSize?: pulumi.Input<string>;
|
|
589
589
|
/**
|
|
@@ -655,7 +655,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
655
655
|
*/
|
|
656
656
|
autoscale?: pulumi.Input<boolean>;
|
|
657
657
|
/**
|
|
658
|
-
* Maximum size
|
|
658
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
659
659
|
*/
|
|
660
660
|
maxSize?: pulumi.Input<string>;
|
|
661
661
|
/**
|
|
@@ -663,7 +663,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
663
663
|
*/
|
|
664
664
|
maxSizeResource?: pulumi.Input<string>;
|
|
665
665
|
/**
|
|
666
|
-
* Minimum
|
|
666
|
+
* Minimum autoscaling size.
|
|
667
667
|
*/
|
|
668
668
|
minSize?: pulumi.Input<string>;
|
|
669
669
|
/**
|
|
@@ -813,7 +813,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
813
813
|
*/
|
|
814
814
|
autoscale?: pulumi.Input<boolean>;
|
|
815
815
|
/**
|
|
816
|
-
* Maximum size
|
|
816
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
817
817
|
*/
|
|
818
818
|
maxSize?: pulumi.Input<string>;
|
|
819
819
|
/**
|
|
@@ -821,7 +821,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
821
821
|
*/
|
|
822
822
|
maxSizeResource?: pulumi.Input<string>;
|
|
823
823
|
/**
|
|
824
|
-
* Minimum
|
|
824
|
+
* Minimum autoscaling size.
|
|
825
825
|
*/
|
|
826
826
|
minSize?: pulumi.Input<string>;
|
|
827
827
|
/**
|
|
@@ -1221,6 +1221,10 @@ export interface ObservabilityProjectEndpoints {
|
|
|
1221
1221
|
* The endpoint to access elasticsearch.
|
|
1222
1222
|
*/
|
|
1223
1223
|
elasticsearch?: pulumi.Input<string>;
|
|
1224
|
+
/**
|
|
1225
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
1226
|
+
*/
|
|
1227
|
+
ingest?: pulumi.Input<string>;
|
|
1224
1228
|
/**
|
|
1225
1229
|
* The endpoint to access kibana.
|
|
1226
1230
|
*/
|
|
@@ -1369,6 +1373,10 @@ export interface SecurityProjectEndpoints {
|
|
|
1369
1373
|
* The endpoint to access elasticsearch.
|
|
1370
1374
|
*/
|
|
1371
1375
|
elasticsearch?: pulumi.Input<string>;
|
|
1376
|
+
/**
|
|
1377
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
1378
|
+
*/
|
|
1379
|
+
ingest?: pulumi.Input<string>;
|
|
1372
1380
|
/**
|
|
1373
1381
|
* The endpoint to access kibana.
|
|
1374
1382
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -200,7 +200,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
200
200
|
*/
|
|
201
201
|
autoscale: boolean;
|
|
202
202
|
/**
|
|
203
|
-
* Maximum size
|
|
203
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
204
204
|
*/
|
|
205
205
|
maxSize: string;
|
|
206
206
|
/**
|
|
@@ -208,7 +208,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
208
208
|
*/
|
|
209
209
|
maxSizeResource: string;
|
|
210
210
|
/**
|
|
211
|
-
* Minimum
|
|
211
|
+
* Minimum autoscaling size.
|
|
212
212
|
*/
|
|
213
213
|
minSize: string;
|
|
214
214
|
/**
|
|
@@ -306,7 +306,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
306
306
|
*/
|
|
307
307
|
autoscale: boolean;
|
|
308
308
|
/**
|
|
309
|
-
* Maximum size
|
|
309
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
310
310
|
*/
|
|
311
311
|
maxSize: string;
|
|
312
312
|
/**
|
|
@@ -314,7 +314,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
314
314
|
*/
|
|
315
315
|
maxSizeResource: string;
|
|
316
316
|
/**
|
|
317
|
-
* Minimum
|
|
317
|
+
* Minimum autoscaling size.
|
|
318
318
|
*/
|
|
319
319
|
minSize: string;
|
|
320
320
|
/**
|
|
@@ -404,7 +404,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
404
404
|
*/
|
|
405
405
|
autoscale: boolean;
|
|
406
406
|
/**
|
|
407
|
-
* Maximum size
|
|
407
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
408
408
|
*/
|
|
409
409
|
maxSize: string;
|
|
410
410
|
/**
|
|
@@ -412,7 +412,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
412
412
|
*/
|
|
413
413
|
maxSizeResource: string;
|
|
414
414
|
/**
|
|
415
|
-
* Minimum
|
|
415
|
+
* Minimum autoscaling size.
|
|
416
416
|
*/
|
|
417
417
|
minSize: string;
|
|
418
418
|
/**
|
|
@@ -484,7 +484,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
484
484
|
*/
|
|
485
485
|
autoscale: boolean;
|
|
486
486
|
/**
|
|
487
|
-
* Maximum size
|
|
487
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
488
488
|
*/
|
|
489
489
|
maxSize: string;
|
|
490
490
|
/**
|
|
@@ -492,7 +492,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
492
492
|
*/
|
|
493
493
|
maxSizeResource: string;
|
|
494
494
|
/**
|
|
495
|
-
* Minimum
|
|
495
|
+
* Minimum autoscaling size.
|
|
496
496
|
*/
|
|
497
497
|
minSize: string;
|
|
498
498
|
/**
|
|
@@ -574,7 +574,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
574
574
|
*/
|
|
575
575
|
autoscale: boolean;
|
|
576
576
|
/**
|
|
577
|
-
* Maximum size
|
|
577
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
578
578
|
*/
|
|
579
579
|
maxSize: string;
|
|
580
580
|
/**
|
|
@@ -582,7 +582,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
582
582
|
*/
|
|
583
583
|
maxSizeResource: string;
|
|
584
584
|
/**
|
|
585
|
-
* Minimum
|
|
585
|
+
* Minimum autoscaling size.
|
|
586
586
|
*/
|
|
587
587
|
minSize: string;
|
|
588
588
|
/**
|
|
@@ -654,7 +654,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
654
654
|
*/
|
|
655
655
|
autoscale: boolean;
|
|
656
656
|
/**
|
|
657
|
-
* Maximum size
|
|
657
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
658
658
|
*/
|
|
659
659
|
maxSize: string;
|
|
660
660
|
/**
|
|
@@ -662,7 +662,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
662
662
|
*/
|
|
663
663
|
maxSizeResource: string;
|
|
664
664
|
/**
|
|
665
|
-
* Minimum
|
|
665
|
+
* Minimum autoscaling size.
|
|
666
666
|
*/
|
|
667
667
|
minSize: string;
|
|
668
668
|
/**
|
|
@@ -812,7 +812,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
812
812
|
*/
|
|
813
813
|
autoscale: boolean;
|
|
814
814
|
/**
|
|
815
|
-
* Maximum size
|
|
815
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
816
816
|
*/
|
|
817
817
|
maxSize: string;
|
|
818
818
|
/**
|
|
@@ -820,7 +820,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
820
820
|
*/
|
|
821
821
|
maxSizeResource: string;
|
|
822
822
|
/**
|
|
823
|
-
* Minimum
|
|
823
|
+
* Minimum autoscaling size.
|
|
824
824
|
*/
|
|
825
825
|
minSize: string;
|
|
826
826
|
/**
|
|
@@ -1906,6 +1906,10 @@ export interface ObservabilityProjectEndpoints {
|
|
|
1906
1906
|
* The endpoint to access elasticsearch.
|
|
1907
1907
|
*/
|
|
1908
1908
|
elasticsearch: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
1911
|
+
*/
|
|
1912
|
+
ingest: string;
|
|
1909
1913
|
/**
|
|
1910
1914
|
* The endpoint to access kibana.
|
|
1911
1915
|
*/
|
|
@@ -2054,6 +2058,10 @@ export interface SecurityProjectEndpoints {
|
|
|
2054
2058
|
* The endpoint to access elasticsearch.
|
|
2055
2059
|
*/
|
|
2056
2060
|
elasticsearch: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
2063
|
+
*/
|
|
2064
|
+
ingest: string;
|
|
2057
2065
|
/**
|
|
2058
2066
|
* The endpoint to access kibana.
|
|
2059
2067
|
*/
|