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/outputs.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
|
__all__ = [
|
|
@@ -22,6 +27,7 @@ __all__ = [
|
|
|
22
27
|
'InputsTcpRawAcl',
|
|
23
28
|
'InputsTcpSplunkTcpTokenAcl',
|
|
24
29
|
'InputsUdpAcl',
|
|
30
|
+
'LookupDefinitionAcl',
|
|
25
31
|
'OutputsTcpDefaultAcl',
|
|
26
32
|
'OutputsTcpGroupAcl',
|
|
27
33
|
'OutputsTcpServerAcl',
|
|
@@ -80,7 +86,7 @@ class AppsLocalAcl(dict):
|
|
|
80
86
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
81
87
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
82
88
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
83
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
89
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
84
90
|
"""
|
|
85
91
|
if app is not None:
|
|
86
92
|
pulumi.set(__self__, "app", app)
|
|
@@ -189,7 +195,7 @@ class AppsLocalAcl(dict):
|
|
|
189
195
|
@pulumi.getter
|
|
190
196
|
def writes(self) -> Optional[Sequence[str]]:
|
|
191
197
|
"""
|
|
192
|
-
Properties that indicate write permissions
|
|
198
|
+
Properties that indicate resource write permissions.
|
|
193
199
|
"""
|
|
194
200
|
return pulumi.get(self, "writes")
|
|
195
201
|
|
|
@@ -244,7 +250,7 @@ class ConfigsConfAcl(dict):
|
|
|
244
250
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
245
251
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
246
252
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
247
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
253
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
248
254
|
"""
|
|
249
255
|
if app is not None:
|
|
250
256
|
pulumi.set(__self__, "app", app)
|
|
@@ -353,7 +359,7 @@ class ConfigsConfAcl(dict):
|
|
|
353
359
|
@pulumi.getter
|
|
354
360
|
def writes(self) -> Optional[Sequence[str]]:
|
|
355
361
|
"""
|
|
356
|
-
Properties that indicate write permissions
|
|
362
|
+
Properties that indicate resource write permissions.
|
|
357
363
|
"""
|
|
358
364
|
return pulumi.get(self, "writes")
|
|
359
365
|
|
|
@@ -408,7 +414,7 @@ class DataUiViewsAcl(dict):
|
|
|
408
414
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
409
415
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
410
416
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
411
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
417
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
412
418
|
"""
|
|
413
419
|
if app is not None:
|
|
414
420
|
pulumi.set(__self__, "app", app)
|
|
@@ -517,7 +523,7 @@ class DataUiViewsAcl(dict):
|
|
|
517
523
|
@pulumi.getter
|
|
518
524
|
def writes(self) -> Optional[Sequence[str]]:
|
|
519
525
|
"""
|
|
520
|
-
Properties that indicate write permissions
|
|
526
|
+
Properties that indicate resource write permissions.
|
|
521
527
|
"""
|
|
522
528
|
return pulumi.get(self, "writes")
|
|
523
529
|
|
|
@@ -572,7 +578,7 @@ class GenericAclAcl(dict):
|
|
|
572
578
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
573
579
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
574
580
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
575
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
581
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
576
582
|
"""
|
|
577
583
|
if app is not None:
|
|
578
584
|
pulumi.set(__self__, "app", app)
|
|
@@ -681,7 +687,7 @@ class GenericAclAcl(dict):
|
|
|
681
687
|
@pulumi.getter
|
|
682
688
|
def writes(self) -> Optional[Sequence[str]]:
|
|
683
689
|
"""
|
|
684
|
-
Properties that indicate write permissions
|
|
690
|
+
Properties that indicate resource write permissions.
|
|
685
691
|
"""
|
|
686
692
|
return pulumi.get(self, "writes")
|
|
687
693
|
|
|
@@ -736,7 +742,7 @@ class IndexesAcl(dict):
|
|
|
736
742
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
737
743
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
738
744
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
739
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
745
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
740
746
|
"""
|
|
741
747
|
if app is not None:
|
|
742
748
|
pulumi.set(__self__, "app", app)
|
|
@@ -845,7 +851,7 @@ class IndexesAcl(dict):
|
|
|
845
851
|
@pulumi.getter
|
|
846
852
|
def writes(self) -> Optional[Sequence[str]]:
|
|
847
853
|
"""
|
|
848
|
-
Properties that indicate write permissions
|
|
854
|
+
Properties that indicate resource write permissions.
|
|
849
855
|
"""
|
|
850
856
|
return pulumi.get(self, "writes")
|
|
851
857
|
|
|
@@ -900,7 +906,7 @@ class InputsHttpEventCollectorAcl(dict):
|
|
|
900
906
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
901
907
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
902
908
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
903
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
909
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
904
910
|
"""
|
|
905
911
|
if app is not None:
|
|
906
912
|
pulumi.set(__self__, "app", app)
|
|
@@ -1009,7 +1015,7 @@ class InputsHttpEventCollectorAcl(dict):
|
|
|
1009
1015
|
@pulumi.getter
|
|
1010
1016
|
def writes(self) -> Optional[Sequence[str]]:
|
|
1011
1017
|
"""
|
|
1012
|
-
Properties that indicate write permissions
|
|
1018
|
+
Properties that indicate resource write permissions.
|
|
1013
1019
|
"""
|
|
1014
1020
|
return pulumi.get(self, "writes")
|
|
1015
1021
|
|
|
@@ -1064,7 +1070,7 @@ class InputsMonitorAcl(dict):
|
|
|
1064
1070
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
1065
1071
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
1066
1072
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
1067
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
1073
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
1068
1074
|
"""
|
|
1069
1075
|
if app is not None:
|
|
1070
1076
|
pulumi.set(__self__, "app", app)
|
|
@@ -1173,7 +1179,7 @@ class InputsMonitorAcl(dict):
|
|
|
1173
1179
|
@pulumi.getter
|
|
1174
1180
|
def writes(self) -> Optional[Sequence[str]]:
|
|
1175
1181
|
"""
|
|
1176
|
-
Properties that indicate write permissions
|
|
1182
|
+
Properties that indicate resource write permissions.
|
|
1177
1183
|
"""
|
|
1178
1184
|
return pulumi.get(self, "writes")
|
|
1179
1185
|
|
|
@@ -1228,7 +1234,7 @@ class InputsScriptAcl(dict):
|
|
|
1228
1234
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
1229
1235
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
1230
1236
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
1231
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
1237
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
1232
1238
|
"""
|
|
1233
1239
|
if app is not None:
|
|
1234
1240
|
pulumi.set(__self__, "app", app)
|
|
@@ -1337,7 +1343,7 @@ class InputsScriptAcl(dict):
|
|
|
1337
1343
|
@pulumi.getter
|
|
1338
1344
|
def writes(self) -> Optional[Sequence[str]]:
|
|
1339
1345
|
"""
|
|
1340
|
-
Properties that indicate write permissions
|
|
1346
|
+
Properties that indicate resource write permissions.
|
|
1341
1347
|
"""
|
|
1342
1348
|
return pulumi.get(self, "writes")
|
|
1343
1349
|
|
|
@@ -1392,7 +1398,7 @@ class InputsTcpCookedAcl(dict):
|
|
|
1392
1398
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
1393
1399
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
1394
1400
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
1395
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
1401
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
1396
1402
|
"""
|
|
1397
1403
|
if app is not None:
|
|
1398
1404
|
pulumi.set(__self__, "app", app)
|
|
@@ -1501,7 +1507,7 @@ class InputsTcpCookedAcl(dict):
|
|
|
1501
1507
|
@pulumi.getter
|
|
1502
1508
|
def writes(self) -> Optional[Sequence[str]]:
|
|
1503
1509
|
"""
|
|
1504
|
-
Properties that indicate write permissions
|
|
1510
|
+
Properties that indicate resource write permissions.
|
|
1505
1511
|
"""
|
|
1506
1512
|
return pulumi.get(self, "writes")
|
|
1507
1513
|
|
|
@@ -1556,7 +1562,7 @@ class InputsTcpRawAcl(dict):
|
|
|
1556
1562
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
1557
1563
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
1558
1564
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
1559
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
1565
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
1560
1566
|
"""
|
|
1561
1567
|
if app is not None:
|
|
1562
1568
|
pulumi.set(__self__, "app", app)
|
|
@@ -1665,7 +1671,7 @@ class InputsTcpRawAcl(dict):
|
|
|
1665
1671
|
@pulumi.getter
|
|
1666
1672
|
def writes(self) -> Optional[Sequence[str]]:
|
|
1667
1673
|
"""
|
|
1668
|
-
Properties that indicate write permissions
|
|
1674
|
+
Properties that indicate resource write permissions.
|
|
1669
1675
|
"""
|
|
1670
1676
|
return pulumi.get(self, "writes")
|
|
1671
1677
|
|
|
@@ -1720,7 +1726,7 @@ class InputsTcpSplunkTcpTokenAcl(dict):
|
|
|
1720
1726
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
1721
1727
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
1722
1728
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
1723
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
1729
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
1724
1730
|
"""
|
|
1725
1731
|
if app is not None:
|
|
1726
1732
|
pulumi.set(__self__, "app", app)
|
|
@@ -1829,7 +1835,7 @@ class InputsTcpSplunkTcpTokenAcl(dict):
|
|
|
1829
1835
|
@pulumi.getter
|
|
1830
1836
|
def writes(self) -> Optional[Sequence[str]]:
|
|
1831
1837
|
"""
|
|
1832
|
-
Properties that indicate write permissions
|
|
1838
|
+
Properties that indicate resource write permissions.
|
|
1833
1839
|
"""
|
|
1834
1840
|
return pulumi.get(self, "writes")
|
|
1835
1841
|
|
|
@@ -1884,7 +1890,7 @@ class InputsUdpAcl(dict):
|
|
|
1884
1890
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
1885
1891
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
1886
1892
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
1887
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
1893
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
1888
1894
|
"""
|
|
1889
1895
|
if app is not None:
|
|
1890
1896
|
pulumi.set(__self__, "app", app)
|
|
@@ -1993,7 +1999,171 @@ class InputsUdpAcl(dict):
|
|
|
1993
1999
|
@pulumi.getter
|
|
1994
2000
|
def writes(self) -> Optional[Sequence[str]]:
|
|
1995
2001
|
"""
|
|
1996
|
-
Properties that indicate write permissions
|
|
2002
|
+
Properties that indicate resource write permissions.
|
|
2003
|
+
"""
|
|
2004
|
+
return pulumi.get(self, "writes")
|
|
2005
|
+
|
|
2006
|
+
|
|
2007
|
+
@pulumi.output_type
|
|
2008
|
+
class LookupDefinitionAcl(dict):
|
|
2009
|
+
@staticmethod
|
|
2010
|
+
def __key_warning(key: str):
|
|
2011
|
+
suggest = None
|
|
2012
|
+
if key == "canChangePerms":
|
|
2013
|
+
suggest = "can_change_perms"
|
|
2014
|
+
elif key == "canShareApp":
|
|
2015
|
+
suggest = "can_share_app"
|
|
2016
|
+
elif key == "canShareGlobal":
|
|
2017
|
+
suggest = "can_share_global"
|
|
2018
|
+
elif key == "canShareUser":
|
|
2019
|
+
suggest = "can_share_user"
|
|
2020
|
+
elif key == "canWrite":
|
|
2021
|
+
suggest = "can_write"
|
|
2022
|
+
|
|
2023
|
+
if suggest:
|
|
2024
|
+
pulumi.log.warn(f"Key '{key}' not found in LookupDefinitionAcl. Access the value via the '{suggest}' property getter instead.")
|
|
2025
|
+
|
|
2026
|
+
def __getitem__(self, key: str) -> Any:
|
|
2027
|
+
LookupDefinitionAcl.__key_warning(key)
|
|
2028
|
+
return super().__getitem__(key)
|
|
2029
|
+
|
|
2030
|
+
def get(self, key: str, default = None) -> Any:
|
|
2031
|
+
LookupDefinitionAcl.__key_warning(key)
|
|
2032
|
+
return super().get(key, default)
|
|
2033
|
+
|
|
2034
|
+
def __init__(__self__, *,
|
|
2035
|
+
app: Optional[str] = None,
|
|
2036
|
+
can_change_perms: Optional[bool] = None,
|
|
2037
|
+
can_share_app: Optional[bool] = None,
|
|
2038
|
+
can_share_global: Optional[bool] = None,
|
|
2039
|
+
can_share_user: Optional[bool] = None,
|
|
2040
|
+
can_write: Optional[bool] = None,
|
|
2041
|
+
owner: Optional[str] = None,
|
|
2042
|
+
reads: Optional[Sequence[str]] = None,
|
|
2043
|
+
removable: Optional[bool] = None,
|
|
2044
|
+
sharing: Optional[str] = None,
|
|
2045
|
+
writes: Optional[Sequence[str]] = None):
|
|
2046
|
+
"""
|
|
2047
|
+
:param str app: The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system
|
|
2048
|
+
:param bool can_change_perms: Indicates if the active user can change permissions for this object. Defaults to true.
|
|
2049
|
+
:param bool can_share_app: Indicates if the active user can change sharing to app level. Defaults to true.
|
|
2050
|
+
:param bool can_share_global: Indicates if the active user can change sharing to system level. Defaults to true.
|
|
2051
|
+
:param bool can_share_user: Indicates if the active user can change sharing to user level. Defaults to true.
|
|
2052
|
+
:param bool can_write: Indicates if the active user can edit this object. Defaults to true.
|
|
2053
|
+
:param str owner: User name of resource owner. Defaults to the resource creator. Required for updating any knowledge object ACL properties.nobody = All users may access the resource, but write access to the resource might be restricted.
|
|
2054
|
+
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
2055
|
+
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2056
|
+
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2057
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
2058
|
+
"""
|
|
2059
|
+
if app is not None:
|
|
2060
|
+
pulumi.set(__self__, "app", app)
|
|
2061
|
+
if can_change_perms is not None:
|
|
2062
|
+
pulumi.set(__self__, "can_change_perms", can_change_perms)
|
|
2063
|
+
if can_share_app is not None:
|
|
2064
|
+
pulumi.set(__self__, "can_share_app", can_share_app)
|
|
2065
|
+
if can_share_global is not None:
|
|
2066
|
+
pulumi.set(__self__, "can_share_global", can_share_global)
|
|
2067
|
+
if can_share_user is not None:
|
|
2068
|
+
pulumi.set(__self__, "can_share_user", can_share_user)
|
|
2069
|
+
if can_write is not None:
|
|
2070
|
+
pulumi.set(__self__, "can_write", can_write)
|
|
2071
|
+
if owner is not None:
|
|
2072
|
+
pulumi.set(__self__, "owner", owner)
|
|
2073
|
+
if reads is not None:
|
|
2074
|
+
pulumi.set(__self__, "reads", reads)
|
|
2075
|
+
if removable is not None:
|
|
2076
|
+
pulumi.set(__self__, "removable", removable)
|
|
2077
|
+
if sharing is not None:
|
|
2078
|
+
pulumi.set(__self__, "sharing", sharing)
|
|
2079
|
+
if writes is not None:
|
|
2080
|
+
pulumi.set(__self__, "writes", writes)
|
|
2081
|
+
|
|
2082
|
+
@property
|
|
2083
|
+
@pulumi.getter
|
|
2084
|
+
def app(self) -> Optional[str]:
|
|
2085
|
+
"""
|
|
2086
|
+
The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system
|
|
2087
|
+
"""
|
|
2088
|
+
return pulumi.get(self, "app")
|
|
2089
|
+
|
|
2090
|
+
@property
|
|
2091
|
+
@pulumi.getter(name="canChangePerms")
|
|
2092
|
+
def can_change_perms(self) -> Optional[bool]:
|
|
2093
|
+
"""
|
|
2094
|
+
Indicates if the active user can change permissions for this object. Defaults to true.
|
|
2095
|
+
"""
|
|
2096
|
+
return pulumi.get(self, "can_change_perms")
|
|
2097
|
+
|
|
2098
|
+
@property
|
|
2099
|
+
@pulumi.getter(name="canShareApp")
|
|
2100
|
+
def can_share_app(self) -> Optional[bool]:
|
|
2101
|
+
"""
|
|
2102
|
+
Indicates if the active user can change sharing to app level. Defaults to true.
|
|
2103
|
+
"""
|
|
2104
|
+
return pulumi.get(self, "can_share_app")
|
|
2105
|
+
|
|
2106
|
+
@property
|
|
2107
|
+
@pulumi.getter(name="canShareGlobal")
|
|
2108
|
+
def can_share_global(self) -> Optional[bool]:
|
|
2109
|
+
"""
|
|
2110
|
+
Indicates if the active user can change sharing to system level. Defaults to true.
|
|
2111
|
+
"""
|
|
2112
|
+
return pulumi.get(self, "can_share_global")
|
|
2113
|
+
|
|
2114
|
+
@property
|
|
2115
|
+
@pulumi.getter(name="canShareUser")
|
|
2116
|
+
def can_share_user(self) -> Optional[bool]:
|
|
2117
|
+
"""
|
|
2118
|
+
Indicates if the active user can change sharing to user level. Defaults to true.
|
|
2119
|
+
"""
|
|
2120
|
+
return pulumi.get(self, "can_share_user")
|
|
2121
|
+
|
|
2122
|
+
@property
|
|
2123
|
+
@pulumi.getter(name="canWrite")
|
|
2124
|
+
def can_write(self) -> Optional[bool]:
|
|
2125
|
+
"""
|
|
2126
|
+
Indicates if the active user can edit this object. Defaults to true.
|
|
2127
|
+
"""
|
|
2128
|
+
return pulumi.get(self, "can_write")
|
|
2129
|
+
|
|
2130
|
+
@property
|
|
2131
|
+
@pulumi.getter
|
|
2132
|
+
def owner(self) -> Optional[str]:
|
|
2133
|
+
"""
|
|
2134
|
+
User name of resource owner. Defaults to the resource creator. Required for updating any knowledge object ACL properties.nobody = All users may access the resource, but write access to the resource might be restricted.
|
|
2135
|
+
"""
|
|
2136
|
+
return pulumi.get(self, "owner")
|
|
2137
|
+
|
|
2138
|
+
@property
|
|
2139
|
+
@pulumi.getter
|
|
2140
|
+
def reads(self) -> Optional[Sequence[str]]:
|
|
2141
|
+
"""
|
|
2142
|
+
Properties that indicate resource read permissions.
|
|
2143
|
+
"""
|
|
2144
|
+
return pulumi.get(self, "reads")
|
|
2145
|
+
|
|
2146
|
+
@property
|
|
2147
|
+
@pulumi.getter
|
|
2148
|
+
def removable(self) -> Optional[bool]:
|
|
2149
|
+
"""
|
|
2150
|
+
Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2151
|
+
"""
|
|
2152
|
+
return pulumi.get(self, "removable")
|
|
2153
|
+
|
|
2154
|
+
@property
|
|
2155
|
+
@pulumi.getter
|
|
2156
|
+
def sharing(self) -> Optional[str]:
|
|
2157
|
+
"""
|
|
2158
|
+
Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2159
|
+
"""
|
|
2160
|
+
return pulumi.get(self, "sharing")
|
|
2161
|
+
|
|
2162
|
+
@property
|
|
2163
|
+
@pulumi.getter
|
|
2164
|
+
def writes(self) -> Optional[Sequence[str]]:
|
|
2165
|
+
"""
|
|
2166
|
+
Properties that indicate resource write permissions.
|
|
1997
2167
|
"""
|
|
1998
2168
|
return pulumi.get(self, "writes")
|
|
1999
2169
|
|
|
@@ -2048,7 +2218,7 @@ class OutputsTcpDefaultAcl(dict):
|
|
|
2048
2218
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
2049
2219
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2050
2220
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2051
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
2221
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
2052
2222
|
"""
|
|
2053
2223
|
if app is not None:
|
|
2054
2224
|
pulumi.set(__self__, "app", app)
|
|
@@ -2157,7 +2327,7 @@ class OutputsTcpDefaultAcl(dict):
|
|
|
2157
2327
|
@pulumi.getter
|
|
2158
2328
|
def writes(self) -> Optional[Sequence[str]]:
|
|
2159
2329
|
"""
|
|
2160
|
-
Properties that indicate write permissions
|
|
2330
|
+
Properties that indicate resource write permissions.
|
|
2161
2331
|
"""
|
|
2162
2332
|
return pulumi.get(self, "writes")
|
|
2163
2333
|
|
|
@@ -2212,7 +2382,7 @@ class OutputsTcpGroupAcl(dict):
|
|
|
2212
2382
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
2213
2383
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2214
2384
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2215
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
2385
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
2216
2386
|
"""
|
|
2217
2387
|
if app is not None:
|
|
2218
2388
|
pulumi.set(__self__, "app", app)
|
|
@@ -2321,7 +2491,7 @@ class OutputsTcpGroupAcl(dict):
|
|
|
2321
2491
|
@pulumi.getter
|
|
2322
2492
|
def writes(self) -> Optional[Sequence[str]]:
|
|
2323
2493
|
"""
|
|
2324
|
-
Properties that indicate write permissions
|
|
2494
|
+
Properties that indicate resource write permissions.
|
|
2325
2495
|
"""
|
|
2326
2496
|
return pulumi.get(self, "writes")
|
|
2327
2497
|
|
|
@@ -2376,7 +2546,7 @@ class OutputsTcpServerAcl(dict):
|
|
|
2376
2546
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
2377
2547
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2378
2548
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2379
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
2549
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
2380
2550
|
"""
|
|
2381
2551
|
if app is not None:
|
|
2382
2552
|
pulumi.set(__self__, "app", app)
|
|
@@ -2485,7 +2655,7 @@ class OutputsTcpServerAcl(dict):
|
|
|
2485
2655
|
@pulumi.getter
|
|
2486
2656
|
def writes(self) -> Optional[Sequence[str]]:
|
|
2487
2657
|
"""
|
|
2488
|
-
Properties that indicate write permissions
|
|
2658
|
+
Properties that indicate resource write permissions.
|
|
2489
2659
|
"""
|
|
2490
2660
|
return pulumi.get(self, "writes")
|
|
2491
2661
|
|
|
@@ -2540,7 +2710,7 @@ class OutputsTcpSyslogAcl(dict):
|
|
|
2540
2710
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
2541
2711
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2542
2712
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2543
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
2713
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
2544
2714
|
"""
|
|
2545
2715
|
if app is not None:
|
|
2546
2716
|
pulumi.set(__self__, "app", app)
|
|
@@ -2649,7 +2819,7 @@ class OutputsTcpSyslogAcl(dict):
|
|
|
2649
2819
|
@pulumi.getter
|
|
2650
2820
|
def writes(self) -> Optional[Sequence[str]]:
|
|
2651
2821
|
"""
|
|
2652
|
-
Properties that indicate write permissions
|
|
2822
|
+
Properties that indicate resource write permissions.
|
|
2653
2823
|
"""
|
|
2654
2824
|
return pulumi.get(self, "writes")
|
|
2655
2825
|
|
|
@@ -2704,7 +2874,7 @@ class SavedSearchesAcl(dict):
|
|
|
2704
2874
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
2705
2875
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2706
2876
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2707
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
2877
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
2708
2878
|
"""
|
|
2709
2879
|
if app is not None:
|
|
2710
2880
|
pulumi.set(__self__, "app", app)
|
|
@@ -2813,7 +2983,7 @@ class SavedSearchesAcl(dict):
|
|
|
2813
2983
|
@pulumi.getter
|
|
2814
2984
|
def writes(self) -> Optional[Sequence[str]]:
|
|
2815
2985
|
"""
|
|
2816
|
-
Properties that indicate write permissions
|
|
2986
|
+
Properties that indicate resource write permissions.
|
|
2817
2987
|
"""
|
|
2818
2988
|
return pulumi.get(self, "writes")
|
|
2819
2989
|
|
|
@@ -2868,7 +3038,7 @@ class ShIndexesManagerAcl(dict):
|
|
|
2868
3038
|
:param Sequence[str] reads: Properties that indicate resource read permissions.
|
|
2869
3039
|
:param bool removable: Indicates whether an admin or user with sufficient permissions can delete the entity.
|
|
2870
3040
|
:param str sharing: Indicates how the resource is shared. Required for updating any knowledge object ACL properties.app: Shared within a specific appglobal: (Default) Shared globally to all apps.user: Private to a user
|
|
2871
|
-
:param Sequence[str] writes: Properties that indicate write permissions
|
|
3041
|
+
:param Sequence[str] writes: Properties that indicate resource write permissions.
|
|
2872
3042
|
"""
|
|
2873
3043
|
if app is not None:
|
|
2874
3044
|
pulumi.set(__self__, "app", app)
|
|
@@ -2977,7 +3147,7 @@ class ShIndexesManagerAcl(dict):
|
|
|
2977
3147
|
@pulumi.getter
|
|
2978
3148
|
def writes(self) -> Optional[Sequence[str]]:
|
|
2979
3149
|
"""
|
|
2980
|
-
Properties that indicate write permissions
|
|
3150
|
+
Properties that indicate resource write permissions.
|
|
2981
3151
|
"""
|
|
2982
3152
|
return pulumi.get(self, "writes")
|
|
2983
3153
|
|
|
@@ -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 *
|
|
@@ -370,7 +375,7 @@ class OutputsTcpDefault(pulumi.CustomResource):
|
|
|
370
375
|
def __init__(__self__,
|
|
371
376
|
resource_name: str,
|
|
372
377
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
373
|
-
acl: Optional[pulumi.Input[
|
|
378
|
+
acl: Optional[pulumi.Input[Union['OutputsTcpDefaultAclArgs', 'OutputsTcpDefaultAclArgsDict']]] = None,
|
|
374
379
|
default_group: Optional[pulumi.Input[str]] = None,
|
|
375
380
|
disabled: Optional[pulumi.Input[bool]] = None,
|
|
376
381
|
drop_events_on_queue_full: Optional[pulumi.Input[int]] = None,
|
|
@@ -391,18 +396,19 @@ class OutputsTcpDefault(pulumi.CustomResource):
|
|
|
391
396
|
import pulumi
|
|
392
397
|
import pulumi_splunk as splunk
|
|
393
398
|
|
|
394
|
-
tcp_default = splunk.OutputsTcpDefault("
|
|
395
|
-
|
|
399
|
+
tcp_default = splunk.OutputsTcpDefault("tcp_default",
|
|
400
|
+
name="tcpout",
|
|
396
401
|
disabled=False,
|
|
402
|
+
default_group="test-indexers",
|
|
397
403
|
drop_events_on_queue_full=60,
|
|
398
404
|
index_and_forward=True,
|
|
399
|
-
|
|
400
|
-
|
|
405
|
+
send_cooked_data=True,
|
|
406
|
+
max_queue_size="100KB")
|
|
401
407
|
```
|
|
402
408
|
|
|
403
409
|
:param str resource_name: The name of the resource.
|
|
404
410
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
405
|
-
:param pulumi.Input[
|
|
411
|
+
:param pulumi.Input[Union['OutputsTcpDefaultAclArgs', 'OutputsTcpDefaultAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
406
412
|
:param pulumi.Input[str] default_group: Comma-separated list of one or more target group names, specified later in [tcpout:<target_group>] stanzas of outputs.conf.spec file.
|
|
407
413
|
The forwarder sends all data to the specified groups. If you do not want to forward data automatically, do not set this attribute. Can be overridden by an inputs.conf _TCP_ROUTING setting, which in turn can be overridden by a props.conf/transforms.conf modifier.
|
|
408
414
|
:param pulumi.Input[bool] disabled: Disables default tcpout settings
|
|
@@ -441,13 +447,14 @@ class OutputsTcpDefault(pulumi.CustomResource):
|
|
|
441
447
|
import pulumi
|
|
442
448
|
import pulumi_splunk as splunk
|
|
443
449
|
|
|
444
|
-
tcp_default = splunk.OutputsTcpDefault("
|
|
445
|
-
|
|
450
|
+
tcp_default = splunk.OutputsTcpDefault("tcp_default",
|
|
451
|
+
name="tcpout",
|
|
446
452
|
disabled=False,
|
|
453
|
+
default_group="test-indexers",
|
|
447
454
|
drop_events_on_queue_full=60,
|
|
448
455
|
index_and_forward=True,
|
|
449
|
-
|
|
450
|
-
|
|
456
|
+
send_cooked_data=True,
|
|
457
|
+
max_queue_size="100KB")
|
|
451
458
|
```
|
|
452
459
|
|
|
453
460
|
:param str resource_name: The name of the resource.
|
|
@@ -465,7 +472,7 @@ class OutputsTcpDefault(pulumi.CustomResource):
|
|
|
465
472
|
def _internal_init(__self__,
|
|
466
473
|
resource_name: str,
|
|
467
474
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
468
|
-
acl: Optional[pulumi.Input[
|
|
475
|
+
acl: Optional[pulumi.Input[Union['OutputsTcpDefaultAclArgs', 'OutputsTcpDefaultAclArgsDict']]] = None,
|
|
469
476
|
default_group: Optional[pulumi.Input[str]] = None,
|
|
470
477
|
disabled: Optional[pulumi.Input[bool]] = None,
|
|
471
478
|
drop_events_on_queue_full: Optional[pulumi.Input[int]] = None,
|
|
@@ -502,7 +509,7 @@ class OutputsTcpDefault(pulumi.CustomResource):
|
|
|
502
509
|
def get(resource_name: str,
|
|
503
510
|
id: pulumi.Input[str],
|
|
504
511
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
505
|
-
acl: Optional[pulumi.Input[
|
|
512
|
+
acl: Optional[pulumi.Input[Union['OutputsTcpDefaultAclArgs', 'OutputsTcpDefaultAclArgsDict']]] = None,
|
|
506
513
|
default_group: Optional[pulumi.Input[str]] = None,
|
|
507
514
|
disabled: Optional[pulumi.Input[bool]] = None,
|
|
508
515
|
drop_events_on_queue_full: Optional[pulumi.Input[int]] = None,
|
|
@@ -518,7 +525,7 @@ class OutputsTcpDefault(pulumi.CustomResource):
|
|
|
518
525
|
:param str resource_name: The unique name of the resulting resource.
|
|
519
526
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
520
527
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
521
|
-
:param pulumi.Input[
|
|
528
|
+
:param pulumi.Input[Union['OutputsTcpDefaultAclArgs', 'OutputsTcpDefaultAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
522
529
|
:param pulumi.Input[str] default_group: Comma-separated list of one or more target group names, specified later in [tcpout:<target_group>] stanzas of outputs.conf.spec file.
|
|
523
530
|
The forwarder sends all data to the specified groups. If you do not want to forward data automatically, do not set this attribute. Can be overridden by an inputs.conf _TCP_ROUTING setting, which in turn can be overridden by a props.conf/transforms.conf modifier.
|
|
524
531
|
:param pulumi.Input[bool] disabled: Disables default tcpout settings
|