pulumi-splunk 1.3.0a1753339252__py3-none-any.whl → 1.3.0a1753398191__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-splunk might be problematic. Click here for more details.
- pulumi_splunk/__init__.py +1 -1
- pulumi_splunk/_inputs.py +1274 -1275
- pulumi_splunk/admin_saml_groups.py +35 -36
- pulumi_splunk/apps_local.py +208 -209
- pulumi_splunk/authentication_users.py +154 -155
- pulumi_splunk/authorization_roles.py +222 -223
- pulumi_splunk/config/__init__.py +1 -1
- pulumi_splunk/config/__init__.pyi +1 -2
- pulumi_splunk/config/vars.py +7 -8
- pulumi_splunk/configs_conf.py +38 -39
- pulumi_splunk/data_ui_views.py +38 -39
- pulumi_splunk/generic_acl.py +21 -22
- pulumi_splunk/global_http_event_collector.py +120 -121
- pulumi_splunk/indexes.py +650 -651
- pulumi_splunk/inputs_http_event_collector.py +157 -158
- pulumi_splunk/inputs_monitor.py +259 -260
- pulumi_splunk/inputs_script.py +157 -158
- pulumi_splunk/inputs_tcp_cooked.py +89 -90
- pulumi_splunk/inputs_tcp_raw.py +174 -175
- pulumi_splunk/inputs_tcp_splunk_tcp_token.py +38 -39
- pulumi_splunk/inputs_tcp_ssl.py +86 -87
- pulumi_splunk/inputs_udp.py +191 -192
- pulumi_splunk/lookup_definition.py +38 -39
- pulumi_splunk/lookup_table_file.py +69 -70
- pulumi_splunk/outputs.py +856 -857
- pulumi_splunk/outputs_tcp_default.py +140 -141
- pulumi_splunk/outputs_tcp_group.py +174 -175
- pulumi_splunk/outputs_tcp_server.py +174 -175
- pulumi_splunk/outputs_tcp_syslog.py +123 -124
- pulumi_splunk/provider.py +58 -59
- pulumi_splunk/pulumi-plugin.json +1 -1
- pulumi_splunk/saved_searches.py +2803 -2804
- pulumi_splunk/sh_indexes_manager.py +72 -73
- {pulumi_splunk-1.3.0a1753339252.dist-info → pulumi_splunk-1.3.0a1753398191.dist-info}/METADATA +1 -1
- pulumi_splunk-1.3.0a1753398191.dist-info/RECORD +39 -0
- pulumi_splunk-1.3.0a1753339252.dist-info/RECORD +0 -39
- {pulumi_splunk-1.3.0a1753339252.dist-info → pulumi_splunk-1.3.0a1753398191.dist-info}/WHEEL +0 -0
- {pulumi_splunk-1.3.0a1753339252.dist-info → pulumi_splunk-1.3.0a1753398191.dist-info}/top_level.txt +0 -0
pulumi_splunk/inputs_script.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,29 +21,29 @@ __all__ = ['InputsScriptArgs', 'InputsScript']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class InputsScriptArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
interval: pulumi.Input[
|
|
24
|
+
interval: pulumi.Input[_builtins.int],
|
|
26
25
|
acl: Optional[pulumi.Input['InputsScriptAclArgs']] = None,
|
|
27
|
-
disabled: Optional[pulumi.Input[
|
|
28
|
-
host: Optional[pulumi.Input[
|
|
29
|
-
index: Optional[pulumi.Input[
|
|
30
|
-
name: Optional[pulumi.Input[
|
|
31
|
-
passauth: Optional[pulumi.Input[
|
|
32
|
-
rename_source: Optional[pulumi.Input[
|
|
33
|
-
source: Optional[pulumi.Input[
|
|
34
|
-
sourcetype: Optional[pulumi.Input[
|
|
26
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
passauth: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None):
|
|
35
34
|
"""
|
|
36
35
|
The set of arguments for constructing a InputsScript resource.
|
|
37
|
-
:param pulumi.Input[
|
|
36
|
+
:param pulumi.Input[_builtins.int] interval: Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up.
|
|
38
37
|
:param pulumi.Input['InputsScriptAclArgs'] acl: The app/user context that is the namespace for the resource
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
38
|
+
:param pulumi.Input[_builtins.bool] disabled: Specifies whether the input script is disabled.
|
|
39
|
+
:param pulumi.Input[_builtins.str] host: Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
40
|
+
:param pulumi.Input[_builtins.str] index: Sets the index for events from this input. Defaults to the main index.
|
|
41
|
+
:param pulumi.Input[_builtins.str] name: Specify the name of the scripted input.
|
|
42
|
+
:param pulumi.Input[_builtins.str] passauth: User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script.
|
|
43
|
+
:param pulumi.Input[_builtins.str] rename_source: Specify a new name for the source field for the script.
|
|
44
|
+
:param pulumi.Input[_builtins.str] source: Sets the source key/field for events from this input. Defaults to the input file path.
|
|
46
45
|
Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'.
|
|
47
|
-
:param pulumi.Input[
|
|
46
|
+
:param pulumi.Input[_builtins.str] sourcetype: Sets the sourcetype key/field for events from this input. If unset, Splunk software picks a source type based on various aspects of the data. As a convenience, the chosen string is prepended with 'sourcetype::'. There is no hard-coded default.
|
|
48
47
|
Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time.
|
|
49
48
|
"""
|
|
50
49
|
pulumi.set(__self__, "interval", interval)
|
|
@@ -67,19 +66,19 @@ class InputsScriptArgs:
|
|
|
67
66
|
if sourcetype is not None:
|
|
68
67
|
pulumi.set(__self__, "sourcetype", sourcetype)
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
|
-
def interval(self) -> pulumi.Input[
|
|
71
|
+
def interval(self) -> pulumi.Input[_builtins.int]:
|
|
73
72
|
"""
|
|
74
73
|
Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up.
|
|
75
74
|
"""
|
|
76
75
|
return pulumi.get(self, "interval")
|
|
77
76
|
|
|
78
77
|
@interval.setter
|
|
79
|
-
def interval(self, value: pulumi.Input[
|
|
78
|
+
def interval(self, value: pulumi.Input[_builtins.int]):
|
|
80
79
|
pulumi.set(self, "interval", value)
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter
|
|
84
83
|
def acl(self) -> Optional[pulumi.Input['InputsScriptAclArgs']]:
|
|
85
84
|
"""
|
|
@@ -91,81 +90,81 @@ class InputsScriptArgs:
|
|
|
91
90
|
def acl(self, value: Optional[pulumi.Input['InputsScriptAclArgs']]):
|
|
92
91
|
pulumi.set(self, "acl", value)
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter
|
|
96
|
-
def disabled(self) -> Optional[pulumi.Input[
|
|
95
|
+
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
97
96
|
"""
|
|
98
97
|
Specifies whether the input script is disabled.
|
|
99
98
|
"""
|
|
100
99
|
return pulumi.get(self, "disabled")
|
|
101
100
|
|
|
102
101
|
@disabled.setter
|
|
103
|
-
def disabled(self, value: Optional[pulumi.Input[
|
|
102
|
+
def disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
104
103
|
pulumi.set(self, "disabled", value)
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
@pulumi.getter
|
|
108
|
-
def host(self) -> Optional[pulumi.Input[
|
|
107
|
+
def host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
109
108
|
"""
|
|
110
109
|
Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
111
110
|
"""
|
|
112
111
|
return pulumi.get(self, "host")
|
|
113
112
|
|
|
114
113
|
@host.setter
|
|
115
|
-
def host(self, value: Optional[pulumi.Input[
|
|
114
|
+
def host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
116
115
|
pulumi.set(self, "host", value)
|
|
117
116
|
|
|
118
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
119
118
|
@pulumi.getter
|
|
120
|
-
def index(self) -> Optional[pulumi.Input[
|
|
119
|
+
def index(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
121
120
|
"""
|
|
122
121
|
Sets the index for events from this input. Defaults to the main index.
|
|
123
122
|
"""
|
|
124
123
|
return pulumi.get(self, "index")
|
|
125
124
|
|
|
126
125
|
@index.setter
|
|
127
|
-
def index(self, value: Optional[pulumi.Input[
|
|
126
|
+
def index(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
128
127
|
pulumi.set(self, "index", value)
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
@pulumi.getter
|
|
132
|
-
def name(self) -> Optional[pulumi.Input[
|
|
131
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
133
132
|
"""
|
|
134
133
|
Specify the name of the scripted input.
|
|
135
134
|
"""
|
|
136
135
|
return pulumi.get(self, "name")
|
|
137
136
|
|
|
138
137
|
@name.setter
|
|
139
|
-
def name(self, value: Optional[pulumi.Input[
|
|
138
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
140
139
|
pulumi.set(self, "name", value)
|
|
141
140
|
|
|
142
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
143
142
|
@pulumi.getter
|
|
144
|
-
def passauth(self) -> Optional[pulumi.Input[
|
|
143
|
+
def passauth(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
145
144
|
"""
|
|
146
145
|
User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script.
|
|
147
146
|
"""
|
|
148
147
|
return pulumi.get(self, "passauth")
|
|
149
148
|
|
|
150
149
|
@passauth.setter
|
|
151
|
-
def passauth(self, value: Optional[pulumi.Input[
|
|
150
|
+
def passauth(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
152
151
|
pulumi.set(self, "passauth", value)
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter(name="renameSource")
|
|
156
|
-
def rename_source(self) -> Optional[pulumi.Input[
|
|
155
|
+
def rename_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
156
|
"""
|
|
158
157
|
Specify a new name for the source field for the script.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "rename_source")
|
|
161
160
|
|
|
162
161
|
@rename_source.setter
|
|
163
|
-
def rename_source(self, value: Optional[pulumi.Input[
|
|
162
|
+
def rename_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
163
|
pulumi.set(self, "rename_source", value)
|
|
165
164
|
|
|
166
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
167
166
|
@pulumi.getter
|
|
168
|
-
def source(self) -> Optional[pulumi.Input[
|
|
167
|
+
def source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
169
168
|
"""
|
|
170
169
|
Sets the source key/field for events from this input. Defaults to the input file path.
|
|
171
170
|
Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'.
|
|
@@ -173,12 +172,12 @@ class InputsScriptArgs:
|
|
|
173
172
|
return pulumi.get(self, "source")
|
|
174
173
|
|
|
175
174
|
@source.setter
|
|
176
|
-
def source(self, value: Optional[pulumi.Input[
|
|
175
|
+
def source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
177
176
|
pulumi.set(self, "source", value)
|
|
178
177
|
|
|
179
|
-
@property
|
|
178
|
+
@_builtins.property
|
|
180
179
|
@pulumi.getter
|
|
181
|
-
def sourcetype(self) -> Optional[pulumi.Input[
|
|
180
|
+
def sourcetype(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
182
181
|
"""
|
|
183
182
|
Sets the sourcetype key/field for events from this input. If unset, Splunk software picks a source type based on various aspects of the data. As a convenience, the chosen string is prepended with 'sourcetype::'. There is no hard-coded default.
|
|
184
183
|
Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time.
|
|
@@ -186,7 +185,7 @@ class InputsScriptArgs:
|
|
|
186
185
|
return pulumi.get(self, "sourcetype")
|
|
187
186
|
|
|
188
187
|
@sourcetype.setter
|
|
189
|
-
def sourcetype(self, value: Optional[pulumi.Input[
|
|
188
|
+
def sourcetype(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
190
189
|
pulumi.set(self, "sourcetype", value)
|
|
191
190
|
|
|
192
191
|
|
|
@@ -194,28 +193,28 @@ class InputsScriptArgs:
|
|
|
194
193
|
class _InputsScriptState:
|
|
195
194
|
def __init__(__self__, *,
|
|
196
195
|
acl: Optional[pulumi.Input['InputsScriptAclArgs']] = None,
|
|
197
|
-
disabled: Optional[pulumi.Input[
|
|
198
|
-
host: Optional[pulumi.Input[
|
|
199
|
-
index: Optional[pulumi.Input[
|
|
200
|
-
interval: Optional[pulumi.Input[
|
|
201
|
-
name: Optional[pulumi.Input[
|
|
202
|
-
passauth: Optional[pulumi.Input[
|
|
203
|
-
rename_source: Optional[pulumi.Input[
|
|
204
|
-
source: Optional[pulumi.Input[
|
|
205
|
-
sourcetype: Optional[pulumi.Input[
|
|
196
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
197
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
199
|
+
interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
200
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
201
|
+
passauth: Optional[pulumi.Input[_builtins.str]] = None,
|
|
202
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
|
+
source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
204
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None):
|
|
206
205
|
"""
|
|
207
206
|
Input properties used for looking up and filtering InputsScript resources.
|
|
208
207
|
:param pulumi.Input['InputsScriptAclArgs'] acl: The app/user context that is the namespace for the resource
|
|
209
|
-
:param pulumi.Input[
|
|
210
|
-
:param pulumi.Input[
|
|
211
|
-
:param pulumi.Input[
|
|
212
|
-
:param pulumi.Input[
|
|
213
|
-
:param pulumi.Input[
|
|
214
|
-
:param pulumi.Input[
|
|
215
|
-
:param pulumi.Input[
|
|
216
|
-
:param pulumi.Input[
|
|
208
|
+
:param pulumi.Input[_builtins.bool] disabled: Specifies whether the input script is disabled.
|
|
209
|
+
:param pulumi.Input[_builtins.str] host: Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
210
|
+
:param pulumi.Input[_builtins.str] index: Sets the index for events from this input. Defaults to the main index.
|
|
211
|
+
:param pulumi.Input[_builtins.int] interval: Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up.
|
|
212
|
+
:param pulumi.Input[_builtins.str] name: Specify the name of the scripted input.
|
|
213
|
+
:param pulumi.Input[_builtins.str] passauth: User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script.
|
|
214
|
+
:param pulumi.Input[_builtins.str] rename_source: Specify a new name for the source field for the script.
|
|
215
|
+
:param pulumi.Input[_builtins.str] source: Sets the source key/field for events from this input. Defaults to the input file path.
|
|
217
216
|
Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'.
|
|
218
|
-
:param pulumi.Input[
|
|
217
|
+
:param pulumi.Input[_builtins.str] sourcetype: Sets the sourcetype key/field for events from this input. If unset, Splunk software picks a source type based on various aspects of the data. As a convenience, the chosen string is prepended with 'sourcetype::'. There is no hard-coded default.
|
|
219
218
|
Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time.
|
|
220
219
|
"""
|
|
221
220
|
if acl is not None:
|
|
@@ -239,7 +238,7 @@ class _InputsScriptState:
|
|
|
239
238
|
if sourcetype is not None:
|
|
240
239
|
pulumi.set(__self__, "sourcetype", sourcetype)
|
|
241
240
|
|
|
242
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
243
242
|
@pulumi.getter
|
|
244
243
|
def acl(self) -> Optional[pulumi.Input['InputsScriptAclArgs']]:
|
|
245
244
|
"""
|
|
@@ -251,93 +250,93 @@ class _InputsScriptState:
|
|
|
251
250
|
def acl(self, value: Optional[pulumi.Input['InputsScriptAclArgs']]):
|
|
252
251
|
pulumi.set(self, "acl", value)
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter
|
|
256
|
-
def disabled(self) -> Optional[pulumi.Input[
|
|
255
|
+
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
257
256
|
"""
|
|
258
257
|
Specifies whether the input script is disabled.
|
|
259
258
|
"""
|
|
260
259
|
return pulumi.get(self, "disabled")
|
|
261
260
|
|
|
262
261
|
@disabled.setter
|
|
263
|
-
def disabled(self, value: Optional[pulumi.Input[
|
|
262
|
+
def disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
264
263
|
pulumi.set(self, "disabled", value)
|
|
265
264
|
|
|
266
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
267
266
|
@pulumi.getter
|
|
268
|
-
def host(self) -> Optional[pulumi.Input[
|
|
267
|
+
def host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
269
268
|
"""
|
|
270
269
|
Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
271
270
|
"""
|
|
272
271
|
return pulumi.get(self, "host")
|
|
273
272
|
|
|
274
273
|
@host.setter
|
|
275
|
-
def host(self, value: Optional[pulumi.Input[
|
|
274
|
+
def host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
276
275
|
pulumi.set(self, "host", value)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter
|
|
280
|
-
def index(self) -> Optional[pulumi.Input[
|
|
279
|
+
def index(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
281
280
|
"""
|
|
282
281
|
Sets the index for events from this input. Defaults to the main index.
|
|
283
282
|
"""
|
|
284
283
|
return pulumi.get(self, "index")
|
|
285
284
|
|
|
286
285
|
@index.setter
|
|
287
|
-
def index(self, value: Optional[pulumi.Input[
|
|
286
|
+
def index(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
288
287
|
pulumi.set(self, "index", value)
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
@pulumi.getter
|
|
292
|
-
def interval(self) -> Optional[pulumi.Input[
|
|
291
|
+
def interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
293
292
|
"""
|
|
294
293
|
Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up.
|
|
295
294
|
"""
|
|
296
295
|
return pulumi.get(self, "interval")
|
|
297
296
|
|
|
298
297
|
@interval.setter
|
|
299
|
-
def interval(self, value: Optional[pulumi.Input[
|
|
298
|
+
def interval(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
300
299
|
pulumi.set(self, "interval", value)
|
|
301
300
|
|
|
302
|
-
@property
|
|
301
|
+
@_builtins.property
|
|
303
302
|
@pulumi.getter
|
|
304
|
-
def name(self) -> Optional[pulumi.Input[
|
|
303
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
305
304
|
"""
|
|
306
305
|
Specify the name of the scripted input.
|
|
307
306
|
"""
|
|
308
307
|
return pulumi.get(self, "name")
|
|
309
308
|
|
|
310
309
|
@name.setter
|
|
311
|
-
def name(self, value: Optional[pulumi.Input[
|
|
310
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
312
311
|
pulumi.set(self, "name", value)
|
|
313
312
|
|
|
314
|
-
@property
|
|
313
|
+
@_builtins.property
|
|
315
314
|
@pulumi.getter
|
|
316
|
-
def passauth(self) -> Optional[pulumi.Input[
|
|
315
|
+
def passauth(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
317
316
|
"""
|
|
318
317
|
User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script.
|
|
319
318
|
"""
|
|
320
319
|
return pulumi.get(self, "passauth")
|
|
321
320
|
|
|
322
321
|
@passauth.setter
|
|
323
|
-
def passauth(self, value: Optional[pulumi.Input[
|
|
322
|
+
def passauth(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
324
323
|
pulumi.set(self, "passauth", value)
|
|
325
324
|
|
|
326
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
327
326
|
@pulumi.getter(name="renameSource")
|
|
328
|
-
def rename_source(self) -> Optional[pulumi.Input[
|
|
327
|
+
def rename_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
329
328
|
"""
|
|
330
329
|
Specify a new name for the source field for the script.
|
|
331
330
|
"""
|
|
332
331
|
return pulumi.get(self, "rename_source")
|
|
333
332
|
|
|
334
333
|
@rename_source.setter
|
|
335
|
-
def rename_source(self, value: Optional[pulumi.Input[
|
|
334
|
+
def rename_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
336
335
|
pulumi.set(self, "rename_source", value)
|
|
337
336
|
|
|
338
|
-
@property
|
|
337
|
+
@_builtins.property
|
|
339
338
|
@pulumi.getter
|
|
340
|
-
def source(self) -> Optional[pulumi.Input[
|
|
339
|
+
def source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
341
340
|
"""
|
|
342
341
|
Sets the source key/field for events from this input. Defaults to the input file path.
|
|
343
342
|
Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'.
|
|
@@ -345,12 +344,12 @@ class _InputsScriptState:
|
|
|
345
344
|
return pulumi.get(self, "source")
|
|
346
345
|
|
|
347
346
|
@source.setter
|
|
348
|
-
def source(self, value: Optional[pulumi.Input[
|
|
347
|
+
def source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
349
348
|
pulumi.set(self, "source", value)
|
|
350
349
|
|
|
351
|
-
@property
|
|
350
|
+
@_builtins.property
|
|
352
351
|
@pulumi.getter
|
|
353
|
-
def sourcetype(self) -> Optional[pulumi.Input[
|
|
352
|
+
def sourcetype(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
354
353
|
"""
|
|
355
354
|
Sets the sourcetype key/field for events from this input. If unset, Splunk software picks a source type based on various aspects of the data. As a convenience, the chosen string is prepended with 'sourcetype::'. There is no hard-coded default.
|
|
356
355
|
Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time.
|
|
@@ -358,7 +357,7 @@ class _InputsScriptState:
|
|
|
358
357
|
return pulumi.get(self, "sourcetype")
|
|
359
358
|
|
|
360
359
|
@sourcetype.setter
|
|
361
|
-
def sourcetype(self, value: Optional[pulumi.Input[
|
|
360
|
+
def sourcetype(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
362
361
|
pulumi.set(self, "sourcetype", value)
|
|
363
362
|
|
|
364
363
|
|
|
@@ -369,15 +368,15 @@ class InputsScript(pulumi.CustomResource):
|
|
|
369
368
|
resource_name: str,
|
|
370
369
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
371
370
|
acl: Optional[pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']]] = None,
|
|
372
|
-
disabled: Optional[pulumi.Input[
|
|
373
|
-
host: Optional[pulumi.Input[
|
|
374
|
-
index: Optional[pulumi.Input[
|
|
375
|
-
interval: Optional[pulumi.Input[
|
|
376
|
-
name: Optional[pulumi.Input[
|
|
377
|
-
passauth: Optional[pulumi.Input[
|
|
378
|
-
rename_source: Optional[pulumi.Input[
|
|
379
|
-
source: Optional[pulumi.Input[
|
|
380
|
-
sourcetype: Optional[pulumi.Input[
|
|
371
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
372
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
373
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
374
|
+
interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
375
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
376
|
+
passauth: Optional[pulumi.Input[_builtins.str]] = None,
|
|
377
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
378
|
+
source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
379
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
|
381
380
|
__props__=None):
|
|
382
381
|
"""
|
|
383
382
|
## # Resource: InputsScript
|
|
@@ -398,16 +397,16 @@ class InputsScript(pulumi.CustomResource):
|
|
|
398
397
|
:param str resource_name: The name of the resource.
|
|
399
398
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
400
399
|
:param pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
401
|
-
:param pulumi.Input[
|
|
402
|
-
:param pulumi.Input[
|
|
403
|
-
:param pulumi.Input[
|
|
404
|
-
:param pulumi.Input[
|
|
405
|
-
:param pulumi.Input[
|
|
406
|
-
:param pulumi.Input[
|
|
407
|
-
:param pulumi.Input[
|
|
408
|
-
:param pulumi.Input[
|
|
400
|
+
:param pulumi.Input[_builtins.bool] disabled: Specifies whether the input script is disabled.
|
|
401
|
+
:param pulumi.Input[_builtins.str] host: Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
402
|
+
:param pulumi.Input[_builtins.str] index: Sets the index for events from this input. Defaults to the main index.
|
|
403
|
+
:param pulumi.Input[_builtins.int] interval: Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up.
|
|
404
|
+
:param pulumi.Input[_builtins.str] name: Specify the name of the scripted input.
|
|
405
|
+
:param pulumi.Input[_builtins.str] passauth: User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script.
|
|
406
|
+
:param pulumi.Input[_builtins.str] rename_source: Specify a new name for the source field for the script.
|
|
407
|
+
:param pulumi.Input[_builtins.str] source: Sets the source key/field for events from this input. Defaults to the input file path.
|
|
409
408
|
Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'.
|
|
410
|
-
:param pulumi.Input[
|
|
409
|
+
:param pulumi.Input[_builtins.str] sourcetype: Sets the sourcetype key/field for events from this input. If unset, Splunk software picks a source type based on various aspects of the data. As a convenience, the chosen string is prepended with 'sourcetype::'. There is no hard-coded default.
|
|
411
410
|
Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time.
|
|
412
411
|
"""
|
|
413
412
|
...
|
|
@@ -448,15 +447,15 @@ class InputsScript(pulumi.CustomResource):
|
|
|
448
447
|
resource_name: str,
|
|
449
448
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
450
449
|
acl: Optional[pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']]] = None,
|
|
451
|
-
disabled: Optional[pulumi.Input[
|
|
452
|
-
host: Optional[pulumi.Input[
|
|
453
|
-
index: Optional[pulumi.Input[
|
|
454
|
-
interval: Optional[pulumi.Input[
|
|
455
|
-
name: Optional[pulumi.Input[
|
|
456
|
-
passauth: Optional[pulumi.Input[
|
|
457
|
-
rename_source: Optional[pulumi.Input[
|
|
458
|
-
source: Optional[pulumi.Input[
|
|
459
|
-
sourcetype: Optional[pulumi.Input[
|
|
450
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
451
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
453
|
+
interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
454
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
455
|
+
passauth: Optional[pulumi.Input[_builtins.str]] = None,
|
|
456
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
457
|
+
source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
458
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
|
460
459
|
__props__=None):
|
|
461
460
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
462
461
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -489,15 +488,15 @@ class InputsScript(pulumi.CustomResource):
|
|
|
489
488
|
id: pulumi.Input[str],
|
|
490
489
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
491
490
|
acl: Optional[pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']]] = None,
|
|
492
|
-
disabled: Optional[pulumi.Input[
|
|
493
|
-
host: Optional[pulumi.Input[
|
|
494
|
-
index: Optional[pulumi.Input[
|
|
495
|
-
interval: Optional[pulumi.Input[
|
|
496
|
-
name: Optional[pulumi.Input[
|
|
497
|
-
passauth: Optional[pulumi.Input[
|
|
498
|
-
rename_source: Optional[pulumi.Input[
|
|
499
|
-
source: Optional[pulumi.Input[
|
|
500
|
-
sourcetype: Optional[pulumi.Input[
|
|
491
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
492
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
493
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
494
|
+
interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
495
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
496
|
+
passauth: Optional[pulumi.Input[_builtins.str]] = None,
|
|
497
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
498
|
+
source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
499
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None) -> 'InputsScript':
|
|
501
500
|
"""
|
|
502
501
|
Get an existing InputsScript resource's state with the given name, id, and optional extra
|
|
503
502
|
properties used to qualify the lookup.
|
|
@@ -506,16 +505,16 @@ class InputsScript(pulumi.CustomResource):
|
|
|
506
505
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
507
506
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
508
507
|
:param pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
509
|
-
:param pulumi.Input[
|
|
510
|
-
:param pulumi.Input[
|
|
511
|
-
:param pulumi.Input[
|
|
512
|
-
:param pulumi.Input[
|
|
513
|
-
:param pulumi.Input[
|
|
514
|
-
:param pulumi.Input[
|
|
515
|
-
:param pulumi.Input[
|
|
516
|
-
:param pulumi.Input[
|
|
508
|
+
:param pulumi.Input[_builtins.bool] disabled: Specifies whether the input script is disabled.
|
|
509
|
+
:param pulumi.Input[_builtins.str] host: Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
510
|
+
:param pulumi.Input[_builtins.str] index: Sets the index for events from this input. Defaults to the main index.
|
|
511
|
+
:param pulumi.Input[_builtins.int] interval: Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up.
|
|
512
|
+
:param pulumi.Input[_builtins.str] name: Specify the name of the scripted input.
|
|
513
|
+
:param pulumi.Input[_builtins.str] passauth: User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script.
|
|
514
|
+
:param pulumi.Input[_builtins.str] rename_source: Specify a new name for the source field for the script.
|
|
515
|
+
:param pulumi.Input[_builtins.str] source: Sets the source key/field for events from this input. Defaults to the input file path.
|
|
517
516
|
Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'.
|
|
518
|
-
:param pulumi.Input[
|
|
517
|
+
:param pulumi.Input[_builtins.str] sourcetype: Sets the sourcetype key/field for events from this input. If unset, Splunk software picks a source type based on various aspects of the data. As a convenience, the chosen string is prepended with 'sourcetype::'. There is no hard-coded default.
|
|
519
518
|
Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time.
|
|
520
519
|
"""
|
|
521
520
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -534,7 +533,7 @@ class InputsScript(pulumi.CustomResource):
|
|
|
534
533
|
__props__.__dict__["sourcetype"] = sourcetype
|
|
535
534
|
return InputsScript(resource_name, opts=opts, __props__=__props__)
|
|
536
535
|
|
|
537
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
538
537
|
@pulumi.getter
|
|
539
538
|
def acl(self) -> pulumi.Output['outputs.InputsScriptAcl']:
|
|
540
539
|
"""
|
|
@@ -542,74 +541,74 @@ class InputsScript(pulumi.CustomResource):
|
|
|
542
541
|
"""
|
|
543
542
|
return pulumi.get(self, "acl")
|
|
544
543
|
|
|
545
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
546
545
|
@pulumi.getter
|
|
547
|
-
def disabled(self) -> pulumi.Output[
|
|
546
|
+
def disabled(self) -> pulumi.Output[_builtins.bool]:
|
|
548
547
|
"""
|
|
549
548
|
Specifies whether the input script is disabled.
|
|
550
549
|
"""
|
|
551
550
|
return pulumi.get(self, "disabled")
|
|
552
551
|
|
|
553
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
554
553
|
@pulumi.getter
|
|
555
|
-
def host(self) -> pulumi.Output[
|
|
554
|
+
def host(self) -> pulumi.Output[_builtins.str]:
|
|
556
555
|
"""
|
|
557
556
|
Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
558
557
|
"""
|
|
559
558
|
return pulumi.get(self, "host")
|
|
560
559
|
|
|
561
|
-
@property
|
|
560
|
+
@_builtins.property
|
|
562
561
|
@pulumi.getter
|
|
563
|
-
def index(self) -> pulumi.Output[
|
|
562
|
+
def index(self) -> pulumi.Output[_builtins.str]:
|
|
564
563
|
"""
|
|
565
564
|
Sets the index for events from this input. Defaults to the main index.
|
|
566
565
|
"""
|
|
567
566
|
return pulumi.get(self, "index")
|
|
568
567
|
|
|
569
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
570
569
|
@pulumi.getter
|
|
571
|
-
def interval(self) -> pulumi.Output[
|
|
570
|
+
def interval(self) -> pulumi.Output[_builtins.int]:
|
|
572
571
|
"""
|
|
573
572
|
Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up.
|
|
574
573
|
"""
|
|
575
574
|
return pulumi.get(self, "interval")
|
|
576
575
|
|
|
577
|
-
@property
|
|
576
|
+
@_builtins.property
|
|
578
577
|
@pulumi.getter
|
|
579
|
-
def name(self) -> pulumi.Output[
|
|
578
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
580
579
|
"""
|
|
581
580
|
Specify the name of the scripted input.
|
|
582
581
|
"""
|
|
583
582
|
return pulumi.get(self, "name")
|
|
584
583
|
|
|
585
|
-
@property
|
|
584
|
+
@_builtins.property
|
|
586
585
|
@pulumi.getter
|
|
587
|
-
def passauth(self) -> pulumi.Output[
|
|
586
|
+
def passauth(self) -> pulumi.Output[_builtins.str]:
|
|
588
587
|
"""
|
|
589
588
|
User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script.
|
|
590
589
|
"""
|
|
591
590
|
return pulumi.get(self, "passauth")
|
|
592
591
|
|
|
593
|
-
@property
|
|
592
|
+
@_builtins.property
|
|
594
593
|
@pulumi.getter(name="renameSource")
|
|
595
|
-
def rename_source(self) -> pulumi.Output[
|
|
594
|
+
def rename_source(self) -> pulumi.Output[_builtins.str]:
|
|
596
595
|
"""
|
|
597
596
|
Specify a new name for the source field for the script.
|
|
598
597
|
"""
|
|
599
598
|
return pulumi.get(self, "rename_source")
|
|
600
599
|
|
|
601
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
602
601
|
@pulumi.getter
|
|
603
|
-
def source(self) -> pulumi.Output[
|
|
602
|
+
def source(self) -> pulumi.Output[_builtins.str]:
|
|
604
603
|
"""
|
|
605
604
|
Sets the source key/field for events from this input. Defaults to the input file path.
|
|
606
605
|
Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'.
|
|
607
606
|
"""
|
|
608
607
|
return pulumi.get(self, "source")
|
|
609
608
|
|
|
610
|
-
@property
|
|
609
|
+
@_builtins.property
|
|
611
610
|
@pulumi.getter
|
|
612
|
-
def sourcetype(self) -> pulumi.Output[
|
|
611
|
+
def sourcetype(self) -> pulumi.Output[_builtins.str]:
|
|
613
612
|
"""
|
|
614
613
|
Sets the sourcetype key/field for events from this input. If unset, Splunk software picks a source type based on various aspects of the data. As a convenience, the chosen string is prepended with 'sourcetype::'. There is no hard-coded default.
|
|
615
614
|
Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time.
|