pulumi-splunk 1.3.0a1743575469__py3-none-any.whl → 1.3.0a1744439456__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.

Files changed (38) hide show
  1. pulumi_splunk/__init__.py +1 -0
  2. pulumi_splunk/_inputs.py +1065 -1064
  3. pulumi_splunk/admin_saml_groups.py +29 -28
  4. pulumi_splunk/apps_local.py +169 -168
  5. pulumi_splunk/authentication_users.py +127 -126
  6. pulumi_splunk/authorization_roles.py +183 -182
  7. pulumi_splunk/config/__init__.py +1 -0
  8. pulumi_splunk/config/__init__.pyi +1 -0
  9. pulumi_splunk/config/vars.py +1 -0
  10. pulumi_splunk/configs_conf.py +29 -28
  11. pulumi_splunk/data_ui_views.py +29 -28
  12. pulumi_splunk/generic_acl.py +15 -14
  13. pulumi_splunk/global_http_event_collector.py +99 -98
  14. pulumi_splunk/indexes.py +533 -532
  15. pulumi_splunk/inputs_http_event_collector.py +127 -126
  16. pulumi_splunk/inputs_monitor.py +211 -210
  17. pulumi_splunk/inputs_script.py +127 -126
  18. pulumi_splunk/inputs_tcp_cooked.py +71 -70
  19. pulumi_splunk/inputs_tcp_raw.py +141 -140
  20. pulumi_splunk/inputs_tcp_splunk_tcp_token.py +29 -28
  21. pulumi_splunk/inputs_tcp_ssl.py +71 -70
  22. pulumi_splunk/inputs_udp.py +155 -154
  23. pulumi_splunk/lookup_definition.py +29 -28
  24. pulumi_splunk/lookup_table_file.py +57 -56
  25. pulumi_splunk/outputs.py +647 -646
  26. pulumi_splunk/outputs_tcp_default.py +113 -112
  27. pulumi_splunk/outputs_tcp_group.py +141 -140
  28. pulumi_splunk/outputs_tcp_server.py +141 -140
  29. pulumi_splunk/outputs_tcp_syslog.py +99 -98
  30. pulumi_splunk/provider.py +47 -46
  31. pulumi_splunk/pulumi-plugin.json +1 -1
  32. pulumi_splunk/saved_searches.py +2304 -2303
  33. pulumi_splunk/sh_indexes_manager.py +57 -56
  34. {pulumi_splunk-1.3.0a1743575469.dist-info → pulumi_splunk-1.3.0a1744439456.dist-info}/METADATA +1 -1
  35. pulumi_splunk-1.3.0a1744439456.dist-info/RECORD +39 -0
  36. pulumi_splunk-1.3.0a1743575469.dist-info/RECORD +0 -39
  37. {pulumi_splunk-1.3.0a1743575469.dist-info → pulumi_splunk-1.3.0a1744439456.dist-info}/WHEEL +0 -0
  38. {pulumi_splunk-1.3.0a1743575469.dist-info → pulumi_splunk-1.3.0a1744439456.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,29 +22,29 @@ __all__ = ['InputsScriptArgs', 'InputsScript']
21
22
  @pulumi.input_type
22
23
  class InputsScriptArgs:
23
24
  def __init__(__self__, *,
24
- interval: pulumi.Input[int],
25
+ interval: pulumi.Input[builtins.int],
25
26
  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):
27
+ disabled: Optional[pulumi.Input[builtins.bool]] = None,
28
+ host: Optional[pulumi.Input[builtins.str]] = None,
29
+ index: Optional[pulumi.Input[builtins.str]] = None,
30
+ name: Optional[pulumi.Input[builtins.str]] = None,
31
+ passauth: Optional[pulumi.Input[builtins.str]] = None,
32
+ rename_source: Optional[pulumi.Input[builtins.str]] = None,
33
+ source: Optional[pulumi.Input[builtins.str]] = None,
34
+ sourcetype: Optional[pulumi.Input[builtins.str]] = None):
34
35
  """
35
36
  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.
37
+ :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
38
  :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.
39
+ :param pulumi.Input[builtins.bool] disabled: Specifies whether the input script is disabled.
40
+ :param pulumi.Input[builtins.str] host: Sets the host for events from this input. Defaults to whatever host sent the event.
41
+ :param pulumi.Input[builtins.str] index: Sets the index for events from this input. Defaults to the main index.
42
+ :param pulumi.Input[builtins.str] name: Specify the name of the scripted input.
43
+ :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.
44
+ :param pulumi.Input[builtins.str] rename_source: Specify a new name for the source field for the script.
45
+ :param pulumi.Input[builtins.str] source: Sets the source key/field for events from this input. Defaults to the input file path.
45
46
  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.
47
+ :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
48
  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
49
  """
49
50
  pulumi.set(__self__, "interval", interval)
@@ -68,14 +69,14 @@ class InputsScriptArgs:
68
69
 
69
70
  @property
70
71
  @pulumi.getter
71
- def interval(self) -> pulumi.Input[int]:
72
+ def interval(self) -> pulumi.Input[builtins.int]:
72
73
  """
73
74
  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
75
  """
75
76
  return pulumi.get(self, "interval")
76
77
 
77
78
  @interval.setter
78
- def interval(self, value: pulumi.Input[int]):
79
+ def interval(self, value: pulumi.Input[builtins.int]):
79
80
  pulumi.set(self, "interval", value)
80
81
 
81
82
  @property
@@ -92,79 +93,79 @@ class InputsScriptArgs:
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def disabled(self) -> Optional[pulumi.Input[bool]]:
96
+ def disabled(self) -> Optional[pulumi.Input[builtins.bool]]:
96
97
  """
97
98
  Specifies whether the input script is disabled.
98
99
  """
99
100
  return pulumi.get(self, "disabled")
100
101
 
101
102
  @disabled.setter
102
- def disabled(self, value: Optional[pulumi.Input[bool]]):
103
+ def disabled(self, value: Optional[pulumi.Input[builtins.bool]]):
103
104
  pulumi.set(self, "disabled", value)
104
105
 
105
106
  @property
106
107
  @pulumi.getter
107
- def host(self) -> Optional[pulumi.Input[str]]:
108
+ def host(self) -> Optional[pulumi.Input[builtins.str]]:
108
109
  """
109
110
  Sets the host for events from this input. Defaults to whatever host sent the event.
110
111
  """
111
112
  return pulumi.get(self, "host")
112
113
 
113
114
  @host.setter
114
- def host(self, value: Optional[pulumi.Input[str]]):
115
+ def host(self, value: Optional[pulumi.Input[builtins.str]]):
115
116
  pulumi.set(self, "host", value)
116
117
 
117
118
  @property
118
119
  @pulumi.getter
119
- def index(self) -> Optional[pulumi.Input[str]]:
120
+ def index(self) -> Optional[pulumi.Input[builtins.str]]:
120
121
  """
121
122
  Sets the index for events from this input. Defaults to the main index.
122
123
  """
123
124
  return pulumi.get(self, "index")
124
125
 
125
126
  @index.setter
126
- def index(self, value: Optional[pulumi.Input[str]]):
127
+ def index(self, value: Optional[pulumi.Input[builtins.str]]):
127
128
  pulumi.set(self, "index", value)
128
129
 
129
130
  @property
130
131
  @pulumi.getter
131
- def name(self) -> Optional[pulumi.Input[str]]:
132
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
132
133
  """
133
134
  Specify the name of the scripted input.
134
135
  """
135
136
  return pulumi.get(self, "name")
136
137
 
137
138
  @name.setter
138
- def name(self, value: Optional[pulumi.Input[str]]):
139
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
139
140
  pulumi.set(self, "name", value)
140
141
 
141
142
  @property
142
143
  @pulumi.getter
143
- def passauth(self) -> Optional[pulumi.Input[str]]:
144
+ def passauth(self) -> Optional[pulumi.Input[builtins.str]]:
144
145
  """
145
146
  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
147
  """
147
148
  return pulumi.get(self, "passauth")
148
149
 
149
150
  @passauth.setter
150
- def passauth(self, value: Optional[pulumi.Input[str]]):
151
+ def passauth(self, value: Optional[pulumi.Input[builtins.str]]):
151
152
  pulumi.set(self, "passauth", value)
152
153
 
153
154
  @property
154
155
  @pulumi.getter(name="renameSource")
155
- def rename_source(self) -> Optional[pulumi.Input[str]]:
156
+ def rename_source(self) -> Optional[pulumi.Input[builtins.str]]:
156
157
  """
157
158
  Specify a new name for the source field for the script.
158
159
  """
159
160
  return pulumi.get(self, "rename_source")
160
161
 
161
162
  @rename_source.setter
162
- def rename_source(self, value: Optional[pulumi.Input[str]]):
163
+ def rename_source(self, value: Optional[pulumi.Input[builtins.str]]):
163
164
  pulumi.set(self, "rename_source", value)
164
165
 
165
166
  @property
166
167
  @pulumi.getter
167
- def source(self) -> Optional[pulumi.Input[str]]:
168
+ def source(self) -> Optional[pulumi.Input[builtins.str]]:
168
169
  """
169
170
  Sets the source key/field for events from this input. Defaults to the input file path.
170
171
  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 +173,12 @@ class InputsScriptArgs:
172
173
  return pulumi.get(self, "source")
173
174
 
174
175
  @source.setter
175
- def source(self, value: Optional[pulumi.Input[str]]):
176
+ def source(self, value: Optional[pulumi.Input[builtins.str]]):
176
177
  pulumi.set(self, "source", value)
177
178
 
178
179
  @property
179
180
  @pulumi.getter
180
- def sourcetype(self) -> Optional[pulumi.Input[str]]:
181
+ def sourcetype(self) -> Optional[pulumi.Input[builtins.str]]:
181
182
  """
182
183
  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
184
  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 +186,7 @@ class InputsScriptArgs:
185
186
  return pulumi.get(self, "sourcetype")
186
187
 
187
188
  @sourcetype.setter
188
- def sourcetype(self, value: Optional[pulumi.Input[str]]):
189
+ def sourcetype(self, value: Optional[pulumi.Input[builtins.str]]):
189
190
  pulumi.set(self, "sourcetype", value)
190
191
 
191
192
 
@@ -193,28 +194,28 @@ class InputsScriptArgs:
193
194
  class _InputsScriptState:
194
195
  def __init__(__self__, *,
195
196
  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):
197
+ disabled: Optional[pulumi.Input[builtins.bool]] = None,
198
+ host: Optional[pulumi.Input[builtins.str]] = None,
199
+ index: Optional[pulumi.Input[builtins.str]] = None,
200
+ interval: Optional[pulumi.Input[builtins.int]] = None,
201
+ name: Optional[pulumi.Input[builtins.str]] = None,
202
+ passauth: Optional[pulumi.Input[builtins.str]] = None,
203
+ rename_source: Optional[pulumi.Input[builtins.str]] = None,
204
+ source: Optional[pulumi.Input[builtins.str]] = None,
205
+ sourcetype: Optional[pulumi.Input[builtins.str]] = None):
205
206
  """
206
207
  Input properties used for looking up and filtering InputsScript resources.
207
208
  :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.
209
+ :param pulumi.Input[builtins.bool] disabled: Specifies whether the input script is disabled.
210
+ :param pulumi.Input[builtins.str] host: Sets the host for events from this input. Defaults to whatever host sent the event.
211
+ :param pulumi.Input[builtins.str] index: Sets the index for events from this input. Defaults to the main index.
212
+ :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.
213
+ :param pulumi.Input[builtins.str] name: Specify the name of the scripted input.
214
+ :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.
215
+ :param pulumi.Input[builtins.str] rename_source: Specify a new name for the source field for the script.
216
+ :param pulumi.Input[builtins.str] source: Sets the source key/field for events from this input. Defaults to the input file path.
216
217
  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.
218
+ :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
219
  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
220
  """
220
221
  if acl is not None:
@@ -252,91 +253,91 @@ class _InputsScriptState:
252
253
 
253
254
  @property
254
255
  @pulumi.getter
255
- def disabled(self) -> Optional[pulumi.Input[bool]]:
256
+ def disabled(self) -> Optional[pulumi.Input[builtins.bool]]:
256
257
  """
257
258
  Specifies whether the input script is disabled.
258
259
  """
259
260
  return pulumi.get(self, "disabled")
260
261
 
261
262
  @disabled.setter
262
- def disabled(self, value: Optional[pulumi.Input[bool]]):
263
+ def disabled(self, value: Optional[pulumi.Input[builtins.bool]]):
263
264
  pulumi.set(self, "disabled", value)
264
265
 
265
266
  @property
266
267
  @pulumi.getter
267
- def host(self) -> Optional[pulumi.Input[str]]:
268
+ def host(self) -> Optional[pulumi.Input[builtins.str]]:
268
269
  """
269
270
  Sets the host for events from this input. Defaults to whatever host sent the event.
270
271
  """
271
272
  return pulumi.get(self, "host")
272
273
 
273
274
  @host.setter
274
- def host(self, value: Optional[pulumi.Input[str]]):
275
+ def host(self, value: Optional[pulumi.Input[builtins.str]]):
275
276
  pulumi.set(self, "host", value)
276
277
 
277
278
  @property
278
279
  @pulumi.getter
279
- def index(self) -> Optional[pulumi.Input[str]]:
280
+ def index(self) -> Optional[pulumi.Input[builtins.str]]:
280
281
  """
281
282
  Sets the index for events from this input. Defaults to the main index.
282
283
  """
283
284
  return pulumi.get(self, "index")
284
285
 
285
286
  @index.setter
286
- def index(self, value: Optional[pulumi.Input[str]]):
287
+ def index(self, value: Optional[pulumi.Input[builtins.str]]):
287
288
  pulumi.set(self, "index", value)
288
289
 
289
290
  @property
290
291
  @pulumi.getter
291
- def interval(self) -> Optional[pulumi.Input[int]]:
292
+ def interval(self) -> Optional[pulumi.Input[builtins.int]]:
292
293
  """
293
294
  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
295
  """
295
296
  return pulumi.get(self, "interval")
296
297
 
297
298
  @interval.setter
298
- def interval(self, value: Optional[pulumi.Input[int]]):
299
+ def interval(self, value: Optional[pulumi.Input[builtins.int]]):
299
300
  pulumi.set(self, "interval", value)
300
301
 
301
302
  @property
302
303
  @pulumi.getter
303
- def name(self) -> Optional[pulumi.Input[str]]:
304
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
304
305
  """
305
306
  Specify the name of the scripted input.
306
307
  """
307
308
  return pulumi.get(self, "name")
308
309
 
309
310
  @name.setter
310
- def name(self, value: Optional[pulumi.Input[str]]):
311
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
311
312
  pulumi.set(self, "name", value)
312
313
 
313
314
  @property
314
315
  @pulumi.getter
315
- def passauth(self) -> Optional[pulumi.Input[str]]:
316
+ def passauth(self) -> Optional[pulumi.Input[builtins.str]]:
316
317
  """
317
318
  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
319
  """
319
320
  return pulumi.get(self, "passauth")
320
321
 
321
322
  @passauth.setter
322
- def passauth(self, value: Optional[pulumi.Input[str]]):
323
+ def passauth(self, value: Optional[pulumi.Input[builtins.str]]):
323
324
  pulumi.set(self, "passauth", value)
324
325
 
325
326
  @property
326
327
  @pulumi.getter(name="renameSource")
327
- def rename_source(self) -> Optional[pulumi.Input[str]]:
328
+ def rename_source(self) -> Optional[pulumi.Input[builtins.str]]:
328
329
  """
329
330
  Specify a new name for the source field for the script.
330
331
  """
331
332
  return pulumi.get(self, "rename_source")
332
333
 
333
334
  @rename_source.setter
334
- def rename_source(self, value: Optional[pulumi.Input[str]]):
335
+ def rename_source(self, value: Optional[pulumi.Input[builtins.str]]):
335
336
  pulumi.set(self, "rename_source", value)
336
337
 
337
338
  @property
338
339
  @pulumi.getter
339
- def source(self) -> Optional[pulumi.Input[str]]:
340
+ def source(self) -> Optional[pulumi.Input[builtins.str]]:
340
341
  """
341
342
  Sets the source key/field for events from this input. Defaults to the input file path.
342
343
  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 +345,12 @@ class _InputsScriptState:
344
345
  return pulumi.get(self, "source")
345
346
 
346
347
  @source.setter
347
- def source(self, value: Optional[pulumi.Input[str]]):
348
+ def source(self, value: Optional[pulumi.Input[builtins.str]]):
348
349
  pulumi.set(self, "source", value)
349
350
 
350
351
  @property
351
352
  @pulumi.getter
352
- def sourcetype(self) -> Optional[pulumi.Input[str]]:
353
+ def sourcetype(self) -> Optional[pulumi.Input[builtins.str]]:
353
354
  """
354
355
  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
356
  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,7 +358,7 @@ class _InputsScriptState:
357
358
  return pulumi.get(self, "sourcetype")
358
359
 
359
360
  @sourcetype.setter
360
- def sourcetype(self, value: Optional[pulumi.Input[str]]):
361
+ def sourcetype(self, value: Optional[pulumi.Input[builtins.str]]):
361
362
  pulumi.set(self, "sourcetype", value)
362
363
 
363
364
 
@@ -367,15 +368,15 @@ class InputsScript(pulumi.CustomResource):
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))
@@ -542,7 +543,7 @@ class InputsScript(pulumi.CustomResource):
542
543
 
543
544
  @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
  """
@@ -550,7 +551,7 @@ class InputsScript(pulumi.CustomResource):
550
551
 
551
552
  @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
  """
@@ -558,7 +559,7 @@ class InputsScript(pulumi.CustomResource):
558
559
 
559
560
  @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
  """
@@ -566,7 +567,7 @@ class InputsScript(pulumi.CustomResource):
566
567
 
567
568
  @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
  """
@@ -574,7 +575,7 @@ class InputsScript(pulumi.CustomResource):
574
575
 
575
576
  @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
  """
@@ -582,7 +583,7 @@ class InputsScript(pulumi.CustomResource):
582
583
 
583
584
  @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
  """
@@ -590,7 +591,7 @@ class InputsScript(pulumi.CustomResource):
590
591
 
591
592
  @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
  """
@@ -598,7 +599,7 @@ class InputsScript(pulumi.CustomResource):
598
599
 
599
600
  @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::'.
@@ -607,7 +608,7 @@ class InputsScript(pulumi.CustomResource):
607
608
 
608
609
  @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.