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