diff --git a/CHANGELOG.md b/CHANGELOG.md index c5b34798..b80e7973 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ _(none)_ --- +## 1.0.0 (2021-04-19) +* Depend on Pulumi 3.0, which includes improvements to Python resource arguments and key translation, Go SDK performance, + Node SDK performance, general availability of Automation API, and more. + ## 0.4.1 (2021-04-14) * Upgrade to v1.4.4 of the Splunk Terraform Provider diff --git a/examples/go.mod b/examples/go.mod index 91847cd3..29c8e977 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -5,8 +5,8 @@ go 1.16 require ( github.com/onsi/ginkgo v1.15.0 // indirect github.com/onsi/gomega v1.10.5 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.0.0-beta.2 - github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.0.0 + github.com/pulumi/pulumi/sdk/v3 v3.0.0 // indirect gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect ) diff --git a/examples/go.sum b/examples/go.sum index 7a7a726a..f4c54c41 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -206,6 +206,8 @@ github.com/aws/aws-sdk-go v1.31.13 h1:UeWMTRTL0XAKLR7vxDL4/u7KOtz/LtfJr+lXtxN4YE github.com/aws/aws-sdk-go v1.31.13/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/aws/aws-sdk-go v1.36.1 h1:rDgSL20giXXu48Ycx6Qa4vWaNTVTltUl6vA73ObCSVk= github.com/aws/aws-sdk-go v1.36.1/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.37.31 h1:eK7hgg1H4xivwopAbnzfQ7ZBbDb9cEkGDivd9rUMnJs= +github.com/aws/aws-sdk-go v1.37.31/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -708,6 +710,8 @@ github.com/pulumi/pulumi/pkg/v2 v2.22.1-0.20210309145724-0d5b3d375d56 h1:Gj/hkWP github.com/pulumi/pulumi/pkg/v2 v2.22.1-0.20210309145724-0d5b3d375d56/go.mod h1:bAbzFeU3gHu1diqcckqUqaFf5dP02BfJlP8dnHwm00k= github.com/pulumi/pulumi/pkg/v3 v3.0.0-beta.2 h1:9ZrTeR2CKNmyYjx4GprltxHGMRguno4shKRWedWBRvo= github.com/pulumi/pulumi/pkg/v3 v3.0.0-beta.2/go.mod h1:JCl+sZFEEeDQF1CLAYkxmQv7jxGsNVR7Sn2+gXTu/ag= +github.com/pulumi/pulumi/pkg/v3 v3.0.0 h1:Wj920eXTkNydNXHX7YQESO2vSuW33X+n1BS4Uywstzs= +github.com/pulumi/pulumi/pkg/v3 v3.0.0/go.mod h1:XsgC0PpPdjzZAj9YyEMvtU0ei542zOGxS7M1EzFmH84= github.com/pulumi/pulumi/sdk/v2 v2.2.1/go.mod h1:QNbWpL4gvf3X0lUFT7TXA2Jo1ff/Ti2l97AyFGYwvW4= github.com/pulumi/pulumi/sdk/v2 v2.22.0 h1:O42/vaUiXIyDgIcChQ6RvFEshCGzuVJy53uJr9QZI8o= github.com/pulumi/pulumi/sdk/v2 v2.22.0/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= @@ -715,6 +719,8 @@ github.com/pulumi/pulumi/sdk/v2 v2.22.1-0.20210309145724-0d5b3d375d56 h1:ZT4xD3H github.com/pulumi/pulumi/sdk/v2 v2.22.1-0.20210309145724-0d5b3d375d56/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2 h1:uw3nUFEtygkBTSVjL+kvE12pS8imafKcALPewEFVv1c= github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= +github.com/pulumi/pulumi/sdk/v3 v3.0.0 h1:zkragE05t1Rco/ymfqMU4UXdEmKMmOH0SXhUKQxujxQ= +github.com/pulumi/pulumi/sdk/v3 v3.0.0/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8= github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng= diff --git a/provider/cmd/pulumi-resource-splunk/schema.json b/provider/cmd/pulumi-resource-splunk/schema.json index 48e916cc..cfc1959d 100644 --- a/provider/cmd/pulumi-resource-splunk/schema.json +++ b/provider/cmd/pulumi-resource-splunk/schema.json @@ -6894,6 +6894,7 @@ }, "language": { "csharp": { + "compatibility": "tfbridge20", "namespaces": null, "packageReferences": { "Pulumi": "3.*-*", @@ -6905,6 +6906,7 @@ "importBasePath": "github.com/pulumi/pulumi-splunk/sdk/go/splunk" }, "nodejs": { + "compatibility": "tfbridge20", "dependencies": { "@pulumi/pulumi": "^3.0.0-alpha.0" }, @@ -6919,6 +6921,7 @@ "typescriptVersion": "" }, "python": { + "compatibility": "tfbridge20", "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/splunk/terraform-provider-splunk)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi/pulumi-splunk` repo](https://github.com/pulumi/pulumi-splunk/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`splunk/terraform-provider-splunk` repo](https://github.com/splunk/terraform-provider-splunk/issues).", "requires": { "pulumi": "\u003e=3.0.0a1,\u003c4.0.0" diff --git a/provider/go.mod b/provider/go.mod index a1ae9bdb..644d2faa 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -4,7 +4,8 @@ go 1.16 require ( github.com/hashicorp/terraform-plugin-sdk v1.15.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.0.0-beta.1 - github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.0.0 + github.com/pulumi/pulumi/pkg/v3 v3.0.0 + github.com/pulumi/pulumi/sdk/v3 v3.0.0 github.com/splunk/terraform-provider-splunk v1.4.4 ) diff --git a/provider/go.sum b/provider/go.sum index b4a14cb9..33cddcbe 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -157,6 +157,8 @@ github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpi github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.36.1 h1:rDgSL20giXXu48Ycx6Qa4vWaNTVTltUl6vA73ObCSVk= github.com/aws/aws-sdk-go v1.36.1/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.37.31 h1:eK7hgg1H4xivwopAbnzfQ7ZBbDb9cEkGDivd9rUMnJs= +github.com/aws/aws-sdk-go v1.37.31/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -694,14 +696,20 @@ github.com/pulumi/pulumi-terraform-bridge/v2 v2.23.0 h1:9TanftKDCkeauJpKQHgRmCur github.com/pulumi/pulumi-terraform-bridge/v2 v2.23.0/go.mod h1:QdO8kh0Yu3O03RAjSntY5d/ELPAn3KkGWaLAcP7/Y44= github.com/pulumi/pulumi-terraform-bridge/v3 v3.0.0-beta.1 h1:PRhXkWZe81r0grnR7v8BoC3cns5yk6V6IvjmvM13NUg= github.com/pulumi/pulumi-terraform-bridge/v3 v3.0.0-beta.1/go.mod h1:ni4UwH2JZdaEcM9dz4qip2zB9gYOaNdEcGou4Bu2Dws= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.0.0 h1:hjLg5gpNCpYZdENoNrTw96RVa2sl0TUO4RngN7nlwVI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.0.0/go.mod h1:r9aZCGVFQyNQY0lZcdKSrlOJNFIlSo2pmNEPGFR7UP4= github.com/pulumi/pulumi/pkg/v2 v2.24.1-0.20210411193841-b7d403204449 h1:KTj+B7YhRbU7PsOMBr58RFwNJy+OkGILpA+6/RSuhhw= github.com/pulumi/pulumi/pkg/v2 v2.24.1-0.20210411193841-b7d403204449/go.mod h1:hq6KcDEklytmMrL5aexH19GP2f5GX2IeveICJXaKHc0= github.com/pulumi/pulumi/pkg/v3 v3.0.0-beta.2 h1:9ZrTeR2CKNmyYjx4GprltxHGMRguno4shKRWedWBRvo= github.com/pulumi/pulumi/pkg/v3 v3.0.0-beta.2/go.mod h1:JCl+sZFEEeDQF1CLAYkxmQv7jxGsNVR7Sn2+gXTu/ag= +github.com/pulumi/pulumi/pkg/v3 v3.0.0 h1:Wj920eXTkNydNXHX7YQESO2vSuW33X+n1BS4Uywstzs= +github.com/pulumi/pulumi/pkg/v3 v3.0.0/go.mod h1:XsgC0PpPdjzZAj9YyEMvtU0ei542zOGxS7M1EzFmH84= github.com/pulumi/pulumi/sdk/v2 v2.24.1 h1:bmFDjdlYinnjQu5jeR+D4+k8aQuEhxIfJ/N3nOSaYiY= github.com/pulumi/pulumi/sdk/v2 v2.24.1/go.mod h1:sHQdzD0/cIopR5uLeoikXi1pNBv5SwA4M617VqdIA3E= github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2 h1:uw3nUFEtygkBTSVjL+kvE12pS8imafKcALPewEFVv1c= github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= +github.com/pulumi/pulumi/sdk/v3 v3.0.0 h1:zkragE05t1Rco/ymfqMU4UXdEmKMmOH0SXhUKQxujxQ= +github.com/pulumi/pulumi/sdk/v3 v3.0.0/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8= diff --git a/sdk/go.mod b/sdk/go.mod index 7828c18e..6e77daab 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -5,5 +5,5 @@ go 1.15 require ( github.com/blang/semver v3.5.1+incompatible github.com/pkg/errors v0.9.1 - github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2 + github.com/pulumi/pulumi/sdk/v3 v3.0.0 ) diff --git a/sdk/go.sum b/sdk/go.sum index b235cb7d..f701526d 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -223,6 +223,8 @@ github.com/pulumi/pulumi/sdk/v2 v2.20.0 h1:Y4lUewm7YhAXz7R/m1M8w5X2o20BnxBq3ka6j github.com/pulumi/pulumi/sdk/v2 v2.20.0/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2 h1:uw3nUFEtygkBTSVjL+kvE12pS8imafKcALPewEFVv1c= github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.2/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= +github.com/pulumi/pulumi/sdk/v3 v3.0.0 h1:zkragE05t1Rco/ymfqMU4UXdEmKMmOH0SXhUKQxujxQ= +github.com/pulumi/pulumi/sdk/v3 v3.0.0/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= diff --git a/sdk/python/pulumi_splunk/admin_saml_groups.py b/sdk/python/pulumi_splunk/admin_saml_groups.py index 67058e9b..1d641a7b 100644 --- a/sdk/python/pulumi_splunk/admin_saml_groups.py +++ b/sdk/python/pulumi_splunk/admin_saml_groups.py @@ -97,9 +97,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: AdminSamlGroups @@ -178,15 +176,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/apps_local.py b/sdk/python/pulumi_splunk/apps_local.py index 9719724f..98017775 100644 --- a/sdk/python/pulumi_splunk/apps_local.py +++ b/sdk/python/pulumi_splunk/apps_local.py @@ -506,9 +506,7 @@ def __init__(__self__, update: Optional[pulumi.Input[bool]] = None, version: Optional[pulumi.Input[str]] = None, visible: Optional[pulumi.Input[bool]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: AppsLocal @@ -602,15 +600,7 @@ def _internal_init(__self__, update: Optional[pulumi.Input[bool]] = None, version: Optional[pulumi.Input[str]] = None, visible: Optional[pulumi.Input[bool]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/authentication_users.py b/sdk/python/pulumi_splunk/authentication_users.py index 0078b8a3..0ae3af19 100644 --- a/sdk/python/pulumi_splunk/authentication_users.py +++ b/sdk/python/pulumi_splunk/authentication_users.py @@ -328,9 +328,7 @@ def __init__(__self__, restart_background_jobs: Optional[pulumi.Input[bool]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, tz: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: AuthenticationUsers @@ -409,15 +407,7 @@ def _internal_init(__self__, restart_background_jobs: Optional[pulumi.Input[bool]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, tz: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/authorization_roles.py b/sdk/python/pulumi_splunk/authorization_roles.py index 42e70783..f927266f 100644 --- a/sdk/python/pulumi_splunk/authorization_roles.py +++ b/sdk/python/pulumi_splunk/authorization_roles.py @@ -460,9 +460,7 @@ def __init__(__self__, search_indexes_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search_jobs_quota: Optional[pulumi.Input[int]] = None, search_time_win: Optional[pulumi.Input[int]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: AuthorizationRoles @@ -581,15 +579,7 @@ def _internal_init(__self__, search_indexes_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search_jobs_quota: Optional[pulumi.Input[int]] = None, search_time_win: Optional[pulumi.Input[int]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/configs_conf.py b/sdk/python/pulumi_splunk/configs_conf.py index 83d1d19f..a88ddca0 100644 --- a/sdk/python/pulumi_splunk/configs_conf.py +++ b/sdk/python/pulumi_splunk/configs_conf.py @@ -132,9 +132,7 @@ def __init__(__self__, acl: Optional[pulumi.Input[pulumi.InputType['ConfigsConfAclArgs']]] = None, name: Optional[pulumi.Input[str]] = None, variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: ConfigsConf @@ -199,15 +197,7 @@ def _internal_init(__self__, acl: Optional[pulumi.Input[pulumi.InputType['ConfigsConfAclArgs']]] = None, name: Optional[pulumi.Input[str]] = None, variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/data_ui_views.py b/sdk/python/pulumi_splunk/data_ui_views.py index 60c6d253..02743e8b 100644 --- a/sdk/python/pulumi_splunk/data_ui_views.py +++ b/sdk/python/pulumi_splunk/data_ui_views.py @@ -127,9 +127,7 @@ def __init__(__self__, acl: Optional[pulumi.Input[pulumi.InputType['DataUiViewsAclArgs']]] = None, eai_data: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: DataUiViews @@ -208,15 +206,7 @@ def _internal_init(__self__, acl: Optional[pulumi.Input[pulumi.InputType['DataUiViewsAclArgs']]] = None, eai_data: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/global_http_event_collector.py b/sdk/python/pulumi_splunk/global_http_event_collector.py index a2c9b7cd..39b6f7c2 100644 --- a/sdk/python/pulumi_splunk/global_http_event_collector.py +++ b/sdk/python/pulumi_splunk/global_http_event_collector.py @@ -266,9 +266,7 @@ def __init__(__self__, max_threads: Optional[pulumi.Input[int]] = None, port: Optional[pulumi.Input[int]] = None, use_deployment_server: Optional[pulumi.Input[int]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: GlobalHttpEventCollector @@ -342,15 +340,7 @@ def _internal_init(__self__, max_threads: Optional[pulumi.Input[int]] = None, port: Optional[pulumi.Input[int]] = None, use_deployment_server: Optional[pulumi.Input[int]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/indexes.py b/sdk/python/pulumi_splunk/indexes.py index 06687356..038ba736 100644 --- a/sdk/python/pulumi_splunk/indexes.py +++ b/sdk/python/pulumi_splunk/indexes.py @@ -1496,9 +1496,7 @@ def __init__(__self__, throttle_check_period: Optional[pulumi.Input[int]] = None, tstats_home_path: Optional[pulumi.Input[str]] = None, warm_to_cold_script: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: Indexes @@ -1687,15 +1685,7 @@ def _internal_init(__self__, throttle_check_period: Optional[pulumi.Input[int]] = None, tstats_home_path: Optional[pulumi.Input[str]] = None, warm_to_cold_script: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/inputs_http_event_collector.py b/sdk/python/pulumi_splunk/inputs_http_event_collector.py index 9f7425b3..0c8222bc 100644 --- a/sdk/python/pulumi_splunk/inputs_http_event_collector.py +++ b/sdk/python/pulumi_splunk/inputs_http_event_collector.py @@ -363,9 +363,7 @@ def __init__(__self__, sourcetype: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, use_ack: Optional[pulumi.Input[int]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsHttpEventCollector @@ -420,15 +418,7 @@ def _internal_init(__self__, sourcetype: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, use_ack: Optional[pulumi.Input[int]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/inputs_monitor.py b/sdk/python/pulumi_splunk/inputs_monitor.py index 8e1ed97c..0fd5d604 100644 --- a/sdk/python/pulumi_splunk/inputs_monitor.py +++ b/sdk/python/pulumi_splunk/inputs_monitor.py @@ -561,9 +561,7 @@ def __init__(__self__, sourcetype: Optional[pulumi.Input[str]] = None, time_before_close: Optional[pulumi.Input[int]] = None, whitelist: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsMonitor @@ -652,15 +650,7 @@ def _internal_init(__self__, sourcetype: Optional[pulumi.Input[str]] = None, time_before_close: Optional[pulumi.Input[int]] = None, whitelist: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/inputs_script.py b/sdk/python/pulumi_splunk/inputs_script.py index 51cacb07..e6293aeb 100644 --- a/sdk/python/pulumi_splunk/inputs_script.py +++ b/sdk/python/pulumi_splunk/inputs_script.py @@ -370,9 +370,7 @@ def __init__(__self__, rename_source: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, sourcetype: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsScript @@ -429,15 +427,7 @@ def _internal_init(__self__, rename_source: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, sourcetype: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/inputs_tcp_cooked.py b/sdk/python/pulumi_splunk/inputs_tcp_cooked.py index 21449440..3588ee2e 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_cooked.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_cooked.py @@ -251,9 +251,7 @@ def __init__(__self__, host: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, restrict_to_host: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsTcpCooked @@ -329,15 +327,7 @@ def _internal_init(__self__, host: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, restrict_to_host: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/inputs_tcp_raw.py b/sdk/python/pulumi_splunk/inputs_tcp_raw.py index 7969dd92..27ac3598 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_raw.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_raw.py @@ -444,9 +444,7 @@ def __init__(__self__, restrict_to_host: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, sourcetype: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsTcpRaw @@ -543,15 +541,7 @@ def _internal_init(__self__, restrict_to_host: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, sourcetype: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): 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 66c1d13b..48ad65a6 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_splunk_tcp_token.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_splunk_tcp_token.py @@ -132,9 +132,7 @@ def __init__(__self__, acl: Optional[pulumi.Input[pulumi.InputType['InputsTcpSplunkTcpTokenAclArgs']]] = None, name: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsTcpSplunkTcpToken @@ -193,15 +191,7 @@ def _internal_init(__self__, acl: Optional[pulumi.Input[pulumi.InputType['InputsTcpSplunkTcpTokenAclArgs']]] = None, name: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/inputs_tcp_ssl.py b/sdk/python/pulumi_splunk/inputs_tcp_ssl.py index a4433afa..5caa0b5a 100644 --- a/sdk/python/pulumi_splunk/inputs_tcp_ssl.py +++ b/sdk/python/pulumi_splunk/inputs_tcp_ssl.py @@ -196,9 +196,7 @@ def __init__(__self__, require_client_cert: Optional[pulumi.Input[bool]] = None, root_ca: Optional[pulumi.Input[str]] = None, server_cert: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsTcpSsl @@ -265,15 +263,7 @@ def _internal_init(__self__, require_client_cert: Optional[pulumi.Input[bool]] = None, root_ca: Optional[pulumi.Input[str]] = None, server_cert: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/inputs_udp.py b/sdk/python/pulumi_splunk/inputs_udp.py index 02fec5e3..9968a0a2 100644 --- a/sdk/python/pulumi_splunk/inputs_udp.py +++ b/sdk/python/pulumi_splunk/inputs_udp.py @@ -453,9 +453,7 @@ def __init__(__self__, restrict_to_host: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, sourcetype: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: InputsTcpRaw @@ -546,15 +544,7 @@ def _internal_init(__self__, restrict_to_host: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, sourcetype: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/outputs_tcp_default.py b/sdk/python/pulumi_splunk/outputs_tcp_default.py index bbc540cf..b7ce10ce 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_default.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_default.py @@ -378,9 +378,7 @@ def __init__(__self__, max_queue_size: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, send_cooked_data: Optional[pulumi.Input[bool]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: OutputsTcpDefault @@ -475,15 +473,7 @@ def _internal_init(__self__, max_queue_size: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, send_cooked_data: Optional[pulumi.Input[bool]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/outputs_tcp_group.py b/sdk/python/pulumi_splunk/outputs_tcp_group.py index 1dee1e05..03c1a34f 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_group.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_group.py @@ -435,9 +435,7 @@ def __init__(__self__, send_cooked_data: Optional[pulumi.Input[bool]] = None, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, token: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: OutputsTcpGroup @@ -538,15 +536,7 @@ def _internal_init(__self__, send_cooked_data: Optional[pulumi.Input[bool]] = None, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, token: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/outputs_tcp_server.py b/sdk/python/pulumi_splunk/outputs_tcp_server.py index f0ea3af4..b3c82621 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_server.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_server.py @@ -408,9 +408,7 @@ def __init__(__self__, ssl_password: Optional[pulumi.Input[str]] = None, ssl_root_ca_path: Optional[pulumi.Input[str]] = None, ssl_verify_server_cert: Optional[pulumi.Input[bool]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: OutputsTcpServer @@ -488,15 +486,7 @@ def _internal_init(__self__, ssl_password: Optional[pulumi.Input[str]] = None, ssl_root_ca_path: Optional[pulumi.Input[str]] = None, ssl_verify_server_cert: Optional[pulumi.Input[bool]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/outputs_tcp_syslog.py b/sdk/python/pulumi_splunk/outputs_tcp_syslog.py index 85d10af8..82c3e764 100644 --- a/sdk/python/pulumi_splunk/outputs_tcp_syslog.py +++ b/sdk/python/pulumi_splunk/outputs_tcp_syslog.py @@ -321,9 +321,7 @@ def __init__(__self__, syslog_sourcetype: Optional[pulumi.Input[str]] = None, timestamp_format: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: OutputsTcpSyslog @@ -402,15 +400,7 @@ def _internal_init(__self__, syslog_sourcetype: Optional[pulumi.Input[str]] = None, timestamp_format: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/provider.py b/sdk/python/pulumi_splunk/provider.py index 76a76b1a..72117086 100644 --- a/sdk/python/pulumi_splunk/provider.py +++ b/sdk/python/pulumi_splunk/provider.py @@ -126,9 +126,7 @@ def __init__(__self__, timeout: Optional[pulumi.Input[int]] = None, url: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ The provider type for the splunk package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource @@ -178,15 +176,7 @@ def _internal_init(__self__, timeout: Optional[pulumi.Input[int]] = None, url: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/saved_searches.py b/sdk/python/pulumi_splunk/saved_searches.py index d6f83f91..cd1b9260 100644 --- a/sdk/python/pulumi_splunk/saved_searches.py +++ b/sdk/python/pulumi_splunk/saved_searches.py @@ -4468,9 +4468,7 @@ def __init__(__self__, search: Optional[pulumi.Input[str]] = None, vsid: Optional[pulumi.Input[str]] = None, workload_pool: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: SavedSearches @@ -4821,15 +4819,7 @@ def _internal_init(__self__, search: Optional[pulumi.Input[str]] = None, vsid: Optional[pulumi.Input[str]] = None, workload_pool: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): diff --git a/sdk/python/pulumi_splunk/sh_indexes_manager.py b/sdk/python/pulumi_splunk/sh_indexes_manager.py index c710ebdd..abff3482 100644 --- a/sdk/python/pulumi_splunk/sh_indexes_manager.py +++ b/sdk/python/pulumi_splunk/sh_indexes_manager.py @@ -198,9 +198,7 @@ def __init__(__self__, frozen_time_period_in_secs: Optional[pulumi.Input[str]] = None, max_global_raw_data_size_mb: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): + __props__=None): """ ## # Resource: ShIndexesManager @@ -278,15 +276,7 @@ def _internal_init(__self__, frozen_time_period_in_secs: Optional[pulumi.Input[str]] = None, max_global_raw_data_size_mb: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - __props__=None, - __name__=None, - __opts__=None): - if __name__ is not None: - warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) - resource_name = __name__ - if __opts__ is not None: - warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) - opts = __opts__ + __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions):