From dd4ec7e4fec3b5c7a9a49d7f0e49301f9fbc6966 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:10:18 -0700 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.92.0 (#457) This PR was generated via `$ upgrade-provider pulumi/pulumi-splunk --kind=bridge --pr-reviewers=iwahbe`. --- - Upgrading pulumi-terraform-bridge from v3.91.1 to v3.92.0. --- examples/go.mod | 4 +- examples/go.sum | 8 +- provider/go.mod | 8 +- provider/go.sum | 20 +- sdk/go.mod | 2 +- sdk/go.sum | 4 +- sdk/python/pulumi_splunk/_inputs.py | 937 +++++++++++++++++- sdk/python/pulumi_splunk/_utilities.py | 2 +- sdk/python/pulumi_splunk/admin_saml_groups.py | 5 + sdk/python/pulumi_splunk/apps_local.py | 5 + .../pulumi_splunk/authentication_users.py | 5 + .../pulumi_splunk/authorization_roles.py | 5 + sdk/python/pulumi_splunk/config/__init__.pyi | 5 + sdk/python/pulumi_splunk/config/vars.py | 5 + sdk/python/pulumi_splunk/configs_conf.py | 5 + sdk/python/pulumi_splunk/data_ui_views.py | 5 + sdk/python/pulumi_splunk/generic_acl.py | 5 + .../global_http_event_collector.py | 5 + sdk/python/pulumi_splunk/indexes.py | 5 + .../inputs_http_event_collector.py | 5 + sdk/python/pulumi_splunk/inputs_monitor.py | 5 + sdk/python/pulumi_splunk/inputs_script.py | 5 + sdk/python/pulumi_splunk/inputs_tcp_cooked.py | 5 + sdk/python/pulumi_splunk/inputs_tcp_raw.py | 5 + .../inputs_tcp_splunk_tcp_token.py | 5 + sdk/python/pulumi_splunk/inputs_tcp_ssl.py | 5 + sdk/python/pulumi_splunk/inputs_udp.py | 5 + sdk/python/pulumi_splunk/outputs.py | 5 + .../pulumi_splunk/outputs_tcp_default.py | 5 + sdk/python/pulumi_splunk/outputs_tcp_group.py | 5 + .../pulumi_splunk/outputs_tcp_server.py | 5 + .../pulumi_splunk/outputs_tcp_syslog.py | 5 + sdk/python/pulumi_splunk/provider.py | 5 + sdk/python/pulumi_splunk/saved_searches.py | 5 + .../pulumi_splunk/sh_indexes_manager.py | 5 + sdk/python/pyproject.toml | 2 +- 36 files changed, 1082 insertions(+), 40 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 977bca76..b838e025 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-splunk/examples go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.133.0 +require github.com/pulumi/pulumi/pkg/v3 v3.136.1 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.133.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.136.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 3cbb21d7..408d628c 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -342,10 +342,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= -github.com/pulumi/pulumi/pkg/v3 v3.133.0 h1:j1rd7ToLZIQc5H0427ISOXSbOIIemZ6B0MXtRhQ38Yg= -github.com/pulumi/pulumi/pkg/v3 v3.133.0/go.mod h1:JtMAnrsFIccO138WcMfPdhO0PioDukKihnZC0xTRLwo= -github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= -github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi/pkg/v3 v3.136.1 h1:zA8aJZ7qI0QgZkBKjjQaYHEcigK6pZfrbfG38imXzWo= +github.com/pulumi/pulumi/pkg/v3 v3.136.1/go.mod h1:Iz8QIs07AbEdrO52hEIEM5C4VBDUYFH2NdM9u2xxBxY= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/provider/go.mod b/provider/go.mod index b011ddda..dec39cce 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -6,8 +6,8 @@ toolchain go1.22.7 require ( github.com/hashicorp/terraform-plugin-sdk v1.15.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.1 - github.com/pulumi/pulumi/sdk/v3 v3.133.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.92.0 + github.com/pulumi/pulumi/sdk/v3 v3.136.1 github.com/splunk/terraform-provider-splunk v1.4.25 ) @@ -176,8 +176,8 @@ require ( github.com/pulumi/inflector v0.1.1 // indirect github.com/pulumi/pulumi-java/pkg v0.16.1 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.10.0 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.133.0 // indirect + github.com/pulumi/pulumi-yaml v1.10.3 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.136.1 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index 8469a410..ed6cb4b0 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1929,20 +1929,20 @@ github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+SobA= github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= -github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2pHgxQ8= -github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= +github.com/pulumi/providertest v0.1.2 h1:9pJS9MeNkMyGwyNeHmvh8QqLgJy39Nk2/ym5u7r13ng= +github.com/pulumi/providertest v0.1.2/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= github.com/pulumi/pulumi-java/pkg v0.16.1 h1:orHnDWFbpOERwaBLry9f+6nqPX7x0MsrIkaa5QDGAns= github.com/pulumi/pulumi-java/pkg v0.16.1/go.mod h1:QH0DihZkWYle9XFc+LJ76m4hUo+fA3RdyaM90pqOaSM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.1 h1:Twh0IKS1pGHP6LHDq1oR0vbHlV52asoUCC7spEJl3Ao= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.1/go.mod h1:DvueDDtOIbf7W1Or4oH0o7F990ozp/ROmlm/vgLoe+g= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.92.0 h1:LOUHyMFGYkchv4Bzej7v+1W1ooaspgQG6/oZVJ+3lXY= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.92.0/go.mod h1:aI3U3eanRcyOX05No+Nk6FuJvppx4jjcQwFelHSI8yE= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi-yaml v1.10.0 h1:djbgMJCxJBmYMr4kOpAXH5iauxGohYjEuTLfxD3NUUI= -github.com/pulumi/pulumi-yaml v1.10.0/go.mod h1://lTvwHpgJ+WBKeMGiLrd/jinc4dl3eWV5LZ3G8iCfE= -github.com/pulumi/pulumi/pkg/v3 v3.133.0 h1:j1rd7ToLZIQc5H0427ISOXSbOIIemZ6B0MXtRhQ38Yg= -github.com/pulumi/pulumi/pkg/v3 v3.133.0/go.mod h1:JtMAnrsFIccO138WcMfPdhO0PioDukKihnZC0xTRLwo= -github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= -github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi-yaml v1.10.3 h1:j5cjPiE32ILmjrWnC1cfZ0MWdqCZ8fg9wlaWk7HOtM4= +github.com/pulumi/pulumi-yaml v1.10.3/go.mod h1:MFMQXkaUP5YQUKVJ6Z/aagZDl2f8hdU9oGaJfTcMf1Y= +github.com/pulumi/pulumi/pkg/v3 v3.136.1 h1:zA8aJZ7qI0QgZkBKjjQaYHEcigK6pZfrbfG38imXzWo= +github.com/pulumi/pulumi/pkg/v3 v3.136.1/go.mod h1:Iz8QIs07AbEdrO52hEIEM5C4VBDUYFH2NdM9u2xxBxY= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/go.mod b/sdk/go.mod index 8ad3dbc8..cdab150a 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.133.0 + github.com/pulumi/pulumi/sdk/v3 v3.136.1 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 6df8468b..f84872a1 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= -github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/python/pulumi_splunk/_inputs.py b/sdk/python/pulumi_splunk/_inputs.py index a982429e..42cd2f9a 100644 --- a/sdk/python/pulumi_splunk/_inputs.py +++ b/sdk/python/pulumi_splunk/_inputs.py @@ -4,32 +4,106 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ 'AppsLocalAclArgs', + 'AppsLocalAclArgsDict', 'ConfigsConfAclArgs', + 'ConfigsConfAclArgsDict', 'DataUiViewsAclArgs', + 'DataUiViewsAclArgsDict', 'GenericAclAclArgs', + 'GenericAclAclArgsDict', 'IndexesAclArgs', + 'IndexesAclArgsDict', 'InputsHttpEventCollectorAclArgs', + 'InputsHttpEventCollectorAclArgsDict', 'InputsMonitorAclArgs', + 'InputsMonitorAclArgsDict', 'InputsScriptAclArgs', + 'InputsScriptAclArgsDict', 'InputsTcpCookedAclArgs', + 'InputsTcpCookedAclArgsDict', 'InputsTcpRawAclArgs', + 'InputsTcpRawAclArgsDict', 'InputsTcpSplunkTcpTokenAclArgs', + 'InputsTcpSplunkTcpTokenAclArgsDict', 'InputsUdpAclArgs', + 'InputsUdpAclArgsDict', 'OutputsTcpDefaultAclArgs', + 'OutputsTcpDefaultAclArgsDict', 'OutputsTcpGroupAclArgs', + 'OutputsTcpGroupAclArgsDict', 'OutputsTcpServerAclArgs', + 'OutputsTcpServerAclArgsDict', 'OutputsTcpSyslogAclArgs', + 'OutputsTcpSyslogAclArgsDict', 'SavedSearchesAclArgs', + 'SavedSearchesAclArgsDict', 'ShIndexesManagerAclArgs', + 'ShIndexesManagerAclArgsDict', ] +MYPY = False + +if not MYPY: + class AppsLocalAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + AppsLocalAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppsLocalAclArgs: def __init__(__self__, *, @@ -213,6 +287,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class ConfigsConfAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + ConfigsConfAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigsConfAclArgs: def __init__(__self__, *, @@ -396,6 +519,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class DataUiViewsAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + DataUiViewsAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataUiViewsAclArgs: def __init__(__self__, *, @@ -579,6 +751,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class GenericAclAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + GenericAclAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GenericAclAclArgs: def __init__(__self__, *, @@ -762,6 +983,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class IndexesAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + IndexesAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexesAclArgs: def __init__(__self__, *, @@ -945,6 +1215,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class InputsHttpEventCollectorAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + InputsHttpEventCollectorAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputsHttpEventCollectorAclArgs: def __init__(__self__, *, @@ -1128,6 +1447,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class InputsMonitorAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + InputsMonitorAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputsMonitorAclArgs: def __init__(__self__, *, @@ -1311,6 +1679,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class InputsScriptAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + InputsScriptAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputsScriptAclArgs: def __init__(__self__, *, @@ -1494,6 +1911,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class InputsTcpCookedAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + InputsTcpCookedAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputsTcpCookedAclArgs: def __init__(__self__, *, @@ -1677,6 +2143,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class InputsTcpRawAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + InputsTcpRawAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputsTcpRawAclArgs: def __init__(__self__, *, @@ -1841,24 +2356,73 @@ def sharing(self) -> Optional[pulumi.Input[str]]: """ 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 """ - return pulumi.get(self, "sharing") - - @sharing.setter - def sharing(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "sharing", value) - - @property - @pulumi.getter - def writes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "sharing") + + @sharing.setter + def sharing(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sharing", value) + + @property + @pulumi.getter + def writes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Properties that indicate write permissions of the resource. + """ + return pulumi.get(self, "writes") + + @writes.setter + def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "writes", value) + + +if not MYPY: + class InputsTcpSplunkTcpTokenAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ Properties that indicate write permissions of the resource. """ - return pulumi.get(self, "writes") - - @writes.setter - def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "writes", value) - +elif False: + InputsTcpSplunkTcpTokenAclArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class InputsTcpSplunkTcpTokenAclArgs: @@ -2043,6 +2607,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class InputsUdpAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + InputsUdpAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputsUdpAclArgs: def __init__(__self__, *, @@ -2226,6 +2839,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class OutputsTcpDefaultAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + OutputsTcpDefaultAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OutputsTcpDefaultAclArgs: def __init__(__self__, *, @@ -2409,6 +3071,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class OutputsTcpGroupAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + OutputsTcpGroupAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OutputsTcpGroupAclArgs: def __init__(__self__, *, @@ -2592,6 +3303,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class OutputsTcpServerAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + OutputsTcpServerAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OutputsTcpServerAclArgs: def __init__(__self__, *, @@ -2775,6 +3535,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class OutputsTcpSyslogAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + OutputsTcpSyslogAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OutputsTcpSyslogAclArgs: def __init__(__self__, *, @@ -2958,6 +3767,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class SavedSearchesAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + SavedSearchesAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SavedSearchesAclArgs: def __init__(__self__, *, @@ -3141,6 +3999,55 @@ def writes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "writes", value) +if not MYPY: + class ShIndexesManagerAclArgsDict(TypedDict): + app: NotRequired[pulumi.Input[str]] + """ + The app context for the resource. Required for updating saved search ACL properties. Allowed values are:The name of an app and system + """ + can_change_perms: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change permissions for this object. Defaults to true. + """ + can_share_app: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to app level. Defaults to true. + """ + can_share_global: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to system level. Defaults to true. + """ + can_share_user: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can change sharing to user level. Defaults to true. + """ + can_write: NotRequired[pulumi.Input[bool]] + """ + Indicates if the active user can edit this object. Defaults to true. + """ + owner: NotRequired[pulumi.Input[str]] + """ + 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. + """ + reads: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate resource read permissions. + """ + removable: NotRequired[pulumi.Input[bool]] + """ + Indicates whether an admin or user with sufficient permissions can delete the entity. + """ + sharing: NotRequired[pulumi.Input[str]] + """ + 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 + """ + writes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Properties that indicate write permissions of the resource. + """ +elif False: + ShIndexesManagerAclArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ShIndexesManagerAclArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_splunk/_utilities.py b/sdk/python/pulumi_splunk/_utilities.py index d14b49ac..3ce408d5 100644 --- a/sdk/python/pulumi_splunk/_utilities.py +++ b/sdk/python/pulumi_splunk/_utilities.py @@ -264,7 +264,7 @@ def call_plain( output = pulumi.runtime.call(tok, props, res, typ) # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. - result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output))) + result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output))) problem = None if not known: diff --git a/sdk/python/pulumi_splunk/admin_saml_groups.py b/sdk/python/pulumi_splunk/admin_saml_groups.py index 008240cb..4db422e6 100644 --- a/sdk/python/pulumi_splunk/admin_saml_groups.py +++ b/sdk/python/pulumi_splunk/admin_saml_groups.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = ['AdminSamlGroupsArgs', 'AdminSamlGroups'] diff --git a/sdk/python/pulumi_splunk/apps_local.py b/sdk/python/pulumi_splunk/apps_local.py index 07afba29..40914c33 100644 --- a/sdk/python/pulumi_splunk/apps_local.py +++ b/sdk/python/pulumi_splunk/apps_local.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/authentication_users.py b/sdk/python/pulumi_splunk/authentication_users.py index 81856e95..120e5f7d 100644 --- a/sdk/python/pulumi_splunk/authentication_users.py +++ b/sdk/python/pulumi_splunk/authentication_users.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = ['AuthenticationUsersArgs', 'AuthenticationUsers'] diff --git a/sdk/python/pulumi_splunk/authorization_roles.py b/sdk/python/pulumi_splunk/authorization_roles.py index 173202c2..feb7f3ad 100644 --- a/sdk/python/pulumi_splunk/authorization_roles.py +++ b/sdk/python/pulumi_splunk/authorization_roles.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = ['AuthorizationRolesArgs', 'AuthorizationRoles'] diff --git a/sdk/python/pulumi_splunk/config/__init__.pyi b/sdk/python/pulumi_splunk/config/__init__.pyi index 92eae07b..dbdcfa2f 100644 --- a/sdk/python/pulumi_splunk/config/__init__.pyi +++ b/sdk/python/pulumi_splunk/config/__init__.pyi @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities authToken: Optional[str] diff --git a/sdk/python/pulumi_splunk/config/vars.py b/sdk/python/pulumi_splunk/config/vars.py index 45b5540e..32ef1979 100644 --- a/sdk/python/pulumi_splunk/config/vars.py +++ b/sdk/python/pulumi_splunk/config/vars.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities import types diff --git a/sdk/python/pulumi_splunk/configs_conf.py b/sdk/python/pulumi_splunk/configs_conf.py index f249dd81..980202fd 100644 --- a/sdk/python/pulumi_splunk/configs_conf.py +++ b/sdk/python/pulumi_splunk/configs_conf.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/data_ui_views.py b/sdk/python/pulumi_splunk/data_ui_views.py index 4fdda209..dd879d41 100644 --- a/sdk/python/pulumi_splunk/data_ui_views.py +++ b/sdk/python/pulumi_splunk/data_ui_views.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/generic_acl.py b/sdk/python/pulumi_splunk/generic_acl.py index 46505bd0..9b9cffb4 100644 --- a/sdk/python/pulumi_splunk/generic_acl.py +++ b/sdk/python/pulumi_splunk/generic_acl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/global_http_event_collector.py b/sdk/python/pulumi_splunk/global_http_event_collector.py index 329b62c9..fe5486d4 100644 --- a/sdk/python/pulumi_splunk/global_http_event_collector.py +++ b/sdk/python/pulumi_splunk/global_http_event_collector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = ['GlobalHttpEventCollectorArgs', 'GlobalHttpEventCollector'] diff --git a/sdk/python/pulumi_splunk/indexes.py b/sdk/python/pulumi_splunk/indexes.py index 0f052191..0fa2a3f6 100644 --- a/sdk/python/pulumi_splunk/indexes.py +++ b/sdk/python/pulumi_splunk/indexes.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/inputs_http_event_collector.py b/sdk/python/pulumi_splunk/inputs_http_event_collector.py index 8ca48f92..1d2f2521 100644 --- a/sdk/python/pulumi_splunk/inputs_http_event_collector.py +++ b/sdk/python/pulumi_splunk/inputs_http_event_collector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/inputs_monitor.py b/sdk/python/pulumi_splunk/inputs_monitor.py index 0d4f0b4f..653fef8c 100644 --- a/sdk/python/pulumi_splunk/inputs_monitor.py +++ b/sdk/python/pulumi_splunk/inputs_monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/inputs_script.py b/sdk/python/pulumi_splunk/inputs_script.py index 27fdcdd8..d202fe08 100644 --- a/sdk/python/pulumi_splunk/inputs_script.py +++ b/sdk/python/pulumi_splunk/inputs_script.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/inputs_tcp_cooked.py b/sdk/python/pulumi_splunk/inputs_tcp_cooked.py index be3a164c..8c93ed3c 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_cooked.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_cooked.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/inputs_tcp_raw.py b/sdk/python/pulumi_splunk/inputs_tcp_raw.py index eeabdd14..d87621ef 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_raw.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_raw.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/inputs_tcp_splunk_tcp_token.py b/sdk/python/pulumi_splunk/inputs_tcp_splunk_tcp_token.py index 1f4282db..0efcaf6b 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_splunk_tcp_token.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_splunk_tcp_token.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/inputs_tcp_ssl.py b/sdk/python/pulumi_splunk/inputs_tcp_ssl.py index d2c4ff0a..e98a20c1 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_ssl.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_ssl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = ['InputsTcpSslArgs', 'InputsTcpSsl'] diff --git a/sdk/python/pulumi_splunk/inputs_udp.py b/sdk/python/pulumi_splunk/inputs_udp.py index c47956a3..495bf89a 100644 --- a/sdk/python/pulumi_splunk/inputs_udp.py +++ b/sdk/python/pulumi_splunk/inputs_udp.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/outputs.py b/sdk/python/pulumi_splunk/outputs.py index bf5c6a1b..f511c19b 100644 --- a/sdk/python/pulumi_splunk/outputs.py +++ b/sdk/python/pulumi_splunk/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_splunk/outputs_tcp_default.py b/sdk/python/pulumi_splunk/outputs_tcp_default.py index e46bd6b8..9e1f6345 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_default.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_default.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/outputs_tcp_group.py b/sdk/python/pulumi_splunk/outputs_tcp_group.py index 8c5443ba..41174d0f 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_group.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/outputs_tcp_server.py b/sdk/python/pulumi_splunk/outputs_tcp_server.py index b417a76a..ce8b6740 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_server.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_server.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/outputs_tcp_syslog.py b/sdk/python/pulumi_splunk/outputs_tcp_syslog.py index 3951b258..1d7fbd1d 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_syslog.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_syslog.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/provider.py b/sdk/python/pulumi_splunk/provider.py index 82f828bc..831b1968 100644 --- a/sdk/python/pulumi_splunk/provider.py +++ b/sdk/python/pulumi_splunk/provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = ['ProviderArgs', 'Provider'] diff --git a/sdk/python/pulumi_splunk/saved_searches.py b/sdk/python/pulumi_splunk/saved_searches.py index df14f558..2f4b60c5 100644 --- a/sdk/python/pulumi_splunk/saved_searches.py +++ b/sdk/python/pulumi_splunk/saved_searches.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_splunk/sh_indexes_manager.py b/sdk/python/pulumi_splunk/sh_indexes_manager.py index efef3739..26e34ac6 100644 --- a/sdk/python/pulumi_splunk/sh_indexes_manager.py +++ b/sdk/python/pulumi_splunk/sh_indexes_manager.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml index 8ba675cd..de1ee475 100644 --- a/sdk/python/pyproject.toml +++ b/sdk/python/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "pulumi_splunk" description = "A Pulumi package for creating and managing splunk cloud resources." - dependencies = ["parver>=0.2.1", "pulumi>=3.0.0a1,<4.0.0", "semver>=2.8.1"] + dependencies = ["parver>=0.2.1", "pulumi>=3.0.0a1,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""] keywords = ["pulumi", "splunk"] readme = "README.md" requires-python = ">=3.8"