@pulumi/splunk 1.4.5 → 1.4.6
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/lookupTableFile.d.ts +27 -5
- package/lookupTableFile.d.ts.map +1 -1
- package/lookupTableFile.js +6 -3
- package/lookupTableFile.js.map +1 -1
- package/package.json +2 -2
package/lookupTableFile.d.ts
CHANGED
|
@@ -42,6 +42,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
42
42
|
* ],
|
|
43
43
|
* });
|
|
44
44
|
* ```
|
|
45
|
+
*
|
|
46
|
+
* For large CSV files, use `filePath` to let the provider read the file without sending its contents through Terraform's provider RPC:
|
|
45
47
|
*/
|
|
46
48
|
export declare class LookupTableFile extends pulumi.CustomResource {
|
|
47
49
|
/**
|
|
@@ -64,13 +66,21 @@ export declare class LookupTableFile extends pulumi.CustomResource {
|
|
|
64
66
|
*/
|
|
65
67
|
readonly app: pulumi.Output<string>;
|
|
66
68
|
/**
|
|
67
|
-
* The column header and row value contents for the lookup table file.
|
|
69
|
+
* The column header and row value contents for the lookup table file. Specify exactly one of `fileContents` or `filePath`.
|
|
70
|
+
*/
|
|
71
|
+
readonly fileContents: pulumi.Output<string[][] | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* SHA-256 hex digest of the JSON encoding of the parsed CSV rows when `filePath` is set. This is not the SHA-256 of the raw file. Empty when `fileContents` is used.
|
|
68
74
|
*/
|
|
69
|
-
readonly
|
|
75
|
+
readonly fileContentsHash: pulumi.Output<string>;
|
|
70
76
|
/**
|
|
71
77
|
* A name for the lookup table file. Generally ends with ".csv"
|
|
72
78
|
*/
|
|
73
79
|
readonly fileName: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Path to a local CSV file. Use an absolute path or `path.module`. The provider reads this path during plan and apply. A change to the file contents triggers an update. Specify exactly one of `fileContents` or `filePath`.
|
|
82
|
+
*/
|
|
83
|
+
readonly filePath: pulumi.Output<string | undefined>;
|
|
74
84
|
/**
|
|
75
85
|
* User name of resource owner. Defaults to the resource creator. Required for updating any knowledge object ACL properties. nobody = All users may access the resource, but write access to the resource might be restricted.
|
|
76
86
|
*/
|
|
@@ -93,13 +103,21 @@ export interface LookupTableFileState {
|
|
|
93
103
|
*/
|
|
94
104
|
app?: pulumi.Input<string | undefined>;
|
|
95
105
|
/**
|
|
96
|
-
* The column header and row value contents for the lookup table file.
|
|
106
|
+
* The column header and row value contents for the lookup table file. Specify exactly one of `fileContents` or `filePath`.
|
|
97
107
|
*/
|
|
98
108
|
fileContents?: pulumi.Input<pulumi.Input<pulumi.Input<string>[]>[] | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* SHA-256 hex digest of the JSON encoding of the parsed CSV rows when `filePath` is set. This is not the SHA-256 of the raw file. Empty when `fileContents` is used.
|
|
111
|
+
*/
|
|
112
|
+
fileContentsHash?: pulumi.Input<string | undefined>;
|
|
99
113
|
/**
|
|
100
114
|
* A name for the lookup table file. Generally ends with ".csv"
|
|
101
115
|
*/
|
|
102
116
|
fileName?: pulumi.Input<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Path to a local CSV file. Use an absolute path or `path.module`. The provider reads this path during plan and apply. A change to the file contents triggers an update. Specify exactly one of `fileContents` or `filePath`.
|
|
119
|
+
*/
|
|
120
|
+
filePath?: pulumi.Input<string | undefined>;
|
|
103
121
|
/**
|
|
104
122
|
* User name of resource owner. Defaults to the resource creator. Required for updating any knowledge object ACL properties. nobody = All users may access the resource, but write access to the resource might be restricted.
|
|
105
123
|
*/
|
|
@@ -114,13 +132,17 @@ export interface LookupTableFileArgs {
|
|
|
114
132
|
*/
|
|
115
133
|
app: pulumi.Input<string>;
|
|
116
134
|
/**
|
|
117
|
-
* The column header and row value contents for the lookup table file.
|
|
135
|
+
* The column header and row value contents for the lookup table file. Specify exactly one of `fileContents` or `filePath`.
|
|
118
136
|
*/
|
|
119
|
-
fileContents
|
|
137
|
+
fileContents?: pulumi.Input<pulumi.Input<pulumi.Input<string>[]>[] | undefined>;
|
|
120
138
|
/**
|
|
121
139
|
* A name for the lookup table file. Generally ends with ".csv"
|
|
122
140
|
*/
|
|
123
141
|
fileName: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Path to a local CSV file. Use an absolute path or `path.module`. The provider reads this path during plan and apply. A change to the file contents triggers an update. Specify exactly one of `fileContents` or `filePath`.
|
|
144
|
+
*/
|
|
145
|
+
filePath?: pulumi.Input<string | undefined>;
|
|
124
146
|
/**
|
|
125
147
|
* User name of resource owner. Defaults to the resource creator. Required for updating any knowledge object ACL properties. nobody = All users may access the resource, but write access to the resource might be restricted.
|
|
126
148
|
*/
|
package/lookupTableFile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookupTableFile.d.ts","sourceRoot":"","sources":["../lookupTableFile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"lookupTableFile.d.ts","sourceRoot":"","sources":["../lookupTableFile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAOhJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;OAEG;IACH,SAAwB,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnD;;OAEG;IACH,SA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W,mBAAmB;IAChC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAChF;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
package/lookupTableFile.js
CHANGED
|
@@ -71,6 +71,8 @@ const utilities = __importStar(require("./utilities"));
|
|
|
71
71
|
* ],
|
|
72
72
|
* });
|
|
73
73
|
* ```
|
|
74
|
+
*
|
|
75
|
+
* For large CSV files, use `filePath` to let the provider read the file without sending its contents through Terraform's provider RPC:
|
|
74
76
|
*/
|
|
75
77
|
class LookupTableFile extends pulumi.CustomResource {
|
|
76
78
|
/**
|
|
@@ -104,7 +106,9 @@ class LookupTableFile extends pulumi.CustomResource {
|
|
|
104
106
|
const state = argsOrState;
|
|
105
107
|
resourceInputs["app"] = state?.app;
|
|
106
108
|
resourceInputs["fileContents"] = state?.fileContents;
|
|
109
|
+
resourceInputs["fileContentsHash"] = state?.fileContentsHash;
|
|
107
110
|
resourceInputs["fileName"] = state?.fileName;
|
|
111
|
+
resourceInputs["filePath"] = state?.filePath;
|
|
108
112
|
resourceInputs["owner"] = state?.owner;
|
|
109
113
|
}
|
|
110
114
|
else {
|
|
@@ -112,9 +116,6 @@ class LookupTableFile extends pulumi.CustomResource {
|
|
|
112
116
|
if (args?.app === undefined && !opts.urn) {
|
|
113
117
|
throw new Error("Missing required property 'app'");
|
|
114
118
|
}
|
|
115
|
-
if (args?.fileContents === undefined && !opts.urn) {
|
|
116
|
-
throw new Error("Missing required property 'fileContents'");
|
|
117
|
-
}
|
|
118
119
|
if (args?.fileName === undefined && !opts.urn) {
|
|
119
120
|
throw new Error("Missing required property 'fileName'");
|
|
120
121
|
}
|
|
@@ -124,7 +125,9 @@ class LookupTableFile extends pulumi.CustomResource {
|
|
|
124
125
|
resourceInputs["app"] = args?.app;
|
|
125
126
|
resourceInputs["fileContents"] = args?.fileContents;
|
|
126
127
|
resourceInputs["fileName"] = args?.fileName;
|
|
128
|
+
resourceInputs["filePath"] = args?.filePath;
|
|
127
129
|
resourceInputs["owner"] = args?.owner;
|
|
130
|
+
resourceInputs["fileContentsHash"] = undefined /*out*/;
|
|
128
131
|
}
|
|
129
132
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
130
133
|
super(LookupTableFile.__pulumiType, name, resourceInputs, opts);
|
package/lookupTableFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookupTableFile.js","sourceRoot":"","sources":["../lookupTableFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"lookupTableFile.js","sourceRoot":"","sources":["../lookupTableFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAA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aAC3D;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA5FL,0CA6FC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/splunk",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"description": "A Pulumi package for creating and managing splunk cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "splunk",
|
|
26
|
-
"version": "1.4.
|
|
26
|
+
"version": "1.4.6"
|
|
27
27
|
}
|
|
28
28
|
}
|