pulumi-splunk 1.3.0a1744699028__py3-none-any.whl → 1.3.0a1762412804__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 +2 -2
- pulumi_splunk/_inputs.py +1275 -1276
- pulumi_splunk/_utilities.py +1 -1
- pulumi_splunk/admin_saml_groups.py +37 -37
- pulumi_splunk/apps_local.py +210 -210
- pulumi_splunk/authentication_users.py +156 -156
- pulumi_splunk/authorization_roles.py +224 -224
- pulumi_splunk/config/__init__.py +2 -2
- pulumi_splunk/config/__init__.pyi +3 -5
- pulumi_splunk/config/vars.py +9 -11
- pulumi_splunk/configs_conf.py +40 -40
- pulumi_splunk/data_ui_views.py +40 -40
- pulumi_splunk/generic_acl.py +23 -23
- pulumi_splunk/global_http_event_collector.py +122 -122
- pulumi_splunk/indexes.py +652 -652
- pulumi_splunk/inputs_http_event_collector.py +159 -159
- pulumi_splunk/inputs_monitor.py +261 -261
- pulumi_splunk/inputs_script.py +159 -159
- pulumi_splunk/inputs_tcp_cooked.py +91 -91
- pulumi_splunk/inputs_tcp_raw.py +176 -176
- pulumi_splunk/inputs_tcp_splunk_tcp_token.py +40 -40
- pulumi_splunk/inputs_tcp_ssl.py +88 -88
- pulumi_splunk/inputs_udp.py +193 -193
- pulumi_splunk/lookup_definition.py +40 -40
- pulumi_splunk/lookup_table_file.py +71 -71
- pulumi_splunk/outputs.py +857 -858
- pulumi_splunk/outputs_tcp_default.py +142 -142
- pulumi_splunk/outputs_tcp_group.py +176 -176
- pulumi_splunk/outputs_tcp_server.py +176 -176
- pulumi_splunk/outputs_tcp_syslog.py +125 -125
- pulumi_splunk/provider.py +94 -79
- pulumi_splunk/pulumi-plugin.json +1 -1
- pulumi_splunk/saved_searches.py +3099 -2887
- pulumi_splunk/sh_indexes_manager.py +74 -74
- {pulumi_splunk-1.3.0a1744699028.dist-info → pulumi_splunk-1.3.0a1762412804.dist-info}/METADATA +2 -2
- pulumi_splunk-1.3.0a1762412804.dist-info/RECORD +39 -0
- {pulumi_splunk-1.3.0a1744699028.dist-info → pulumi_splunk-1.3.0a1762412804.dist-info}/WHEEL +1 -1
- pulumi_splunk-1.3.0a1744699028.dist-info/RECORD +0 -39
- {pulumi_splunk-1.3.0a1744699028.dist-info → pulumi_splunk-1.3.0a1762412804.dist-info}/top_level.txt +0 -0
pulumi_splunk/inputs_script.py
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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,25 +357,26 @@ 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
|
|
|
364
|
+
@pulumi.type_token("splunk:index/inputsScript:InputsScript")
|
|
365
365
|
class InputsScript(pulumi.CustomResource):
|
|
366
366
|
@overload
|
|
367
367
|
def __init__(__self__,
|
|
368
368
|
resource_name: str,
|
|
369
369
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
370
370
|
acl: Optional[pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']]] = None,
|
|
371
|
-
disabled: Optional[pulumi.Input[
|
|
372
|
-
host: Optional[pulumi.Input[
|
|
373
|
-
index: Optional[pulumi.Input[
|
|
374
|
-
interval: Optional[pulumi.Input[
|
|
375
|
-
name: Optional[pulumi.Input[
|
|
376
|
-
passauth: Optional[pulumi.Input[
|
|
377
|
-
rename_source: Optional[pulumi.Input[
|
|
378
|
-
source: Optional[pulumi.Input[
|
|
379
|
-
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,
|
|
380
380
|
__props__=None):
|
|
381
381
|
"""
|
|
382
382
|
## # Resource: InputsScript
|
|
@@ -397,16 +397,16 @@ class InputsScript(pulumi.CustomResource):
|
|
|
397
397
|
:param str resource_name: The name of the resource.
|
|
398
398
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
399
399
|
:param pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
400
|
-
:param pulumi.Input[
|
|
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[
|
|
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.
|
|
408
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::'.
|
|
409
|
-
: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.
|
|
410
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.
|
|
411
411
|
"""
|
|
412
412
|
...
|
|
@@ -447,15 +447,15 @@ class InputsScript(pulumi.CustomResource):
|
|
|
447
447
|
resource_name: str,
|
|
448
448
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
449
449
|
acl: Optional[pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']]] = None,
|
|
450
|
-
disabled: Optional[pulumi.Input[
|
|
451
|
-
host: Optional[pulumi.Input[
|
|
452
|
-
index: Optional[pulumi.Input[
|
|
453
|
-
interval: Optional[pulumi.Input[
|
|
454
|
-
name: Optional[pulumi.Input[
|
|
455
|
-
passauth: Optional[pulumi.Input[
|
|
456
|
-
rename_source: Optional[pulumi.Input[
|
|
457
|
-
source: Optional[pulumi.Input[
|
|
458
|
-
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,
|
|
459
459
|
__props__=None):
|
|
460
460
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
461
461
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -488,15 +488,15 @@ class InputsScript(pulumi.CustomResource):
|
|
|
488
488
|
id: pulumi.Input[str],
|
|
489
489
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
490
490
|
acl: Optional[pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']]] = None,
|
|
491
|
-
disabled: Optional[pulumi.Input[
|
|
492
|
-
host: Optional[pulumi.Input[
|
|
493
|
-
index: Optional[pulumi.Input[
|
|
494
|
-
interval: Optional[pulumi.Input[
|
|
495
|
-
name: Optional[pulumi.Input[
|
|
496
|
-
passauth: Optional[pulumi.Input[
|
|
497
|
-
rename_source: Optional[pulumi.Input[
|
|
498
|
-
source: Optional[pulumi.Input[
|
|
499
|
-
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':
|
|
500
500
|
"""
|
|
501
501
|
Get an existing InputsScript resource's state with the given name, id, and optional extra
|
|
502
502
|
properties used to qualify the lookup.
|
|
@@ -505,16 +505,16 @@ class InputsScript(pulumi.CustomResource):
|
|
|
505
505
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
506
506
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
507
507
|
:param pulumi.Input[Union['InputsScriptAclArgs', 'InputsScriptAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
508
|
-
:param pulumi.Input[
|
|
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[
|
|
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.
|
|
516
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::'.
|
|
517
|
-
: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.
|
|
518
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.
|
|
519
519
|
"""
|
|
520
520
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -533,7 +533,7 @@ class InputsScript(pulumi.CustomResource):
|
|
|
533
533
|
__props__.__dict__["sourcetype"] = sourcetype
|
|
534
534
|
return InputsScript(resource_name, opts=opts, __props__=__props__)
|
|
535
535
|
|
|
536
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
537
537
|
@pulumi.getter
|
|
538
538
|
def acl(self) -> pulumi.Output['outputs.InputsScriptAcl']:
|
|
539
539
|
"""
|
|
@@ -541,74 +541,74 @@ class InputsScript(pulumi.CustomResource):
|
|
|
541
541
|
"""
|
|
542
542
|
return pulumi.get(self, "acl")
|
|
543
543
|
|
|
544
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
545
545
|
@pulumi.getter
|
|
546
|
-
def disabled(self) -> pulumi.Output[
|
|
546
|
+
def disabled(self) -> pulumi.Output[_builtins.bool]:
|
|
547
547
|
"""
|
|
548
548
|
Specifies whether the input script is disabled.
|
|
549
549
|
"""
|
|
550
550
|
return pulumi.get(self, "disabled")
|
|
551
551
|
|
|
552
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
553
553
|
@pulumi.getter
|
|
554
|
-
def host(self) -> pulumi.Output[
|
|
554
|
+
def host(self) -> pulumi.Output[_builtins.str]:
|
|
555
555
|
"""
|
|
556
556
|
Sets the host for events from this input. Defaults to whatever host sent the event.
|
|
557
557
|
"""
|
|
558
558
|
return pulumi.get(self, "host")
|
|
559
559
|
|
|
560
|
-
@property
|
|
560
|
+
@_builtins.property
|
|
561
561
|
@pulumi.getter
|
|
562
|
-
def index(self) -> pulumi.Output[
|
|
562
|
+
def index(self) -> pulumi.Output[_builtins.str]:
|
|
563
563
|
"""
|
|
564
564
|
Sets the index for events from this input. Defaults to the main index.
|
|
565
565
|
"""
|
|
566
566
|
return pulumi.get(self, "index")
|
|
567
567
|
|
|
568
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
569
569
|
@pulumi.getter
|
|
570
|
-
def interval(self) -> pulumi.Output[
|
|
570
|
+
def interval(self) -> pulumi.Output[_builtins.int]:
|
|
571
571
|
"""
|
|
572
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.
|
|
573
573
|
"""
|
|
574
574
|
return pulumi.get(self, "interval")
|
|
575
575
|
|
|
576
|
-
@property
|
|
576
|
+
@_builtins.property
|
|
577
577
|
@pulumi.getter
|
|
578
|
-
def name(self) -> pulumi.Output[
|
|
578
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
579
579
|
"""
|
|
580
580
|
Specify the name of the scripted input.
|
|
581
581
|
"""
|
|
582
582
|
return pulumi.get(self, "name")
|
|
583
583
|
|
|
584
|
-
@property
|
|
584
|
+
@_builtins.property
|
|
585
585
|
@pulumi.getter
|
|
586
|
-
def passauth(self) -> pulumi.Output[
|
|
586
|
+
def passauth(self) -> pulumi.Output[_builtins.str]:
|
|
587
587
|
"""
|
|
588
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.
|
|
589
589
|
"""
|
|
590
590
|
return pulumi.get(self, "passauth")
|
|
591
591
|
|
|
592
|
-
@property
|
|
592
|
+
@_builtins.property
|
|
593
593
|
@pulumi.getter(name="renameSource")
|
|
594
|
-
def rename_source(self) -> pulumi.Output[
|
|
594
|
+
def rename_source(self) -> pulumi.Output[_builtins.str]:
|
|
595
595
|
"""
|
|
596
596
|
Specify a new name for the source field for the script.
|
|
597
597
|
"""
|
|
598
598
|
return pulumi.get(self, "rename_source")
|
|
599
599
|
|
|
600
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
601
601
|
@pulumi.getter
|
|
602
|
-
def source(self) -> pulumi.Output[
|
|
602
|
+
def source(self) -> pulumi.Output[_builtins.str]:
|
|
603
603
|
"""
|
|
604
604
|
Sets the source key/field for events from this input. Defaults to the input file path.
|
|
605
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::'.
|
|
606
606
|
"""
|
|
607
607
|
return pulumi.get(self, "source")
|
|
608
608
|
|
|
609
|
-
@property
|
|
609
|
+
@_builtins.property
|
|
610
610
|
@pulumi.getter
|
|
611
|
-
def sourcetype(self) -> pulumi.Output[
|
|
611
|
+
def sourcetype(self) -> pulumi.Output[_builtins.str]:
|
|
612
612
|
"""
|
|
613
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.
|
|
614
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.
|