pulumi-splunk 1.3.0a1709368026__py3-none-any.whl → 1.3.0a1736835690__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 +18 -0
- pulumi_splunk/_inputs.py +1218 -77
- pulumi_splunk/_utilities.py +41 -5
- pulumi_splunk/admin_saml_groups.py +17 -8
- pulumi_splunk/apps_local.py +18 -11
- pulumi_splunk/authentication_users.py +9 -2
- pulumi_splunk/authorization_roles.py +17 -10
- pulumi_splunk/config/__init__.pyi +5 -0
- pulumi_splunk/config/vars.py +5 -0
- pulumi_splunk/configs_conf.py +20 -11
- pulumi_splunk/data_ui_views.py +20 -13
- pulumi_splunk/generic_acl.py +42 -37
- pulumi_splunk/global_http_event_collector.py +5 -0
- pulumi_splunk/indexes.py +12 -5
- pulumi_splunk/inputs_http_event_collector.py +62 -5
- pulumi_splunk/inputs_monitor.py +12 -5
- pulumi_splunk/inputs_script.py +32 -5
- pulumi_splunk/inputs_tcp_cooked.py +16 -9
- pulumi_splunk/inputs_tcp_raw.py +18 -11
- pulumi_splunk/inputs_tcp_splunk_tcp_token.py +16 -7
- pulumi_splunk/inputs_tcp_ssl.py +5 -0
- pulumi_splunk/inputs_udp.py +16 -9
- pulumi_splunk/lookup_definition.py +300 -0
- pulumi_splunk/lookup_table_file.py +367 -0
- pulumi_splunk/outputs.py +206 -36
- pulumi_splunk/outputs_tcp_default.py +20 -13
- pulumi_splunk/outputs_tcp_group.py +16 -9
- pulumi_splunk/outputs_tcp_server.py +16 -7
- pulumi_splunk/outputs_tcp_syslog.py +18 -11
- pulumi_splunk/provider.py +5 -0
- pulumi_splunk/pulumi-plugin.json +2 -1
- pulumi_splunk/saved_searches.py +79 -25
- pulumi_splunk/sh_indexes_manager.py +10 -3
- {pulumi_splunk-1.3.0a1709368026.dist-info → pulumi_splunk-1.3.0a1736835690.dist-info}/METADATA +7 -6
- pulumi_splunk-1.3.0a1736835690.dist-info/RECORD +39 -0
- {pulumi_splunk-1.3.0a1709368026.dist-info → pulumi_splunk-1.3.0a1736835690.dist-info}/WHEEL +1 -1
- pulumi_splunk-1.3.0a1709368026.dist-info/RECORD +0 -37
- {pulumi_splunk-1.3.0a1709368026.dist-info → pulumi_splunk-1.3.0a1736835690.dist-info}/top_level.txt +0 -0
pulumi_splunk/_utilities.py
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
import asyncio
|
|
7
|
+
import functools
|
|
7
8
|
import importlib.metadata
|
|
8
9
|
import importlib.util
|
|
9
10
|
import inspect
|
|
@@ -11,14 +12,19 @@ import json
|
|
|
11
12
|
import os
|
|
12
13
|
import sys
|
|
13
14
|
import typing
|
|
15
|
+
import warnings
|
|
16
|
+
import base64
|
|
14
17
|
|
|
15
18
|
import pulumi
|
|
16
19
|
import pulumi.runtime
|
|
17
20
|
from pulumi.runtime.sync_await import _sync_await
|
|
21
|
+
from pulumi.runtime.proto import resource_pb2
|
|
18
22
|
|
|
19
23
|
from semver import VersionInfo as SemverVersion
|
|
20
24
|
from parver import Version as PEP440Version
|
|
21
25
|
|
|
26
|
+
C = typing.TypeVar("C", bound=typing.Callable)
|
|
27
|
+
|
|
22
28
|
|
|
23
29
|
def get_env(*args):
|
|
24
30
|
for v in args:
|
|
@@ -96,10 +102,6 @@ def _get_semver_version():
|
|
|
96
102
|
_version = _get_semver_version()
|
|
97
103
|
_version_str = str(_version)
|
|
98
104
|
|
|
99
|
-
|
|
100
|
-
def get_version():
|
|
101
|
-
return _version_str
|
|
102
|
-
|
|
103
105
|
def get_resource_opts_defaults() -> pulumi.ResourceOptions:
|
|
104
106
|
return pulumi.ResourceOptions(
|
|
105
107
|
version=get_version(),
|
|
@@ -262,7 +264,7 @@ def call_plain(
|
|
|
262
264
|
output = pulumi.runtime.call(tok, props, res, typ)
|
|
263
265
|
|
|
264
266
|
# Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
265
|
-
result, known, secret, _ = _sync_await(asyncio.
|
|
267
|
+
result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output)))
|
|
266
268
|
|
|
267
269
|
problem = None
|
|
268
270
|
if not known:
|
|
@@ -287,5 +289,39 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
|
|
|
287
289
|
await o._resources,
|
|
288
290
|
)
|
|
289
291
|
|
|
292
|
+
|
|
293
|
+
# This is included to provide an upgrade path for users who are using a version
|
|
294
|
+
# of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
|
|
295
|
+
def deprecated(message: str) -> typing.Callable[[C], C]:
|
|
296
|
+
"""
|
|
297
|
+
Decorator to indicate a function is deprecated.
|
|
298
|
+
|
|
299
|
+
As well as inserting appropriate statements to indicate that the function is
|
|
300
|
+
deprecated, this decorator also tags the function with a special attribute
|
|
301
|
+
so that Pulumi code can detect that it is deprecated and react appropriately
|
|
302
|
+
in certain situations.
|
|
303
|
+
|
|
304
|
+
message is the deprecation message that should be printed if the function is called.
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
def decorator(fn: C) -> C:
|
|
308
|
+
if not callable(fn):
|
|
309
|
+
raise TypeError("Expected fn to be callable")
|
|
310
|
+
|
|
311
|
+
@functools.wraps(fn)
|
|
312
|
+
def deprecated_fn(*args, **kwargs):
|
|
313
|
+
warnings.warn(message)
|
|
314
|
+
pulumi.warn(f"{fn.__name__} is deprecated: {message}")
|
|
315
|
+
|
|
316
|
+
return fn(*args, **kwargs)
|
|
317
|
+
|
|
318
|
+
deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
|
|
319
|
+
return typing.cast(C, deprecated_fn)
|
|
320
|
+
|
|
321
|
+
return decorator
|
|
322
|
+
|
|
290
323
|
def get_plugin_download_url():
|
|
291
324
|
return None
|
|
325
|
+
|
|
326
|
+
def get_version():
|
|
327
|
+
return _version_str
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['AdminSamlGroupsArgs', 'AdminSamlGroups']
|
|
@@ -110,10 +115,12 @@ class AdminSamlGroups(pulumi.CustomResource):
|
|
|
110
115
|
import pulumi
|
|
111
116
|
import pulumi_splunk as splunk
|
|
112
117
|
|
|
113
|
-
saml_group = splunk.AdminSamlGroups("saml-group",
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
118
|
+
saml_group = splunk.AdminSamlGroups("saml-group",
|
|
119
|
+
name="mygroup",
|
|
120
|
+
roles=[
|
|
121
|
+
"admin",
|
|
122
|
+
"power",
|
|
123
|
+
])
|
|
117
124
|
```
|
|
118
125
|
|
|
119
126
|
## Import
|
|
@@ -146,10 +153,12 @@ class AdminSamlGroups(pulumi.CustomResource):
|
|
|
146
153
|
import pulumi
|
|
147
154
|
import pulumi_splunk as splunk
|
|
148
155
|
|
|
149
|
-
saml_group = splunk.AdminSamlGroups("saml-group",
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
156
|
+
saml_group = splunk.AdminSamlGroups("saml-group",
|
|
157
|
+
name="mygroup",
|
|
158
|
+
roles=[
|
|
159
|
+
"admin",
|
|
160
|
+
"power",
|
|
161
|
+
])
|
|
153
162
|
```
|
|
154
163
|
|
|
155
164
|
## Import
|
pulumi_splunk/apps_local.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -494,7 +499,7 @@ class AppsLocal(pulumi.CustomResource):
|
|
|
494
499
|
def __init__(__self__,
|
|
495
500
|
resource_name: str,
|
|
496
501
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
497
|
-
acl: Optional[pulumi.Input[
|
|
502
|
+
acl: Optional[pulumi.Input[Union['AppsLocalAclArgs', 'AppsLocalAclArgsDict']]] = None,
|
|
498
503
|
auth: Optional[pulumi.Input[str]] = None,
|
|
499
504
|
author: Optional[pulumi.Input[str]] = None,
|
|
500
505
|
configured: Optional[pulumi.Input[bool]] = None,
|
|
@@ -519,14 +524,15 @@ class AppsLocal(pulumi.CustomResource):
|
|
|
519
524
|
import pulumi
|
|
520
525
|
import pulumi_splunk as splunk
|
|
521
526
|
|
|
522
|
-
amazon_connect_app = splunk.AppsLocal("
|
|
523
|
-
|
|
524
|
-
|
|
527
|
+
amazon_connect_app = splunk.AppsLocal("amazon_connect_app",
|
|
528
|
+
filename=True,
|
|
529
|
+
name="/usr/home/amazon_connect_app_for_splunk-0.0.1.tar.gz",
|
|
530
|
+
explicit_appname="amazon_connect_app_for_splunk")
|
|
525
531
|
```
|
|
526
532
|
|
|
527
533
|
:param str resource_name: The name of the resource.
|
|
528
534
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
529
|
-
:param pulumi.Input[
|
|
535
|
+
:param pulumi.Input[Union['AppsLocalAclArgs', 'AppsLocalAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
530
536
|
:param pulumi.Input[str] auth: Splunkbase session token for operations like install and update that require login. Use auth or session when installing or updating an app through Splunkbase.
|
|
531
537
|
:param pulumi.Input[str] author: For apps posted to Splunkbase, use your Splunk account username. For internal apps, include your name and contact information.
|
|
532
538
|
:param pulumi.Input[bool] configured: Custom setup complete indication:
|
|
@@ -568,9 +574,10 @@ class AppsLocal(pulumi.CustomResource):
|
|
|
568
574
|
import pulumi
|
|
569
575
|
import pulumi_splunk as splunk
|
|
570
576
|
|
|
571
|
-
amazon_connect_app = splunk.AppsLocal("
|
|
572
|
-
|
|
573
|
-
|
|
577
|
+
amazon_connect_app = splunk.AppsLocal("amazon_connect_app",
|
|
578
|
+
filename=True,
|
|
579
|
+
name="/usr/home/amazon_connect_app_for_splunk-0.0.1.tar.gz",
|
|
580
|
+
explicit_appname="amazon_connect_app_for_splunk")
|
|
574
581
|
```
|
|
575
582
|
|
|
576
583
|
:param str resource_name: The name of the resource.
|
|
@@ -588,7 +595,7 @@ class AppsLocal(pulumi.CustomResource):
|
|
|
588
595
|
def _internal_init(__self__,
|
|
589
596
|
resource_name: str,
|
|
590
597
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
591
|
-
acl: Optional[pulumi.Input[
|
|
598
|
+
acl: Optional[pulumi.Input[Union['AppsLocalAclArgs', 'AppsLocalAclArgsDict']]] = None,
|
|
592
599
|
auth: Optional[pulumi.Input[str]] = None,
|
|
593
600
|
author: Optional[pulumi.Input[str]] = None,
|
|
594
601
|
configured: Optional[pulumi.Input[bool]] = None,
|
|
@@ -633,7 +640,7 @@ class AppsLocal(pulumi.CustomResource):
|
|
|
633
640
|
def get(resource_name: str,
|
|
634
641
|
id: pulumi.Input[str],
|
|
635
642
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
636
|
-
acl: Optional[pulumi.Input[
|
|
643
|
+
acl: Optional[pulumi.Input[Union['AppsLocalAclArgs', 'AppsLocalAclArgsDict']]] = None,
|
|
637
644
|
auth: Optional[pulumi.Input[str]] = None,
|
|
638
645
|
author: Optional[pulumi.Input[str]] = None,
|
|
639
646
|
configured: Optional[pulumi.Input[bool]] = None,
|
|
@@ -653,7 +660,7 @@ class AppsLocal(pulumi.CustomResource):
|
|
|
653
660
|
:param str resource_name: The unique name of the resulting resource.
|
|
654
661
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
655
662
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
656
|
-
:param pulumi.Input[
|
|
663
|
+
:param pulumi.Input[Union['AppsLocalAclArgs', 'AppsLocalAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
657
664
|
:param pulumi.Input[str] auth: Splunkbase session token for operations like install and update that require login. Use auth or session when installing or updating an app through Splunkbase.
|
|
658
665
|
:param pulumi.Input[str] author: For apps posted to Splunkbase, use your Splunk account username. For internal apps, include your name and contact information.
|
|
659
666
|
:param pulumi.Input[bool] configured: Custom setup complete indication:
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['AuthenticationUsersArgs', 'AuthenticationUsers']
|
|
@@ -342,9 +347,10 @@ class AuthenticationUsers(pulumi.CustomResource):
|
|
|
342
347
|
import pulumi_splunk as splunk
|
|
343
348
|
|
|
344
349
|
user01 = splunk.AuthenticationUsers("user01",
|
|
350
|
+
name="user01",
|
|
345
351
|
email="user01@example.com",
|
|
346
|
-
force_change_pass=False,
|
|
347
352
|
password="password01",
|
|
353
|
+
force_change_pass=False,
|
|
348
354
|
roles=["terraform-user01-role"])
|
|
349
355
|
```
|
|
350
356
|
|
|
@@ -378,9 +384,10 @@ class AuthenticationUsers(pulumi.CustomResource):
|
|
|
378
384
|
import pulumi_splunk as splunk
|
|
379
385
|
|
|
380
386
|
user01 = splunk.AuthenticationUsers("user01",
|
|
387
|
+
name="user01",
|
|
381
388
|
email="user01@example.com",
|
|
382
|
-
force_change_pass=False,
|
|
383
389
|
password="password01",
|
|
390
|
+
force_change_pass=False,
|
|
384
391
|
roles=["terraform-user01-role"])
|
|
385
392
|
```
|
|
386
393
|
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['AuthorizationRolesArgs', 'AuthorizationRoles']
|
|
@@ -474,16 +479,17 @@ class AuthorizationRoles(pulumi.CustomResource):
|
|
|
474
479
|
import pulumi_splunk as splunk
|
|
475
480
|
|
|
476
481
|
role01 = splunk.AuthorizationRoles("role01",
|
|
477
|
-
|
|
478
|
-
"accelerate_datamodel",
|
|
479
|
-
"change_authentication",
|
|
480
|
-
"restart_splunkd",
|
|
481
|
-
],
|
|
482
|
+
name="terraform-user01-role",
|
|
482
483
|
default_app="search",
|
|
483
484
|
imported_roles=[
|
|
484
485
|
"power",
|
|
485
486
|
"user",
|
|
486
487
|
],
|
|
488
|
+
capabilities=[
|
|
489
|
+
"accelerate_datamodel",
|
|
490
|
+
"change_authentication",
|
|
491
|
+
"restart_splunkd",
|
|
492
|
+
],
|
|
487
493
|
search_indexes_alloweds=[
|
|
488
494
|
"_audit",
|
|
489
495
|
"_internal",
|
|
@@ -530,16 +536,17 @@ class AuthorizationRoles(pulumi.CustomResource):
|
|
|
530
536
|
import pulumi_splunk as splunk
|
|
531
537
|
|
|
532
538
|
role01 = splunk.AuthorizationRoles("role01",
|
|
533
|
-
|
|
534
|
-
"accelerate_datamodel",
|
|
535
|
-
"change_authentication",
|
|
536
|
-
"restart_splunkd",
|
|
537
|
-
],
|
|
539
|
+
name="terraform-user01-role",
|
|
538
540
|
default_app="search",
|
|
539
541
|
imported_roles=[
|
|
540
542
|
"power",
|
|
541
543
|
"user",
|
|
542
544
|
],
|
|
545
|
+
capabilities=[
|
|
546
|
+
"accelerate_datamodel",
|
|
547
|
+
"change_authentication",
|
|
548
|
+
"restart_splunkd",
|
|
549
|
+
],
|
|
543
550
|
search_indexes_alloweds=[
|
|
544
551
|
"_audit",
|
|
545
552
|
"_internal",
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
authToken: Optional[str]
|
pulumi_splunk/config/vars.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
import types
|
pulumi_splunk/configs_conf.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -122,7 +127,7 @@ class ConfigsConf(pulumi.CustomResource):
|
|
|
122
127
|
def __init__(__self__,
|
|
123
128
|
resource_name: str,
|
|
124
129
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
125
|
-
acl: Optional[pulumi.Input[
|
|
130
|
+
acl: Optional[pulumi.Input[Union['ConfigsConfAclArgs', 'ConfigsConfAclArgsDict']]] = None,
|
|
126
131
|
name: Optional[pulumi.Input[str]] = None,
|
|
127
132
|
variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
128
133
|
__props__=None):
|
|
@@ -137,10 +142,12 @@ class ConfigsConf(pulumi.CustomResource):
|
|
|
137
142
|
import pulumi
|
|
138
143
|
import pulumi_splunk as splunk
|
|
139
144
|
|
|
140
|
-
new_conf_stanza = splunk.ConfigsConf("new-conf-stanza",
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
145
|
+
new_conf_stanza = splunk.ConfigsConf("new-conf-stanza",
|
|
146
|
+
name="custom-conf/custom",
|
|
147
|
+
variables={
|
|
148
|
+
"disabled": "false",
|
|
149
|
+
"custom_key": "value",
|
|
150
|
+
})
|
|
144
151
|
```
|
|
145
152
|
|
|
146
153
|
:param str resource_name: The name of the resource.
|
|
@@ -165,10 +172,12 @@ class ConfigsConf(pulumi.CustomResource):
|
|
|
165
172
|
import pulumi
|
|
166
173
|
import pulumi_splunk as splunk
|
|
167
174
|
|
|
168
|
-
new_conf_stanza = splunk.ConfigsConf("new-conf-stanza",
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
175
|
+
new_conf_stanza = splunk.ConfigsConf("new-conf-stanza",
|
|
176
|
+
name="custom-conf/custom",
|
|
177
|
+
variables={
|
|
178
|
+
"disabled": "false",
|
|
179
|
+
"custom_key": "value",
|
|
180
|
+
})
|
|
172
181
|
```
|
|
173
182
|
|
|
174
183
|
:param str resource_name: The name of the resource.
|
|
@@ -186,7 +195,7 @@ class ConfigsConf(pulumi.CustomResource):
|
|
|
186
195
|
def _internal_init(__self__,
|
|
187
196
|
resource_name: str,
|
|
188
197
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
189
|
-
acl: Optional[pulumi.Input[
|
|
198
|
+
acl: Optional[pulumi.Input[Union['ConfigsConfAclArgs', 'ConfigsConfAclArgsDict']]] = None,
|
|
190
199
|
name: Optional[pulumi.Input[str]] = None,
|
|
191
200
|
variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
192
201
|
__props__=None):
|
|
@@ -211,7 +220,7 @@ class ConfigsConf(pulumi.CustomResource):
|
|
|
211
220
|
def get(resource_name: str,
|
|
212
221
|
id: pulumi.Input[str],
|
|
213
222
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
214
|
-
acl: Optional[pulumi.Input[
|
|
223
|
+
acl: Optional[pulumi.Input[Union['ConfigsConfAclArgs', 'ConfigsConfAclArgsDict']]] = None,
|
|
215
224
|
name: Optional[pulumi.Input[str]] = None,
|
|
216
225
|
variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'ConfigsConf':
|
|
217
226
|
"""
|
pulumi_splunk/data_ui_views.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -125,7 +130,7 @@ class DataUiViews(pulumi.CustomResource):
|
|
|
125
130
|
def __init__(__self__,
|
|
126
131
|
resource_name: str,
|
|
127
132
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
128
|
-
acl: Optional[pulumi.Input[
|
|
133
|
+
acl: Optional[pulumi.Input[Union['DataUiViewsAclArgs', 'DataUiViewsAclArgsDict']]] = None,
|
|
129
134
|
eai_data: Optional[pulumi.Input[str]] = None,
|
|
130
135
|
name: Optional[pulumi.Input[str]] = None,
|
|
131
136
|
__props__=None):
|
|
@@ -140,11 +145,12 @@ class DataUiViews(pulumi.CustomResource):
|
|
|
140
145
|
import pulumi_splunk as splunk
|
|
141
146
|
|
|
142
147
|
dashboard = splunk.DataUiViews("dashboard",
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
+
name="Terraform_Sample_Dashboard",
|
|
149
|
+
eai_data="<dashboard version=\\"1.1\\"><label>Terraform</label><description>Terraform operations</description><row><panel><chart><search><query>index=_internal sourcetype=splunkd_access useragent=\\"splunk-simple-go-client\\" | timechart fixedrange=f values(status) by uri_path</query><earliest>-24h@h</earliest><latest>now</latest><sampleRatio>1</sampleRatio></search><option name=\\"charting.axisLabelsX.majorLabelStyle.overflowMode\\">ellipsisNone</option><option name=\\"charting.axisLabelsX.majorLabelStyle.rotation\\">0</option><option name=\\"charting.axisTitleX.visibility\\">collapsed</option><option name=\\"charting.axisTitleY.text\\">HTTP status codes</option><option name=\\"charting.axisTitleY.visibility\\">visible</option><option name=\\"charting.axisTitleY2.visibility\\">visible</option><option name=\\"charting.axisX.abbreviation\\">none</option><option name=\\"charting.axisX.scale\\">linear</option><option name=\\"charting.axisY.abbreviation\\">none</option><option name=\\"charting.axisY.scale\\">linear</option><option name=\\"charting.axisY2.abbreviation\\">none</option><option name=\\"charting.axisY2.enabled\\">0</option><option name=\\"charting.axisY2.scale\\">inherit</option><option name=\\"charting.chart\\">column</option><option name=\\"charting.chart.bubbleMaximumSize\\">50</option><option name=\\"charting.chart.bubbleMinimumSize\\">10</option><option name=\\"charting.chart.bubbleSizeBy\\">area</option><option name=\\"charting.chart.nullValueMode\\">connect</option><option name=\\"charting.chart.showDataLabels\\">none</option><option name=\\"charting.chart.sliceCollapsingThreshold\\">0.01</option><option name=\\"charting.chart.stackMode\\">default</option><option name=\\"charting.chart.style\\">shiny</option><option name=\\"charting.drilldown\\">none</option><option name=\\"charting.layout.splitSeries\\">0</option><option name=\\"charting.layout.splitSeries.allowIndependentYRanges\\">0</option><option name=\\"charting.legend.labelStyle.overflowMode\\">ellipsisMiddle</option><option name=\\"charting.legend.mode\\">standard</option><option name=\\"charting.legend.placement\\">right</option><option name=\\"charting.lineWidth\\">2</option><option name=\\"trellis.enabled\\">0</option><option name=\\"trellis.scales.shared\\">1</option><option name=\\"trellis.size\\">small</option><option name=\\"trellis.splitBy\\">_aggregation</option></chart></panel></row></dashboard>",
|
|
150
|
+
acl={
|
|
151
|
+
"owner": "admin",
|
|
152
|
+
"app": "search",
|
|
153
|
+
})
|
|
148
154
|
```
|
|
149
155
|
|
|
150
156
|
:param str resource_name: The name of the resource.
|
|
@@ -170,11 +176,12 @@ class DataUiViews(pulumi.CustomResource):
|
|
|
170
176
|
import pulumi_splunk as splunk
|
|
171
177
|
|
|
172
178
|
dashboard = splunk.DataUiViews("dashboard",
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
179
|
+
name="Terraform_Sample_Dashboard",
|
|
180
|
+
eai_data="<dashboard version=\\"1.1\\"><label>Terraform</label><description>Terraform operations</description><row><panel><chart><search><query>index=_internal sourcetype=splunkd_access useragent=\\"splunk-simple-go-client\\" | timechart fixedrange=f values(status) by uri_path</query><earliest>-24h@h</earliest><latest>now</latest><sampleRatio>1</sampleRatio></search><option name=\\"charting.axisLabelsX.majorLabelStyle.overflowMode\\">ellipsisNone</option><option name=\\"charting.axisLabelsX.majorLabelStyle.rotation\\">0</option><option name=\\"charting.axisTitleX.visibility\\">collapsed</option><option name=\\"charting.axisTitleY.text\\">HTTP status codes</option><option name=\\"charting.axisTitleY.visibility\\">visible</option><option name=\\"charting.axisTitleY2.visibility\\">visible</option><option name=\\"charting.axisX.abbreviation\\">none</option><option name=\\"charting.axisX.scale\\">linear</option><option name=\\"charting.axisY.abbreviation\\">none</option><option name=\\"charting.axisY.scale\\">linear</option><option name=\\"charting.axisY2.abbreviation\\">none</option><option name=\\"charting.axisY2.enabled\\">0</option><option name=\\"charting.axisY2.scale\\">inherit</option><option name=\\"charting.chart\\">column</option><option name=\\"charting.chart.bubbleMaximumSize\\">50</option><option name=\\"charting.chart.bubbleMinimumSize\\">10</option><option name=\\"charting.chart.bubbleSizeBy\\">area</option><option name=\\"charting.chart.nullValueMode\\">connect</option><option name=\\"charting.chart.showDataLabels\\">none</option><option name=\\"charting.chart.sliceCollapsingThreshold\\">0.01</option><option name=\\"charting.chart.stackMode\\">default</option><option name=\\"charting.chart.style\\">shiny</option><option name=\\"charting.drilldown\\">none</option><option name=\\"charting.layout.splitSeries\\">0</option><option name=\\"charting.layout.splitSeries.allowIndependentYRanges\\">0</option><option name=\\"charting.legend.labelStyle.overflowMode\\">ellipsisMiddle</option><option name=\\"charting.legend.mode\\">standard</option><option name=\\"charting.legend.placement\\">right</option><option name=\\"charting.lineWidth\\">2</option><option name=\\"trellis.enabled\\">0</option><option name=\\"trellis.scales.shared\\">1</option><option name=\\"trellis.size\\">small</option><option name=\\"trellis.splitBy\\">_aggregation</option></chart></panel></row></dashboard>",
|
|
181
|
+
acl={
|
|
182
|
+
"owner": "admin",
|
|
183
|
+
"app": "search",
|
|
184
|
+
})
|
|
178
185
|
```
|
|
179
186
|
|
|
180
187
|
:param str resource_name: The name of the resource.
|
|
@@ -192,7 +199,7 @@ class DataUiViews(pulumi.CustomResource):
|
|
|
192
199
|
def _internal_init(__self__,
|
|
193
200
|
resource_name: str,
|
|
194
201
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
195
|
-
acl: Optional[pulumi.Input[
|
|
202
|
+
acl: Optional[pulumi.Input[Union['DataUiViewsAclArgs', 'DataUiViewsAclArgsDict']]] = None,
|
|
196
203
|
eai_data: Optional[pulumi.Input[str]] = None,
|
|
197
204
|
name: Optional[pulumi.Input[str]] = None,
|
|
198
205
|
__props__=None):
|
|
@@ -219,7 +226,7 @@ class DataUiViews(pulumi.CustomResource):
|
|
|
219
226
|
def get(resource_name: str,
|
|
220
227
|
id: pulumi.Input[str],
|
|
221
228
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
222
|
-
acl: Optional[pulumi.Input[
|
|
229
|
+
acl: Optional[pulumi.Input[Union['DataUiViewsAclArgs', 'DataUiViewsAclArgsDict']]] = None,
|
|
223
230
|
eai_data: Optional[pulumi.Input[str]] = None,
|
|
224
231
|
name: Optional[pulumi.Input[str]] = None) -> 'DataUiViews':
|
|
225
232
|
"""
|