diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e8d7554..6291fba0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,11 +105,11 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - # - if: matrix.language == 'python' - # name: Setup Python - # uses: actions/setup-python@v5 - # with: - # python-version: ${{ env.PYTHONVERSION }} + - if: matrix.language == 'python' + name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHONVERSION }} - if: matrix.language == 'java' name: Setup Java uses: actions/setup-java@v4 @@ -133,8 +133,8 @@ jobs: - nodejs - dotnet - java - # - go - # - python + - go + - python # - name: Download provider + tfgen binaries # uses: actions/download-artifact@v4 diff --git a/.gitignore b/.gitignore index 378ce94c..8b6d0016 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,6 @@ Pulumi.*.yaml yarn.lock **/pulumiManifest.go -ci-scripts provider/shim/coverage.txt provider/**/schema-embed.json **/version.txt @@ -30,15 +29,13 @@ sdk/java/gradle sdk/java/gradlew sdk/java/gradlew.bat -!upstream-tools/yarn.lock - __pycache__ venv sdk/python/build sdk/python/*.egg-info +sdk/python/venv .envrc -sdk/python/venv go.work go.work.sum diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a837790..227cc45c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,3 +2,4 @@ ## Unreleased +- Publish Go and Python SDKs diff --git a/Makefile b/Makefile index 9f0ee79e..d5b10348 100644 --- a/Makefile +++ b/Makefile @@ -17,9 +17,7 @@ development: install_plugins provider build_sdks install_sdks build: install_plugins provider build_sdks install_sdks -# TODO: get python and go SDKs building -# build_sdks: build_nodejs build_python build_go build_dotnet build_java -build_sdks: build_nodejs build_dotnet build_java +build_sdks: build_nodejs build_python build_go build_dotnet build_java install_go_sdk: @@ -64,7 +62,7 @@ build_nodejs: build_python: PYPI_VERSION := $(shell pulumictl get version --language python) build_python: export PULUMI_HOME := $(WORKING_DIR)/.pulumi build_python: export PATH := $(WORKING_DIR)/.pulumi/bin:$(PATH) -#build_python: export PULUMI_CONVERT_EXAMPLES_CACHE_DIR := $(WORKING_DIR)/.pulumi/examples-cache +build_python: export PULUMI_CONVERT_EXAMPLES_CACHE_DIR := $(WORKING_DIR)/.pulumi/examples-cache build_python: rm -rf sdk/python/ PULUMI_CONVERT=$(PULUMI_CONVERT) PULUMI_DISABLE_AUTOMATIC_PLUGIN_ACQUISITION=$(PULUMI_CONVERT) $(WORKING_DIR)/bin/$(TFGEN) python --out sdk/python/ @@ -72,6 +70,7 @@ build_python: printf "module fake_python_module // Exclude this directory from Go tools\n\ngo 1.21\n" > go.mod && \ cp ../../README.md . && \ rm -rf ./bin/ ../python.bin/ && cp -R . ../python.bin && mv ../python.bin ./bin && \ + cp ../../pyproject.toml ./bin/ && \ sed -i.bak -e 's/^ version = .*/ version = "$(PYPI_VERSION)"/g' ./bin/pyproject.toml && \ rm ./bin/pyproject.toml.bak && rm ./bin/go.mod && \ python3 -m venv venv && \ @@ -141,5 +140,5 @@ bin/pulumi-java-gen: @mkdir -p .pulumi @cd provider && go list -f "{{slice .Version 1}}" -m github.com/pulumi/pulumi/pkg/v3 | tee ../$@ -# .PHONY: development build build_sdks install_go_sdk install_java_sdk install_python_sdk install_sdks only_build build_dotnet build_go build_java build_nodejs build_python clean cleanup help install_dotnet_sdk install_nodejs_sdk install_plugins lint_provider provider test tfgen test_provider -.PHONY: development build build_sdks install_go_sdk install_java_sdk install_python_sdk install_sdks only_build build_go build_nodejs clean cleanup help install_dotnet_sdk install_nodejs_sdk install_plugins lint_provider provider test tfgen test_provider +.PHONY: development build build_sdks install_go_sdk install_java_sdk install_python_sdk install_sdks only_build build_dotnet build_go build_java build_nodejs build_python clean cleanup help install_dotnet_sdk install_nodejs_sdk install_plugins lint_provider provider test tfgen test_provider +# .PHONY: development build build_sdks install_go_sdk install_java_sdk install_python_sdk install_sdks only_build build_go build_nodejs clean cleanup help install_dotnet_sdk install_nodejs_sdk install_plugins lint_provider provider test tfgen test_provider diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..579dee31 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[project] + name = "pulumi_chronosphere" + description = "A Pulumi package for creating and managing Chronosphere resources." + dependencies = ["parver>=0.2.1", "pulumi>=3.0.0,<4.0.0", "semver>=2.8.1"] + keywords = ["pulumi", "chronosphere"] + readme = "README.md" + requires-python = ">=3.8" + version = "0.0.0" + [project.license] + text = "Apache-2.0" + [project.urls] + Homepage = "https://chronosphere.io" + Repository = "https://github.com/chronosphereio/pulumi-chronosphere" + +[build-system] + requires = ["setuptools>=61.0"] + build-backend = "setuptools.build_meta" + +[tool] + [tool.setuptools] + [tool.setuptools.package-data] + pulumi_chronosphere = ["py.typed", "pulumi-plugin.json"] diff --git a/sdk/dotnet/obj/Debug/Pulumi.Chronosphere.0.0.2-alpha.1712280084.nuspec b/sdk/dotnet/obj/Debug/Pulumi.Chronosphere.0.0.2-alpha.1712280084.nuspec deleted file mode 100644 index 708319c7..00000000 --- a/sdk/dotnet/obj/Debug/Pulumi.Chronosphere.0.0.2-alpha.1712280084.nuspec +++ /dev/null @@ -1,27 +0,0 @@ - - - - Pulumi.Chronosphere - 0.0.2-alpha.1712280084+18ebf358.dirty - Chronosphere - Apache-2.0 - https://licenses.nuget.org/Apache-2.0 - logo.png - https://chronosphere.io/ - Chronosphere Pulumi Provider - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sdk/dotnet/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/sdk/dotnet/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs deleted file mode 100644 index 0e18c2b3..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfo.cs b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfo.cs deleted file mode 100644 index 7cfba3f6..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("Chronosphere")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyDescriptionAttribute("Chronosphere Pulumi Provider")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.2.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.2-alpha.1712280084+18ebf358.dirty.18ebf3587d13bbc8be19ea972815cc775e8c82f1")] -[assembly: System.Reflection.AssemblyProductAttribute("Pulumi.Chronosphere")] -[assembly: System.Reflection.AssemblyTitleAttribute("Pulumi.Chronosphere")] -[assembly: System.Reflection.AssemblyVersionAttribute("0.0.2.0")] -[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/chronosphereio/pulumi-chronosphere")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfoInputs.cache b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfoInputs.cache deleted file mode 100644 index 50944912..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7dd0e850e135772e5d07df286c3a48cb6b64db0c9ec95cc508b7107bf849be43 diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.GeneratedMSBuildEditorConfig.editorconfig b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index ea77c487..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -is_global = true -build_property.TargetFramework = net6.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = Pulumi.Chronosphere -build_property.ProjectDir = /Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/ -build_property.EnableComHosting = -build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.assets.cache b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.assets.cache deleted file mode 100644 index 99cb74d0..00000000 Binary files a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.assets.cache and /dev/null differ diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.AssemblyReference.cache b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.AssemblyReference.cache deleted file mode 100644 index f655ecd3..00000000 Binary files a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.AssemblyReference.cache and /dev/null differ diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.CoreCompileInputs.cache b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.CoreCompileInputs.cache deleted file mode 100644 index 725b9826..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -9c134676f1b9ff185c5833003bdd6ba6e922571dcae185ec305c18254ebe4981 diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.FileListAbsolute.txt b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.FileListAbsolute.txt deleted file mode 100644 index 56b9b1eb..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,15 +0,0 @@ -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/bin/Debug/net6.0/Pulumi.Chronosphere.deps.json -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/bin/Debug/net6.0/Pulumi.Chronosphere.dll -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/bin/Debug/net6.0/Pulumi.Chronosphere.pdb -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/bin/Debug/net6.0/Pulumi.Chronosphere.xml -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.AssemblyReference.cache -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.GeneratedMSBuildEditorConfig.editorconfig -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfoInputs.cache -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.AssemblyInfo.cs -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.csproj.CoreCompileInputs.cache -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.sourcelink.json -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.dll -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/refint/Pulumi.Chronosphere.dll -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.xml -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.pdb -/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/Debug/net6.0/ref/Pulumi.Chronosphere.dll diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.dll b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.dll deleted file mode 100644 index 967769a2..00000000 Binary files a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.dll and /dev/null differ diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.pdb b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.pdb deleted file mode 100644 index 98f45698..00000000 Binary files a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.pdb and /dev/null differ diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.sourcelink.json b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.sourcelink.json deleted file mode 100644 index 2c423ea3..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.sourcelink.json +++ /dev/null @@ -1 +0,0 @@ -{"documents":{"/Users/aschepis/src/chronosphere/pulumi-chronosphere/*":"https://raw.githubusercontent.com/chronosphereio/pulumi-chronosphere/18ebf3587d13bbc8be19ea972815cc775e8c82f1/*"}} \ No newline at end of file diff --git a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.xml b/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.xml deleted file mode 100644 index b870401c..00000000 --- a/sdk/dotnet/obj/Debug/net6.0/Pulumi.Chronosphere.xml +++ /dev/null @@ -1,580 +0,0 @@ - - - - Pulumi.Chronosphere - - - - - Create a BlackholeAlertNotifier resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing BlackholeAlertNotifier resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a Bucket resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing Bucket resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - The provider-assigned unique ID for this managed resource. - - - - - Create a ClassicDashboard resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing ClassicDashboard resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a Collection resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing Collection resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a Dashboard resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing Dashboard resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a DerivedLabel resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing DerivedLabel resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a DerivedMetric resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing DerivedMetric resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a DropRule resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing DropRule resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a EmailAlertNotifier resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing EmailAlertNotifier resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a GcpMetricsIntegration resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing GcpMetricsIntegration resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a GrafanaDashboard resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing GrafanaDashboard resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a MappingRule resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing MappingRule resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a Monitor resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing Monitor resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a NotificationPolicy resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing NotificationPolicy resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - The provider-assigned unique ID for this managed resource. - - - - - Create a OpsgenieAlertNotifier resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing OpsgenieAlertNotifier resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a PagerdutyAlertNotifier resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing PagerdutyAlertNotifier resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - The provider type for the chronosphere package. By default, resources use package-wide configuration - settings, however an explicit `Provider` instance may be created and passed during resource - construction to achieve fine-grained programmatic control over provider settings. See the - [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. - - - - - Create a Provider resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Create a RecordingRule resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing RecordingRule resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a ResourcePoolsConfig resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing ResourcePoolsConfig resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a RollupRule resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing RollupRule resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a ServiceAccount resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing ServiceAccount resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - The provider-assigned unique ID for this managed resource. - - - - - Create a SlackAlertNotifier resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing SlackAlertNotifier resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a Team resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing Team resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a TraceJaegerRemoteSamplingStrategy resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing TraceJaegerRemoteSamplingStrategy resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a TraceMetricsRule resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing TraceMetricsRule resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a TraceTailSamplingRules resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing TraceTailSamplingRules resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a VictoropsAlertNotifier resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing VictoropsAlertNotifier resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - - Create a WebhookAlertNotifier resource with the given unique name, arguments, and options. - - - The unique name of the resource - The arguments used to populate this resource's properties - A bag of options that control this resource's behavior - - - - Get an existing WebhookAlertNotifier resource's state with the given name, ID, and optional extra - properties used to qualify the lookup. - - - The unique name of the resulting resource. - The unique provider ID of the resource to lookup. - Any extra arguments used during the lookup. - A bag of options that control this resource's behavior - - - diff --git a/sdk/dotnet/obj/Debug/net6.0/ref/Pulumi.Chronosphere.dll b/sdk/dotnet/obj/Debug/net6.0/ref/Pulumi.Chronosphere.dll deleted file mode 100644 index 35077f47..00000000 Binary files a/sdk/dotnet/obj/Debug/net6.0/ref/Pulumi.Chronosphere.dll and /dev/null differ diff --git a/sdk/dotnet/obj/Debug/net6.0/refint/Pulumi.Chronosphere.dll b/sdk/dotnet/obj/Debug/net6.0/refint/Pulumi.Chronosphere.dll deleted file mode 100644 index 35077f47..00000000 Binary files a/sdk/dotnet/obj/Debug/net6.0/refint/Pulumi.Chronosphere.dll and /dev/null differ diff --git a/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.dgspec.json b/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.dgspec.json deleted file mode 100644 index 4d528d28..00000000 --- a/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.dgspec.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "format": 1, - "restore": { - "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/Pulumi.Chronosphere.csproj": {} - }, - "projects": { - "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/Pulumi.Chronosphere.csproj": { - "version": "0.0.2-alpha.1712280084+18ebf358.dirty", - "restore": { - "projectUniqueName": "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/Pulumi.Chronosphere.csproj", - "projectName": "Pulumi.Chronosphere", - "projectPath": "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/Pulumi.Chronosphere.csproj", - "packagesPath": "/Users/aschepis/.nuget/packages/", - "outputPath": "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/", - "projectStyle": "PackageReference", - "configFilePaths": [ - "/Users/aschepis/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net6.0" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net6.0": { - "targetAlias": "net6.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net6.0": { - "targetAlias": "net6.0", - "dependencies": { - "Microsoft.SourceLink.GitHub": { - "suppressParent": "All", - "target": "Package", - "version": "[1.0.0, )" - }, - "Pulumi": { - "target": "Package", - "version": "[3.54.1, 4.0.0)" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "downloadDependencies": [ - { - "name": "Microsoft.AspNetCore.App.Ref", - "version": "[6.0.25, 6.0.25]" - }, - { - "name": "Microsoft.NETCore.App.Ref", - "version": "[6.0.25, 6.0.25]" - } - ], - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "/Users/aschepis/.asdf/installs/dotnet-core/8.0.100/sdk/8.0.100/RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.g.props b/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.g.props deleted file mode 100644 index 2c7853e4..00000000 --- a/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.g.props +++ /dev/null @@ -1,25 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - /Users/aschepis/.nuget/packages/ - /Users/aschepis/.nuget/packages/ - PackageReference - 6.8.0 - - - - - - - - - - - /Users/aschepis/.nuget/packages/microsoft.sourcelink.common/1.0.0 - /Users/aschepis/.nuget/packages/microsoft.build.tasks.git/1.0.0 - /Users/aschepis/.nuget/packages/microsoft.sourcelink.github/1.0.0 - - \ No newline at end of file diff --git a/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.g.targets b/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.g.targets deleted file mode 100644 index 27e14392..00000000 --- a/sdk/dotnet/obj/Pulumi.Chronosphere.csproj.nuget.g.targets +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/sdk/dotnet/obj/project.assets.json b/sdk/dotnet/obj/project.assets.json deleted file mode 100644 index 7a64ae58..00000000 --- a/sdk/dotnet/obj/project.assets.json +++ /dev/null @@ -1,929 +0,0 @@ -{ - "version": 3, - "targets": { - "net6.0": { - "Ben.Demystifier/0.4.1": { - "type": "package", - "dependencies": { - "System.Reflection.Metadata": "5.0.0" - }, - "compile": { - "lib/netstandard2.1/Ben.Demystifier.dll": {} - }, - "runtime": { - "lib/netstandard2.1/Ben.Demystifier.dll": {} - } - }, - "Grpc.AspNetCore.Server/2.37.0": { - "type": "package", - "dependencies": { - "Grpc.Net.Common": "2.37.0" - }, - "compile": { - "lib/net5.0/Grpc.AspNetCore.Server.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/net5.0/Grpc.AspNetCore.Server.dll": { - "related": ".pdb;.xml" - } - }, - "frameworkReferences": [ - "Microsoft.AspNetCore.App" - ] - }, - "Grpc.Core.Api/2.43.0": { - "type": "package", - "dependencies": { - "System.Memory": "4.5.3" - }, - "compile": { - "lib/netstandard2.0/Grpc.Core.Api.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/netstandard2.0/Grpc.Core.Api.dll": { - "related": ".pdb;.xml" - } - } - }, - "Grpc.Net.Client/2.43.0": { - "type": "package", - "dependencies": { - "Grpc.Net.Common": "2.43.0", - "Microsoft.Extensions.Logging.Abstractions": "3.0.3" - }, - "compile": { - "lib/net6.0/Grpc.Net.Client.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/net6.0/Grpc.Net.Client.dll": { - "related": ".pdb;.xml" - } - } - }, - "Grpc.Net.Common/2.43.0": { - "type": "package", - "dependencies": { - "Grpc.Core.Api": "2.43.0" - }, - "compile": { - "lib/net6.0/Grpc.Net.Common.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/net6.0/Grpc.Net.Common.dll": { - "related": ".pdb;.xml" - } - } - }, - "Microsoft.Build.Tasks.Git/1.0.0": { - "type": "package", - "build": { - "build/Microsoft.Build.Tasks.Git.props": {}, - "build/Microsoft.Build.Tasks.Git.targets": {} - }, - "buildMultiTargeting": { - "buildMultiTargeting/Microsoft.Build.Tasks.Git.props": {}, - "buildMultiTargeting/Microsoft.Build.Tasks.Git.targets": {} - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": { - "type": "package", - "compile": { - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { - "related": ".xml" - } - } - }, - "Microsoft.Extensions.Logging/2.0.0": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0", - "Microsoft.Extensions.Logging.Abstractions": "2.0.0", - "Microsoft.Extensions.Options": "2.0.0" - }, - "compile": { - "lib/netstandard2.0/Microsoft.Extensions.Logging.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.Extensions.Logging.dll": { - "related": ".xml" - } - } - }, - "Microsoft.Extensions.Logging.Abstractions/3.1.16": { - "type": "package", - "compile": { - "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { - "related": ".xml" - } - } - }, - "Microsoft.Extensions.Options/2.0.0": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0", - "Microsoft.Extensions.Primitives": "2.0.0" - }, - "compile": { - "lib/netstandard2.0/Microsoft.Extensions.Options.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.Extensions.Options.dll": { - "related": ".xml" - } - } - }, - "Microsoft.Extensions.Primitives/2.0.0": { - "type": "package", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.4.0" - }, - "compile": { - "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": { - "related": ".xml" - } - } - }, - "Microsoft.SourceLink.Common/1.0.0": { - "type": "package", - "build": { - "build/Microsoft.SourceLink.Common.props": {}, - "build/Microsoft.SourceLink.Common.targets": {} - }, - "buildMultiTargeting": { - "buildMultiTargeting/Microsoft.SourceLink.Common.props": {}, - "buildMultiTargeting/Microsoft.SourceLink.Common.targets": {} - } - }, - "Microsoft.SourceLink.GitHub/1.0.0": { - "type": "package", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.0.0", - "Microsoft.SourceLink.Common": "1.0.0" - }, - "build": { - "build/Microsoft.SourceLink.GitHub.props": {}, - "build/Microsoft.SourceLink.GitHub.targets": {} - }, - "buildMultiTargeting": { - "buildMultiTargeting/Microsoft.SourceLink.GitHub.props": {}, - "buildMultiTargeting/Microsoft.SourceLink.GitHub.targets": {} - } - }, - "OneOf/3.0.216": { - "type": "package", - "compile": { - "lib/netstandard2.0/OneOf.dll": {} - }, - "runtime": { - "lib/netstandard2.0/OneOf.dll": {} - } - }, - "Pulumi/3.54.1": { - "type": "package", - "dependencies": { - "Ben.Demystifier": "0.4.1", - "Grpc.AspNetCore.Server": "2.37.0", - "Grpc.Net.Client": "2.43.0", - "Microsoft.Extensions.Logging.Abstractions": "3.1.16", - "OneOf": "3.0.216", - "Pulumi.Protobuf": "3.20.1", - "Serilog.Extensions.Logging": "3.0.1", - "Serilog.Sinks.Console": "4.0.1", - "semver": "2.1.0" - }, - "compile": { - "lib/net6.0/Pulumi.dll": { - "related": ".pdb" - } - }, - "runtime": { - "lib/net6.0/Pulumi.dll": { - "related": ".pdb" - } - } - }, - "Pulumi.Protobuf/3.20.1": { - "type": "package", - "compile": { - "lib/net5.0/Google.Protobuf.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/net5.0/Google.Protobuf.dll": { - "related": ".pdb;.xml" - } - } - }, - "Semver/2.1.0": { - "type": "package", - "compile": { - "lib/netstandard2.0/Semver.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Semver.dll": { - "related": ".xml" - } - } - }, - "Serilog/2.10.0": { - "type": "package", - "compile": { - "lib/netstandard2.1/Serilog.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.1/Serilog.dll": { - "related": ".xml" - } - } - }, - "Serilog.Extensions.Logging/3.0.1": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Logging": "2.0.0", - "Serilog": "2.8.0" - }, - "compile": { - "lib/netstandard2.0/Serilog.Extensions.Logging.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Serilog.Extensions.Logging.dll": { - "related": ".xml" - } - } - }, - "Serilog.Sinks.Console/4.0.1": { - "type": "package", - "dependencies": { - "Serilog": "2.10.0" - }, - "compile": { - "lib/net5.0/Serilog.Sinks.Console.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net5.0/Serilog.Sinks.Console.dll": { - "related": ".xml" - } - } - }, - "System.Memory/4.5.3": { - "type": "package", - "compile": { - "ref/netcoreapp2.1/_._": {} - }, - "runtime": { - "lib/netcoreapp2.1/_._": {} - } - }, - "System.Reflection.Metadata/5.0.0": { - "type": "package", - "compile": { - "lib/netstandard2.0/System.Reflection.Metadata.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/System.Reflection.Metadata.dll": { - "related": ".xml" - } - } - }, - "System.Runtime.CompilerServices.Unsafe/4.4.0": { - "type": "package", - "compile": { - "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - } - } - } - }, - "libraries": { - "Ben.Demystifier/0.4.1": { - "sha512": "axFeEMfmEORy3ipAzOXG/lE+KcNptRbei3F0C4kQCdeiQtW+qJW90K5iIovITGrdLt8AjhNCwk5qLSX9/rFpoA==", - "type": "package", - "path": "ben.demystifier/0.4.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "ben.demystifier.0.4.1.nupkg.sha512", - "ben.demystifier.nuspec", - "icon.png", - "lib/net45/Ben.Demystifier.dll", - "lib/netstandard2.0/Ben.Demystifier.dll", - "lib/netstandard2.1/Ben.Demystifier.dll", - "readme.md" - ] - }, - "Grpc.AspNetCore.Server/2.37.0": { - "sha512": "CYwIdTx3Ev83jdk0yHUugn4HOac0N5m6KwmU9r5ct4xMJQgO3uH+aVqt8HRIbl3/vg2Vy1YoAu+PDHFGc6CNMw==", - "type": "package", - "path": "grpc.aspnetcore.server/2.37.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "grpc.aspnetcore.server.2.37.0.nupkg.sha512", - "grpc.aspnetcore.server.nuspec", - "lib/net5.0/Grpc.AspNetCore.Server.dll", - "lib/net5.0/Grpc.AspNetCore.Server.pdb", - "lib/net5.0/Grpc.AspNetCore.Server.xml", - "lib/netcoreapp3.0/Grpc.AspNetCore.Server.dll", - "lib/netcoreapp3.0/Grpc.AspNetCore.Server.pdb", - "lib/netcoreapp3.0/Grpc.AspNetCore.Server.xml", - "packageIcon.png" - ] - }, - "Grpc.Core.Api/2.43.0": { - "sha512": "mikPMVE2I1AaNde1JQvR3ud8HsUmpeA4blqTt4SfCnDSNVN1GCd2UUEZsiID4MRPUzXwflMYl7/HhFytb6d+Ww==", - "type": "package", - "path": "grpc.core.api/2.43.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "grpc.core.api.2.43.0.nupkg.sha512", - "grpc.core.api.nuspec", - "lib/net45/Grpc.Core.Api.dll", - "lib/net45/Grpc.Core.Api.pdb", - "lib/net45/Grpc.Core.Api.xml", - "lib/netstandard1.5/Grpc.Core.Api.dll", - "lib/netstandard1.5/Grpc.Core.Api.pdb", - "lib/netstandard1.5/Grpc.Core.Api.xml", - "lib/netstandard2.0/Grpc.Core.Api.dll", - "lib/netstandard2.0/Grpc.Core.Api.pdb", - "lib/netstandard2.0/Grpc.Core.Api.xml", - "packageIcon.png" - ] - }, - "Grpc.Net.Client/2.43.0": { - "sha512": "ZhkxEOT3YPsJufsSYwIixwnPyZbjy3xOZgO61J2ZwEby3StwBDFQ5eHoxSjNVSpOP+ax8WMbgbmZfzjO+hBW8A==", - "type": "package", - "path": "grpc.net.client/2.43.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "README.md", - "grpc.net.client.2.43.0.nupkg.sha512", - "grpc.net.client.nuspec", - "lib/net5.0/Grpc.Net.Client.dll", - "lib/net5.0/Grpc.Net.Client.pdb", - "lib/net5.0/Grpc.Net.Client.xml", - "lib/net6.0/Grpc.Net.Client.dll", - "lib/net6.0/Grpc.Net.Client.pdb", - "lib/net6.0/Grpc.Net.Client.xml", - "lib/netstandard2.0/Grpc.Net.Client.dll", - "lib/netstandard2.0/Grpc.Net.Client.pdb", - "lib/netstandard2.0/Grpc.Net.Client.xml", - "lib/netstandard2.1/Grpc.Net.Client.dll", - "lib/netstandard2.1/Grpc.Net.Client.pdb", - "lib/netstandard2.1/Grpc.Net.Client.xml", - "packageIcon.png" - ] - }, - "Grpc.Net.Common/2.43.0": { - "sha512": "kt0Hb1N1tlb5UdN17bTHEPNbKP3LUHEZQSKD47etAVI5KLDtmVGO4YsUGM/krrNMwHRjhUCy0EhUU8uVMc3upA==", - "type": "package", - "path": "grpc.net.common/2.43.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "grpc.net.common.2.43.0.nupkg.sha512", - "grpc.net.common.nuspec", - "lib/net5.0/Grpc.Net.Common.dll", - "lib/net5.0/Grpc.Net.Common.pdb", - "lib/net5.0/Grpc.Net.Common.xml", - "lib/net6.0/Grpc.Net.Common.dll", - "lib/net6.0/Grpc.Net.Common.pdb", - "lib/net6.0/Grpc.Net.Common.xml", - "lib/netstandard2.0/Grpc.Net.Common.dll", - "lib/netstandard2.0/Grpc.Net.Common.pdb", - "lib/netstandard2.0/Grpc.Net.Common.xml", - "lib/netstandard2.1/Grpc.Net.Common.dll", - "lib/netstandard2.1/Grpc.Net.Common.pdb", - "lib/netstandard2.1/Grpc.Net.Common.xml", - "packageIcon.png" - ] - }, - "Microsoft.Build.Tasks.Git/1.0.0": { - "sha512": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ==", - "type": "package", - "path": "microsoft.build.tasks.git/1.0.0", - "hasTools": true, - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "build/Microsoft.Build.Tasks.Git.props", - "build/Microsoft.Build.Tasks.Git.targets", - "buildMultiTargeting/Microsoft.Build.Tasks.Git.props", - "buildMultiTargeting/Microsoft.Build.Tasks.Git.targets", - "microsoft.build.tasks.git.1.0.0.nupkg.sha512", - "microsoft.build.tasks.git.nuspec", - "tools/net461/Microsoft.Build.Tasks.Git.dll", - "tools/net461/System.Collections.Immutable.dll", - "tools/net461/cs/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/de/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/es/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/fr/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/it/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/ja/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/ko/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/pl/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/pt-BR/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/ru/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/tr/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/zh-Hans/Microsoft.Build.Tasks.Git.resources.dll", - "tools/net461/zh-Hant/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/Microsoft.Build.Tasks.Git.dll", - "tools/netcoreapp2.0/cs/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/de/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/es/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/fr/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/it/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/ja/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/ko/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/pl/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/pt-BR/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/ru/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/tr/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/zh-Hans/Microsoft.Build.Tasks.Git.resources.dll", - "tools/netcoreapp2.0/zh-Hant/Microsoft.Build.Tasks.Git.resources.dll" - ] - }, - "Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": { - "sha512": "eUdJ0Q/GfVyUJc0Jal5L1QZLceL78pvEM9wEKcHeI24KorqMDoVX+gWsMGLulQMfOwsUaPtkpQM2pFERTzSfSg==", - "type": "package", - "path": "microsoft.extensions.dependencyinjection.abstractions/2.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", - "microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512", - "microsoft.extensions.dependencyinjection.abstractions.nuspec" - ] - }, - "Microsoft.Extensions.Logging/2.0.0": { - "sha512": "VP10syWV/vxYYMKgZ2eDESmUsz3gPxvBn5J6tkVN8lI4M+dF43RN8fWsEPbcAneDmZrHl3Pv23z05nmyGkJlpg==", - "type": "package", - "path": "microsoft.extensions.logging/2.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", - "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", - "microsoft.extensions.logging.2.0.0.nupkg.sha512", - "microsoft.extensions.logging.nuspec" - ] - }, - "Microsoft.Extensions.Logging.Abstractions/3.1.16": { - "sha512": "ltX0/yOxdEdnvHqTWjBeszga5kTjFHCwekoNX5DcAlSdoRPngJ13VgqFUeQyIZByfTO6972Y4dB6/YmXTeZAIA==", - "type": "package", - "path": "microsoft.extensions.logging.abstractions/3.1.16", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", - "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", - "microsoft.extensions.logging.abstractions.3.1.16.nupkg.sha512", - "microsoft.extensions.logging.abstractions.nuspec" - ] - }, - "Microsoft.Extensions.Options/2.0.0": { - "sha512": "sAKBgjl2gWsECBLLR9K54T7/uZaP2n9GhMYHay/oOLfvpvX0+iNAlQ2NJgVE352C9Fs5CDV3VbNTK8T2aNKQFA==", - "type": "package", - "path": "microsoft.extensions.options/2.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/netstandard2.0/Microsoft.Extensions.Options.dll", - "lib/netstandard2.0/Microsoft.Extensions.Options.xml", - "microsoft.extensions.options.2.0.0.nupkg.sha512", - "microsoft.extensions.options.nuspec" - ] - }, - "Microsoft.Extensions.Primitives/2.0.0": { - "sha512": "ukg53qNlqTrK38WA30b5qhw0GD7y3jdI9PHHASjdKyTcBHTevFM2o23tyk3pWCgAV27Bbkm+CPQ2zUe1ZOuYSA==", - "type": "package", - "path": "microsoft.extensions.primitives/2.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", - "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", - "microsoft.extensions.primitives.2.0.0.nupkg.sha512", - "microsoft.extensions.primitives.nuspec" - ] - }, - "Microsoft.SourceLink.Common/1.0.0": { - "sha512": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg==", - "type": "package", - "path": "microsoft.sourcelink.common/1.0.0", - "hasTools": true, - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "build/InitializeSourceControlInformation.targets", - "build/Microsoft.SourceLink.Common.props", - "build/Microsoft.SourceLink.Common.targets", - "buildMultiTargeting/Microsoft.SourceLink.Common.props", - "buildMultiTargeting/Microsoft.SourceLink.Common.targets", - "microsoft.sourcelink.common.1.0.0.nupkg.sha512", - "microsoft.sourcelink.common.nuspec", - "tools/net461/Microsoft.SourceLink.Common.dll", - "tools/net461/cs/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/de/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/es/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/fr/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/it/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/ja/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/ko/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/pl/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/pt-BR/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/ru/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/tr/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/zh-Hans/Microsoft.SourceLink.Common.resources.dll", - "tools/net461/zh-Hant/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/Microsoft.SourceLink.Common.dll", - "tools/netcoreapp2.0/cs/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/de/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/es/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/fr/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/it/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/ja/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/ko/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/pl/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/pt-BR/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/ru/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/tr/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/zh-Hans/Microsoft.SourceLink.Common.resources.dll", - "tools/netcoreapp2.0/zh-Hant/Microsoft.SourceLink.Common.resources.dll" - ] - }, - "Microsoft.SourceLink.GitHub/1.0.0": { - "sha512": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==", - "type": "package", - "path": "microsoft.sourcelink.github/1.0.0", - "hasTools": true, - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "build/Microsoft.SourceLink.GitHub.props", - "build/Microsoft.SourceLink.GitHub.targets", - "buildMultiTargeting/Microsoft.SourceLink.GitHub.props", - "buildMultiTargeting/Microsoft.SourceLink.GitHub.targets", - "microsoft.sourcelink.github.1.0.0.nupkg.sha512", - "microsoft.sourcelink.github.nuspec", - "tools/net461/Microsoft.SourceLink.GitHub.dll", - "tools/net461/cs/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/de/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/es/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/fr/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/it/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/ja/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/ko/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/pl/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/pt-BR/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/ru/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/tr/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/zh-Hans/Microsoft.SourceLink.GitHub.resources.dll", - "tools/net461/zh-Hant/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/Microsoft.SourceLink.GitHub.dll", - "tools/netcoreapp2.0/cs/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/de/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/es/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/fr/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/it/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/ja/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/ko/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/pl/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/pt-BR/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/ru/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/tr/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/zh-Hans/Microsoft.SourceLink.GitHub.resources.dll", - "tools/netcoreapp2.0/zh-Hant/Microsoft.SourceLink.GitHub.resources.dll" - ] - }, - "OneOf/3.0.216": { - "sha512": "hvSxx7O9Z50ZK/HZaqxcEiO1skihnHcsziy0cVRqSq7LrETM9swcRcMZuG+0irai7jq8FYYCHTrB/pSHSah6ug==", - "type": "package", - "path": "oneof/3.0.216", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/net35/OneOf.dll", - "lib/net45/OneOf.dll", - "lib/netstandard1.3/OneOf.dll", - "lib/netstandard2.0/OneOf.dll", - "oneof.3.0.216.nupkg.sha512", - "oneof.nuspec" - ] - }, - "Pulumi/3.54.1": { - "sha512": "5IfjuelGFZB7xJZwB9C4o1HZHmoAqZmv4Ssxd1OnHKurtWpewipP/xgtVecWRsD8r4mrjA3RLt2kmB1UIYU3hQ==", - "type": "package", - "path": "pulumi/3.54.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/net6.0/Pulumi.dll", - "lib/net6.0/Pulumi.pdb", - "lib/netcoreapp3.1/Pulumi.dll", - "lib/netcoreapp3.1/Pulumi.pdb", - "pulumi.3.54.1.nupkg.sha512", - "pulumi.nuspec", - "pulumi_logo_64x64.png" - ] - }, - "Pulumi.Protobuf/3.20.1": { - "sha512": "5U/MY7jYmhAPWDicmKErhO52HzQDZMlH7cQ674xEi1BvnMNq+RpHUpzKebDFzctPR9K5xPhMWhn8K56EM/BciA==", - "type": "package", - "path": "pulumi.protobuf/3.20.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/net45/Google.Protobuf.dll", - "lib/net45/Google.Protobuf.pdb", - "lib/net45/Google.Protobuf.xml", - "lib/net5.0/Google.Protobuf.dll", - "lib/net5.0/Google.Protobuf.pdb", - "lib/net5.0/Google.Protobuf.xml", - "lib/netstandard1.1/Google.Protobuf.dll", - "lib/netstandard1.1/Google.Protobuf.pdb", - "lib/netstandard1.1/Google.Protobuf.xml", - "lib/netstandard2.0/Google.Protobuf.dll", - "lib/netstandard2.0/Google.Protobuf.pdb", - "lib/netstandard2.0/Google.Protobuf.xml", - "pulumi.protobuf.3.20.1.nupkg.sha512", - "pulumi.protobuf.nuspec" - ] - }, - "Semver/2.1.0": { - "sha512": "1jUT0PwgKO9d9F/X2n762qLp7v/30OpMtJPFRtmjPXUX2/J0lnqiGiSJNNsW3yYTj5StF0Z1yE36TrvtGpcbrg==", - "type": "package", - "path": "semver/2.1.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/net452/Semver.dll", - "lib/net452/Semver.xml", - "lib/netstandard1.1/Semver.dll", - "lib/netstandard1.1/Semver.xml", - "lib/netstandard2.0/Semver.dll", - "lib/netstandard2.0/Semver.xml", - "semver.2.1.0.nupkg.sha512", - "semver.nuspec" - ] - }, - "Serilog/2.10.0": { - "sha512": "+QX0hmf37a0/OZLxM3wL7V6/ADvC1XihXN4Kq/p6d8lCPfgkRdiuhbWlMaFjR9Av0dy5F0+MBeDmDdRZN/YwQA==", - "type": "package", - "path": "serilog/2.10.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "icon.png", - "lib/net45/Serilog.dll", - "lib/net45/Serilog.xml", - "lib/net46/Serilog.dll", - "lib/net46/Serilog.xml", - "lib/netstandard1.0/Serilog.dll", - "lib/netstandard1.0/Serilog.xml", - "lib/netstandard1.3/Serilog.dll", - "lib/netstandard1.3/Serilog.xml", - "lib/netstandard2.0/Serilog.dll", - "lib/netstandard2.0/Serilog.xml", - "lib/netstandard2.1/Serilog.dll", - "lib/netstandard2.1/Serilog.xml", - "serilog.2.10.0.nupkg.sha512", - "serilog.nuspec" - ] - }, - "Serilog.Extensions.Logging/3.0.1": { - "sha512": "U0xbGoZuxJRjE3C5vlCfrf9a4xHTmbrCXKmaA14cHAqiT1Qir0rkV7Xss9GpPJR3MRYH19DFUUqZ9hvWeJrzdQ==", - "type": "package", - "path": "serilog.extensions.logging/3.0.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "lib/netstandard2.0/Serilog.Extensions.Logging.dll", - "lib/netstandard2.0/Serilog.Extensions.Logging.xml", - "serilog.extensions.logging.3.0.1.nupkg.sha512", - "serilog.extensions.logging.nuspec" - ] - }, - "Serilog.Sinks.Console/4.0.1": { - "sha512": "apLOvSJQLlIbKlbx+Y2UDHSP05kJsV7mou+fvJoRGs/iR+jC22r8cuFVMjjfVxz/AD4B2UCltFhE1naRLXwKNw==", - "type": "package", - "path": "serilog.sinks.console/4.0.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "icon.png", - "lib/net45/Serilog.Sinks.Console.dll", - "lib/net45/Serilog.Sinks.Console.xml", - "lib/net5.0/Serilog.Sinks.Console.dll", - "lib/net5.0/Serilog.Sinks.Console.xml", - "lib/netstandard1.3/Serilog.Sinks.Console.dll", - "lib/netstandard1.3/Serilog.Sinks.Console.xml", - "lib/netstandard2.0/Serilog.Sinks.Console.dll", - "lib/netstandard2.0/Serilog.Sinks.Console.xml", - "serilog.sinks.console.4.0.1.nupkg.sha512", - "serilog.sinks.console.nuspec" - ] - }, - "System.Memory/4.5.3": { - "sha512": "3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==", - "type": "package", - "path": "system.memory/4.5.3", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/netcoreapp2.1/_._", - "lib/netstandard1.1/System.Memory.dll", - "lib/netstandard1.1/System.Memory.xml", - "lib/netstandard2.0/System.Memory.dll", - "lib/netstandard2.0/System.Memory.xml", - "ref/netcoreapp2.1/_._", - "system.memory.4.5.3.nupkg.sha512", - "system.memory.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Reflection.Metadata/5.0.0": { - "sha512": "5NecZgXktdGg34rh1OenY1rFNDCI8xSjFr+Z4OU4cU06AQHUdRnIIEeWENu3Wl4YowbzkymAIMvi3WyK9U53pQ==", - "type": "package", - "path": "system.reflection.metadata/5.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/System.Reflection.Metadata.dll", - "lib/net461/System.Reflection.Metadata.xml", - "lib/netstandard1.1/System.Reflection.Metadata.dll", - "lib/netstandard1.1/System.Reflection.Metadata.xml", - "lib/netstandard2.0/System.Reflection.Metadata.dll", - "lib/netstandard2.0/System.Reflection.Metadata.xml", - "lib/portable-net45+win8/System.Reflection.Metadata.dll", - "lib/portable-net45+win8/System.Reflection.Metadata.xml", - "system.reflection.metadata.5.0.0.nupkg.sha512", - "system.reflection.metadata.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Runtime.CompilerServices.Unsafe/4.4.0": { - "sha512": "9dLLuBxr5GNmOfl2jSMcsHuteEg32BEfUotmmUkmZjpR3RpVHE8YQwt0ow3p6prwA1ME8WqDVZqrr8z6H8G+Kw==", - "type": "package", - "path": "system.runtime.compilerservices.unsafe/4.4.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", - "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", - "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", - "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", - "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", - "system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512", - "system.runtime.compilerservices.unsafe.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - } - }, - "projectFileDependencyGroups": { - "net6.0": [ - "Microsoft.SourceLink.GitHub >= 1.0.0", - "Pulumi >= 3.54.1 < 4.0.0" - ] - }, - "packageFolders": { - "/Users/aschepis/.nuget/packages/": {} - }, - "project": { - "version": "0.0.2-alpha.1712280084+18ebf358.dirty", - "restore": { - "projectUniqueName": "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/Pulumi.Chronosphere.csproj", - "projectName": "Pulumi.Chronosphere", - "projectPath": "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/Pulumi.Chronosphere.csproj", - "packagesPath": "/Users/aschepis/.nuget/packages/", - "outputPath": "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/obj/", - "projectStyle": "PackageReference", - "configFilePaths": [ - "/Users/aschepis/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net6.0" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net6.0": { - "targetAlias": "net6.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net6.0": { - "targetAlias": "net6.0", - "dependencies": { - "Microsoft.SourceLink.GitHub": { - "suppressParent": "All", - "target": "Package", - "version": "[1.0.0, )" - }, - "Pulumi": { - "target": "Package", - "version": "[3.54.1, 4.0.0)" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "downloadDependencies": [ - { - "name": "Microsoft.AspNetCore.App.Ref", - "version": "[6.0.25, 6.0.25]" - }, - { - "name": "Microsoft.NETCore.App.Ref", - "version": "[6.0.25, 6.0.25]" - } - ], - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "/Users/aschepis/.asdf/installs/dotnet-core/8.0.100/sdk/8.0.100/RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/sdk/dotnet/obj/project.nuget.cache b/sdk/dotnet/obj/project.nuget.cache deleted file mode 100644 index 4de44299..00000000 --- a/sdk/dotnet/obj/project.nuget.cache +++ /dev/null @@ -1,34 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "VlYUBR6nt2+hfLSK5zUpJOiMm3cCIuRezgF6uSvcEvKwiszbVQ/G2WkVFbQmzhvnMuCYYaRH4d4BfGHLLhw3GA==", - "success": true, - "projectFilePath": "/Users/aschepis/src/chronosphere/pulumi-chronosphere/sdk/dotnet/Pulumi.Chronosphere.csproj", - "expectedPackageFiles": [ - "/Users/aschepis/.nuget/packages/ben.demystifier/0.4.1/ben.demystifier.0.4.1.nupkg.sha512", - "/Users/aschepis/.nuget/packages/grpc.aspnetcore.server/2.37.0/grpc.aspnetcore.server.2.37.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/grpc.core.api/2.43.0/grpc.core.api.2.43.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/grpc.net.client/2.43.0/grpc.net.client.2.43.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/grpc.net.common/2.43.0/grpc.net.common.2.43.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.build.tasks.git/1.0.0/microsoft.build.tasks.git.1.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/2.0.0/microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.extensions.logging/2.0.0/microsoft.extensions.logging.2.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.extensions.logging.abstractions/3.1.16/microsoft.extensions.logging.abstractions.3.1.16.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.extensions.options/2.0.0/microsoft.extensions.options.2.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.extensions.primitives/2.0.0/microsoft.extensions.primitives.2.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.sourcelink.common/1.0.0/microsoft.sourcelink.common.1.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.sourcelink.github/1.0.0/microsoft.sourcelink.github.1.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/oneof/3.0.216/oneof.3.0.216.nupkg.sha512", - "/Users/aschepis/.nuget/packages/pulumi/3.54.1/pulumi.3.54.1.nupkg.sha512", - "/Users/aschepis/.nuget/packages/pulumi.protobuf/3.20.1/pulumi.protobuf.3.20.1.nupkg.sha512", - "/Users/aschepis/.nuget/packages/semver/2.1.0/semver.2.1.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/serilog/2.10.0/serilog.2.10.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/serilog.extensions.logging/3.0.1/serilog.extensions.logging.3.0.1.nupkg.sha512", - "/Users/aschepis/.nuget/packages/serilog.sinks.console/4.0.1/serilog.sinks.console.4.0.1.nupkg.sha512", - "/Users/aschepis/.nuget/packages/system.memory/4.5.3/system.memory.4.5.3.nupkg.sha512", - "/Users/aschepis/.nuget/packages/system.reflection.metadata/5.0.0/system.reflection.metadata.5.0.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/system.runtime.compilerservices.unsafe/4.4.0/system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.netcore.app.ref/6.0.25/microsoft.netcore.app.ref.6.0.25.nupkg.sha512", - "/Users/aschepis/.nuget/packages/microsoft.aspnetcore.app.ref/6.0.25/microsoft.aspnetcore.app.ref.6.0.25.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file diff --git a/sdk/dotnet/version.txt b/sdk/dotnet/version.txt deleted file mode 100644 index c057c685..00000000 --- a/sdk/dotnet/version.txt +++ /dev/null @@ -1 +0,0 @@ -0.0.2-alpha.1712280084+18ebf358.dirty diff --git a/sdk/java/.gradle/8.1.1/dependencies-accessors/gc.properties b/sdk/go/Pulumi.yaml similarity index 100% rename from sdk/java/.gradle/8.1.1/dependencies-accessors/gc.properties rename to sdk/go/Pulumi.yaml diff --git a/sdk/go/chronosphere/blackholeAlertNotifier.go b/sdk/go/chronosphere/blackholeAlertNotifier.go new file mode 100644 index 00000000..bb9c6365 --- /dev/null +++ b/sdk/go/chronosphere/blackholeAlertNotifier.go @@ -0,0 +1,221 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type BlackholeAlertNotifier struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Slug pulumi.StringOutput `pulumi:"slug"` +} + +// NewBlackholeAlertNotifier registers a new resource with the given unique name, arguments, and options. +func NewBlackholeAlertNotifier(ctx *pulumi.Context, + name string, args *BlackholeAlertNotifierArgs, opts ...pulumi.ResourceOption) (*BlackholeAlertNotifier, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource BlackholeAlertNotifier + err := ctx.RegisterResource("chronosphere:index/blackholeAlertNotifier:BlackholeAlertNotifier", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetBlackholeAlertNotifier gets an existing BlackholeAlertNotifier resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetBlackholeAlertNotifier(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BlackholeAlertNotifierState, opts ...pulumi.ResourceOption) (*BlackholeAlertNotifier, error) { + var resource BlackholeAlertNotifier + err := ctx.ReadResource("chronosphere:index/blackholeAlertNotifier:BlackholeAlertNotifier", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering BlackholeAlertNotifier resources. +type blackholeAlertNotifierState struct { + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +type BlackholeAlertNotifierState struct { + Name pulumi.StringPtrInput + Slug pulumi.StringPtrInput +} + +func (BlackholeAlertNotifierState) ElementType() reflect.Type { + return reflect.TypeOf((*blackholeAlertNotifierState)(nil)).Elem() +} + +type blackholeAlertNotifierArgs struct { + Name string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a BlackholeAlertNotifier resource. +type BlackholeAlertNotifierArgs struct { + Name pulumi.StringInput + Slug pulumi.StringPtrInput +} + +func (BlackholeAlertNotifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*blackholeAlertNotifierArgs)(nil)).Elem() +} + +type BlackholeAlertNotifierInput interface { + pulumi.Input + + ToBlackholeAlertNotifierOutput() BlackholeAlertNotifierOutput + ToBlackholeAlertNotifierOutputWithContext(ctx context.Context) BlackholeAlertNotifierOutput +} + +func (*BlackholeAlertNotifier) ElementType() reflect.Type { + return reflect.TypeOf((**BlackholeAlertNotifier)(nil)).Elem() +} + +func (i *BlackholeAlertNotifier) ToBlackholeAlertNotifierOutput() BlackholeAlertNotifierOutput { + return i.ToBlackholeAlertNotifierOutputWithContext(context.Background()) +} + +func (i *BlackholeAlertNotifier) ToBlackholeAlertNotifierOutputWithContext(ctx context.Context) BlackholeAlertNotifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(BlackholeAlertNotifierOutput) +} + +// BlackholeAlertNotifierArrayInput is an input type that accepts BlackholeAlertNotifierArray and BlackholeAlertNotifierArrayOutput values. +// You can construct a concrete instance of `BlackholeAlertNotifierArrayInput` via: +// +// BlackholeAlertNotifierArray{ BlackholeAlertNotifierArgs{...} } +type BlackholeAlertNotifierArrayInput interface { + pulumi.Input + + ToBlackholeAlertNotifierArrayOutput() BlackholeAlertNotifierArrayOutput + ToBlackholeAlertNotifierArrayOutputWithContext(context.Context) BlackholeAlertNotifierArrayOutput +} + +type BlackholeAlertNotifierArray []BlackholeAlertNotifierInput + +func (BlackholeAlertNotifierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*BlackholeAlertNotifier)(nil)).Elem() +} + +func (i BlackholeAlertNotifierArray) ToBlackholeAlertNotifierArrayOutput() BlackholeAlertNotifierArrayOutput { + return i.ToBlackholeAlertNotifierArrayOutputWithContext(context.Background()) +} + +func (i BlackholeAlertNotifierArray) ToBlackholeAlertNotifierArrayOutputWithContext(ctx context.Context) BlackholeAlertNotifierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BlackholeAlertNotifierArrayOutput) +} + +// BlackholeAlertNotifierMapInput is an input type that accepts BlackholeAlertNotifierMap and BlackholeAlertNotifierMapOutput values. +// You can construct a concrete instance of `BlackholeAlertNotifierMapInput` via: +// +// BlackholeAlertNotifierMap{ "key": BlackholeAlertNotifierArgs{...} } +type BlackholeAlertNotifierMapInput interface { + pulumi.Input + + ToBlackholeAlertNotifierMapOutput() BlackholeAlertNotifierMapOutput + ToBlackholeAlertNotifierMapOutputWithContext(context.Context) BlackholeAlertNotifierMapOutput +} + +type BlackholeAlertNotifierMap map[string]BlackholeAlertNotifierInput + +func (BlackholeAlertNotifierMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*BlackholeAlertNotifier)(nil)).Elem() +} + +func (i BlackholeAlertNotifierMap) ToBlackholeAlertNotifierMapOutput() BlackholeAlertNotifierMapOutput { + return i.ToBlackholeAlertNotifierMapOutputWithContext(context.Background()) +} + +func (i BlackholeAlertNotifierMap) ToBlackholeAlertNotifierMapOutputWithContext(ctx context.Context) BlackholeAlertNotifierMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(BlackholeAlertNotifierMapOutput) +} + +type BlackholeAlertNotifierOutput struct{ *pulumi.OutputState } + +func (BlackholeAlertNotifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BlackholeAlertNotifier)(nil)).Elem() +} + +func (o BlackholeAlertNotifierOutput) ToBlackholeAlertNotifierOutput() BlackholeAlertNotifierOutput { + return o +} + +func (o BlackholeAlertNotifierOutput) ToBlackholeAlertNotifierOutputWithContext(ctx context.Context) BlackholeAlertNotifierOutput { + return o +} + +func (o BlackholeAlertNotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *BlackholeAlertNotifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BlackholeAlertNotifierOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *BlackholeAlertNotifier) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +type BlackholeAlertNotifierArrayOutput struct{ *pulumi.OutputState } + +func (BlackholeAlertNotifierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*BlackholeAlertNotifier)(nil)).Elem() +} + +func (o BlackholeAlertNotifierArrayOutput) ToBlackholeAlertNotifierArrayOutput() BlackholeAlertNotifierArrayOutput { + return o +} + +func (o BlackholeAlertNotifierArrayOutput) ToBlackholeAlertNotifierArrayOutputWithContext(ctx context.Context) BlackholeAlertNotifierArrayOutput { + return o +} + +func (o BlackholeAlertNotifierArrayOutput) Index(i pulumi.IntInput) BlackholeAlertNotifierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *BlackholeAlertNotifier { + return vs[0].([]*BlackholeAlertNotifier)[vs[1].(int)] + }).(BlackholeAlertNotifierOutput) +} + +type BlackholeAlertNotifierMapOutput struct{ *pulumi.OutputState } + +func (BlackholeAlertNotifierMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*BlackholeAlertNotifier)(nil)).Elem() +} + +func (o BlackholeAlertNotifierMapOutput) ToBlackholeAlertNotifierMapOutput() BlackholeAlertNotifierMapOutput { + return o +} + +func (o BlackholeAlertNotifierMapOutput) ToBlackholeAlertNotifierMapOutputWithContext(ctx context.Context) BlackholeAlertNotifierMapOutput { + return o +} + +func (o BlackholeAlertNotifierMapOutput) MapIndex(k pulumi.StringInput) BlackholeAlertNotifierOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *BlackholeAlertNotifier { + return vs[0].(map[string]*BlackholeAlertNotifier)[vs[1].(string)] + }).(BlackholeAlertNotifierOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*BlackholeAlertNotifierInput)(nil)).Elem(), &BlackholeAlertNotifier{}) + pulumi.RegisterInputType(reflect.TypeOf((*BlackholeAlertNotifierArrayInput)(nil)).Elem(), BlackholeAlertNotifierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*BlackholeAlertNotifierMapInput)(nil)).Elem(), BlackholeAlertNotifierMap{}) + pulumi.RegisterOutputType(BlackholeAlertNotifierOutput{}) + pulumi.RegisterOutputType(BlackholeAlertNotifierArrayOutput{}) + pulumi.RegisterOutputType(BlackholeAlertNotifierMapOutput{}) +} diff --git a/sdk/go/chronosphere/bucket.go b/sdk/go/chronosphere/bucket.go new file mode 100644 index 00000000..fe3a4f04 --- /dev/null +++ b/sdk/go/chronosphere/bucket.go @@ -0,0 +1,273 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Bucket struct { + pulumi.CustomResourceState + + Description pulumi.StringPtrOutput `pulumi:"description"` + Labels pulumi.StringMapOutput `pulumi:"labels"` + Name pulumi.StringOutput `pulumi:"name"` + NotificationPolicyData pulumi.StringPtrOutput `pulumi:"notificationPolicyData"` + NotificationPolicyId pulumi.StringPtrOutput `pulumi:"notificationPolicyId"` + NotificationPolicySlug pulumi.StringOutput `pulumi:"notificationPolicySlug"` + Slug pulumi.StringOutput `pulumi:"slug"` + TeamId pulumi.StringPtrOutput `pulumi:"teamId"` +} + +// NewBucket registers a new resource with the given unique name, arguments, and options. +func NewBucket(ctx *pulumi.Context, + name string, args *BucketArgs, opts ...pulumi.ResourceOption) (*Bucket, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Bucket + err := ctx.RegisterResource("chronosphere:index/bucket:Bucket", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetBucket gets an existing Bucket resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetBucket(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BucketState, opts ...pulumi.ResourceOption) (*Bucket, error) { + var resource Bucket + err := ctx.ReadResource("chronosphere:index/bucket:Bucket", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Bucket resources. +type bucketState struct { + Description *string `pulumi:"description"` + Labels map[string]string `pulumi:"labels"` + Name *string `pulumi:"name"` + NotificationPolicyData *string `pulumi:"notificationPolicyData"` + NotificationPolicyId *string `pulumi:"notificationPolicyId"` + NotificationPolicySlug *string `pulumi:"notificationPolicySlug"` + Slug *string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +type BucketState struct { + Description pulumi.StringPtrInput + Labels pulumi.StringMapInput + Name pulumi.StringPtrInput + NotificationPolicyData pulumi.StringPtrInput + NotificationPolicyId pulumi.StringPtrInput + NotificationPolicySlug pulumi.StringPtrInput + Slug pulumi.StringPtrInput + TeamId pulumi.StringPtrInput +} + +func (BucketState) ElementType() reflect.Type { + return reflect.TypeOf((*bucketState)(nil)).Elem() +} + +type bucketArgs struct { + Description *string `pulumi:"description"` + Labels map[string]string `pulumi:"labels"` + Name string `pulumi:"name"` + NotificationPolicyData *string `pulumi:"notificationPolicyData"` + NotificationPolicyId *string `pulumi:"notificationPolicyId"` + Slug *string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +// The set of arguments for constructing a Bucket resource. +type BucketArgs struct { + Description pulumi.StringPtrInput + Labels pulumi.StringMapInput + Name pulumi.StringInput + NotificationPolicyData pulumi.StringPtrInput + NotificationPolicyId pulumi.StringPtrInput + Slug pulumi.StringPtrInput + TeamId pulumi.StringPtrInput +} + +func (BucketArgs) ElementType() reflect.Type { + return reflect.TypeOf((*bucketArgs)(nil)).Elem() +} + +type BucketInput interface { + pulumi.Input + + ToBucketOutput() BucketOutput + ToBucketOutputWithContext(ctx context.Context) BucketOutput +} + +func (*Bucket) ElementType() reflect.Type { + return reflect.TypeOf((**Bucket)(nil)).Elem() +} + +func (i *Bucket) ToBucketOutput() BucketOutput { + return i.ToBucketOutputWithContext(context.Background()) +} + +func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput { + return pulumi.ToOutputWithContext(ctx, i).(BucketOutput) +} + +// BucketArrayInput is an input type that accepts BucketArray and BucketArrayOutput values. +// You can construct a concrete instance of `BucketArrayInput` via: +// +// BucketArray{ BucketArgs{...} } +type BucketArrayInput interface { + pulumi.Input + + ToBucketArrayOutput() BucketArrayOutput + ToBucketArrayOutputWithContext(context.Context) BucketArrayOutput +} + +type BucketArray []BucketInput + +func (BucketArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Bucket)(nil)).Elem() +} + +func (i BucketArray) ToBucketArrayOutput() BucketArrayOutput { + return i.ToBucketArrayOutputWithContext(context.Background()) +} + +func (i BucketArray) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BucketArrayOutput) +} + +// BucketMapInput is an input type that accepts BucketMap and BucketMapOutput values. +// You can construct a concrete instance of `BucketMapInput` via: +// +// BucketMap{ "key": BucketArgs{...} } +type BucketMapInput interface { + pulumi.Input + + ToBucketMapOutput() BucketMapOutput + ToBucketMapOutputWithContext(context.Context) BucketMapOutput +} + +type BucketMap map[string]BucketInput + +func (BucketMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Bucket)(nil)).Elem() +} + +func (i BucketMap) ToBucketMapOutput() BucketMapOutput { + return i.ToBucketMapOutputWithContext(context.Background()) +} + +func (i BucketMap) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(BucketMapOutput) +} + +type BucketOutput struct{ *pulumi.OutputState } + +func (BucketOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Bucket)(nil)).Elem() +} + +func (o BucketOutput) ToBucketOutput() BucketOutput { + return o +} + +func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput { + return o +} + +func (o BucketOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o BucketOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) +} + +func (o BucketOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BucketOutput) NotificationPolicyData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringPtrOutput { return v.NotificationPolicyData }).(pulumi.StringPtrOutput) +} + +func (o BucketOutput) NotificationPolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringPtrOutput { return v.NotificationPolicyId }).(pulumi.StringPtrOutput) +} + +func (o BucketOutput) NotificationPolicySlug() pulumi.StringOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringOutput { return v.NotificationPolicySlug }).(pulumi.StringOutput) +} + +func (o BucketOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o BucketOutput) TeamId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Bucket) pulumi.StringPtrOutput { return v.TeamId }).(pulumi.StringPtrOutput) +} + +type BucketArrayOutput struct{ *pulumi.OutputState } + +func (BucketArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Bucket)(nil)).Elem() +} + +func (o BucketArrayOutput) ToBucketArrayOutput() BucketArrayOutput { + return o +} + +func (o BucketArrayOutput) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput { + return o +} + +func (o BucketArrayOutput) Index(i pulumi.IntInput) BucketOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Bucket { + return vs[0].([]*Bucket)[vs[1].(int)] + }).(BucketOutput) +} + +type BucketMapOutput struct{ *pulumi.OutputState } + +func (BucketMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Bucket)(nil)).Elem() +} + +func (o BucketMapOutput) ToBucketMapOutput() BucketMapOutput { + return o +} + +func (o BucketMapOutput) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput { + return o +} + +func (o BucketMapOutput) MapIndex(k pulumi.StringInput) BucketOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Bucket { + return vs[0].(map[string]*Bucket)[vs[1].(string)] + }).(BucketOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*BucketInput)(nil)).Elem(), &Bucket{}) + pulumi.RegisterInputType(reflect.TypeOf((*BucketArrayInput)(nil)).Elem(), BucketArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*BucketMapInput)(nil)).Elem(), BucketMap{}) + pulumi.RegisterOutputType(BucketOutput{}) + pulumi.RegisterOutputType(BucketArrayOutput{}) + pulumi.RegisterOutputType(BucketMapOutput{}) +} diff --git a/sdk/go/chronosphere/bucketDataSource.go b/sdk/go/chronosphere/bucketDataSource.go new file mode 100644 index 00000000..1ee6e8a5 --- /dev/null +++ b/sdk/go/chronosphere/bucketDataSource.go @@ -0,0 +1,103 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func BucketDataSource(ctx *pulumi.Context, args *BucketDataSourceArgs, opts ...pulumi.InvokeOption) (*BucketDataSourceResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv BucketDataSourceResult + err := ctx.Invoke("chronosphere:index/bucketDataSource:BucketDataSource", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking BucketDataSource. +type BucketDataSourceArgs struct { + Labels map[string]string `pulumi:"labels"` + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +// A collection of values returned by BucketDataSource. +type BucketDataSourceResult struct { + Description string `pulumi:"description"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Labels map[string]string `pulumi:"labels"` + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +func BucketDataSourceOutput(ctx *pulumi.Context, args BucketDataSourceOutputArgs, opts ...pulumi.InvokeOption) BucketDataSourceResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (BucketDataSourceResult, error) { + args := v.(BucketDataSourceArgs) + r, err := BucketDataSource(ctx, &args, opts...) + var s BucketDataSourceResult + if r != nil { + s = *r + } + return s, err + }).(BucketDataSourceResultOutput) +} + +// A collection of arguments for invoking BucketDataSource. +type BucketDataSourceOutputArgs struct { + Labels pulumi.StringMapInput `pulumi:"labels"` + Name pulumi.StringPtrInput `pulumi:"name"` + Slug pulumi.StringPtrInput `pulumi:"slug"` +} + +func (BucketDataSourceOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BucketDataSourceArgs)(nil)).Elem() +} + +// A collection of values returned by BucketDataSource. +type BucketDataSourceResultOutput struct{ *pulumi.OutputState } + +func (BucketDataSourceResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BucketDataSourceResult)(nil)).Elem() +} + +func (o BucketDataSourceResultOutput) ToBucketDataSourceResultOutput() BucketDataSourceResultOutput { + return o +} + +func (o BucketDataSourceResultOutput) ToBucketDataSourceResultOutputWithContext(ctx context.Context) BucketDataSourceResultOutput { + return o +} + +func (o BucketDataSourceResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v BucketDataSourceResult) string { return v.Description }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o BucketDataSourceResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v BucketDataSourceResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o BucketDataSourceResultOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v BucketDataSourceResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +func (o BucketDataSourceResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BucketDataSourceResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o BucketDataSourceResultOutput) Slug() pulumi.StringPtrOutput { + return o.ApplyT(func(v BucketDataSourceResult) *string { return v.Slug }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(BucketDataSourceResultOutput{}) +} diff --git a/sdk/go/chronosphere/classicDashboard.go b/sdk/go/chronosphere/classicDashboard.go new file mode 100644 index 00000000..20f2558b --- /dev/null +++ b/sdk/go/chronosphere/classicDashboard.go @@ -0,0 +1,230 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ClassicDashboard struct { + pulumi.CustomResourceState + + BucketId pulumi.StringPtrOutput `pulumi:"bucketId"` + CollectionId pulumi.StringPtrOutput `pulumi:"collectionId"` + DashboardJson pulumi.StringOutput `pulumi:"dashboardJson"` +} + +// NewClassicDashboard registers a new resource with the given unique name, arguments, and options. +func NewClassicDashboard(ctx *pulumi.Context, + name string, args *ClassicDashboardArgs, opts ...pulumi.ResourceOption) (*ClassicDashboard, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DashboardJson == nil { + return nil, errors.New("invalid value for required argument 'DashboardJson'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource ClassicDashboard + err := ctx.RegisterResource("chronosphere:index/classicDashboard:ClassicDashboard", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetClassicDashboard gets an existing ClassicDashboard resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetClassicDashboard(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ClassicDashboardState, opts ...pulumi.ResourceOption) (*ClassicDashboard, error) { + var resource ClassicDashboard + err := ctx.ReadResource("chronosphere:index/classicDashboard:ClassicDashboard", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ClassicDashboard resources. +type classicDashboardState struct { + BucketId *string `pulumi:"bucketId"` + CollectionId *string `pulumi:"collectionId"` + DashboardJson *string `pulumi:"dashboardJson"` +} + +type ClassicDashboardState struct { + BucketId pulumi.StringPtrInput + CollectionId pulumi.StringPtrInput + DashboardJson pulumi.StringPtrInput +} + +func (ClassicDashboardState) ElementType() reflect.Type { + return reflect.TypeOf((*classicDashboardState)(nil)).Elem() +} + +type classicDashboardArgs struct { + BucketId *string `pulumi:"bucketId"` + CollectionId *string `pulumi:"collectionId"` + DashboardJson string `pulumi:"dashboardJson"` +} + +// The set of arguments for constructing a ClassicDashboard resource. +type ClassicDashboardArgs struct { + BucketId pulumi.StringPtrInput + CollectionId pulumi.StringPtrInput + DashboardJson pulumi.StringInput +} + +func (ClassicDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*classicDashboardArgs)(nil)).Elem() +} + +type ClassicDashboardInput interface { + pulumi.Input + + ToClassicDashboardOutput() ClassicDashboardOutput + ToClassicDashboardOutputWithContext(ctx context.Context) ClassicDashboardOutput +} + +func (*ClassicDashboard) ElementType() reflect.Type { + return reflect.TypeOf((**ClassicDashboard)(nil)).Elem() +} + +func (i *ClassicDashboard) ToClassicDashboardOutput() ClassicDashboardOutput { + return i.ToClassicDashboardOutputWithContext(context.Background()) +} + +func (i *ClassicDashboard) ToClassicDashboardOutputWithContext(ctx context.Context) ClassicDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClassicDashboardOutput) +} + +// ClassicDashboardArrayInput is an input type that accepts ClassicDashboardArray and ClassicDashboardArrayOutput values. +// You can construct a concrete instance of `ClassicDashboardArrayInput` via: +// +// ClassicDashboardArray{ ClassicDashboardArgs{...} } +type ClassicDashboardArrayInput interface { + pulumi.Input + + ToClassicDashboardArrayOutput() ClassicDashboardArrayOutput + ToClassicDashboardArrayOutputWithContext(context.Context) ClassicDashboardArrayOutput +} + +type ClassicDashboardArray []ClassicDashboardInput + +func (ClassicDashboardArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ClassicDashboard)(nil)).Elem() +} + +func (i ClassicDashboardArray) ToClassicDashboardArrayOutput() ClassicDashboardArrayOutput { + return i.ToClassicDashboardArrayOutputWithContext(context.Background()) +} + +func (i ClassicDashboardArray) ToClassicDashboardArrayOutputWithContext(ctx context.Context) ClassicDashboardArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClassicDashboardArrayOutput) +} + +// ClassicDashboardMapInput is an input type that accepts ClassicDashboardMap and ClassicDashboardMapOutput values. +// You can construct a concrete instance of `ClassicDashboardMapInput` via: +// +// ClassicDashboardMap{ "key": ClassicDashboardArgs{...} } +type ClassicDashboardMapInput interface { + pulumi.Input + + ToClassicDashboardMapOutput() ClassicDashboardMapOutput + ToClassicDashboardMapOutputWithContext(context.Context) ClassicDashboardMapOutput +} + +type ClassicDashboardMap map[string]ClassicDashboardInput + +func (ClassicDashboardMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ClassicDashboard)(nil)).Elem() +} + +func (i ClassicDashboardMap) ToClassicDashboardMapOutput() ClassicDashboardMapOutput { + return i.ToClassicDashboardMapOutputWithContext(context.Background()) +} + +func (i ClassicDashboardMap) ToClassicDashboardMapOutputWithContext(ctx context.Context) ClassicDashboardMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClassicDashboardMapOutput) +} + +type ClassicDashboardOutput struct{ *pulumi.OutputState } + +func (ClassicDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClassicDashboard)(nil)).Elem() +} + +func (o ClassicDashboardOutput) ToClassicDashboardOutput() ClassicDashboardOutput { + return o +} + +func (o ClassicDashboardOutput) ToClassicDashboardOutputWithContext(ctx context.Context) ClassicDashboardOutput { + return o +} + +func (o ClassicDashboardOutput) BucketId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClassicDashboard) pulumi.StringPtrOutput { return v.BucketId }).(pulumi.StringPtrOutput) +} + +func (o ClassicDashboardOutput) CollectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClassicDashboard) pulumi.StringPtrOutput { return v.CollectionId }).(pulumi.StringPtrOutput) +} + +func (o ClassicDashboardOutput) DashboardJson() pulumi.StringOutput { + return o.ApplyT(func(v *ClassicDashboard) pulumi.StringOutput { return v.DashboardJson }).(pulumi.StringOutput) +} + +type ClassicDashboardArrayOutput struct{ *pulumi.OutputState } + +func (ClassicDashboardArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ClassicDashboard)(nil)).Elem() +} + +func (o ClassicDashboardArrayOutput) ToClassicDashboardArrayOutput() ClassicDashboardArrayOutput { + return o +} + +func (o ClassicDashboardArrayOutput) ToClassicDashboardArrayOutputWithContext(ctx context.Context) ClassicDashboardArrayOutput { + return o +} + +func (o ClassicDashboardArrayOutput) Index(i pulumi.IntInput) ClassicDashboardOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ClassicDashboard { + return vs[0].([]*ClassicDashboard)[vs[1].(int)] + }).(ClassicDashboardOutput) +} + +type ClassicDashboardMapOutput struct{ *pulumi.OutputState } + +func (ClassicDashboardMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ClassicDashboard)(nil)).Elem() +} + +func (o ClassicDashboardMapOutput) ToClassicDashboardMapOutput() ClassicDashboardMapOutput { + return o +} + +func (o ClassicDashboardMapOutput) ToClassicDashboardMapOutputWithContext(ctx context.Context) ClassicDashboardMapOutput { + return o +} + +func (o ClassicDashboardMapOutput) MapIndex(k pulumi.StringInput) ClassicDashboardOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ClassicDashboard { + return vs[0].(map[string]*ClassicDashboard)[vs[1].(string)] + }).(ClassicDashboardOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ClassicDashboardInput)(nil)).Elem(), &ClassicDashboard{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClassicDashboardArrayInput)(nil)).Elem(), ClassicDashboardArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClassicDashboardMapInput)(nil)).Elem(), ClassicDashboardMap{}) + pulumi.RegisterOutputType(ClassicDashboardOutput{}) + pulumi.RegisterOutputType(ClassicDashboardArrayOutput{}) + pulumi.RegisterOutputType(ClassicDashboardMapOutput{}) +} diff --git a/sdk/go/chronosphere/collection.go b/sdk/go/chronosphere/collection.go new file mode 100644 index 00000000..53412c95 --- /dev/null +++ b/sdk/go/chronosphere/collection.go @@ -0,0 +1,248 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Collection struct { + pulumi.CustomResourceState + + Description pulumi.StringPtrOutput `pulumi:"description"` + Name pulumi.StringOutput `pulumi:"name"` + NotificationPolicyId pulumi.StringPtrOutput `pulumi:"notificationPolicyId"` + Slug pulumi.StringOutput `pulumi:"slug"` + TeamId pulumi.StringPtrOutput `pulumi:"teamId"` +} + +// NewCollection registers a new resource with the given unique name, arguments, and options. +func NewCollection(ctx *pulumi.Context, + name string, args *CollectionArgs, opts ...pulumi.ResourceOption) (*Collection, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Collection + err := ctx.RegisterResource("chronosphere:index/collection:Collection", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCollection gets an existing Collection resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCollection(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CollectionState, opts ...pulumi.ResourceOption) (*Collection, error) { + var resource Collection + err := ctx.ReadResource("chronosphere:index/collection:Collection", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Collection resources. +type collectionState struct { + Description *string `pulumi:"description"` + Name *string `pulumi:"name"` + NotificationPolicyId *string `pulumi:"notificationPolicyId"` + Slug *string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +type CollectionState struct { + Description pulumi.StringPtrInput + Name pulumi.StringPtrInput + NotificationPolicyId pulumi.StringPtrInput + Slug pulumi.StringPtrInput + TeamId pulumi.StringPtrInput +} + +func (CollectionState) ElementType() reflect.Type { + return reflect.TypeOf((*collectionState)(nil)).Elem() +} + +type collectionArgs struct { + Description *string `pulumi:"description"` + Name string `pulumi:"name"` + NotificationPolicyId *string `pulumi:"notificationPolicyId"` + Slug *string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +// The set of arguments for constructing a Collection resource. +type CollectionArgs struct { + Description pulumi.StringPtrInput + Name pulumi.StringInput + NotificationPolicyId pulumi.StringPtrInput + Slug pulumi.StringPtrInput + TeamId pulumi.StringPtrInput +} + +func (CollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*collectionArgs)(nil)).Elem() +} + +type CollectionInput interface { + pulumi.Input + + ToCollectionOutput() CollectionOutput + ToCollectionOutputWithContext(ctx context.Context) CollectionOutput +} + +func (*Collection) ElementType() reflect.Type { + return reflect.TypeOf((**Collection)(nil)).Elem() +} + +func (i *Collection) ToCollectionOutput() CollectionOutput { + return i.ToCollectionOutputWithContext(context.Background()) +} + +func (i *Collection) ToCollectionOutputWithContext(ctx context.Context) CollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(CollectionOutput) +} + +// CollectionArrayInput is an input type that accepts CollectionArray and CollectionArrayOutput values. +// You can construct a concrete instance of `CollectionArrayInput` via: +// +// CollectionArray{ CollectionArgs{...} } +type CollectionArrayInput interface { + pulumi.Input + + ToCollectionArrayOutput() CollectionArrayOutput + ToCollectionArrayOutputWithContext(context.Context) CollectionArrayOutput +} + +type CollectionArray []CollectionInput + +func (CollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Collection)(nil)).Elem() +} + +func (i CollectionArray) ToCollectionArrayOutput() CollectionArrayOutput { + return i.ToCollectionArrayOutputWithContext(context.Background()) +} + +func (i CollectionArray) ToCollectionArrayOutputWithContext(ctx context.Context) CollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CollectionArrayOutput) +} + +// CollectionMapInput is an input type that accepts CollectionMap and CollectionMapOutput values. +// You can construct a concrete instance of `CollectionMapInput` via: +// +// CollectionMap{ "key": CollectionArgs{...} } +type CollectionMapInput interface { + pulumi.Input + + ToCollectionMapOutput() CollectionMapOutput + ToCollectionMapOutputWithContext(context.Context) CollectionMapOutput +} + +type CollectionMap map[string]CollectionInput + +func (CollectionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Collection)(nil)).Elem() +} + +func (i CollectionMap) ToCollectionMapOutput() CollectionMapOutput { + return i.ToCollectionMapOutputWithContext(context.Background()) +} + +func (i CollectionMap) ToCollectionMapOutputWithContext(ctx context.Context) CollectionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CollectionMapOutput) +} + +type CollectionOutput struct{ *pulumi.OutputState } + +func (CollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Collection)(nil)).Elem() +} + +func (o CollectionOutput) ToCollectionOutput() CollectionOutput { + return o +} + +func (o CollectionOutput) ToCollectionOutputWithContext(ctx context.Context) CollectionOutput { + return o +} + +func (o CollectionOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Collection) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o CollectionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Collection) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o CollectionOutput) NotificationPolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Collection) pulumi.StringPtrOutput { return v.NotificationPolicyId }).(pulumi.StringPtrOutput) +} + +func (o CollectionOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *Collection) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o CollectionOutput) TeamId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Collection) pulumi.StringPtrOutput { return v.TeamId }).(pulumi.StringPtrOutput) +} + +type CollectionArrayOutput struct{ *pulumi.OutputState } + +func (CollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Collection)(nil)).Elem() +} + +func (o CollectionArrayOutput) ToCollectionArrayOutput() CollectionArrayOutput { + return o +} + +func (o CollectionArrayOutput) ToCollectionArrayOutputWithContext(ctx context.Context) CollectionArrayOutput { + return o +} + +func (o CollectionArrayOutput) Index(i pulumi.IntInput) CollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Collection { + return vs[0].([]*Collection)[vs[1].(int)] + }).(CollectionOutput) +} + +type CollectionMapOutput struct{ *pulumi.OutputState } + +func (CollectionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Collection)(nil)).Elem() +} + +func (o CollectionMapOutput) ToCollectionMapOutput() CollectionMapOutput { + return o +} + +func (o CollectionMapOutput) ToCollectionMapOutputWithContext(ctx context.Context) CollectionMapOutput { + return o +} + +func (o CollectionMapOutput) MapIndex(k pulumi.StringInput) CollectionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Collection { + return vs[0].(map[string]*Collection)[vs[1].(string)] + }).(CollectionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CollectionInput)(nil)).Elem(), &Collection{}) + pulumi.RegisterInputType(reflect.TypeOf((*CollectionArrayInput)(nil)).Elem(), CollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CollectionMapInput)(nil)).Elem(), CollectionMap{}) + pulumi.RegisterOutputType(CollectionOutput{}) + pulumi.RegisterOutputType(CollectionArrayOutput{}) + pulumi.RegisterOutputType(CollectionMapOutput{}) +} diff --git a/sdk/go/chronosphere/config/config.go b/sdk/go/chronosphere/config/config.go new file mode 100644 index 00000000..be077586 --- /dev/null +++ b/sdk/go/chronosphere/config/config.go @@ -0,0 +1,41 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package config + +import ( + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +var _ = internal.GetEnvOrDefault + +func GetApiToken(ctx *pulumi.Context) string { + v, err := config.Try(ctx, "chronosphere:apiToken") + if err == nil { + return v + } + var value string + if d := internal.GetEnvOrDefault(nil, nil, "CHRONOSPHERE_API_TOKEN"); d != nil { + value = d.(string) + } + return value +} +func GetEntityNamespace(ctx *pulumi.Context) string { + return config.Get(ctx, "chronosphere:entityNamespace") +} +func GetOrg(ctx *pulumi.Context) string { + v, err := config.Try(ctx, "chronosphere:org") + if err == nil { + return v + } + var value string + if d := internal.GetEnvOrDefault(nil, nil, "CHRONOSPHERE_ORG", "CHRONOSPHERE_ORG_NAME"); d != nil { + value = d.(string) + } + return value +} +func GetUnstable(ctx *pulumi.Context) bool { + return config.GetBool(ctx, "chronosphere:unstable") +} diff --git a/sdk/go/chronosphere/dashboard.go b/sdk/go/chronosphere/dashboard.go new file mode 100644 index 00000000..690e7d01 --- /dev/null +++ b/sdk/go/chronosphere/dashboard.go @@ -0,0 +1,230 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Dashboard struct { + pulumi.CustomResourceState + + CollectionId pulumi.StringPtrOutput `pulumi:"collectionId"` + DashboardJson pulumi.StringOutput `pulumi:"dashboardJson"` + Slug pulumi.StringOutput `pulumi:"slug"` +} + +// NewDashboard registers a new resource with the given unique name, arguments, and options. +func NewDashboard(ctx *pulumi.Context, + name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DashboardJson == nil { + return nil, errors.New("invalid value for required argument 'DashboardJson'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Dashboard + err := ctx.RegisterResource("chronosphere:index/dashboard:Dashboard", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDashboard(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error) { + var resource Dashboard + err := ctx.ReadResource("chronosphere:index/dashboard:Dashboard", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Dashboard resources. +type dashboardState struct { + CollectionId *string `pulumi:"collectionId"` + DashboardJson *string `pulumi:"dashboardJson"` + Slug *string `pulumi:"slug"` +} + +type DashboardState struct { + CollectionId pulumi.StringPtrInput + DashboardJson pulumi.StringPtrInput + Slug pulumi.StringPtrInput +} + +func (DashboardState) ElementType() reflect.Type { + return reflect.TypeOf((*dashboardState)(nil)).Elem() +} + +type dashboardArgs struct { + CollectionId *string `pulumi:"collectionId"` + DashboardJson string `pulumi:"dashboardJson"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a Dashboard resource. +type DashboardArgs struct { + CollectionId pulumi.StringPtrInput + DashboardJson pulumi.StringInput + Slug pulumi.StringPtrInput +} + +func (DashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dashboardArgs)(nil)).Elem() +} + +type DashboardInput interface { + pulumi.Input + + ToDashboardOutput() DashboardOutput + ToDashboardOutputWithContext(ctx context.Context) DashboardOutput +} + +func (*Dashboard) ElementType() reflect.Type { + return reflect.TypeOf((**Dashboard)(nil)).Elem() +} + +func (i *Dashboard) ToDashboardOutput() DashboardOutput { + return i.ToDashboardOutputWithContext(context.Background()) +} + +func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardOutput) +} + +// DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. +// You can construct a concrete instance of `DashboardArrayInput` via: +// +// DashboardArray{ DashboardArgs{...} } +type DashboardArrayInput interface { + pulumi.Input + + ToDashboardArrayOutput() DashboardArrayOutput + ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput +} + +type DashboardArray []DashboardInput + +func (DashboardArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Dashboard)(nil)).Elem() +} + +func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput { + return i.ToDashboardArrayOutputWithContext(context.Background()) +} + +func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardArrayOutput) +} + +// DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. +// You can construct a concrete instance of `DashboardMapInput` via: +// +// DashboardMap{ "key": DashboardArgs{...} } +type DashboardMapInput interface { + pulumi.Input + + ToDashboardMapOutput() DashboardMapOutput + ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput +} + +type DashboardMap map[string]DashboardInput + +func (DashboardMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Dashboard)(nil)).Elem() +} + +func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput { + return i.ToDashboardMapOutputWithContext(context.Background()) +} + +func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardMapOutput) +} + +type DashboardOutput struct{ *pulumi.OutputState } + +func (DashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Dashboard)(nil)).Elem() +} + +func (o DashboardOutput) ToDashboardOutput() DashboardOutput { + return o +} + +func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput { + return o +} + +func (o DashboardOutput) CollectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Dashboard) pulumi.StringPtrOutput { return v.CollectionId }).(pulumi.StringPtrOutput) +} + +func (o DashboardOutput) DashboardJson() pulumi.StringOutput { + return o.ApplyT(func(v *Dashboard) pulumi.StringOutput { return v.DashboardJson }).(pulumi.StringOutput) +} + +func (o DashboardOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *Dashboard) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +type DashboardArrayOutput struct{ *pulumi.OutputState } + +func (DashboardArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Dashboard)(nil)).Elem() +} + +func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput { + return o +} + +func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput { + return o +} + +func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Dashboard { + return vs[0].([]*Dashboard)[vs[1].(int)] + }).(DashboardOutput) +} + +type DashboardMapOutput struct{ *pulumi.OutputState } + +func (DashboardMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Dashboard)(nil)).Elem() +} + +func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput { + return o +} + +func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput { + return o +} + +func (o DashboardMapOutput) MapIndex(k pulumi.StringInput) DashboardOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Dashboard { + return vs[0].(map[string]*Dashboard)[vs[1].(string)] + }).(DashboardOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DashboardInput)(nil)).Elem(), &Dashboard{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardArrayInput)(nil)).Elem(), DashboardArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardMapInput)(nil)).Elem(), DashboardMap{}) + pulumi.RegisterOutputType(DashboardOutput{}) + pulumi.RegisterOutputType(DashboardArrayOutput{}) + pulumi.RegisterOutputType(DashboardMapOutput{}) +} diff --git a/sdk/go/chronosphere/derivedLabel.go b/sdk/go/chronosphere/derivedLabel.go new file mode 100644 index 00000000..a124cefb --- /dev/null +++ b/sdk/go/chronosphere/derivedLabel.go @@ -0,0 +1,263 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DerivedLabel struct { + pulumi.CustomResourceState + + Description pulumi.StringPtrOutput `pulumi:"description"` + ExistingLabelPolicy pulumi.StringPtrOutput `pulumi:"existingLabelPolicy"` + LabelName pulumi.StringOutput `pulumi:"labelName"` + MetricLabel DerivedLabelMetricLabelOutput `pulumi:"metricLabel"` + Name pulumi.StringOutput `pulumi:"name"` + Slug pulumi.StringOutput `pulumi:"slug"` +} + +// NewDerivedLabel registers a new resource with the given unique name, arguments, and options. +func NewDerivedLabel(ctx *pulumi.Context, + name string, args *DerivedLabelArgs, opts ...pulumi.ResourceOption) (*DerivedLabel, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.LabelName == nil { + return nil, errors.New("invalid value for required argument 'LabelName'") + } + if args.MetricLabel == nil { + return nil, errors.New("invalid value for required argument 'MetricLabel'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource DerivedLabel + err := ctx.RegisterResource("chronosphere:index/derivedLabel:DerivedLabel", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDerivedLabel gets an existing DerivedLabel resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDerivedLabel(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DerivedLabelState, opts ...pulumi.ResourceOption) (*DerivedLabel, error) { + var resource DerivedLabel + err := ctx.ReadResource("chronosphere:index/derivedLabel:DerivedLabel", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DerivedLabel resources. +type derivedLabelState struct { + Description *string `pulumi:"description"` + ExistingLabelPolicy *string `pulumi:"existingLabelPolicy"` + LabelName *string `pulumi:"labelName"` + MetricLabel *DerivedLabelMetricLabel `pulumi:"metricLabel"` + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +type DerivedLabelState struct { + Description pulumi.StringPtrInput + ExistingLabelPolicy pulumi.StringPtrInput + LabelName pulumi.StringPtrInput + MetricLabel DerivedLabelMetricLabelPtrInput + Name pulumi.StringPtrInput + Slug pulumi.StringPtrInput +} + +func (DerivedLabelState) ElementType() reflect.Type { + return reflect.TypeOf((*derivedLabelState)(nil)).Elem() +} + +type derivedLabelArgs struct { + Description *string `pulumi:"description"` + ExistingLabelPolicy *string `pulumi:"existingLabelPolicy"` + LabelName string `pulumi:"labelName"` + MetricLabel DerivedLabelMetricLabel `pulumi:"metricLabel"` + Name string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a DerivedLabel resource. +type DerivedLabelArgs struct { + Description pulumi.StringPtrInput + ExistingLabelPolicy pulumi.StringPtrInput + LabelName pulumi.StringInput + MetricLabel DerivedLabelMetricLabelInput + Name pulumi.StringInput + Slug pulumi.StringPtrInput +} + +func (DerivedLabelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*derivedLabelArgs)(nil)).Elem() +} + +type DerivedLabelInput interface { + pulumi.Input + + ToDerivedLabelOutput() DerivedLabelOutput + ToDerivedLabelOutputWithContext(ctx context.Context) DerivedLabelOutput +} + +func (*DerivedLabel) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabel)(nil)).Elem() +} + +func (i *DerivedLabel) ToDerivedLabelOutput() DerivedLabelOutput { + return i.ToDerivedLabelOutputWithContext(context.Background()) +} + +func (i *DerivedLabel) ToDerivedLabelOutputWithContext(ctx context.Context) DerivedLabelOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelOutput) +} + +// DerivedLabelArrayInput is an input type that accepts DerivedLabelArray and DerivedLabelArrayOutput values. +// You can construct a concrete instance of `DerivedLabelArrayInput` via: +// +// DerivedLabelArray{ DerivedLabelArgs{...} } +type DerivedLabelArrayInput interface { + pulumi.Input + + ToDerivedLabelArrayOutput() DerivedLabelArrayOutput + ToDerivedLabelArrayOutputWithContext(context.Context) DerivedLabelArrayOutput +} + +type DerivedLabelArray []DerivedLabelInput + +func (DerivedLabelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DerivedLabel)(nil)).Elem() +} + +func (i DerivedLabelArray) ToDerivedLabelArrayOutput() DerivedLabelArrayOutput { + return i.ToDerivedLabelArrayOutputWithContext(context.Background()) +} + +func (i DerivedLabelArray) ToDerivedLabelArrayOutputWithContext(ctx context.Context) DerivedLabelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelArrayOutput) +} + +// DerivedLabelMapInput is an input type that accepts DerivedLabelMap and DerivedLabelMapOutput values. +// You can construct a concrete instance of `DerivedLabelMapInput` via: +// +// DerivedLabelMap{ "key": DerivedLabelArgs{...} } +type DerivedLabelMapInput interface { + pulumi.Input + + ToDerivedLabelMapOutput() DerivedLabelMapOutput + ToDerivedLabelMapOutputWithContext(context.Context) DerivedLabelMapOutput +} + +type DerivedLabelMap map[string]DerivedLabelInput + +func (DerivedLabelMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DerivedLabel)(nil)).Elem() +} + +func (i DerivedLabelMap) ToDerivedLabelMapOutput() DerivedLabelMapOutput { + return i.ToDerivedLabelMapOutputWithContext(context.Background()) +} + +func (i DerivedLabelMap) ToDerivedLabelMapOutputWithContext(ctx context.Context) DerivedLabelMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMapOutput) +} + +type DerivedLabelOutput struct{ *pulumi.OutputState } + +func (DerivedLabelOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabel)(nil)).Elem() +} + +func (o DerivedLabelOutput) ToDerivedLabelOutput() DerivedLabelOutput { + return o +} + +func (o DerivedLabelOutput) ToDerivedLabelOutputWithContext(ctx context.Context) DerivedLabelOutput { + return o +} + +func (o DerivedLabelOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DerivedLabel) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o DerivedLabelOutput) ExistingLabelPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DerivedLabel) pulumi.StringPtrOutput { return v.ExistingLabelPolicy }).(pulumi.StringPtrOutput) +} + +func (o DerivedLabelOutput) LabelName() pulumi.StringOutput { + return o.ApplyT(func(v *DerivedLabel) pulumi.StringOutput { return v.LabelName }).(pulumi.StringOutput) +} + +func (o DerivedLabelOutput) MetricLabel() DerivedLabelMetricLabelOutput { + return o.ApplyT(func(v *DerivedLabel) DerivedLabelMetricLabelOutput { return v.MetricLabel }).(DerivedLabelMetricLabelOutput) +} + +func (o DerivedLabelOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *DerivedLabel) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o DerivedLabelOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *DerivedLabel) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +type DerivedLabelArrayOutput struct{ *pulumi.OutputState } + +func (DerivedLabelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DerivedLabel)(nil)).Elem() +} + +func (o DerivedLabelArrayOutput) ToDerivedLabelArrayOutput() DerivedLabelArrayOutput { + return o +} + +func (o DerivedLabelArrayOutput) ToDerivedLabelArrayOutputWithContext(ctx context.Context) DerivedLabelArrayOutput { + return o +} + +func (o DerivedLabelArrayOutput) Index(i pulumi.IntInput) DerivedLabelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DerivedLabel { + return vs[0].([]*DerivedLabel)[vs[1].(int)] + }).(DerivedLabelOutput) +} + +type DerivedLabelMapOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DerivedLabel)(nil)).Elem() +} + +func (o DerivedLabelMapOutput) ToDerivedLabelMapOutput() DerivedLabelMapOutput { + return o +} + +func (o DerivedLabelMapOutput) ToDerivedLabelMapOutputWithContext(ctx context.Context) DerivedLabelMapOutput { + return o +} + +func (o DerivedLabelMapOutput) MapIndex(k pulumi.StringInput) DerivedLabelOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DerivedLabel { + return vs[0].(map[string]*DerivedLabel)[vs[1].(string)] + }).(DerivedLabelOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelInput)(nil)).Elem(), &DerivedLabel{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelArrayInput)(nil)).Elem(), DerivedLabelArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMapInput)(nil)).Elem(), DerivedLabelMap{}) + pulumi.RegisterOutputType(DerivedLabelOutput{}) + pulumi.RegisterOutputType(DerivedLabelArrayOutput{}) + pulumi.RegisterOutputType(DerivedLabelMapOutput{}) +} diff --git a/sdk/go/chronosphere/derivedMetric.go b/sdk/go/chronosphere/derivedMetric.go new file mode 100644 index 00000000..6da1a6a8 --- /dev/null +++ b/sdk/go/chronosphere/derivedMetric.go @@ -0,0 +1,254 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DerivedMetric struct { + pulumi.CustomResourceState + + Description pulumi.StringPtrOutput `pulumi:"description"` + MetricName pulumi.StringOutput `pulumi:"metricName"` + Name pulumi.StringOutput `pulumi:"name"` + Queries DerivedMetricQueryArrayOutput `pulumi:"queries"` + Slug pulumi.StringOutput `pulumi:"slug"` +} + +// NewDerivedMetric registers a new resource with the given unique name, arguments, and options. +func NewDerivedMetric(ctx *pulumi.Context, + name string, args *DerivedMetricArgs, opts ...pulumi.ResourceOption) (*DerivedMetric, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.MetricName == nil { + return nil, errors.New("invalid value for required argument 'MetricName'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.Queries == nil { + return nil, errors.New("invalid value for required argument 'Queries'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource DerivedMetric + err := ctx.RegisterResource("chronosphere:index/derivedMetric:DerivedMetric", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDerivedMetric gets an existing DerivedMetric resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDerivedMetric(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DerivedMetricState, opts ...pulumi.ResourceOption) (*DerivedMetric, error) { + var resource DerivedMetric + err := ctx.ReadResource("chronosphere:index/derivedMetric:DerivedMetric", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DerivedMetric resources. +type derivedMetricState struct { + Description *string `pulumi:"description"` + MetricName *string `pulumi:"metricName"` + Name *string `pulumi:"name"` + Queries []DerivedMetricQuery `pulumi:"queries"` + Slug *string `pulumi:"slug"` +} + +type DerivedMetricState struct { + Description pulumi.StringPtrInput + MetricName pulumi.StringPtrInput + Name pulumi.StringPtrInput + Queries DerivedMetricQueryArrayInput + Slug pulumi.StringPtrInput +} + +func (DerivedMetricState) ElementType() reflect.Type { + return reflect.TypeOf((*derivedMetricState)(nil)).Elem() +} + +type derivedMetricArgs struct { + Description *string `pulumi:"description"` + MetricName string `pulumi:"metricName"` + Name string `pulumi:"name"` + Queries []DerivedMetricQuery `pulumi:"queries"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a DerivedMetric resource. +type DerivedMetricArgs struct { + Description pulumi.StringPtrInput + MetricName pulumi.StringInput + Name pulumi.StringInput + Queries DerivedMetricQueryArrayInput + Slug pulumi.StringPtrInput +} + +func (DerivedMetricArgs) ElementType() reflect.Type { + return reflect.TypeOf((*derivedMetricArgs)(nil)).Elem() +} + +type DerivedMetricInput interface { + pulumi.Input + + ToDerivedMetricOutput() DerivedMetricOutput + ToDerivedMetricOutputWithContext(ctx context.Context) DerivedMetricOutput +} + +func (*DerivedMetric) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedMetric)(nil)).Elem() +} + +func (i *DerivedMetric) ToDerivedMetricOutput() DerivedMetricOutput { + return i.ToDerivedMetricOutputWithContext(context.Background()) +} + +func (i *DerivedMetric) ToDerivedMetricOutputWithContext(ctx context.Context) DerivedMetricOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricOutput) +} + +// DerivedMetricArrayInput is an input type that accepts DerivedMetricArray and DerivedMetricArrayOutput values. +// You can construct a concrete instance of `DerivedMetricArrayInput` via: +// +// DerivedMetricArray{ DerivedMetricArgs{...} } +type DerivedMetricArrayInput interface { + pulumi.Input + + ToDerivedMetricArrayOutput() DerivedMetricArrayOutput + ToDerivedMetricArrayOutputWithContext(context.Context) DerivedMetricArrayOutput +} + +type DerivedMetricArray []DerivedMetricInput + +func (DerivedMetricArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DerivedMetric)(nil)).Elem() +} + +func (i DerivedMetricArray) ToDerivedMetricArrayOutput() DerivedMetricArrayOutput { + return i.ToDerivedMetricArrayOutputWithContext(context.Background()) +} + +func (i DerivedMetricArray) ToDerivedMetricArrayOutputWithContext(ctx context.Context) DerivedMetricArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricArrayOutput) +} + +// DerivedMetricMapInput is an input type that accepts DerivedMetricMap and DerivedMetricMapOutput values. +// You can construct a concrete instance of `DerivedMetricMapInput` via: +// +// DerivedMetricMap{ "key": DerivedMetricArgs{...} } +type DerivedMetricMapInput interface { + pulumi.Input + + ToDerivedMetricMapOutput() DerivedMetricMapOutput + ToDerivedMetricMapOutputWithContext(context.Context) DerivedMetricMapOutput +} + +type DerivedMetricMap map[string]DerivedMetricInput + +func (DerivedMetricMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DerivedMetric)(nil)).Elem() +} + +func (i DerivedMetricMap) ToDerivedMetricMapOutput() DerivedMetricMapOutput { + return i.ToDerivedMetricMapOutputWithContext(context.Background()) +} + +func (i DerivedMetricMap) ToDerivedMetricMapOutputWithContext(ctx context.Context) DerivedMetricMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricMapOutput) +} + +type DerivedMetricOutput struct{ *pulumi.OutputState } + +func (DerivedMetricOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedMetric)(nil)).Elem() +} + +func (o DerivedMetricOutput) ToDerivedMetricOutput() DerivedMetricOutput { + return o +} + +func (o DerivedMetricOutput) ToDerivedMetricOutputWithContext(ctx context.Context) DerivedMetricOutput { + return o +} + +func (o DerivedMetricOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DerivedMetric) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o DerivedMetricOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v *DerivedMetric) pulumi.StringOutput { return v.MetricName }).(pulumi.StringOutput) +} + +func (o DerivedMetricOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *DerivedMetric) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o DerivedMetricOutput) Queries() DerivedMetricQueryArrayOutput { + return o.ApplyT(func(v *DerivedMetric) DerivedMetricQueryArrayOutput { return v.Queries }).(DerivedMetricQueryArrayOutput) +} + +func (o DerivedMetricOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *DerivedMetric) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +type DerivedMetricArrayOutput struct{ *pulumi.OutputState } + +func (DerivedMetricArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DerivedMetric)(nil)).Elem() +} + +func (o DerivedMetricArrayOutput) ToDerivedMetricArrayOutput() DerivedMetricArrayOutput { + return o +} + +func (o DerivedMetricArrayOutput) ToDerivedMetricArrayOutputWithContext(ctx context.Context) DerivedMetricArrayOutput { + return o +} + +func (o DerivedMetricArrayOutput) Index(i pulumi.IntInput) DerivedMetricOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DerivedMetric { + return vs[0].([]*DerivedMetric)[vs[1].(int)] + }).(DerivedMetricOutput) +} + +type DerivedMetricMapOutput struct{ *pulumi.OutputState } + +func (DerivedMetricMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DerivedMetric)(nil)).Elem() +} + +func (o DerivedMetricMapOutput) ToDerivedMetricMapOutput() DerivedMetricMapOutput { + return o +} + +func (o DerivedMetricMapOutput) ToDerivedMetricMapOutputWithContext(ctx context.Context) DerivedMetricMapOutput { + return o +} + +func (o DerivedMetricMapOutput) MapIndex(k pulumi.StringInput) DerivedMetricOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DerivedMetric { + return vs[0].(map[string]*DerivedMetric)[vs[1].(string)] + }).(DerivedMetricOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricInput)(nil)).Elem(), &DerivedMetric{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricArrayInput)(nil)).Elem(), DerivedMetricArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricMapInput)(nil)).Elem(), DerivedMetricMap{}) + pulumi.RegisterOutputType(DerivedMetricOutput{}) + pulumi.RegisterOutputType(DerivedMetricArrayOutput{}) + pulumi.RegisterOutputType(DerivedMetricMapOutput{}) +} diff --git a/sdk/go/chronosphere/doc.go b/sdk/go/chronosphere/doc.go new file mode 100644 index 00000000..3e44abc9 --- /dev/null +++ b/sdk/go/chronosphere/doc.go @@ -0,0 +1,2 @@ +// Chronosphere Pulumi Provider +package chronosphere diff --git a/sdk/go/chronosphere/dropRule.go b/sdk/go/chronosphere/dropRule.go new file mode 100644 index 00000000..81f406f6 --- /dev/null +++ b/sdk/go/chronosphere/dropRule.go @@ -0,0 +1,278 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DropRule struct { + pulumi.CustomResourceState + + ActivatedDropDuration pulumi.StringPtrOutput `pulumi:"activatedDropDuration"` + Active pulumi.BoolPtrOutput `pulumi:"active"` + ConditionalDrop pulumi.BoolPtrOutput `pulumi:"conditionalDrop"` + Name pulumi.StringOutput `pulumi:"name"` + Queries pulumi.StringArrayOutput `pulumi:"queries"` + RateLimitThreshold pulumi.Float64PtrOutput `pulumi:"rateLimitThreshold"` + Slug pulumi.StringOutput `pulumi:"slug"` + ValueBasedDrop DropRuleValueBasedDropPtrOutput `pulumi:"valueBasedDrop"` +} + +// NewDropRule registers a new resource with the given unique name, arguments, and options. +func NewDropRule(ctx *pulumi.Context, + name string, args *DropRuleArgs, opts ...pulumi.ResourceOption) (*DropRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.Queries == nil { + return nil, errors.New("invalid value for required argument 'Queries'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource DropRule + err := ctx.RegisterResource("chronosphere:index/dropRule:DropRule", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDropRule gets an existing DropRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDropRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DropRuleState, opts ...pulumi.ResourceOption) (*DropRule, error) { + var resource DropRule + err := ctx.ReadResource("chronosphere:index/dropRule:DropRule", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DropRule resources. +type dropRuleState struct { + ActivatedDropDuration *string `pulumi:"activatedDropDuration"` + Active *bool `pulumi:"active"` + ConditionalDrop *bool `pulumi:"conditionalDrop"` + Name *string `pulumi:"name"` + Queries []string `pulumi:"queries"` + RateLimitThreshold *float64 `pulumi:"rateLimitThreshold"` + Slug *string `pulumi:"slug"` + ValueBasedDrop *DropRuleValueBasedDrop `pulumi:"valueBasedDrop"` +} + +type DropRuleState struct { + ActivatedDropDuration pulumi.StringPtrInput + Active pulumi.BoolPtrInput + ConditionalDrop pulumi.BoolPtrInput + Name pulumi.StringPtrInput + Queries pulumi.StringArrayInput + RateLimitThreshold pulumi.Float64PtrInput + Slug pulumi.StringPtrInput + ValueBasedDrop DropRuleValueBasedDropPtrInput +} + +func (DropRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*dropRuleState)(nil)).Elem() +} + +type dropRuleArgs struct { + ActivatedDropDuration *string `pulumi:"activatedDropDuration"` + Active *bool `pulumi:"active"` + ConditionalDrop *bool `pulumi:"conditionalDrop"` + Name string `pulumi:"name"` + Queries []string `pulumi:"queries"` + RateLimitThreshold *float64 `pulumi:"rateLimitThreshold"` + Slug *string `pulumi:"slug"` + ValueBasedDrop *DropRuleValueBasedDrop `pulumi:"valueBasedDrop"` +} + +// The set of arguments for constructing a DropRule resource. +type DropRuleArgs struct { + ActivatedDropDuration pulumi.StringPtrInput + Active pulumi.BoolPtrInput + ConditionalDrop pulumi.BoolPtrInput + Name pulumi.StringInput + Queries pulumi.StringArrayInput + RateLimitThreshold pulumi.Float64PtrInput + Slug pulumi.StringPtrInput + ValueBasedDrop DropRuleValueBasedDropPtrInput +} + +func (DropRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dropRuleArgs)(nil)).Elem() +} + +type DropRuleInput interface { + pulumi.Input + + ToDropRuleOutput() DropRuleOutput + ToDropRuleOutputWithContext(ctx context.Context) DropRuleOutput +} + +func (*DropRule) ElementType() reflect.Type { + return reflect.TypeOf((**DropRule)(nil)).Elem() +} + +func (i *DropRule) ToDropRuleOutput() DropRuleOutput { + return i.ToDropRuleOutputWithContext(context.Background()) +} + +func (i *DropRule) ToDropRuleOutputWithContext(ctx context.Context) DropRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DropRuleOutput) +} + +// DropRuleArrayInput is an input type that accepts DropRuleArray and DropRuleArrayOutput values. +// You can construct a concrete instance of `DropRuleArrayInput` via: +// +// DropRuleArray{ DropRuleArgs{...} } +type DropRuleArrayInput interface { + pulumi.Input + + ToDropRuleArrayOutput() DropRuleArrayOutput + ToDropRuleArrayOutputWithContext(context.Context) DropRuleArrayOutput +} + +type DropRuleArray []DropRuleInput + +func (DropRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DropRule)(nil)).Elem() +} + +func (i DropRuleArray) ToDropRuleArrayOutput() DropRuleArrayOutput { + return i.ToDropRuleArrayOutputWithContext(context.Background()) +} + +func (i DropRuleArray) ToDropRuleArrayOutputWithContext(ctx context.Context) DropRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DropRuleArrayOutput) +} + +// DropRuleMapInput is an input type that accepts DropRuleMap and DropRuleMapOutput values. +// You can construct a concrete instance of `DropRuleMapInput` via: +// +// DropRuleMap{ "key": DropRuleArgs{...} } +type DropRuleMapInput interface { + pulumi.Input + + ToDropRuleMapOutput() DropRuleMapOutput + ToDropRuleMapOutputWithContext(context.Context) DropRuleMapOutput +} + +type DropRuleMap map[string]DropRuleInput + +func (DropRuleMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DropRule)(nil)).Elem() +} + +func (i DropRuleMap) ToDropRuleMapOutput() DropRuleMapOutput { + return i.ToDropRuleMapOutputWithContext(context.Background()) +} + +func (i DropRuleMap) ToDropRuleMapOutputWithContext(ctx context.Context) DropRuleMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DropRuleMapOutput) +} + +type DropRuleOutput struct{ *pulumi.OutputState } + +func (DropRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DropRule)(nil)).Elem() +} + +func (o DropRuleOutput) ToDropRuleOutput() DropRuleOutput { + return o +} + +func (o DropRuleOutput) ToDropRuleOutputWithContext(ctx context.Context) DropRuleOutput { + return o +} + +func (o DropRuleOutput) ActivatedDropDuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DropRule) pulumi.StringPtrOutput { return v.ActivatedDropDuration }).(pulumi.StringPtrOutput) +} + +func (o DropRuleOutput) Active() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DropRule) pulumi.BoolPtrOutput { return v.Active }).(pulumi.BoolPtrOutput) +} + +func (o DropRuleOutput) ConditionalDrop() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DropRule) pulumi.BoolPtrOutput { return v.ConditionalDrop }).(pulumi.BoolPtrOutput) +} + +func (o DropRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *DropRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o DropRuleOutput) Queries() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DropRule) pulumi.StringArrayOutput { return v.Queries }).(pulumi.StringArrayOutput) +} + +func (o DropRuleOutput) RateLimitThreshold() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *DropRule) pulumi.Float64PtrOutput { return v.RateLimitThreshold }).(pulumi.Float64PtrOutput) +} + +func (o DropRuleOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *DropRule) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o DropRuleOutput) ValueBasedDrop() DropRuleValueBasedDropPtrOutput { + return o.ApplyT(func(v *DropRule) DropRuleValueBasedDropPtrOutput { return v.ValueBasedDrop }).(DropRuleValueBasedDropPtrOutput) +} + +type DropRuleArrayOutput struct{ *pulumi.OutputState } + +func (DropRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DropRule)(nil)).Elem() +} + +func (o DropRuleArrayOutput) ToDropRuleArrayOutput() DropRuleArrayOutput { + return o +} + +func (o DropRuleArrayOutput) ToDropRuleArrayOutputWithContext(ctx context.Context) DropRuleArrayOutput { + return o +} + +func (o DropRuleArrayOutput) Index(i pulumi.IntInput) DropRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DropRule { + return vs[0].([]*DropRule)[vs[1].(int)] + }).(DropRuleOutput) +} + +type DropRuleMapOutput struct{ *pulumi.OutputState } + +func (DropRuleMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DropRule)(nil)).Elem() +} + +func (o DropRuleMapOutput) ToDropRuleMapOutput() DropRuleMapOutput { + return o +} + +func (o DropRuleMapOutput) ToDropRuleMapOutputWithContext(ctx context.Context) DropRuleMapOutput { + return o +} + +func (o DropRuleMapOutput) MapIndex(k pulumi.StringInput) DropRuleOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DropRule { + return vs[0].(map[string]*DropRule)[vs[1].(string)] + }).(DropRuleOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DropRuleInput)(nil)).Elem(), &DropRule{}) + pulumi.RegisterInputType(reflect.TypeOf((*DropRuleArrayInput)(nil)).Elem(), DropRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DropRuleMapInput)(nil)).Elem(), DropRuleMap{}) + pulumi.RegisterOutputType(DropRuleOutput{}) + pulumi.RegisterOutputType(DropRuleArrayOutput{}) + pulumi.RegisterOutputType(DropRuleMapOutput{}) +} diff --git a/sdk/go/chronosphere/emailAlertNotifier.go b/sdk/go/chronosphere/emailAlertNotifier.go new file mode 100644 index 00000000..58920137 --- /dev/null +++ b/sdk/go/chronosphere/emailAlertNotifier.go @@ -0,0 +1,260 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type EmailAlertNotifier struct { + pulumi.CustomResourceState + + Html pulumi.StringPtrOutput `pulumi:"html"` + Name pulumi.StringOutput `pulumi:"name"` + SendResolved pulumi.BoolPtrOutput `pulumi:"sendResolved"` + Slug pulumi.StringOutput `pulumi:"slug"` + Text pulumi.StringPtrOutput `pulumi:"text"` + To pulumi.StringOutput `pulumi:"to"` +} + +// NewEmailAlertNotifier registers a new resource with the given unique name, arguments, and options. +func NewEmailAlertNotifier(ctx *pulumi.Context, + name string, args *EmailAlertNotifierArgs, opts ...pulumi.ResourceOption) (*EmailAlertNotifier, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.To == nil { + return nil, errors.New("invalid value for required argument 'To'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource EmailAlertNotifier + err := ctx.RegisterResource("chronosphere:index/emailAlertNotifier:EmailAlertNotifier", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetEmailAlertNotifier gets an existing EmailAlertNotifier resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetEmailAlertNotifier(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *EmailAlertNotifierState, opts ...pulumi.ResourceOption) (*EmailAlertNotifier, error) { + var resource EmailAlertNotifier + err := ctx.ReadResource("chronosphere:index/emailAlertNotifier:EmailAlertNotifier", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering EmailAlertNotifier resources. +type emailAlertNotifierState struct { + Html *string `pulumi:"html"` + Name *string `pulumi:"name"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + Text *string `pulumi:"text"` + To *string `pulumi:"to"` +} + +type EmailAlertNotifierState struct { + Html pulumi.StringPtrInput + Name pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + Text pulumi.StringPtrInput + To pulumi.StringPtrInput +} + +func (EmailAlertNotifierState) ElementType() reflect.Type { + return reflect.TypeOf((*emailAlertNotifierState)(nil)).Elem() +} + +type emailAlertNotifierArgs struct { + Html *string `pulumi:"html"` + Name string `pulumi:"name"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + Text *string `pulumi:"text"` + To string `pulumi:"to"` +} + +// The set of arguments for constructing a EmailAlertNotifier resource. +type EmailAlertNotifierArgs struct { + Html pulumi.StringPtrInput + Name pulumi.StringInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + Text pulumi.StringPtrInput + To pulumi.StringInput +} + +func (EmailAlertNotifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*emailAlertNotifierArgs)(nil)).Elem() +} + +type EmailAlertNotifierInput interface { + pulumi.Input + + ToEmailAlertNotifierOutput() EmailAlertNotifierOutput + ToEmailAlertNotifierOutputWithContext(ctx context.Context) EmailAlertNotifierOutput +} + +func (*EmailAlertNotifier) ElementType() reflect.Type { + return reflect.TypeOf((**EmailAlertNotifier)(nil)).Elem() +} + +func (i *EmailAlertNotifier) ToEmailAlertNotifierOutput() EmailAlertNotifierOutput { + return i.ToEmailAlertNotifierOutputWithContext(context.Background()) +} + +func (i *EmailAlertNotifier) ToEmailAlertNotifierOutputWithContext(ctx context.Context) EmailAlertNotifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(EmailAlertNotifierOutput) +} + +// EmailAlertNotifierArrayInput is an input type that accepts EmailAlertNotifierArray and EmailAlertNotifierArrayOutput values. +// You can construct a concrete instance of `EmailAlertNotifierArrayInput` via: +// +// EmailAlertNotifierArray{ EmailAlertNotifierArgs{...} } +type EmailAlertNotifierArrayInput interface { + pulumi.Input + + ToEmailAlertNotifierArrayOutput() EmailAlertNotifierArrayOutput + ToEmailAlertNotifierArrayOutputWithContext(context.Context) EmailAlertNotifierArrayOutput +} + +type EmailAlertNotifierArray []EmailAlertNotifierInput + +func (EmailAlertNotifierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*EmailAlertNotifier)(nil)).Elem() +} + +func (i EmailAlertNotifierArray) ToEmailAlertNotifierArrayOutput() EmailAlertNotifierArrayOutput { + return i.ToEmailAlertNotifierArrayOutputWithContext(context.Background()) +} + +func (i EmailAlertNotifierArray) ToEmailAlertNotifierArrayOutputWithContext(ctx context.Context) EmailAlertNotifierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EmailAlertNotifierArrayOutput) +} + +// EmailAlertNotifierMapInput is an input type that accepts EmailAlertNotifierMap and EmailAlertNotifierMapOutput values. +// You can construct a concrete instance of `EmailAlertNotifierMapInput` via: +// +// EmailAlertNotifierMap{ "key": EmailAlertNotifierArgs{...} } +type EmailAlertNotifierMapInput interface { + pulumi.Input + + ToEmailAlertNotifierMapOutput() EmailAlertNotifierMapOutput + ToEmailAlertNotifierMapOutputWithContext(context.Context) EmailAlertNotifierMapOutput +} + +type EmailAlertNotifierMap map[string]EmailAlertNotifierInput + +func (EmailAlertNotifierMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*EmailAlertNotifier)(nil)).Elem() +} + +func (i EmailAlertNotifierMap) ToEmailAlertNotifierMapOutput() EmailAlertNotifierMapOutput { + return i.ToEmailAlertNotifierMapOutputWithContext(context.Background()) +} + +func (i EmailAlertNotifierMap) ToEmailAlertNotifierMapOutputWithContext(ctx context.Context) EmailAlertNotifierMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EmailAlertNotifierMapOutput) +} + +type EmailAlertNotifierOutput struct{ *pulumi.OutputState } + +func (EmailAlertNotifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EmailAlertNotifier)(nil)).Elem() +} + +func (o EmailAlertNotifierOutput) ToEmailAlertNotifierOutput() EmailAlertNotifierOutput { + return o +} + +func (o EmailAlertNotifierOutput) ToEmailAlertNotifierOutputWithContext(ctx context.Context) EmailAlertNotifierOutput { + return o +} + +func (o EmailAlertNotifierOutput) Html() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EmailAlertNotifier) pulumi.StringPtrOutput { return v.Html }).(pulumi.StringPtrOutput) +} + +func (o EmailAlertNotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *EmailAlertNotifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o EmailAlertNotifierOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EmailAlertNotifier) pulumi.BoolPtrOutput { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + +func (o EmailAlertNotifierOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *EmailAlertNotifier) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o EmailAlertNotifierOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EmailAlertNotifier) pulumi.StringPtrOutput { return v.Text }).(pulumi.StringPtrOutput) +} + +func (o EmailAlertNotifierOutput) To() pulumi.StringOutput { + return o.ApplyT(func(v *EmailAlertNotifier) pulumi.StringOutput { return v.To }).(pulumi.StringOutput) +} + +type EmailAlertNotifierArrayOutput struct{ *pulumi.OutputState } + +func (EmailAlertNotifierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*EmailAlertNotifier)(nil)).Elem() +} + +func (o EmailAlertNotifierArrayOutput) ToEmailAlertNotifierArrayOutput() EmailAlertNotifierArrayOutput { + return o +} + +func (o EmailAlertNotifierArrayOutput) ToEmailAlertNotifierArrayOutputWithContext(ctx context.Context) EmailAlertNotifierArrayOutput { + return o +} + +func (o EmailAlertNotifierArrayOutput) Index(i pulumi.IntInput) EmailAlertNotifierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *EmailAlertNotifier { + return vs[0].([]*EmailAlertNotifier)[vs[1].(int)] + }).(EmailAlertNotifierOutput) +} + +type EmailAlertNotifierMapOutput struct{ *pulumi.OutputState } + +func (EmailAlertNotifierMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*EmailAlertNotifier)(nil)).Elem() +} + +func (o EmailAlertNotifierMapOutput) ToEmailAlertNotifierMapOutput() EmailAlertNotifierMapOutput { + return o +} + +func (o EmailAlertNotifierMapOutput) ToEmailAlertNotifierMapOutputWithContext(ctx context.Context) EmailAlertNotifierMapOutput { + return o +} + +func (o EmailAlertNotifierMapOutput) MapIndex(k pulumi.StringInput) EmailAlertNotifierOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *EmailAlertNotifier { + return vs[0].(map[string]*EmailAlertNotifier)[vs[1].(string)] + }).(EmailAlertNotifierOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*EmailAlertNotifierInput)(nil)).Elem(), &EmailAlertNotifier{}) + pulumi.RegisterInputType(reflect.TypeOf((*EmailAlertNotifierArrayInput)(nil)).Elem(), EmailAlertNotifierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*EmailAlertNotifierMapInput)(nil)).Elem(), EmailAlertNotifierMap{}) + pulumi.RegisterOutputType(EmailAlertNotifierOutput{}) + pulumi.RegisterOutputType(EmailAlertNotifierArrayOutput{}) + pulumi.RegisterOutputType(EmailAlertNotifierMapOutput{}) +} diff --git a/sdk/go/chronosphere/gcpMetricsIntegration.go b/sdk/go/chronosphere/gcpMetricsIntegration.go new file mode 100644 index 00000000..0bc36b42 --- /dev/null +++ b/sdk/go/chronosphere/gcpMetricsIntegration.go @@ -0,0 +1,226 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type GcpMetricsIntegration struct { + pulumi.CustomResourceState + + MetricGroups GcpMetricsIntegrationMetricGroupArrayOutput `pulumi:"metricGroups"` + ServiceAccount GcpMetricsIntegrationServiceAccountPtrOutput `pulumi:"serviceAccount"` + Slug pulumi.StringPtrOutput `pulumi:"slug"` +} + +// NewGcpMetricsIntegration registers a new resource with the given unique name, arguments, and options. +func NewGcpMetricsIntegration(ctx *pulumi.Context, + name string, args *GcpMetricsIntegrationArgs, opts ...pulumi.ResourceOption) (*GcpMetricsIntegration, error) { + if args == nil { + args = &GcpMetricsIntegrationArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource GcpMetricsIntegration + err := ctx.RegisterResource("chronosphere:index/gcpMetricsIntegration:GcpMetricsIntegration", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetGcpMetricsIntegration gets an existing GcpMetricsIntegration resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetGcpMetricsIntegration(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *GcpMetricsIntegrationState, opts ...pulumi.ResourceOption) (*GcpMetricsIntegration, error) { + var resource GcpMetricsIntegration + err := ctx.ReadResource("chronosphere:index/gcpMetricsIntegration:GcpMetricsIntegration", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering GcpMetricsIntegration resources. +type gcpMetricsIntegrationState struct { + MetricGroups []GcpMetricsIntegrationMetricGroup `pulumi:"metricGroups"` + ServiceAccount *GcpMetricsIntegrationServiceAccount `pulumi:"serviceAccount"` + Slug *string `pulumi:"slug"` +} + +type GcpMetricsIntegrationState struct { + MetricGroups GcpMetricsIntegrationMetricGroupArrayInput + ServiceAccount GcpMetricsIntegrationServiceAccountPtrInput + Slug pulumi.StringPtrInput +} + +func (GcpMetricsIntegrationState) ElementType() reflect.Type { + return reflect.TypeOf((*gcpMetricsIntegrationState)(nil)).Elem() +} + +type gcpMetricsIntegrationArgs struct { + MetricGroups []GcpMetricsIntegrationMetricGroup `pulumi:"metricGroups"` + ServiceAccount *GcpMetricsIntegrationServiceAccount `pulumi:"serviceAccount"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a GcpMetricsIntegration resource. +type GcpMetricsIntegrationArgs struct { + MetricGroups GcpMetricsIntegrationMetricGroupArrayInput + ServiceAccount GcpMetricsIntegrationServiceAccountPtrInput + Slug pulumi.StringPtrInput +} + +func (GcpMetricsIntegrationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*gcpMetricsIntegrationArgs)(nil)).Elem() +} + +type GcpMetricsIntegrationInput interface { + pulumi.Input + + ToGcpMetricsIntegrationOutput() GcpMetricsIntegrationOutput + ToGcpMetricsIntegrationOutputWithContext(ctx context.Context) GcpMetricsIntegrationOutput +} + +func (*GcpMetricsIntegration) ElementType() reflect.Type { + return reflect.TypeOf((**GcpMetricsIntegration)(nil)).Elem() +} + +func (i *GcpMetricsIntegration) ToGcpMetricsIntegrationOutput() GcpMetricsIntegrationOutput { + return i.ToGcpMetricsIntegrationOutputWithContext(context.Background()) +} + +func (i *GcpMetricsIntegration) ToGcpMetricsIntegrationOutputWithContext(ctx context.Context) GcpMetricsIntegrationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationOutput) +} + +// GcpMetricsIntegrationArrayInput is an input type that accepts GcpMetricsIntegrationArray and GcpMetricsIntegrationArrayOutput values. +// You can construct a concrete instance of `GcpMetricsIntegrationArrayInput` via: +// +// GcpMetricsIntegrationArray{ GcpMetricsIntegrationArgs{...} } +type GcpMetricsIntegrationArrayInput interface { + pulumi.Input + + ToGcpMetricsIntegrationArrayOutput() GcpMetricsIntegrationArrayOutput + ToGcpMetricsIntegrationArrayOutputWithContext(context.Context) GcpMetricsIntegrationArrayOutput +} + +type GcpMetricsIntegrationArray []GcpMetricsIntegrationInput + +func (GcpMetricsIntegrationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*GcpMetricsIntegration)(nil)).Elem() +} + +func (i GcpMetricsIntegrationArray) ToGcpMetricsIntegrationArrayOutput() GcpMetricsIntegrationArrayOutput { + return i.ToGcpMetricsIntegrationArrayOutputWithContext(context.Background()) +} + +func (i GcpMetricsIntegrationArray) ToGcpMetricsIntegrationArrayOutputWithContext(ctx context.Context) GcpMetricsIntegrationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationArrayOutput) +} + +// GcpMetricsIntegrationMapInput is an input type that accepts GcpMetricsIntegrationMap and GcpMetricsIntegrationMapOutput values. +// You can construct a concrete instance of `GcpMetricsIntegrationMapInput` via: +// +// GcpMetricsIntegrationMap{ "key": GcpMetricsIntegrationArgs{...} } +type GcpMetricsIntegrationMapInput interface { + pulumi.Input + + ToGcpMetricsIntegrationMapOutput() GcpMetricsIntegrationMapOutput + ToGcpMetricsIntegrationMapOutputWithContext(context.Context) GcpMetricsIntegrationMapOutput +} + +type GcpMetricsIntegrationMap map[string]GcpMetricsIntegrationInput + +func (GcpMetricsIntegrationMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*GcpMetricsIntegration)(nil)).Elem() +} + +func (i GcpMetricsIntegrationMap) ToGcpMetricsIntegrationMapOutput() GcpMetricsIntegrationMapOutput { + return i.ToGcpMetricsIntegrationMapOutputWithContext(context.Background()) +} + +func (i GcpMetricsIntegrationMap) ToGcpMetricsIntegrationMapOutputWithContext(ctx context.Context) GcpMetricsIntegrationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationMapOutput) +} + +type GcpMetricsIntegrationOutput struct{ *pulumi.OutputState } + +func (GcpMetricsIntegrationOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GcpMetricsIntegration)(nil)).Elem() +} + +func (o GcpMetricsIntegrationOutput) ToGcpMetricsIntegrationOutput() GcpMetricsIntegrationOutput { + return o +} + +func (o GcpMetricsIntegrationOutput) ToGcpMetricsIntegrationOutputWithContext(ctx context.Context) GcpMetricsIntegrationOutput { + return o +} + +func (o GcpMetricsIntegrationOutput) MetricGroups() GcpMetricsIntegrationMetricGroupArrayOutput { + return o.ApplyT(func(v *GcpMetricsIntegration) GcpMetricsIntegrationMetricGroupArrayOutput { return v.MetricGroups }).(GcpMetricsIntegrationMetricGroupArrayOutput) +} + +func (o GcpMetricsIntegrationOutput) ServiceAccount() GcpMetricsIntegrationServiceAccountPtrOutput { + return o.ApplyT(func(v *GcpMetricsIntegration) GcpMetricsIntegrationServiceAccountPtrOutput { return v.ServiceAccount }).(GcpMetricsIntegrationServiceAccountPtrOutput) +} + +func (o GcpMetricsIntegrationOutput) Slug() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GcpMetricsIntegration) pulumi.StringPtrOutput { return v.Slug }).(pulumi.StringPtrOutput) +} + +type GcpMetricsIntegrationArrayOutput struct{ *pulumi.OutputState } + +func (GcpMetricsIntegrationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*GcpMetricsIntegration)(nil)).Elem() +} + +func (o GcpMetricsIntegrationArrayOutput) ToGcpMetricsIntegrationArrayOutput() GcpMetricsIntegrationArrayOutput { + return o +} + +func (o GcpMetricsIntegrationArrayOutput) ToGcpMetricsIntegrationArrayOutputWithContext(ctx context.Context) GcpMetricsIntegrationArrayOutput { + return o +} + +func (o GcpMetricsIntegrationArrayOutput) Index(i pulumi.IntInput) GcpMetricsIntegrationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GcpMetricsIntegration { + return vs[0].([]*GcpMetricsIntegration)[vs[1].(int)] + }).(GcpMetricsIntegrationOutput) +} + +type GcpMetricsIntegrationMapOutput struct{ *pulumi.OutputState } + +func (GcpMetricsIntegrationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*GcpMetricsIntegration)(nil)).Elem() +} + +func (o GcpMetricsIntegrationMapOutput) ToGcpMetricsIntegrationMapOutput() GcpMetricsIntegrationMapOutput { + return o +} + +func (o GcpMetricsIntegrationMapOutput) ToGcpMetricsIntegrationMapOutputWithContext(ctx context.Context) GcpMetricsIntegrationMapOutput { + return o +} + +func (o GcpMetricsIntegrationMapOutput) MapIndex(k pulumi.StringInput) GcpMetricsIntegrationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GcpMetricsIntegration { + return vs[0].(map[string]*GcpMetricsIntegration)[vs[1].(string)] + }).(GcpMetricsIntegrationOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GcpMetricsIntegrationInput)(nil)).Elem(), &GcpMetricsIntegration{}) + pulumi.RegisterInputType(reflect.TypeOf((*GcpMetricsIntegrationArrayInput)(nil)).Elem(), GcpMetricsIntegrationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GcpMetricsIntegrationMapInput)(nil)).Elem(), GcpMetricsIntegrationMap{}) + pulumi.RegisterOutputType(GcpMetricsIntegrationOutput{}) + pulumi.RegisterOutputType(GcpMetricsIntegrationArrayOutput{}) + pulumi.RegisterOutputType(GcpMetricsIntegrationMapOutput{}) +} diff --git a/sdk/go/chronosphere/grafanaDashboard.go b/sdk/go/chronosphere/grafanaDashboard.go new file mode 100644 index 00000000..7ccb6a26 --- /dev/null +++ b/sdk/go/chronosphere/grafanaDashboard.go @@ -0,0 +1,230 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type GrafanaDashboard struct { + pulumi.CustomResourceState + + BucketId pulumi.StringPtrOutput `pulumi:"bucketId"` + CollectionId pulumi.StringPtrOutput `pulumi:"collectionId"` + DashboardJson pulumi.StringOutput `pulumi:"dashboardJson"` +} + +// NewGrafanaDashboard registers a new resource with the given unique name, arguments, and options. +func NewGrafanaDashboard(ctx *pulumi.Context, + name string, args *GrafanaDashboardArgs, opts ...pulumi.ResourceOption) (*GrafanaDashboard, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DashboardJson == nil { + return nil, errors.New("invalid value for required argument 'DashboardJson'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource GrafanaDashboard + err := ctx.RegisterResource("chronosphere:index/grafanaDashboard:GrafanaDashboard", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetGrafanaDashboard gets an existing GrafanaDashboard resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetGrafanaDashboard(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *GrafanaDashboardState, opts ...pulumi.ResourceOption) (*GrafanaDashboard, error) { + var resource GrafanaDashboard + err := ctx.ReadResource("chronosphere:index/grafanaDashboard:GrafanaDashboard", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering GrafanaDashboard resources. +type grafanaDashboardState struct { + BucketId *string `pulumi:"bucketId"` + CollectionId *string `pulumi:"collectionId"` + DashboardJson *string `pulumi:"dashboardJson"` +} + +type GrafanaDashboardState struct { + BucketId pulumi.StringPtrInput + CollectionId pulumi.StringPtrInput + DashboardJson pulumi.StringPtrInput +} + +func (GrafanaDashboardState) ElementType() reflect.Type { + return reflect.TypeOf((*grafanaDashboardState)(nil)).Elem() +} + +type grafanaDashboardArgs struct { + BucketId *string `pulumi:"bucketId"` + CollectionId *string `pulumi:"collectionId"` + DashboardJson string `pulumi:"dashboardJson"` +} + +// The set of arguments for constructing a GrafanaDashboard resource. +type GrafanaDashboardArgs struct { + BucketId pulumi.StringPtrInput + CollectionId pulumi.StringPtrInput + DashboardJson pulumi.StringInput +} + +func (GrafanaDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*grafanaDashboardArgs)(nil)).Elem() +} + +type GrafanaDashboardInput interface { + pulumi.Input + + ToGrafanaDashboardOutput() GrafanaDashboardOutput + ToGrafanaDashboardOutputWithContext(ctx context.Context) GrafanaDashboardOutput +} + +func (*GrafanaDashboard) ElementType() reflect.Type { + return reflect.TypeOf((**GrafanaDashboard)(nil)).Elem() +} + +func (i *GrafanaDashboard) ToGrafanaDashboardOutput() GrafanaDashboardOutput { + return i.ToGrafanaDashboardOutputWithContext(context.Background()) +} + +func (i *GrafanaDashboard) ToGrafanaDashboardOutputWithContext(ctx context.Context) GrafanaDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GrafanaDashboardOutput) +} + +// GrafanaDashboardArrayInput is an input type that accepts GrafanaDashboardArray and GrafanaDashboardArrayOutput values. +// You can construct a concrete instance of `GrafanaDashboardArrayInput` via: +// +// GrafanaDashboardArray{ GrafanaDashboardArgs{...} } +type GrafanaDashboardArrayInput interface { + pulumi.Input + + ToGrafanaDashboardArrayOutput() GrafanaDashboardArrayOutput + ToGrafanaDashboardArrayOutputWithContext(context.Context) GrafanaDashboardArrayOutput +} + +type GrafanaDashboardArray []GrafanaDashboardInput + +func (GrafanaDashboardArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*GrafanaDashboard)(nil)).Elem() +} + +func (i GrafanaDashboardArray) ToGrafanaDashboardArrayOutput() GrafanaDashboardArrayOutput { + return i.ToGrafanaDashboardArrayOutputWithContext(context.Background()) +} + +func (i GrafanaDashboardArray) ToGrafanaDashboardArrayOutputWithContext(ctx context.Context) GrafanaDashboardArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GrafanaDashboardArrayOutput) +} + +// GrafanaDashboardMapInput is an input type that accepts GrafanaDashboardMap and GrafanaDashboardMapOutput values. +// You can construct a concrete instance of `GrafanaDashboardMapInput` via: +// +// GrafanaDashboardMap{ "key": GrafanaDashboardArgs{...} } +type GrafanaDashboardMapInput interface { + pulumi.Input + + ToGrafanaDashboardMapOutput() GrafanaDashboardMapOutput + ToGrafanaDashboardMapOutputWithContext(context.Context) GrafanaDashboardMapOutput +} + +type GrafanaDashboardMap map[string]GrafanaDashboardInput + +func (GrafanaDashboardMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*GrafanaDashboard)(nil)).Elem() +} + +func (i GrafanaDashboardMap) ToGrafanaDashboardMapOutput() GrafanaDashboardMapOutput { + return i.ToGrafanaDashboardMapOutputWithContext(context.Background()) +} + +func (i GrafanaDashboardMap) ToGrafanaDashboardMapOutputWithContext(ctx context.Context) GrafanaDashboardMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GrafanaDashboardMapOutput) +} + +type GrafanaDashboardOutput struct{ *pulumi.OutputState } + +func (GrafanaDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GrafanaDashboard)(nil)).Elem() +} + +func (o GrafanaDashboardOutput) ToGrafanaDashboardOutput() GrafanaDashboardOutput { + return o +} + +func (o GrafanaDashboardOutput) ToGrafanaDashboardOutputWithContext(ctx context.Context) GrafanaDashboardOutput { + return o +} + +func (o GrafanaDashboardOutput) BucketId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GrafanaDashboard) pulumi.StringPtrOutput { return v.BucketId }).(pulumi.StringPtrOutput) +} + +func (o GrafanaDashboardOutput) CollectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GrafanaDashboard) pulumi.StringPtrOutput { return v.CollectionId }).(pulumi.StringPtrOutput) +} + +func (o GrafanaDashboardOutput) DashboardJson() pulumi.StringOutput { + return o.ApplyT(func(v *GrafanaDashboard) pulumi.StringOutput { return v.DashboardJson }).(pulumi.StringOutput) +} + +type GrafanaDashboardArrayOutput struct{ *pulumi.OutputState } + +func (GrafanaDashboardArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*GrafanaDashboard)(nil)).Elem() +} + +func (o GrafanaDashboardArrayOutput) ToGrafanaDashboardArrayOutput() GrafanaDashboardArrayOutput { + return o +} + +func (o GrafanaDashboardArrayOutput) ToGrafanaDashboardArrayOutputWithContext(ctx context.Context) GrafanaDashboardArrayOutput { + return o +} + +func (o GrafanaDashboardArrayOutput) Index(i pulumi.IntInput) GrafanaDashboardOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GrafanaDashboard { + return vs[0].([]*GrafanaDashboard)[vs[1].(int)] + }).(GrafanaDashboardOutput) +} + +type GrafanaDashboardMapOutput struct{ *pulumi.OutputState } + +func (GrafanaDashboardMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*GrafanaDashboard)(nil)).Elem() +} + +func (o GrafanaDashboardMapOutput) ToGrafanaDashboardMapOutput() GrafanaDashboardMapOutput { + return o +} + +func (o GrafanaDashboardMapOutput) ToGrafanaDashboardMapOutputWithContext(ctx context.Context) GrafanaDashboardMapOutput { + return o +} + +func (o GrafanaDashboardMapOutput) MapIndex(k pulumi.StringInput) GrafanaDashboardOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GrafanaDashboard { + return vs[0].(map[string]*GrafanaDashboard)[vs[1].(string)] + }).(GrafanaDashboardOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GrafanaDashboardInput)(nil)).Elem(), &GrafanaDashboard{}) + pulumi.RegisterInputType(reflect.TypeOf((*GrafanaDashboardArrayInput)(nil)).Elem(), GrafanaDashboardArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GrafanaDashboardMapInput)(nil)).Elem(), GrafanaDashboardMap{}) + pulumi.RegisterOutputType(GrafanaDashboardOutput{}) + pulumi.RegisterOutputType(GrafanaDashboardArrayOutput{}) + pulumi.RegisterOutputType(GrafanaDashboardMapOutput{}) +} diff --git a/sdk/go/chronosphere/init.go b/sdk/go/chronosphere/init.go new file mode 100644 index 00000000..dc8ccee1 --- /dev/null +++ b/sdk/go/chronosphere/init.go @@ -0,0 +1,248 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "fmt" + + "github.com/blang/semver" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type module struct { + version semver.Version +} + +func (m *module) Version() semver.Version { + return m.version +} + +func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { + switch typ { + case "chronosphere:index/blackholeAlertNotifier:BlackholeAlertNotifier": + r = &BlackholeAlertNotifier{} + case "chronosphere:index/bucket:Bucket": + r = &Bucket{} + case "chronosphere:index/classicDashboard:ClassicDashboard": + r = &ClassicDashboard{} + case "chronosphere:index/collection:Collection": + r = &Collection{} + case "chronosphere:index/dashboard:Dashboard": + r = &Dashboard{} + case "chronosphere:index/derivedLabel:DerivedLabel": + r = &DerivedLabel{} + case "chronosphere:index/derivedMetric:DerivedMetric": + r = &DerivedMetric{} + case "chronosphere:index/dropRule:DropRule": + r = &DropRule{} + case "chronosphere:index/emailAlertNotifier:EmailAlertNotifier": + r = &EmailAlertNotifier{} + case "chronosphere:index/gcpMetricsIntegration:GcpMetricsIntegration": + r = &GcpMetricsIntegration{} + case "chronosphere:index/grafanaDashboard:GrafanaDashboard": + r = &GrafanaDashboard{} + case "chronosphere:index/mappingRule:MappingRule": + r = &MappingRule{} + case "chronosphere:index/monitor:Monitor": + r = &Monitor{} + case "chronosphere:index/notificationPolicy:NotificationPolicy": + r = &NotificationPolicy{} + case "chronosphere:index/opsgenieAlertNotifier:OpsgenieAlertNotifier": + r = &OpsgenieAlertNotifier{} + case "chronosphere:index/pagerdutyAlertNotifier:PagerdutyAlertNotifier": + r = &PagerdutyAlertNotifier{} + case "chronosphere:index/recordingRule:RecordingRule": + r = &RecordingRule{} + case "chronosphere:index/resourcePoolsConfig:ResourcePoolsConfig": + r = &ResourcePoolsConfig{} + case "chronosphere:index/rollupRule:RollupRule": + r = &RollupRule{} + case "chronosphere:index/serviceAccount:ServiceAccount": + r = &ServiceAccount{} + case "chronosphere:index/slackAlertNotifier:SlackAlertNotifier": + r = &SlackAlertNotifier{} + case "chronosphere:index/team:Team": + r = &Team{} + case "chronosphere:index/traceJaegerRemoteSamplingStrategy:TraceJaegerRemoteSamplingStrategy": + r = &TraceJaegerRemoteSamplingStrategy{} + case "chronosphere:index/traceMetricsRule:TraceMetricsRule": + r = &TraceMetricsRule{} + case "chronosphere:index/traceTailSamplingRules:TraceTailSamplingRules": + r = &TraceTailSamplingRules{} + case "chronosphere:index/victoropsAlertNotifier:VictoropsAlertNotifier": + r = &VictoropsAlertNotifier{} + case "chronosphere:index/webhookAlertNotifier:WebhookAlertNotifier": + r = &WebhookAlertNotifier{} + default: + return nil, fmt.Errorf("unknown resource type: %s", typ) + } + + err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return +} + +type pkg struct { + version semver.Version +} + +func (p *pkg) Version() semver.Version { + return p.version +} + +func (p *pkg) ConstructProvider(ctx *pulumi.Context, name, typ, urn string) (pulumi.ProviderResource, error) { + if typ != "pulumi:providers:chronosphere" { + return nil, fmt.Errorf("unknown provider type: %s", typ) + } + + r := &Provider{} + err := ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return r, err +} + +func init() { + version, err := internal.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } + pulumi.RegisterResourceModule( + "chronosphere", + "index/blackholeAlertNotifier", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/bucket", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/classicDashboard", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/collection", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/dashboard", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/derivedLabel", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/derivedMetric", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/dropRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/emailAlertNotifier", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/gcpMetricsIntegration", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/grafanaDashboard", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/mappingRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/monitor", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/notificationPolicy", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/opsgenieAlertNotifier", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/pagerdutyAlertNotifier", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/recordingRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/resourcePoolsConfig", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/rollupRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/serviceAccount", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/slackAlertNotifier", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/team", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/traceJaegerRemoteSamplingStrategy", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/traceMetricsRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/traceTailSamplingRules", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/victoropsAlertNotifier", + &module{version}, + ) + pulumi.RegisterResourceModule( + "chronosphere", + "index/webhookAlertNotifier", + &module{version}, + ) + pulumi.RegisterResourcePackage( + "chronosphere", + &pkg{version}, + ) +} diff --git a/sdk/go/chronosphere/internal/pulumiUtilities.go b/sdk/go/chronosphere/internal/pulumiUtilities.go new file mode 100644 index 00000000..1e3d1873 --- /dev/null +++ b/sdk/go/chronosphere/internal/pulumiUtilities.go @@ -0,0 +1,113 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package internal + +import ( + "fmt" + "os" + "reflect" + "regexp" + "strconv" + "strings" + + "github.com/blang/semver" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type envParser func(v string) interface{} + +func ParseEnvBool(v string) interface{} { + b, err := strconv.ParseBool(v) + if err != nil { + return nil + } + return b +} + +func ParseEnvInt(v string) interface{} { + i, err := strconv.ParseInt(v, 0, 0) + if err != nil { + return nil + } + return int(i) +} + +func ParseEnvFloat(v string) interface{} { + f, err := strconv.ParseFloat(v, 64) + if err != nil { + return nil + } + return f +} + +func ParseEnvStringArray(v string) interface{} { + var result pulumi.StringArray + for _, item := range strings.Split(v, ";") { + result = append(result, pulumi.String(item)) + } + return result +} + +func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { + for _, v := range vars { + if value, ok := os.LookupEnv(v); ok { + if parser != nil { + return parser(value) + } + return value + } + } + return def +} + +// PkgVersion uses reflection to determine the version of the current package. +// If a version cannot be determined, v1 will be assumed. The second return +// value is always nil. +func PkgVersion() (semver.Version, error) { + // emptyVersion defaults to v0.0.0 + if !SdkVersion.Equals(semver.Version{}) { + return SdkVersion, nil + } + type sentinal struct{} + pkgPath := reflect.TypeOf(sentinal{}).PkgPath() + re := regexp.MustCompile("^.*/pulumi-chronosphere/sdk(/v\\d+)?") + if match := re.FindStringSubmatch(pkgPath); match != nil { + vStr := match[1] + if len(vStr) == 0 { // If the version capture group was empty, default to v1. + return semver.Version{Major: 1}, nil + } + return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil + } + return semver.Version{Major: 1}, nil +} + +// isZero is a null safe check for if a value is it's types zero value. +func IsZero(v interface{}) bool { + if v == nil { + return true + } + return reflect.ValueOf(v).IsZero() +} + +// PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. +func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { + defaults := []pulumi.ResourceOption{} + + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } + return append(defaults, opts...) +} + +// PkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. +func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { + defaults := []pulumi.InvokeOption{} + + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } + return append(defaults, opts...) +} diff --git a/sdk/go/chronosphere/internal/pulumiVersion.go b/sdk/go/chronosphere/internal/pulumiVersion.go new file mode 100644 index 00000000..d5916876 --- /dev/null +++ b/sdk/go/chronosphere/internal/pulumiVersion.go @@ -0,0 +1,11 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package internal + +import ( + "github.com/blang/semver" +) + +var SdkVersion semver.Version = semver.Version{} +var pluginDownloadURL string = "" diff --git a/sdk/go/chronosphere/mappingRule.go b/sdk/go/chronosphere/mappingRule.go new file mode 100644 index 00000000..a1a92e0d --- /dev/null +++ b/sdk/go/chronosphere/mappingRule.go @@ -0,0 +1,296 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MappingRule struct { + pulumi.CustomResourceState + + Aggregations pulumi.StringPtrOutput `pulumi:"aggregations"` + BucketId pulumi.StringPtrOutput `pulumi:"bucketId"` + Drop pulumi.BoolPtrOutput `pulumi:"drop"` + DropTimestamp pulumi.BoolPtrOutput `pulumi:"dropTimestamp"` + Filter pulumi.StringOutput `pulumi:"filter"` + Interval pulumi.StringPtrOutput `pulumi:"interval"` + Mode pulumi.StringPtrOutput `pulumi:"mode"` + Name pulumi.StringOutput `pulumi:"name"` + Slug pulumi.StringOutput `pulumi:"slug"` + StoragePolicy MappingRuleStoragePolicyPtrOutput `pulumi:"storagePolicy"` +} + +// NewMappingRule registers a new resource with the given unique name, arguments, and options. +func NewMappingRule(ctx *pulumi.Context, + name string, args *MappingRuleArgs, opts ...pulumi.ResourceOption) (*MappingRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Filter == nil { + return nil, errors.New("invalid value for required argument 'Filter'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource MappingRule + err := ctx.RegisterResource("chronosphere:index/mappingRule:MappingRule", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMappingRule gets an existing MappingRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMappingRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MappingRuleState, opts ...pulumi.ResourceOption) (*MappingRule, error) { + var resource MappingRule + err := ctx.ReadResource("chronosphere:index/mappingRule:MappingRule", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MappingRule resources. +type mappingRuleState struct { + Aggregations *string `pulumi:"aggregations"` + BucketId *string `pulumi:"bucketId"` + Drop *bool `pulumi:"drop"` + DropTimestamp *bool `pulumi:"dropTimestamp"` + Filter *string `pulumi:"filter"` + Interval *string `pulumi:"interval"` + Mode *string `pulumi:"mode"` + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` + StoragePolicy *MappingRuleStoragePolicy `pulumi:"storagePolicy"` +} + +type MappingRuleState struct { + Aggregations pulumi.StringPtrInput + BucketId pulumi.StringPtrInput + Drop pulumi.BoolPtrInput + DropTimestamp pulumi.BoolPtrInput + Filter pulumi.StringPtrInput + Interval pulumi.StringPtrInput + Mode pulumi.StringPtrInput + Name pulumi.StringPtrInput + Slug pulumi.StringPtrInput + StoragePolicy MappingRuleStoragePolicyPtrInput +} + +func (MappingRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*mappingRuleState)(nil)).Elem() +} + +type mappingRuleArgs struct { + Aggregations *string `pulumi:"aggregations"` + BucketId *string `pulumi:"bucketId"` + Drop *bool `pulumi:"drop"` + DropTimestamp *bool `pulumi:"dropTimestamp"` + Filter string `pulumi:"filter"` + Interval *string `pulumi:"interval"` + Mode *string `pulumi:"mode"` + Name string `pulumi:"name"` + Slug *string `pulumi:"slug"` + StoragePolicy *MappingRuleStoragePolicy `pulumi:"storagePolicy"` +} + +// The set of arguments for constructing a MappingRule resource. +type MappingRuleArgs struct { + Aggregations pulumi.StringPtrInput + BucketId pulumi.StringPtrInput + Drop pulumi.BoolPtrInput + DropTimestamp pulumi.BoolPtrInput + Filter pulumi.StringInput + Interval pulumi.StringPtrInput + Mode pulumi.StringPtrInput + Name pulumi.StringInput + Slug pulumi.StringPtrInput + StoragePolicy MappingRuleStoragePolicyPtrInput +} + +func (MappingRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*mappingRuleArgs)(nil)).Elem() +} + +type MappingRuleInput interface { + pulumi.Input + + ToMappingRuleOutput() MappingRuleOutput + ToMappingRuleOutputWithContext(ctx context.Context) MappingRuleOutput +} + +func (*MappingRule) ElementType() reflect.Type { + return reflect.TypeOf((**MappingRule)(nil)).Elem() +} + +func (i *MappingRule) ToMappingRuleOutput() MappingRuleOutput { + return i.ToMappingRuleOutputWithContext(context.Background()) +} + +func (i *MappingRule) ToMappingRuleOutputWithContext(ctx context.Context) MappingRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MappingRuleOutput) +} + +// MappingRuleArrayInput is an input type that accepts MappingRuleArray and MappingRuleArrayOutput values. +// You can construct a concrete instance of `MappingRuleArrayInput` via: +// +// MappingRuleArray{ MappingRuleArgs{...} } +type MappingRuleArrayInput interface { + pulumi.Input + + ToMappingRuleArrayOutput() MappingRuleArrayOutput + ToMappingRuleArrayOutputWithContext(context.Context) MappingRuleArrayOutput +} + +type MappingRuleArray []MappingRuleInput + +func (MappingRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MappingRule)(nil)).Elem() +} + +func (i MappingRuleArray) ToMappingRuleArrayOutput() MappingRuleArrayOutput { + return i.ToMappingRuleArrayOutputWithContext(context.Background()) +} + +func (i MappingRuleArray) ToMappingRuleArrayOutputWithContext(ctx context.Context) MappingRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MappingRuleArrayOutput) +} + +// MappingRuleMapInput is an input type that accepts MappingRuleMap and MappingRuleMapOutput values. +// You can construct a concrete instance of `MappingRuleMapInput` via: +// +// MappingRuleMap{ "key": MappingRuleArgs{...} } +type MappingRuleMapInput interface { + pulumi.Input + + ToMappingRuleMapOutput() MappingRuleMapOutput + ToMappingRuleMapOutputWithContext(context.Context) MappingRuleMapOutput +} + +type MappingRuleMap map[string]MappingRuleInput + +func (MappingRuleMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MappingRule)(nil)).Elem() +} + +func (i MappingRuleMap) ToMappingRuleMapOutput() MappingRuleMapOutput { + return i.ToMappingRuleMapOutputWithContext(context.Background()) +} + +func (i MappingRuleMap) ToMappingRuleMapOutputWithContext(ctx context.Context) MappingRuleMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MappingRuleMapOutput) +} + +type MappingRuleOutput struct{ *pulumi.OutputState } + +func (MappingRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MappingRule)(nil)).Elem() +} + +func (o MappingRuleOutput) ToMappingRuleOutput() MappingRuleOutput { + return o +} + +func (o MappingRuleOutput) ToMappingRuleOutputWithContext(ctx context.Context) MappingRuleOutput { + return o +} + +func (o MappingRuleOutput) Aggregations() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MappingRule) pulumi.StringPtrOutput { return v.Aggregations }).(pulumi.StringPtrOutput) +} + +func (o MappingRuleOutput) BucketId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MappingRule) pulumi.StringPtrOutput { return v.BucketId }).(pulumi.StringPtrOutput) +} + +func (o MappingRuleOutput) Drop() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MappingRule) pulumi.BoolPtrOutput { return v.Drop }).(pulumi.BoolPtrOutput) +} + +func (o MappingRuleOutput) DropTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MappingRule) pulumi.BoolPtrOutput { return v.DropTimestamp }).(pulumi.BoolPtrOutput) +} + +func (o MappingRuleOutput) Filter() pulumi.StringOutput { + return o.ApplyT(func(v *MappingRule) pulumi.StringOutput { return v.Filter }).(pulumi.StringOutput) +} + +func (o MappingRuleOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MappingRule) pulumi.StringPtrOutput { return v.Interval }).(pulumi.StringPtrOutput) +} + +func (o MappingRuleOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MappingRule) pulumi.StringPtrOutput { return v.Mode }).(pulumi.StringPtrOutput) +} + +func (o MappingRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MappingRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MappingRuleOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *MappingRule) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o MappingRuleOutput) StoragePolicy() MappingRuleStoragePolicyPtrOutput { + return o.ApplyT(func(v *MappingRule) MappingRuleStoragePolicyPtrOutput { return v.StoragePolicy }).(MappingRuleStoragePolicyPtrOutput) +} + +type MappingRuleArrayOutput struct{ *pulumi.OutputState } + +func (MappingRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MappingRule)(nil)).Elem() +} + +func (o MappingRuleArrayOutput) ToMappingRuleArrayOutput() MappingRuleArrayOutput { + return o +} + +func (o MappingRuleArrayOutput) ToMappingRuleArrayOutputWithContext(ctx context.Context) MappingRuleArrayOutput { + return o +} + +func (o MappingRuleArrayOutput) Index(i pulumi.IntInput) MappingRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MappingRule { + return vs[0].([]*MappingRule)[vs[1].(int)] + }).(MappingRuleOutput) +} + +type MappingRuleMapOutput struct{ *pulumi.OutputState } + +func (MappingRuleMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MappingRule)(nil)).Elem() +} + +func (o MappingRuleMapOutput) ToMappingRuleMapOutput() MappingRuleMapOutput { + return o +} + +func (o MappingRuleMapOutput) ToMappingRuleMapOutputWithContext(ctx context.Context) MappingRuleMapOutput { + return o +} + +func (o MappingRuleMapOutput) MapIndex(k pulumi.StringInput) MappingRuleOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MappingRule { + return vs[0].(map[string]*MappingRule)[vs[1].(string)] + }).(MappingRuleOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MappingRuleInput)(nil)).Elem(), &MappingRule{}) + pulumi.RegisterInputType(reflect.TypeOf((*MappingRuleArrayInput)(nil)).Elem(), MappingRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MappingRuleMapInput)(nil)).Elem(), MappingRuleMap{}) + pulumi.RegisterOutputType(MappingRuleOutput{}) + pulumi.RegisterOutputType(MappingRuleArrayOutput{}) + pulumi.RegisterOutputType(MappingRuleMapOutput{}) +} diff --git a/sdk/go/chronosphere/monitor.go b/sdk/go/chronosphere/monitor.go new file mode 100644 index 00000000..aa05535d --- /dev/null +++ b/sdk/go/chronosphere/monitor.go @@ -0,0 +1,317 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Monitor struct { + pulumi.CustomResourceState + + Annotations pulumi.StringMapOutput `pulumi:"annotations"` + BucketId pulumi.StringPtrOutput `pulumi:"bucketId"` + CollectionId pulumi.StringPtrOutput `pulumi:"collectionId"` + Interval pulumi.StringPtrOutput `pulumi:"interval"` + Labels pulumi.StringMapOutput `pulumi:"labels"` + Name pulumi.StringOutput `pulumi:"name"` + NotificationPolicyId pulumi.StringPtrOutput `pulumi:"notificationPolicyId"` + Query MonitorQueryOutput `pulumi:"query"` + Schedule MonitorSchedulePtrOutput `pulumi:"schedule"` + SeriesConditions MonitorSeriesConditionsOutput `pulumi:"seriesConditions"` + SignalGrouping MonitorSignalGroupingPtrOutput `pulumi:"signalGrouping"` + Slug pulumi.StringOutput `pulumi:"slug"` +} + +// NewMonitor registers a new resource with the given unique name, arguments, and options. +func NewMonitor(ctx *pulumi.Context, + name string, args *MonitorArgs, opts ...pulumi.ResourceOption) (*Monitor, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.Query == nil { + return nil, errors.New("invalid value for required argument 'Query'") + } + if args.SeriesConditions == nil { + return nil, errors.New("invalid value for required argument 'SeriesConditions'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Monitor + err := ctx.RegisterResource("chronosphere:index/monitor:Monitor", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMonitor gets an existing Monitor resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMonitor(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitorState, opts ...pulumi.ResourceOption) (*Monitor, error) { + var resource Monitor + err := ctx.ReadResource("chronosphere:index/monitor:Monitor", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Monitor resources. +type monitorState struct { + Annotations map[string]string `pulumi:"annotations"` + BucketId *string `pulumi:"bucketId"` + CollectionId *string `pulumi:"collectionId"` + Interval *string `pulumi:"interval"` + Labels map[string]string `pulumi:"labels"` + Name *string `pulumi:"name"` + NotificationPolicyId *string `pulumi:"notificationPolicyId"` + Query *MonitorQuery `pulumi:"query"` + Schedule *MonitorSchedule `pulumi:"schedule"` + SeriesConditions *MonitorSeriesConditions `pulumi:"seriesConditions"` + SignalGrouping *MonitorSignalGrouping `pulumi:"signalGrouping"` + Slug *string `pulumi:"slug"` +} + +type MonitorState struct { + Annotations pulumi.StringMapInput + BucketId pulumi.StringPtrInput + CollectionId pulumi.StringPtrInput + Interval pulumi.StringPtrInput + Labels pulumi.StringMapInput + Name pulumi.StringPtrInput + NotificationPolicyId pulumi.StringPtrInput + Query MonitorQueryPtrInput + Schedule MonitorSchedulePtrInput + SeriesConditions MonitorSeriesConditionsPtrInput + SignalGrouping MonitorSignalGroupingPtrInput + Slug pulumi.StringPtrInput +} + +func (MonitorState) ElementType() reflect.Type { + return reflect.TypeOf((*monitorState)(nil)).Elem() +} + +type monitorArgs struct { + Annotations map[string]string `pulumi:"annotations"` + BucketId *string `pulumi:"bucketId"` + CollectionId *string `pulumi:"collectionId"` + Interval *string `pulumi:"interval"` + Labels map[string]string `pulumi:"labels"` + Name string `pulumi:"name"` + NotificationPolicyId *string `pulumi:"notificationPolicyId"` + Query MonitorQuery `pulumi:"query"` + Schedule *MonitorSchedule `pulumi:"schedule"` + SeriesConditions MonitorSeriesConditions `pulumi:"seriesConditions"` + SignalGrouping *MonitorSignalGrouping `pulumi:"signalGrouping"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a Monitor resource. +type MonitorArgs struct { + Annotations pulumi.StringMapInput + BucketId pulumi.StringPtrInput + CollectionId pulumi.StringPtrInput + Interval pulumi.StringPtrInput + Labels pulumi.StringMapInput + Name pulumi.StringInput + NotificationPolicyId pulumi.StringPtrInput + Query MonitorQueryInput + Schedule MonitorSchedulePtrInput + SeriesConditions MonitorSeriesConditionsInput + SignalGrouping MonitorSignalGroupingPtrInput + Slug pulumi.StringPtrInput +} + +func (MonitorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitorArgs)(nil)).Elem() +} + +type MonitorInput interface { + pulumi.Input + + ToMonitorOutput() MonitorOutput + ToMonitorOutputWithContext(ctx context.Context) MonitorOutput +} + +func (*Monitor) ElementType() reflect.Type { + return reflect.TypeOf((**Monitor)(nil)).Elem() +} + +func (i *Monitor) ToMonitorOutput() MonitorOutput { + return i.ToMonitorOutputWithContext(context.Background()) +} + +func (i *Monitor) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorOutput) +} + +// MonitorArrayInput is an input type that accepts MonitorArray and MonitorArrayOutput values. +// You can construct a concrete instance of `MonitorArrayInput` via: +// +// MonitorArray{ MonitorArgs{...} } +type MonitorArrayInput interface { + pulumi.Input + + ToMonitorArrayOutput() MonitorArrayOutput + ToMonitorArrayOutputWithContext(context.Context) MonitorArrayOutput +} + +type MonitorArray []MonitorInput + +func (MonitorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Monitor)(nil)).Elem() +} + +func (i MonitorArray) ToMonitorArrayOutput() MonitorArrayOutput { + return i.ToMonitorArrayOutputWithContext(context.Background()) +} + +func (i MonitorArray) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorArrayOutput) +} + +// MonitorMapInput is an input type that accepts MonitorMap and MonitorMapOutput values. +// You can construct a concrete instance of `MonitorMapInput` via: +// +// MonitorMap{ "key": MonitorArgs{...} } +type MonitorMapInput interface { + pulumi.Input + + ToMonitorMapOutput() MonitorMapOutput + ToMonitorMapOutputWithContext(context.Context) MonitorMapOutput +} + +type MonitorMap map[string]MonitorInput + +func (MonitorMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Monitor)(nil)).Elem() +} + +func (i MonitorMap) ToMonitorMapOutput() MonitorMapOutput { + return i.ToMonitorMapOutputWithContext(context.Background()) +} + +func (i MonitorMap) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorMapOutput) +} + +type MonitorOutput struct{ *pulumi.OutputState } + +func (MonitorOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Monitor)(nil)).Elem() +} + +func (o MonitorOutput) ToMonitorOutput() MonitorOutput { + return o +} + +func (o MonitorOutput) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput { + return o +} + +func (o MonitorOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) +} + +func (o MonitorOutput) BucketId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringPtrOutput { return v.BucketId }).(pulumi.StringPtrOutput) +} + +func (o MonitorOutput) CollectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringPtrOutput { return v.CollectionId }).(pulumi.StringPtrOutput) +} + +func (o MonitorOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringPtrOutput { return v.Interval }).(pulumi.StringPtrOutput) +} + +func (o MonitorOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) +} + +func (o MonitorOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitorOutput) NotificationPolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringPtrOutput { return v.NotificationPolicyId }).(pulumi.StringPtrOutput) +} + +func (o MonitorOutput) Query() MonitorQueryOutput { + return o.ApplyT(func(v *Monitor) MonitorQueryOutput { return v.Query }).(MonitorQueryOutput) +} + +func (o MonitorOutput) Schedule() MonitorSchedulePtrOutput { + return o.ApplyT(func(v *Monitor) MonitorSchedulePtrOutput { return v.Schedule }).(MonitorSchedulePtrOutput) +} + +func (o MonitorOutput) SeriesConditions() MonitorSeriesConditionsOutput { + return o.ApplyT(func(v *Monitor) MonitorSeriesConditionsOutput { return v.SeriesConditions }).(MonitorSeriesConditionsOutput) +} + +func (o MonitorOutput) SignalGrouping() MonitorSignalGroupingPtrOutput { + return o.ApplyT(func(v *Monitor) MonitorSignalGroupingPtrOutput { return v.SignalGrouping }).(MonitorSignalGroupingPtrOutput) +} + +func (o MonitorOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *Monitor) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +type MonitorArrayOutput struct{ *pulumi.OutputState } + +func (MonitorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Monitor)(nil)).Elem() +} + +func (o MonitorArrayOutput) ToMonitorArrayOutput() MonitorArrayOutput { + return o +} + +func (o MonitorArrayOutput) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput { + return o +} + +func (o MonitorArrayOutput) Index(i pulumi.IntInput) MonitorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Monitor { + return vs[0].([]*Monitor)[vs[1].(int)] + }).(MonitorOutput) +} + +type MonitorMapOutput struct{ *pulumi.OutputState } + +func (MonitorMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Monitor)(nil)).Elem() +} + +func (o MonitorMapOutput) ToMonitorMapOutput() MonitorMapOutput { + return o +} + +func (o MonitorMapOutput) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput { + return o +} + +func (o MonitorMapOutput) MapIndex(k pulumi.StringInput) MonitorOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Monitor { + return vs[0].(map[string]*Monitor)[vs[1].(string)] + }).(MonitorOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MonitorInput)(nil)).Elem(), &Monitor{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorArrayInput)(nil)).Elem(), MonitorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorMapInput)(nil)).Elem(), MonitorMap{}) + pulumi.RegisterOutputType(MonitorOutput{}) + pulumi.RegisterOutputType(MonitorArrayOutput{}) + pulumi.RegisterOutputType(MonitorMapOutput{}) +} diff --git a/sdk/go/chronosphere/notificationPolicy.go b/sdk/go/chronosphere/notificationPolicy.go new file mode 100644 index 00000000..b062f524 --- /dev/null +++ b/sdk/go/chronosphere/notificationPolicy.go @@ -0,0 +1,275 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type NotificationPolicy struct { + pulumi.CustomResourceState + + IsIndependent pulumi.BoolOutput `pulumi:"isIndependent"` + Name pulumi.StringPtrOutput `pulumi:"name"` + NotificationPolicyData pulumi.StringOutput `pulumi:"notificationPolicyData"` + Overrides NotificationPolicyOverrideArrayOutput `pulumi:"overrides"` + Routes NotificationPolicyRouteArrayOutput `pulumi:"routes"` + // Deprecated: `rule` is deprecated, use `route` instead. + Rules NotificationPolicyRuleArrayOutput `pulumi:"rules"` + Slug pulumi.StringOutput `pulumi:"slug"` + TeamId pulumi.StringPtrOutput `pulumi:"teamId"` +} + +// NewNotificationPolicy registers a new resource with the given unique name, arguments, and options. +func NewNotificationPolicy(ctx *pulumi.Context, + name string, args *NotificationPolicyArgs, opts ...pulumi.ResourceOption) (*NotificationPolicy, error) { + if args == nil { + args = &NotificationPolicyArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource NotificationPolicy + err := ctx.RegisterResource("chronosphere:index/notificationPolicy:NotificationPolicy", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetNotificationPolicy gets an existing NotificationPolicy resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetNotificationPolicy(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *NotificationPolicyState, opts ...pulumi.ResourceOption) (*NotificationPolicy, error) { + var resource NotificationPolicy + err := ctx.ReadResource("chronosphere:index/notificationPolicy:NotificationPolicy", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering NotificationPolicy resources. +type notificationPolicyState struct { + IsIndependent *bool `pulumi:"isIndependent"` + Name *string `pulumi:"name"` + NotificationPolicyData *string `pulumi:"notificationPolicyData"` + Overrides []NotificationPolicyOverride `pulumi:"overrides"` + Routes []NotificationPolicyRoute `pulumi:"routes"` + // Deprecated: `rule` is deprecated, use `route` instead. + Rules []NotificationPolicyRule `pulumi:"rules"` + Slug *string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +type NotificationPolicyState struct { + IsIndependent pulumi.BoolPtrInput + Name pulumi.StringPtrInput + NotificationPolicyData pulumi.StringPtrInput + Overrides NotificationPolicyOverrideArrayInput + Routes NotificationPolicyRouteArrayInput + // Deprecated: `rule` is deprecated, use `route` instead. + Rules NotificationPolicyRuleArrayInput + Slug pulumi.StringPtrInput + TeamId pulumi.StringPtrInput +} + +func (NotificationPolicyState) ElementType() reflect.Type { + return reflect.TypeOf((*notificationPolicyState)(nil)).Elem() +} + +type notificationPolicyArgs struct { + Name *string `pulumi:"name"` + NotificationPolicyData *string `pulumi:"notificationPolicyData"` + Overrides []NotificationPolicyOverride `pulumi:"overrides"` + Routes []NotificationPolicyRoute `pulumi:"routes"` + // Deprecated: `rule` is deprecated, use `route` instead. + Rules []NotificationPolicyRule `pulumi:"rules"` + Slug *string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +// The set of arguments for constructing a NotificationPolicy resource. +type NotificationPolicyArgs struct { + Name pulumi.StringPtrInput + NotificationPolicyData pulumi.StringPtrInput + Overrides NotificationPolicyOverrideArrayInput + Routes NotificationPolicyRouteArrayInput + // Deprecated: `rule` is deprecated, use `route` instead. + Rules NotificationPolicyRuleArrayInput + Slug pulumi.StringPtrInput + TeamId pulumi.StringPtrInput +} + +func (NotificationPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*notificationPolicyArgs)(nil)).Elem() +} + +type NotificationPolicyInput interface { + pulumi.Input + + ToNotificationPolicyOutput() NotificationPolicyOutput + ToNotificationPolicyOutputWithContext(ctx context.Context) NotificationPolicyOutput +} + +func (*NotificationPolicy) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationPolicy)(nil)).Elem() +} + +func (i *NotificationPolicy) ToNotificationPolicyOutput() NotificationPolicyOutput { + return i.ToNotificationPolicyOutputWithContext(context.Background()) +} + +func (i *NotificationPolicy) ToNotificationPolicyOutputWithContext(ctx context.Context) NotificationPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOutput) +} + +// NotificationPolicyArrayInput is an input type that accepts NotificationPolicyArray and NotificationPolicyArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyArrayInput` via: +// +// NotificationPolicyArray{ NotificationPolicyArgs{...} } +type NotificationPolicyArrayInput interface { + pulumi.Input + + ToNotificationPolicyArrayOutput() NotificationPolicyArrayOutput + ToNotificationPolicyArrayOutputWithContext(context.Context) NotificationPolicyArrayOutput +} + +type NotificationPolicyArray []NotificationPolicyInput + +func (NotificationPolicyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*NotificationPolicy)(nil)).Elem() +} + +func (i NotificationPolicyArray) ToNotificationPolicyArrayOutput() NotificationPolicyArrayOutput { + return i.ToNotificationPolicyArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyArray) ToNotificationPolicyArrayOutputWithContext(ctx context.Context) NotificationPolicyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyArrayOutput) +} + +// NotificationPolicyMapInput is an input type that accepts NotificationPolicyMap and NotificationPolicyMapOutput values. +// You can construct a concrete instance of `NotificationPolicyMapInput` via: +// +// NotificationPolicyMap{ "key": NotificationPolicyArgs{...} } +type NotificationPolicyMapInput interface { + pulumi.Input + + ToNotificationPolicyMapOutput() NotificationPolicyMapOutput + ToNotificationPolicyMapOutputWithContext(context.Context) NotificationPolicyMapOutput +} + +type NotificationPolicyMap map[string]NotificationPolicyInput + +func (NotificationPolicyMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*NotificationPolicy)(nil)).Elem() +} + +func (i NotificationPolicyMap) ToNotificationPolicyMapOutput() NotificationPolicyMapOutput { + return i.ToNotificationPolicyMapOutputWithContext(context.Background()) +} + +func (i NotificationPolicyMap) ToNotificationPolicyMapOutputWithContext(ctx context.Context) NotificationPolicyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyMapOutput) +} + +type NotificationPolicyOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationPolicy)(nil)).Elem() +} + +func (o NotificationPolicyOutput) ToNotificationPolicyOutput() NotificationPolicyOutput { + return o +} + +func (o NotificationPolicyOutput) ToNotificationPolicyOutputWithContext(ctx context.Context) NotificationPolicyOutput { + return o +} + +func (o NotificationPolicyOutput) IsIndependent() pulumi.BoolOutput { + return o.ApplyT(func(v *NotificationPolicy) pulumi.BoolOutput { return v.IsIndependent }).(pulumi.BoolOutput) +} + +func (o NotificationPolicyOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationPolicy) pulumi.StringPtrOutput { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyOutput) NotificationPolicyData() pulumi.StringOutput { + return o.ApplyT(func(v *NotificationPolicy) pulumi.StringOutput { return v.NotificationPolicyData }).(pulumi.StringOutput) +} + +func (o NotificationPolicyOutput) Overrides() NotificationPolicyOverrideArrayOutput { + return o.ApplyT(func(v *NotificationPolicy) NotificationPolicyOverrideArrayOutput { return v.Overrides }).(NotificationPolicyOverrideArrayOutput) +} + +func (o NotificationPolicyOutput) Routes() NotificationPolicyRouteArrayOutput { + return o.ApplyT(func(v *NotificationPolicy) NotificationPolicyRouteArrayOutput { return v.Routes }).(NotificationPolicyRouteArrayOutput) +} + +// Deprecated: `rule` is deprecated, use `route` instead. +func (o NotificationPolicyOutput) Rules() NotificationPolicyRuleArrayOutput { + return o.ApplyT(func(v *NotificationPolicy) NotificationPolicyRuleArrayOutput { return v.Rules }).(NotificationPolicyRuleArrayOutput) +} + +func (o NotificationPolicyOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *NotificationPolicy) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o NotificationPolicyOutput) TeamId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationPolicy) pulumi.StringPtrOutput { return v.TeamId }).(pulumi.StringPtrOutput) +} + +type NotificationPolicyArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*NotificationPolicy)(nil)).Elem() +} + +func (o NotificationPolicyArrayOutput) ToNotificationPolicyArrayOutput() NotificationPolicyArrayOutput { + return o +} + +func (o NotificationPolicyArrayOutput) ToNotificationPolicyArrayOutputWithContext(ctx context.Context) NotificationPolicyArrayOutput { + return o +} + +func (o NotificationPolicyArrayOutput) Index(i pulumi.IntInput) NotificationPolicyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NotificationPolicy { + return vs[0].([]*NotificationPolicy)[vs[1].(int)] + }).(NotificationPolicyOutput) +} + +type NotificationPolicyMapOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*NotificationPolicy)(nil)).Elem() +} + +func (o NotificationPolicyMapOutput) ToNotificationPolicyMapOutput() NotificationPolicyMapOutput { + return o +} + +func (o NotificationPolicyMapOutput) ToNotificationPolicyMapOutputWithContext(ctx context.Context) NotificationPolicyMapOutput { + return o +} + +func (o NotificationPolicyMapOutput) MapIndex(k pulumi.StringInput) NotificationPolicyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NotificationPolicy { + return vs[0].(map[string]*NotificationPolicy)[vs[1].(string)] + }).(NotificationPolicyOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyInput)(nil)).Elem(), &NotificationPolicy{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyArrayInput)(nil)).Elem(), NotificationPolicyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyMapInput)(nil)).Elem(), NotificationPolicyMap{}) + pulumi.RegisterOutputType(NotificationPolicyOutput{}) + pulumi.RegisterOutputType(NotificationPolicyArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyMapOutput{}) +} diff --git a/sdk/go/chronosphere/notificationPolicyDataSource.go b/sdk/go/chronosphere/notificationPolicyDataSource.go new file mode 100644 index 00000000..f4e4ca70 --- /dev/null +++ b/sdk/go/chronosphere/notificationPolicyDataSource.go @@ -0,0 +1,135 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func NotificationPolicyDataSource(ctx *pulumi.Context, args *NotificationPolicyDataSourceArgs, opts ...pulumi.InvokeOption) (*NotificationPolicyDataSourceResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv NotificationPolicyDataSourceResult + err := ctx.Invoke("chronosphere:index/notificationPolicyDataSource:NotificationPolicyDataSource", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking NotificationPolicyDataSource. +type NotificationPolicyDataSourceArgs struct { + Name *string `pulumi:"name"` + NotificationPolicyData *string `pulumi:"notificationPolicyData"` + Overrides []NotificationPolicyDataSourceOverride `pulumi:"overrides"` + Routes []NotificationPolicyDataSourceRoute `pulumi:"routes"` + // Deprecated: `rule` is deprecated, use `route` instead. + Rules []NotificationPolicyDataSourceRule `pulumi:"rules"` + Slug *string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +// A collection of values returned by NotificationPolicyDataSource. +type NotificationPolicyDataSourceResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + IsIndependent bool `pulumi:"isIndependent"` + Name *string `pulumi:"name"` + NotificationPolicyData string `pulumi:"notificationPolicyData"` + Overrides []NotificationPolicyDataSourceOverride `pulumi:"overrides"` + Routes []NotificationPolicyDataSourceRoute `pulumi:"routes"` + // Deprecated: `rule` is deprecated, use `route` instead. + Rules []NotificationPolicyDataSourceRule `pulumi:"rules"` + Slug string `pulumi:"slug"` + TeamId *string `pulumi:"teamId"` +} + +func NotificationPolicyDataSourceOutput(ctx *pulumi.Context, args NotificationPolicyDataSourceOutputArgs, opts ...pulumi.InvokeOption) NotificationPolicyDataSourceResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (NotificationPolicyDataSourceResult, error) { + args := v.(NotificationPolicyDataSourceArgs) + r, err := NotificationPolicyDataSource(ctx, &args, opts...) + var s NotificationPolicyDataSourceResult + if r != nil { + s = *r + } + return s, err + }).(NotificationPolicyDataSourceResultOutput) +} + +// A collection of arguments for invoking NotificationPolicyDataSource. +type NotificationPolicyDataSourceOutputArgs struct { + Name pulumi.StringPtrInput `pulumi:"name"` + NotificationPolicyData pulumi.StringPtrInput `pulumi:"notificationPolicyData"` + Overrides NotificationPolicyDataSourceOverrideArrayInput `pulumi:"overrides"` + Routes NotificationPolicyDataSourceRouteArrayInput `pulumi:"routes"` + // Deprecated: `rule` is deprecated, use `route` instead. + Rules NotificationPolicyDataSourceRuleArrayInput `pulumi:"rules"` + Slug pulumi.StringPtrInput `pulumi:"slug"` + TeamId pulumi.StringPtrInput `pulumi:"teamId"` +} + +func (NotificationPolicyDataSourceOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceArgs)(nil)).Elem() +} + +// A collection of values returned by NotificationPolicyDataSource. +type NotificationPolicyDataSourceResultOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceResult)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceResultOutput) ToNotificationPolicyDataSourceResultOutput() NotificationPolicyDataSourceResultOutput { + return o +} + +func (o NotificationPolicyDataSourceResultOutput) ToNotificationPolicyDataSourceResultOutputWithContext(ctx context.Context) NotificationPolicyDataSourceResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o NotificationPolicyDataSourceResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o NotificationPolicyDataSourceResultOutput) IsIndependent() pulumi.BoolOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) bool { return v.IsIndependent }).(pulumi.BoolOutput) +} + +func (o NotificationPolicyDataSourceResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyDataSourceResultOutput) NotificationPolicyData() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) string { return v.NotificationPolicyData }).(pulumi.StringOutput) +} + +func (o NotificationPolicyDataSourceResultOutput) Overrides() NotificationPolicyDataSourceOverrideArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) []NotificationPolicyDataSourceOverride { return v.Overrides }).(NotificationPolicyDataSourceOverrideArrayOutput) +} + +func (o NotificationPolicyDataSourceResultOutput) Routes() NotificationPolicyDataSourceRouteArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) []NotificationPolicyDataSourceRoute { return v.Routes }).(NotificationPolicyDataSourceRouteArrayOutput) +} + +// Deprecated: `rule` is deprecated, use `route` instead. +func (o NotificationPolicyDataSourceResultOutput) Rules() NotificationPolicyDataSourceRuleArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) []NotificationPolicyDataSourceRule { return v.Rules }).(NotificationPolicyDataSourceRuleArrayOutput) +} + +func (o NotificationPolicyDataSourceResultOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) string { return v.Slug }).(pulumi.StringOutput) +} + +func (o NotificationPolicyDataSourceResultOutput) TeamId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceResult) *string { return v.TeamId }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(NotificationPolicyDataSourceResultOutput{}) +} diff --git a/sdk/go/chronosphere/opsgenieAlertNotifier.go b/sdk/go/chronosphere/opsgenieAlertNotifier.go new file mode 100644 index 00000000..7ece2362 --- /dev/null +++ b/sdk/go/chronosphere/opsgenieAlertNotifier.go @@ -0,0 +1,379 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type OpsgenieAlertNotifier struct { + pulumi.CustomResourceState + + ApiKey pulumi.StringOutput `pulumi:"apiKey"` + ApiUrl pulumi.StringPtrOutput `pulumi:"apiUrl"` + BasicAuthPassword pulumi.StringPtrOutput `pulumi:"basicAuthPassword"` + BasicAuthUsername pulumi.StringPtrOutput `pulumi:"basicAuthUsername"` + BearerToken pulumi.StringPtrOutput `pulumi:"bearerToken"` + Description pulumi.StringPtrOutput `pulumi:"description"` + Details pulumi.StringMapOutput `pulumi:"details"` + Message pulumi.StringPtrOutput `pulumi:"message"` + Name pulumi.StringOutput `pulumi:"name"` + Note pulumi.StringPtrOutput `pulumi:"note"` + Priority pulumi.StringPtrOutput `pulumi:"priority"` + ProxyUrl pulumi.StringPtrOutput `pulumi:"proxyUrl"` + Responders OpsgenieAlertNotifierResponderArrayOutput `pulumi:"responders"` + SendResolved pulumi.BoolPtrOutput `pulumi:"sendResolved"` + Slug pulumi.StringOutput `pulumi:"slug"` + Source pulumi.StringPtrOutput `pulumi:"source"` + Tags pulumi.StringArrayOutput `pulumi:"tags"` + TlsInsecureSkipVerify pulumi.BoolPtrOutput `pulumi:"tlsInsecureSkipVerify"` +} + +// NewOpsgenieAlertNotifier registers a new resource with the given unique name, arguments, and options. +func NewOpsgenieAlertNotifier(ctx *pulumi.Context, + name string, args *OpsgenieAlertNotifierArgs, opts ...pulumi.ResourceOption) (*OpsgenieAlertNotifier, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ApiKey == nil { + return nil, errors.New("invalid value for required argument 'ApiKey'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.ApiKey != nil { + args.ApiKey = pulumi.ToSecret(args.ApiKey).(pulumi.StringInput) + } + if args.BasicAuthPassword != nil { + args.BasicAuthPassword = pulumi.ToSecret(args.BasicAuthPassword).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "apiKey", + "basicAuthPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource OpsgenieAlertNotifier + err := ctx.RegisterResource("chronosphere:index/opsgenieAlertNotifier:OpsgenieAlertNotifier", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetOpsgenieAlertNotifier gets an existing OpsgenieAlertNotifier resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetOpsgenieAlertNotifier(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *OpsgenieAlertNotifierState, opts ...pulumi.ResourceOption) (*OpsgenieAlertNotifier, error) { + var resource OpsgenieAlertNotifier + err := ctx.ReadResource("chronosphere:index/opsgenieAlertNotifier:OpsgenieAlertNotifier", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering OpsgenieAlertNotifier resources. +type opsgenieAlertNotifierState struct { + ApiKey *string `pulumi:"apiKey"` + ApiUrl *string `pulumi:"apiUrl"` + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + Description *string `pulumi:"description"` + Details map[string]string `pulumi:"details"` + Message *string `pulumi:"message"` + Name *string `pulumi:"name"` + Note *string `pulumi:"note"` + Priority *string `pulumi:"priority"` + ProxyUrl *string `pulumi:"proxyUrl"` + Responders []OpsgenieAlertNotifierResponder `pulumi:"responders"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + Source *string `pulumi:"source"` + Tags []string `pulumi:"tags"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` +} + +type OpsgenieAlertNotifierState struct { + ApiKey pulumi.StringPtrInput + ApiUrl pulumi.StringPtrInput + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + Description pulumi.StringPtrInput + Details pulumi.StringMapInput + Message pulumi.StringPtrInput + Name pulumi.StringPtrInput + Note pulumi.StringPtrInput + Priority pulumi.StringPtrInput + ProxyUrl pulumi.StringPtrInput + Responders OpsgenieAlertNotifierResponderArrayInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + Source pulumi.StringPtrInput + Tags pulumi.StringArrayInput + TlsInsecureSkipVerify pulumi.BoolPtrInput +} + +func (OpsgenieAlertNotifierState) ElementType() reflect.Type { + return reflect.TypeOf((*opsgenieAlertNotifierState)(nil)).Elem() +} + +type opsgenieAlertNotifierArgs struct { + ApiKey string `pulumi:"apiKey"` + ApiUrl *string `pulumi:"apiUrl"` + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + Description *string `pulumi:"description"` + Details map[string]string `pulumi:"details"` + Message *string `pulumi:"message"` + Name string `pulumi:"name"` + Note *string `pulumi:"note"` + Priority *string `pulumi:"priority"` + ProxyUrl *string `pulumi:"proxyUrl"` + Responders []OpsgenieAlertNotifierResponder `pulumi:"responders"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + Source *string `pulumi:"source"` + Tags []string `pulumi:"tags"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` +} + +// The set of arguments for constructing a OpsgenieAlertNotifier resource. +type OpsgenieAlertNotifierArgs struct { + ApiKey pulumi.StringInput + ApiUrl pulumi.StringPtrInput + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + Description pulumi.StringPtrInput + Details pulumi.StringMapInput + Message pulumi.StringPtrInput + Name pulumi.StringInput + Note pulumi.StringPtrInput + Priority pulumi.StringPtrInput + ProxyUrl pulumi.StringPtrInput + Responders OpsgenieAlertNotifierResponderArrayInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + Source pulumi.StringPtrInput + Tags pulumi.StringArrayInput + TlsInsecureSkipVerify pulumi.BoolPtrInput +} + +func (OpsgenieAlertNotifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*opsgenieAlertNotifierArgs)(nil)).Elem() +} + +type OpsgenieAlertNotifierInput interface { + pulumi.Input + + ToOpsgenieAlertNotifierOutput() OpsgenieAlertNotifierOutput + ToOpsgenieAlertNotifierOutputWithContext(ctx context.Context) OpsgenieAlertNotifierOutput +} + +func (*OpsgenieAlertNotifier) ElementType() reflect.Type { + return reflect.TypeOf((**OpsgenieAlertNotifier)(nil)).Elem() +} + +func (i *OpsgenieAlertNotifier) ToOpsgenieAlertNotifierOutput() OpsgenieAlertNotifierOutput { + return i.ToOpsgenieAlertNotifierOutputWithContext(context.Background()) +} + +func (i *OpsgenieAlertNotifier) ToOpsgenieAlertNotifierOutputWithContext(ctx context.Context) OpsgenieAlertNotifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(OpsgenieAlertNotifierOutput) +} + +// OpsgenieAlertNotifierArrayInput is an input type that accepts OpsgenieAlertNotifierArray and OpsgenieAlertNotifierArrayOutput values. +// You can construct a concrete instance of `OpsgenieAlertNotifierArrayInput` via: +// +// OpsgenieAlertNotifierArray{ OpsgenieAlertNotifierArgs{...} } +type OpsgenieAlertNotifierArrayInput interface { + pulumi.Input + + ToOpsgenieAlertNotifierArrayOutput() OpsgenieAlertNotifierArrayOutput + ToOpsgenieAlertNotifierArrayOutputWithContext(context.Context) OpsgenieAlertNotifierArrayOutput +} + +type OpsgenieAlertNotifierArray []OpsgenieAlertNotifierInput + +func (OpsgenieAlertNotifierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*OpsgenieAlertNotifier)(nil)).Elem() +} + +func (i OpsgenieAlertNotifierArray) ToOpsgenieAlertNotifierArrayOutput() OpsgenieAlertNotifierArrayOutput { + return i.ToOpsgenieAlertNotifierArrayOutputWithContext(context.Background()) +} + +func (i OpsgenieAlertNotifierArray) ToOpsgenieAlertNotifierArrayOutputWithContext(ctx context.Context) OpsgenieAlertNotifierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(OpsgenieAlertNotifierArrayOutput) +} + +// OpsgenieAlertNotifierMapInput is an input type that accepts OpsgenieAlertNotifierMap and OpsgenieAlertNotifierMapOutput values. +// You can construct a concrete instance of `OpsgenieAlertNotifierMapInput` via: +// +// OpsgenieAlertNotifierMap{ "key": OpsgenieAlertNotifierArgs{...} } +type OpsgenieAlertNotifierMapInput interface { + pulumi.Input + + ToOpsgenieAlertNotifierMapOutput() OpsgenieAlertNotifierMapOutput + ToOpsgenieAlertNotifierMapOutputWithContext(context.Context) OpsgenieAlertNotifierMapOutput +} + +type OpsgenieAlertNotifierMap map[string]OpsgenieAlertNotifierInput + +func (OpsgenieAlertNotifierMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*OpsgenieAlertNotifier)(nil)).Elem() +} + +func (i OpsgenieAlertNotifierMap) ToOpsgenieAlertNotifierMapOutput() OpsgenieAlertNotifierMapOutput { + return i.ToOpsgenieAlertNotifierMapOutputWithContext(context.Background()) +} + +func (i OpsgenieAlertNotifierMap) ToOpsgenieAlertNotifierMapOutputWithContext(ctx context.Context) OpsgenieAlertNotifierMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(OpsgenieAlertNotifierMapOutput) +} + +type OpsgenieAlertNotifierOutput struct{ *pulumi.OutputState } + +func (OpsgenieAlertNotifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OpsgenieAlertNotifier)(nil)).Elem() +} + +func (o OpsgenieAlertNotifierOutput) ToOpsgenieAlertNotifierOutput() OpsgenieAlertNotifierOutput { + return o +} + +func (o OpsgenieAlertNotifierOutput) ToOpsgenieAlertNotifierOutputWithContext(ctx context.Context) OpsgenieAlertNotifierOutput { + return o +} + +func (o OpsgenieAlertNotifierOutput) ApiKey() pulumi.StringOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringOutput { return v.ApiKey }).(pulumi.StringOutput) +} + +func (o OpsgenieAlertNotifierOutput) ApiUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.ApiUrl }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) BasicAuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthPassword }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) BasicAuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthUsername }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) BearerToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.BearerToken }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) Details() pulumi.StringMapOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringMapOutput { return v.Details }).(pulumi.StringMapOutput) +} + +func (o OpsgenieAlertNotifierOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.Message }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o OpsgenieAlertNotifierOutput) Note() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.Note }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) Priority() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.Priority }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) Responders() OpsgenieAlertNotifierResponderArrayOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) OpsgenieAlertNotifierResponderArrayOutput { return v.Responders }).(OpsgenieAlertNotifierResponderArrayOutput) +} + +func (o OpsgenieAlertNotifierOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.BoolPtrOutput { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o OpsgenieAlertNotifierOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringPtrOutput { return v.Source }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) +} + +func (o OpsgenieAlertNotifierOutput) TlsInsecureSkipVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OpsgenieAlertNotifier) pulumi.BoolPtrOutput { return v.TlsInsecureSkipVerify }).(pulumi.BoolPtrOutput) +} + +type OpsgenieAlertNotifierArrayOutput struct{ *pulumi.OutputState } + +func (OpsgenieAlertNotifierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*OpsgenieAlertNotifier)(nil)).Elem() +} + +func (o OpsgenieAlertNotifierArrayOutput) ToOpsgenieAlertNotifierArrayOutput() OpsgenieAlertNotifierArrayOutput { + return o +} + +func (o OpsgenieAlertNotifierArrayOutput) ToOpsgenieAlertNotifierArrayOutputWithContext(ctx context.Context) OpsgenieAlertNotifierArrayOutput { + return o +} + +func (o OpsgenieAlertNotifierArrayOutput) Index(i pulumi.IntInput) OpsgenieAlertNotifierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OpsgenieAlertNotifier { + return vs[0].([]*OpsgenieAlertNotifier)[vs[1].(int)] + }).(OpsgenieAlertNotifierOutput) +} + +type OpsgenieAlertNotifierMapOutput struct{ *pulumi.OutputState } + +func (OpsgenieAlertNotifierMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*OpsgenieAlertNotifier)(nil)).Elem() +} + +func (o OpsgenieAlertNotifierMapOutput) ToOpsgenieAlertNotifierMapOutput() OpsgenieAlertNotifierMapOutput { + return o +} + +func (o OpsgenieAlertNotifierMapOutput) ToOpsgenieAlertNotifierMapOutputWithContext(ctx context.Context) OpsgenieAlertNotifierMapOutput { + return o +} + +func (o OpsgenieAlertNotifierMapOutput) MapIndex(k pulumi.StringInput) OpsgenieAlertNotifierOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OpsgenieAlertNotifier { + return vs[0].(map[string]*OpsgenieAlertNotifier)[vs[1].(string)] + }).(OpsgenieAlertNotifierOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*OpsgenieAlertNotifierInput)(nil)).Elem(), &OpsgenieAlertNotifier{}) + pulumi.RegisterInputType(reflect.TypeOf((*OpsgenieAlertNotifierArrayInput)(nil)).Elem(), OpsgenieAlertNotifierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*OpsgenieAlertNotifierMapInput)(nil)).Elem(), OpsgenieAlertNotifierMap{}) + pulumi.RegisterOutputType(OpsgenieAlertNotifierOutput{}) + pulumi.RegisterOutputType(OpsgenieAlertNotifierArrayOutput{}) + pulumi.RegisterOutputType(OpsgenieAlertNotifierMapOutput{}) +} diff --git a/sdk/go/chronosphere/pagerdutyAlertNotifier.go b/sdk/go/chronosphere/pagerdutyAlertNotifier.go new file mode 100644 index 00000000..af8c0967 --- /dev/null +++ b/sdk/go/chronosphere/pagerdutyAlertNotifier.go @@ -0,0 +1,409 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type PagerdutyAlertNotifier struct { + pulumi.CustomResourceState + + BasicAuthPassword pulumi.StringPtrOutput `pulumi:"basicAuthPassword"` + BasicAuthUsername pulumi.StringPtrOutput `pulumi:"basicAuthUsername"` + BearerToken pulumi.StringPtrOutput `pulumi:"bearerToken"` + Class pulumi.StringPtrOutput `pulumi:"class"` + Client pulumi.StringPtrOutput `pulumi:"client"` + ClientUrl pulumi.StringPtrOutput `pulumi:"clientUrl"` + Component pulumi.StringPtrOutput `pulumi:"component"` + Description pulumi.StringPtrOutput `pulumi:"description"` + Details pulumi.StringMapOutput `pulumi:"details"` + Group pulumi.StringPtrOutput `pulumi:"group"` + Images PagerdutyAlertNotifierImageArrayOutput `pulumi:"images"` + Links PagerdutyAlertNotifierLinkArrayOutput `pulumi:"links"` + Name pulumi.StringOutput `pulumi:"name"` + ProxyUrl pulumi.StringPtrOutput `pulumi:"proxyUrl"` + RoutingKey pulumi.StringPtrOutput `pulumi:"routingKey"` + SendResolved pulumi.BoolPtrOutput `pulumi:"sendResolved"` + ServiceKey pulumi.StringPtrOutput `pulumi:"serviceKey"` + Severity pulumi.StringOutput `pulumi:"severity"` + Slug pulumi.StringOutput `pulumi:"slug"` + TlsInsecureSkipVerify pulumi.BoolPtrOutput `pulumi:"tlsInsecureSkipVerify"` + Url pulumi.StringOutput `pulumi:"url"` +} + +// NewPagerdutyAlertNotifier registers a new resource with the given unique name, arguments, and options. +func NewPagerdutyAlertNotifier(ctx *pulumi.Context, + name string, args *PagerdutyAlertNotifierArgs, opts ...pulumi.ResourceOption) (*PagerdutyAlertNotifier, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.Severity == nil { + return nil, errors.New("invalid value for required argument 'Severity'") + } + if args.Url == nil { + return nil, errors.New("invalid value for required argument 'Url'") + } + if args.BasicAuthPassword != nil { + args.BasicAuthPassword = pulumi.ToSecret(args.BasicAuthPassword).(pulumi.StringPtrInput) + } + if args.ServiceKey != nil { + args.ServiceKey = pulumi.ToSecret(args.ServiceKey).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "basicAuthPassword", + "serviceKey", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource PagerdutyAlertNotifier + err := ctx.RegisterResource("chronosphere:index/pagerdutyAlertNotifier:PagerdutyAlertNotifier", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPagerdutyAlertNotifier gets an existing PagerdutyAlertNotifier resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetPagerdutyAlertNotifier(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PagerdutyAlertNotifierState, opts ...pulumi.ResourceOption) (*PagerdutyAlertNotifier, error) { + var resource PagerdutyAlertNotifier + err := ctx.ReadResource("chronosphere:index/pagerdutyAlertNotifier:PagerdutyAlertNotifier", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering PagerdutyAlertNotifier resources. +type pagerdutyAlertNotifierState struct { + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + Class *string `pulumi:"class"` + Client *string `pulumi:"client"` + ClientUrl *string `pulumi:"clientUrl"` + Component *string `pulumi:"component"` + Description *string `pulumi:"description"` + Details map[string]string `pulumi:"details"` + Group *string `pulumi:"group"` + Images []PagerdutyAlertNotifierImage `pulumi:"images"` + Links []PagerdutyAlertNotifierLink `pulumi:"links"` + Name *string `pulumi:"name"` + ProxyUrl *string `pulumi:"proxyUrl"` + RoutingKey *string `pulumi:"routingKey"` + SendResolved *bool `pulumi:"sendResolved"` + ServiceKey *string `pulumi:"serviceKey"` + Severity *string `pulumi:"severity"` + Slug *string `pulumi:"slug"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` + Url *string `pulumi:"url"` +} + +type PagerdutyAlertNotifierState struct { + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + Class pulumi.StringPtrInput + Client pulumi.StringPtrInput + ClientUrl pulumi.StringPtrInput + Component pulumi.StringPtrInput + Description pulumi.StringPtrInput + Details pulumi.StringMapInput + Group pulumi.StringPtrInput + Images PagerdutyAlertNotifierImageArrayInput + Links PagerdutyAlertNotifierLinkArrayInput + Name pulumi.StringPtrInput + ProxyUrl pulumi.StringPtrInput + RoutingKey pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + ServiceKey pulumi.StringPtrInput + Severity pulumi.StringPtrInput + Slug pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput + Url pulumi.StringPtrInput +} + +func (PagerdutyAlertNotifierState) ElementType() reflect.Type { + return reflect.TypeOf((*pagerdutyAlertNotifierState)(nil)).Elem() +} + +type pagerdutyAlertNotifierArgs struct { + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + Class *string `pulumi:"class"` + Client *string `pulumi:"client"` + ClientUrl *string `pulumi:"clientUrl"` + Component *string `pulumi:"component"` + Description *string `pulumi:"description"` + Details map[string]string `pulumi:"details"` + Group *string `pulumi:"group"` + Images []PagerdutyAlertNotifierImage `pulumi:"images"` + Links []PagerdutyAlertNotifierLink `pulumi:"links"` + Name string `pulumi:"name"` + ProxyUrl *string `pulumi:"proxyUrl"` + RoutingKey *string `pulumi:"routingKey"` + SendResolved *bool `pulumi:"sendResolved"` + ServiceKey *string `pulumi:"serviceKey"` + Severity string `pulumi:"severity"` + Slug *string `pulumi:"slug"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` + Url string `pulumi:"url"` +} + +// The set of arguments for constructing a PagerdutyAlertNotifier resource. +type PagerdutyAlertNotifierArgs struct { + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + Class pulumi.StringPtrInput + Client pulumi.StringPtrInput + ClientUrl pulumi.StringPtrInput + Component pulumi.StringPtrInput + Description pulumi.StringPtrInput + Details pulumi.StringMapInput + Group pulumi.StringPtrInput + Images PagerdutyAlertNotifierImageArrayInput + Links PagerdutyAlertNotifierLinkArrayInput + Name pulumi.StringInput + ProxyUrl pulumi.StringPtrInput + RoutingKey pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + ServiceKey pulumi.StringPtrInput + Severity pulumi.StringInput + Slug pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput + Url pulumi.StringInput +} + +func (PagerdutyAlertNotifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*pagerdutyAlertNotifierArgs)(nil)).Elem() +} + +type PagerdutyAlertNotifierInput interface { + pulumi.Input + + ToPagerdutyAlertNotifierOutput() PagerdutyAlertNotifierOutput + ToPagerdutyAlertNotifierOutputWithContext(ctx context.Context) PagerdutyAlertNotifierOutput +} + +func (*PagerdutyAlertNotifier) ElementType() reflect.Type { + return reflect.TypeOf((**PagerdutyAlertNotifier)(nil)).Elem() +} + +func (i *PagerdutyAlertNotifier) ToPagerdutyAlertNotifierOutput() PagerdutyAlertNotifierOutput { + return i.ToPagerdutyAlertNotifierOutputWithContext(context.Background()) +} + +func (i *PagerdutyAlertNotifier) ToPagerdutyAlertNotifierOutputWithContext(ctx context.Context) PagerdutyAlertNotifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(PagerdutyAlertNotifierOutput) +} + +// PagerdutyAlertNotifierArrayInput is an input type that accepts PagerdutyAlertNotifierArray and PagerdutyAlertNotifierArrayOutput values. +// You can construct a concrete instance of `PagerdutyAlertNotifierArrayInput` via: +// +// PagerdutyAlertNotifierArray{ PagerdutyAlertNotifierArgs{...} } +type PagerdutyAlertNotifierArrayInput interface { + pulumi.Input + + ToPagerdutyAlertNotifierArrayOutput() PagerdutyAlertNotifierArrayOutput + ToPagerdutyAlertNotifierArrayOutputWithContext(context.Context) PagerdutyAlertNotifierArrayOutput +} + +type PagerdutyAlertNotifierArray []PagerdutyAlertNotifierInput + +func (PagerdutyAlertNotifierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PagerdutyAlertNotifier)(nil)).Elem() +} + +func (i PagerdutyAlertNotifierArray) ToPagerdutyAlertNotifierArrayOutput() PagerdutyAlertNotifierArrayOutput { + return i.ToPagerdutyAlertNotifierArrayOutputWithContext(context.Background()) +} + +func (i PagerdutyAlertNotifierArray) ToPagerdutyAlertNotifierArrayOutputWithContext(ctx context.Context) PagerdutyAlertNotifierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PagerdutyAlertNotifierArrayOutput) +} + +// PagerdutyAlertNotifierMapInput is an input type that accepts PagerdutyAlertNotifierMap and PagerdutyAlertNotifierMapOutput values. +// You can construct a concrete instance of `PagerdutyAlertNotifierMapInput` via: +// +// PagerdutyAlertNotifierMap{ "key": PagerdutyAlertNotifierArgs{...} } +type PagerdutyAlertNotifierMapInput interface { + pulumi.Input + + ToPagerdutyAlertNotifierMapOutput() PagerdutyAlertNotifierMapOutput + ToPagerdutyAlertNotifierMapOutputWithContext(context.Context) PagerdutyAlertNotifierMapOutput +} + +type PagerdutyAlertNotifierMap map[string]PagerdutyAlertNotifierInput + +func (PagerdutyAlertNotifierMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PagerdutyAlertNotifier)(nil)).Elem() +} + +func (i PagerdutyAlertNotifierMap) ToPagerdutyAlertNotifierMapOutput() PagerdutyAlertNotifierMapOutput { + return i.ToPagerdutyAlertNotifierMapOutputWithContext(context.Background()) +} + +func (i PagerdutyAlertNotifierMap) ToPagerdutyAlertNotifierMapOutputWithContext(ctx context.Context) PagerdutyAlertNotifierMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PagerdutyAlertNotifierMapOutput) +} + +type PagerdutyAlertNotifierOutput struct{ *pulumi.OutputState } + +func (PagerdutyAlertNotifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PagerdutyAlertNotifier)(nil)).Elem() +} + +func (o PagerdutyAlertNotifierOutput) ToPagerdutyAlertNotifierOutput() PagerdutyAlertNotifierOutput { + return o +} + +func (o PagerdutyAlertNotifierOutput) ToPagerdutyAlertNotifierOutputWithContext(ctx context.Context) PagerdutyAlertNotifierOutput { + return o +} + +func (o PagerdutyAlertNotifierOutput) BasicAuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthPassword }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) BasicAuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthUsername }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) BearerToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.BearerToken }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Class() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.Class }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Client() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.Client }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) ClientUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.ClientUrl }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Component() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.Component }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Details() pulumi.StringMapOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringMapOutput { return v.Details }).(pulumi.StringMapOutput) +} + +func (o PagerdutyAlertNotifierOutput) Group() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.Group }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Images() PagerdutyAlertNotifierImageArrayOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) PagerdutyAlertNotifierImageArrayOutput { return v.Images }).(PagerdutyAlertNotifierImageArrayOutput) +} + +func (o PagerdutyAlertNotifierOutput) Links() PagerdutyAlertNotifierLinkArrayOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) PagerdutyAlertNotifierLinkArrayOutput { return v.Links }).(PagerdutyAlertNotifierLinkArrayOutput) +} + +func (o PagerdutyAlertNotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o PagerdutyAlertNotifierOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) RoutingKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.RoutingKey }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.BoolPtrOutput { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) ServiceKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringPtrOutput { return v.ServiceKey }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringOutput { return v.Severity }).(pulumi.StringOutput) +} + +func (o PagerdutyAlertNotifierOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o PagerdutyAlertNotifierOutput) TlsInsecureSkipVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.BoolPtrOutput { return v.TlsInsecureSkipVerify }).(pulumi.BoolPtrOutput) +} + +func (o PagerdutyAlertNotifierOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *PagerdutyAlertNotifier) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +type PagerdutyAlertNotifierArrayOutput struct{ *pulumi.OutputState } + +func (PagerdutyAlertNotifierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PagerdutyAlertNotifier)(nil)).Elem() +} + +func (o PagerdutyAlertNotifierArrayOutput) ToPagerdutyAlertNotifierArrayOutput() PagerdutyAlertNotifierArrayOutput { + return o +} + +func (o PagerdutyAlertNotifierArrayOutput) ToPagerdutyAlertNotifierArrayOutputWithContext(ctx context.Context) PagerdutyAlertNotifierArrayOutput { + return o +} + +func (o PagerdutyAlertNotifierArrayOutput) Index(i pulumi.IntInput) PagerdutyAlertNotifierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PagerdutyAlertNotifier { + return vs[0].([]*PagerdutyAlertNotifier)[vs[1].(int)] + }).(PagerdutyAlertNotifierOutput) +} + +type PagerdutyAlertNotifierMapOutput struct{ *pulumi.OutputState } + +func (PagerdutyAlertNotifierMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PagerdutyAlertNotifier)(nil)).Elem() +} + +func (o PagerdutyAlertNotifierMapOutput) ToPagerdutyAlertNotifierMapOutput() PagerdutyAlertNotifierMapOutput { + return o +} + +func (o PagerdutyAlertNotifierMapOutput) ToPagerdutyAlertNotifierMapOutputWithContext(ctx context.Context) PagerdutyAlertNotifierMapOutput { + return o +} + +func (o PagerdutyAlertNotifierMapOutput) MapIndex(k pulumi.StringInput) PagerdutyAlertNotifierOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PagerdutyAlertNotifier { + return vs[0].(map[string]*PagerdutyAlertNotifier)[vs[1].(string)] + }).(PagerdutyAlertNotifierOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PagerdutyAlertNotifierInput)(nil)).Elem(), &PagerdutyAlertNotifier{}) + pulumi.RegisterInputType(reflect.TypeOf((*PagerdutyAlertNotifierArrayInput)(nil)).Elem(), PagerdutyAlertNotifierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PagerdutyAlertNotifierMapInput)(nil)).Elem(), PagerdutyAlertNotifierMap{}) + pulumi.RegisterOutputType(PagerdutyAlertNotifierOutput{}) + pulumi.RegisterOutputType(PagerdutyAlertNotifierArrayOutput{}) + pulumi.RegisterOutputType(PagerdutyAlertNotifierMapOutput{}) +} diff --git a/sdk/go/chronosphere/provider.go b/sdk/go/chronosphere/provider.go new file mode 100644 index 00000000..e7705a57 --- /dev/null +++ b/sdk/go/chronosphere/provider.go @@ -0,0 +1,126 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// The provider type for the chronosphere package. By default, resources use package-wide configuration +// settings, however an explicit `Provider` instance may be created and passed during resource +// construction to achieve fine-grained programmatic control over provider settings. See the +// [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. +type Provider struct { + pulumi.ProviderResourceState + + ApiToken pulumi.StringPtrOutput `pulumi:"apiToken"` + EntityNamespace pulumi.StringPtrOutput `pulumi:"entityNamespace"` + Org pulumi.StringPtrOutput `pulumi:"org"` +} + +// NewProvider registers a new resource with the given unique name, arguments, and options. +func NewProvider(ctx *pulumi.Context, + name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error) { + if args == nil { + args = &ProviderArgs{} + } + + if args.ApiToken == nil { + if d := internal.GetEnvOrDefault(nil, nil, "CHRONOSPHERE_API_TOKEN"); d != nil { + args.ApiToken = pulumi.StringPtr(d.(string)) + } + } + if args.Org == nil { + if d := internal.GetEnvOrDefault(nil, nil, "CHRONOSPHERE_ORG", "CHRONOSPHERE_ORG_NAME"); d != nil { + args.Org = pulumi.StringPtr(d.(string)) + } + } + if args.ApiToken != nil { + args.ApiToken = pulumi.ToSecret(args.ApiToken).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "apiToken", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource Provider + err := ctx.RegisterResource("pulumi:providers:chronosphere", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +type providerArgs struct { + ApiToken *string `pulumi:"apiToken"` + EntityNamespace *string `pulumi:"entityNamespace"` + Org *string `pulumi:"org"` + Unstable *bool `pulumi:"unstable"` +} + +// The set of arguments for constructing a Provider resource. +type ProviderArgs struct { + ApiToken pulumi.StringPtrInput + EntityNamespace pulumi.StringPtrInput + Org pulumi.StringPtrInput + Unstable pulumi.BoolPtrInput +} + +func (ProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*providerArgs)(nil)).Elem() +} + +type ProviderInput interface { + pulumi.Input + + ToProviderOutput() ProviderOutput + ToProviderOutputWithContext(ctx context.Context) ProviderOutput +} + +func (*Provider) ElementType() reflect.Type { + return reflect.TypeOf((**Provider)(nil)).Elem() +} + +func (i *Provider) ToProviderOutput() ProviderOutput { + return i.ToProviderOutputWithContext(context.Background()) +} + +func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) +} + +type ProviderOutput struct{ *pulumi.OutputState } + +func (ProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Provider)(nil)).Elem() +} + +func (o ProviderOutput) ToProviderOutput() ProviderOutput { + return o +} + +func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput { + return o +} + +func (o ProviderOutput) ApiToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ApiToken }).(pulumi.StringPtrOutput) +} + +func (o ProviderOutput) EntityNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.EntityNamespace }).(pulumi.StringPtrOutput) +} + +func (o ProviderOutput) Org() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.Org }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) + pulumi.RegisterOutputType(ProviderOutput{}) +} diff --git a/sdk/go/chronosphere/pulumi-plugin.json b/sdk/go/chronosphere/pulumi-plugin.json new file mode 100644 index 00000000..c466b59c --- /dev/null +++ b/sdk/go/chronosphere/pulumi-plugin.json @@ -0,0 +1,4 @@ +{ + "resource": true, + "name": "chronosphere" +} diff --git a/sdk/go/chronosphere/pulumiTypes.go b/sdk/go/chronosphere/pulumiTypes.go new file mode 100644 index 00000000..67e0cef7 --- /dev/null +++ b/sdk/go/chronosphere/pulumiTypes.go @@ -0,0 +1,11539 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +var _ = internal.GetEnvOrDefault + +type DerivedLabelMetricLabel struct { + ConstructedLabel *DerivedLabelMetricLabelConstructedLabel `pulumi:"constructedLabel"` + MappingLabel *DerivedLabelMetricLabelMappingLabel `pulumi:"mappingLabel"` +} + +// DerivedLabelMetricLabelInput is an input type that accepts DerivedLabelMetricLabelArgs and DerivedLabelMetricLabelOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelInput` via: +// +// DerivedLabelMetricLabelArgs{...} +type DerivedLabelMetricLabelInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelOutput() DerivedLabelMetricLabelOutput + ToDerivedLabelMetricLabelOutputWithContext(context.Context) DerivedLabelMetricLabelOutput +} + +type DerivedLabelMetricLabelArgs struct { + ConstructedLabel DerivedLabelMetricLabelConstructedLabelPtrInput `pulumi:"constructedLabel"` + MappingLabel DerivedLabelMetricLabelMappingLabelPtrInput `pulumi:"mappingLabel"` +} + +func (DerivedLabelMetricLabelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabel)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelArgs) ToDerivedLabelMetricLabelOutput() DerivedLabelMetricLabelOutput { + return i.ToDerivedLabelMetricLabelOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelArgs) ToDerivedLabelMetricLabelOutputWithContext(ctx context.Context) DerivedLabelMetricLabelOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelOutput) +} + +func (i DerivedLabelMetricLabelArgs) ToDerivedLabelMetricLabelPtrOutput() DerivedLabelMetricLabelPtrOutput { + return i.ToDerivedLabelMetricLabelPtrOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelArgs) ToDerivedLabelMetricLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelOutput).ToDerivedLabelMetricLabelPtrOutputWithContext(ctx) +} + +// DerivedLabelMetricLabelPtrInput is an input type that accepts DerivedLabelMetricLabelArgs, DerivedLabelMetricLabelPtr and DerivedLabelMetricLabelPtrOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelPtrInput` via: +// +// DerivedLabelMetricLabelArgs{...} +// +// or: +// +// nil +type DerivedLabelMetricLabelPtrInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelPtrOutput() DerivedLabelMetricLabelPtrOutput + ToDerivedLabelMetricLabelPtrOutputWithContext(context.Context) DerivedLabelMetricLabelPtrOutput +} + +type derivedLabelMetricLabelPtrType DerivedLabelMetricLabelArgs + +func DerivedLabelMetricLabelPtr(v *DerivedLabelMetricLabelArgs) DerivedLabelMetricLabelPtrInput { + return (*derivedLabelMetricLabelPtrType)(v) +} + +func (*derivedLabelMetricLabelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabelMetricLabel)(nil)).Elem() +} + +func (i *derivedLabelMetricLabelPtrType) ToDerivedLabelMetricLabelPtrOutput() DerivedLabelMetricLabelPtrOutput { + return i.ToDerivedLabelMetricLabelPtrOutputWithContext(context.Background()) +} + +func (i *derivedLabelMetricLabelPtrType) ToDerivedLabelMetricLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelPtrOutput) +} + +type DerivedLabelMetricLabelOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabel)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelOutput) ToDerivedLabelMetricLabelOutput() DerivedLabelMetricLabelOutput { + return o +} + +func (o DerivedLabelMetricLabelOutput) ToDerivedLabelMetricLabelOutputWithContext(ctx context.Context) DerivedLabelMetricLabelOutput { + return o +} + +func (o DerivedLabelMetricLabelOutput) ToDerivedLabelMetricLabelPtrOutput() DerivedLabelMetricLabelPtrOutput { + return o.ToDerivedLabelMetricLabelPtrOutputWithContext(context.Background()) +} + +func (o DerivedLabelMetricLabelOutput) ToDerivedLabelMetricLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DerivedLabelMetricLabel) *DerivedLabelMetricLabel { + return &v + }).(DerivedLabelMetricLabelPtrOutput) +} + +func (o DerivedLabelMetricLabelOutput) ConstructedLabel() DerivedLabelMetricLabelConstructedLabelPtrOutput { + return o.ApplyT(func(v DerivedLabelMetricLabel) *DerivedLabelMetricLabelConstructedLabel { return v.ConstructedLabel }).(DerivedLabelMetricLabelConstructedLabelPtrOutput) +} + +func (o DerivedLabelMetricLabelOutput) MappingLabel() DerivedLabelMetricLabelMappingLabelPtrOutput { + return o.ApplyT(func(v DerivedLabelMetricLabel) *DerivedLabelMetricLabelMappingLabel { return v.MappingLabel }).(DerivedLabelMetricLabelMappingLabelPtrOutput) +} + +type DerivedLabelMetricLabelPtrOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabelMetricLabel)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelPtrOutput) ToDerivedLabelMetricLabelPtrOutput() DerivedLabelMetricLabelPtrOutput { + return o +} + +func (o DerivedLabelMetricLabelPtrOutput) ToDerivedLabelMetricLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelPtrOutput { + return o +} + +func (o DerivedLabelMetricLabelPtrOutput) Elem() DerivedLabelMetricLabelOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabel) DerivedLabelMetricLabel { + if v != nil { + return *v + } + var ret DerivedLabelMetricLabel + return ret + }).(DerivedLabelMetricLabelOutput) +} + +func (o DerivedLabelMetricLabelPtrOutput) ConstructedLabel() DerivedLabelMetricLabelConstructedLabelPtrOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabel) *DerivedLabelMetricLabelConstructedLabel { + if v == nil { + return nil + } + return v.ConstructedLabel + }).(DerivedLabelMetricLabelConstructedLabelPtrOutput) +} + +func (o DerivedLabelMetricLabelPtrOutput) MappingLabel() DerivedLabelMetricLabelMappingLabelPtrOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabel) *DerivedLabelMetricLabelMappingLabel { + if v == nil { + return nil + } + return v.MappingLabel + }).(DerivedLabelMetricLabelMappingLabelPtrOutput) +} + +type DerivedLabelMetricLabelConstructedLabel struct { + ValueDefinitions []DerivedLabelMetricLabelConstructedLabelValueDefinition `pulumi:"valueDefinitions"` +} + +// DerivedLabelMetricLabelConstructedLabelInput is an input type that accepts DerivedLabelMetricLabelConstructedLabelArgs and DerivedLabelMetricLabelConstructedLabelOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelConstructedLabelInput` via: +// +// DerivedLabelMetricLabelConstructedLabelArgs{...} +type DerivedLabelMetricLabelConstructedLabelInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelConstructedLabelOutput() DerivedLabelMetricLabelConstructedLabelOutput + ToDerivedLabelMetricLabelConstructedLabelOutputWithContext(context.Context) DerivedLabelMetricLabelConstructedLabelOutput +} + +type DerivedLabelMetricLabelConstructedLabelArgs struct { + ValueDefinitions DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayInput `pulumi:"valueDefinitions"` +} + +func (DerivedLabelMetricLabelConstructedLabelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabel)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelConstructedLabelArgs) ToDerivedLabelMetricLabelConstructedLabelOutput() DerivedLabelMetricLabelConstructedLabelOutput { + return i.ToDerivedLabelMetricLabelConstructedLabelOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelConstructedLabelArgs) ToDerivedLabelMetricLabelConstructedLabelOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelConstructedLabelOutput) +} + +func (i DerivedLabelMetricLabelConstructedLabelArgs) ToDerivedLabelMetricLabelConstructedLabelPtrOutput() DerivedLabelMetricLabelConstructedLabelPtrOutput { + return i.ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelConstructedLabelArgs) ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelConstructedLabelOutput).ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(ctx) +} + +// DerivedLabelMetricLabelConstructedLabelPtrInput is an input type that accepts DerivedLabelMetricLabelConstructedLabelArgs, DerivedLabelMetricLabelConstructedLabelPtr and DerivedLabelMetricLabelConstructedLabelPtrOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelConstructedLabelPtrInput` via: +// +// DerivedLabelMetricLabelConstructedLabelArgs{...} +// +// or: +// +// nil +type DerivedLabelMetricLabelConstructedLabelPtrInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelConstructedLabelPtrOutput() DerivedLabelMetricLabelConstructedLabelPtrOutput + ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(context.Context) DerivedLabelMetricLabelConstructedLabelPtrOutput +} + +type derivedLabelMetricLabelConstructedLabelPtrType DerivedLabelMetricLabelConstructedLabelArgs + +func DerivedLabelMetricLabelConstructedLabelPtr(v *DerivedLabelMetricLabelConstructedLabelArgs) DerivedLabelMetricLabelConstructedLabelPtrInput { + return (*derivedLabelMetricLabelConstructedLabelPtrType)(v) +} + +func (*derivedLabelMetricLabelConstructedLabelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabelMetricLabelConstructedLabel)(nil)).Elem() +} + +func (i *derivedLabelMetricLabelConstructedLabelPtrType) ToDerivedLabelMetricLabelConstructedLabelPtrOutput() DerivedLabelMetricLabelConstructedLabelPtrOutput { + return i.ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(context.Background()) +} + +func (i *derivedLabelMetricLabelConstructedLabelPtrType) ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelConstructedLabelPtrOutput) +} + +type DerivedLabelMetricLabelConstructedLabelOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelConstructedLabelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabel)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelConstructedLabelOutput) ToDerivedLabelMetricLabelConstructedLabelOutput() DerivedLabelMetricLabelConstructedLabelOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelOutput) ToDerivedLabelMetricLabelConstructedLabelOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelOutput) ToDerivedLabelMetricLabelConstructedLabelPtrOutput() DerivedLabelMetricLabelConstructedLabelPtrOutput { + return o.ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(context.Background()) +} + +func (o DerivedLabelMetricLabelConstructedLabelOutput) ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DerivedLabelMetricLabelConstructedLabel) *DerivedLabelMetricLabelConstructedLabel { + return &v + }).(DerivedLabelMetricLabelConstructedLabelPtrOutput) +} + +func (o DerivedLabelMetricLabelConstructedLabelOutput) ValueDefinitions() DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelConstructedLabel) []DerivedLabelMetricLabelConstructedLabelValueDefinition { + return v.ValueDefinitions + }).(DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput) +} + +type DerivedLabelMetricLabelConstructedLabelPtrOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelConstructedLabelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabelMetricLabelConstructedLabel)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelConstructedLabelPtrOutput) ToDerivedLabelMetricLabelConstructedLabelPtrOutput() DerivedLabelMetricLabelConstructedLabelPtrOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelPtrOutput) ToDerivedLabelMetricLabelConstructedLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelPtrOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelPtrOutput) Elem() DerivedLabelMetricLabelConstructedLabelOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabelConstructedLabel) DerivedLabelMetricLabelConstructedLabel { + if v != nil { + return *v + } + var ret DerivedLabelMetricLabelConstructedLabel + return ret + }).(DerivedLabelMetricLabelConstructedLabelOutput) +} + +func (o DerivedLabelMetricLabelConstructedLabelPtrOutput) ValueDefinitions() DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabelConstructedLabel) []DerivedLabelMetricLabelConstructedLabelValueDefinition { + if v == nil { + return nil + } + return v.ValueDefinitions + }).(DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput) +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinition struct { + Filters []DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter `pulumi:"filters"` + Value string `pulumi:"value"` +} + +// DerivedLabelMetricLabelConstructedLabelValueDefinitionInput is an input type that accepts DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs and DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelConstructedLabelValueDefinitionInput` via: +// +// DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs{...} +type DerivedLabelMetricLabelConstructedLabelValueDefinitionInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionOutputWithContext(context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs struct { + Filters DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayInput `pulumi:"filters"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinition)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput { + return i.ToDerivedLabelMetricLabelConstructedLabelValueDefinitionOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput) +} + +// DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayInput is an input type that accepts DerivedLabelMetricLabelConstructedLabelValueDefinitionArray and DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayInput` via: +// +// DerivedLabelMetricLabelConstructedLabelValueDefinitionArray{ DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs{...} } +type DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutputWithContext(context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionArray []DerivedLabelMetricLabelConstructedLabelValueDefinitionInput + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelConstructedLabelValueDefinition)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionArray) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput { + return i.ToDerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionArray) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput) +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinition)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput) Filters() DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelConstructedLabelValueDefinition) []DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter { + return v.Filters + }).(DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput) +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelConstructedLabelValueDefinition) string { return v.Value }).(pulumi.StringOutput) +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelConstructedLabelValueDefinition)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput) Index(i pulumi.IntInput) DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedLabelMetricLabelConstructedLabelValueDefinition { + return vs[0].([]DerivedLabelMetricLabelConstructedLabelValueDefinition)[vs[1].(int)] + }).(DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput) +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter struct { + Name string `pulumi:"name"` + ValueGlob string `pulumi:"valueGlob"` +} + +// DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterInput is an input type that accepts DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs and DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterInput` via: +// +// DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs{...} +type DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutputWithContext(context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + ValueGlob pulumi.StringInput `pulumi:"valueGlob"` +} + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput { + return i.ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput) +} + +// DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayInput is an input type that accepts DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArray and DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayInput` via: +// +// DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArray{ DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs{...} } +type DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput + ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutputWithContext(context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArray []DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterInput + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArray) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput { + return i.ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArray) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput) +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput) ValueGlob() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter) string { return v.ValueGlob }).(pulumi.StringOutput) +} + +type DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput() DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput) ToDerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput) Index(i pulumi.IntInput) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter { + return vs[0].([]DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter)[vs[1].(int)] + }).(DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput) +} + +type DerivedLabelMetricLabelMappingLabel struct { + NameMappings []DerivedLabelMetricLabelMappingLabelNameMapping `pulumi:"nameMappings"` + ValueMappings []DerivedLabelMetricLabelMappingLabelValueMapping `pulumi:"valueMappings"` +} + +// DerivedLabelMetricLabelMappingLabelInput is an input type that accepts DerivedLabelMetricLabelMappingLabelArgs and DerivedLabelMetricLabelMappingLabelOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelInput` via: +// +// DerivedLabelMetricLabelMappingLabelArgs{...} +type DerivedLabelMetricLabelMappingLabelInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelOutput() DerivedLabelMetricLabelMappingLabelOutput + ToDerivedLabelMetricLabelMappingLabelOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelOutput +} + +type DerivedLabelMetricLabelMappingLabelArgs struct { + NameMappings DerivedLabelMetricLabelMappingLabelNameMappingArrayInput `pulumi:"nameMappings"` + ValueMappings DerivedLabelMetricLabelMappingLabelValueMappingArrayInput `pulumi:"valueMappings"` +} + +func (DerivedLabelMetricLabelMappingLabelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabel)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelArgs) ToDerivedLabelMetricLabelMappingLabelOutput() DerivedLabelMetricLabelMappingLabelOutput { + return i.ToDerivedLabelMetricLabelMappingLabelOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelArgs) ToDerivedLabelMetricLabelMappingLabelOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelOutput) +} + +func (i DerivedLabelMetricLabelMappingLabelArgs) ToDerivedLabelMetricLabelMappingLabelPtrOutput() DerivedLabelMetricLabelMappingLabelPtrOutput { + return i.ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelArgs) ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelOutput).ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(ctx) +} + +// DerivedLabelMetricLabelMappingLabelPtrInput is an input type that accepts DerivedLabelMetricLabelMappingLabelArgs, DerivedLabelMetricLabelMappingLabelPtr and DerivedLabelMetricLabelMappingLabelPtrOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelPtrInput` via: +// +// DerivedLabelMetricLabelMappingLabelArgs{...} +// +// or: +// +// nil +type DerivedLabelMetricLabelMappingLabelPtrInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelPtrOutput() DerivedLabelMetricLabelMappingLabelPtrOutput + ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelPtrOutput +} + +type derivedLabelMetricLabelMappingLabelPtrType DerivedLabelMetricLabelMappingLabelArgs + +func DerivedLabelMetricLabelMappingLabelPtr(v *DerivedLabelMetricLabelMappingLabelArgs) DerivedLabelMetricLabelMappingLabelPtrInput { + return (*derivedLabelMetricLabelMappingLabelPtrType)(v) +} + +func (*derivedLabelMetricLabelMappingLabelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabelMetricLabelMappingLabel)(nil)).Elem() +} + +func (i *derivedLabelMetricLabelMappingLabelPtrType) ToDerivedLabelMetricLabelMappingLabelPtrOutput() DerivedLabelMetricLabelMappingLabelPtrOutput { + return i.ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(context.Background()) +} + +func (i *derivedLabelMetricLabelMappingLabelPtrType) ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelPtrOutput) +} + +type DerivedLabelMetricLabelMappingLabelOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabel)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelOutput) ToDerivedLabelMetricLabelMappingLabelOutput() DerivedLabelMetricLabelMappingLabelOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelOutput) ToDerivedLabelMetricLabelMappingLabelOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelOutput) ToDerivedLabelMetricLabelMappingLabelPtrOutput() DerivedLabelMetricLabelMappingLabelPtrOutput { + return o.ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(context.Background()) +} + +func (o DerivedLabelMetricLabelMappingLabelOutput) ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DerivedLabelMetricLabelMappingLabel) *DerivedLabelMetricLabelMappingLabel { + return &v + }).(DerivedLabelMetricLabelMappingLabelPtrOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelOutput) NameMappings() DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabel) []DerivedLabelMetricLabelMappingLabelNameMapping { + return v.NameMappings + }).(DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelOutput) ValueMappings() DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabel) []DerivedLabelMetricLabelMappingLabelValueMapping { + return v.ValueMappings + }).(DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput) +} + +type DerivedLabelMetricLabelMappingLabelPtrOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedLabelMetricLabelMappingLabel)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelPtrOutput) ToDerivedLabelMetricLabelMappingLabelPtrOutput() DerivedLabelMetricLabelMappingLabelPtrOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelPtrOutput) ToDerivedLabelMetricLabelMappingLabelPtrOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelPtrOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelPtrOutput) Elem() DerivedLabelMetricLabelMappingLabelOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabelMappingLabel) DerivedLabelMetricLabelMappingLabel { + if v != nil { + return *v + } + var ret DerivedLabelMetricLabelMappingLabel + return ret + }).(DerivedLabelMetricLabelMappingLabelOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelPtrOutput) NameMappings() DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabelMappingLabel) []DerivedLabelMetricLabelMappingLabelNameMapping { + if v == nil { + return nil + } + return v.NameMappings + }).(DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelPtrOutput) ValueMappings() DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput { + return o.ApplyT(func(v *DerivedLabelMetricLabelMappingLabel) []DerivedLabelMetricLabelMappingLabelValueMapping { + if v == nil { + return nil + } + return v.ValueMappings + }).(DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMapping struct { + Filters []DerivedLabelMetricLabelMappingLabelNameMappingFilter `pulumi:"filters"` + SourceLabel string `pulumi:"sourceLabel"` + ValueMappings []DerivedLabelMetricLabelMappingLabelNameMappingValueMapping `pulumi:"valueMappings"` +} + +// DerivedLabelMetricLabelMappingLabelNameMappingInput is an input type that accepts DerivedLabelMetricLabelMappingLabelNameMappingArgs and DerivedLabelMetricLabelMappingLabelNameMappingOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelNameMappingInput` via: +// +// DerivedLabelMetricLabelMappingLabelNameMappingArgs{...} +type DerivedLabelMetricLabelMappingLabelNameMappingInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelNameMappingOutput() DerivedLabelMetricLabelMappingLabelNameMappingOutput + ToDerivedLabelMetricLabelMappingLabelNameMappingOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelNameMappingOutput +} + +type DerivedLabelMetricLabelMappingLabelNameMappingArgs struct { + Filters DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayInput `pulumi:"filters"` + SourceLabel pulumi.StringInput `pulumi:"sourceLabel"` + ValueMappings DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayInput `pulumi:"valueMappings"` +} + +func (DerivedLabelMetricLabelMappingLabelNameMappingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMapping)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingArgs) ToDerivedLabelMetricLabelMappingLabelNameMappingOutput() DerivedLabelMetricLabelMappingLabelNameMappingOutput { + return i.ToDerivedLabelMetricLabelMappingLabelNameMappingOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingArgs) ToDerivedLabelMetricLabelMappingLabelNameMappingOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelNameMappingOutput) +} + +// DerivedLabelMetricLabelMappingLabelNameMappingArrayInput is an input type that accepts DerivedLabelMetricLabelMappingLabelNameMappingArray and DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelNameMappingArrayInput` via: +// +// DerivedLabelMetricLabelMappingLabelNameMappingArray{ DerivedLabelMetricLabelMappingLabelNameMappingArgs{...} } +type DerivedLabelMetricLabelMappingLabelNameMappingArrayInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelNameMappingArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput + ToDerivedLabelMetricLabelMappingLabelNameMappingArrayOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput +} + +type DerivedLabelMetricLabelMappingLabelNameMappingArray []DerivedLabelMetricLabelMappingLabelNameMappingInput + +func (DerivedLabelMetricLabelMappingLabelNameMappingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelNameMapping)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingArray) ToDerivedLabelMetricLabelMappingLabelNameMappingArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput { + return i.ToDerivedLabelMetricLabelMappingLabelNameMappingArrayOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingArray) ToDerivedLabelMetricLabelMappingLabelNameMappingArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelNameMappingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMapping)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingOutput() DerivedLabelMetricLabelMappingLabelNameMappingOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingOutput) Filters() DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelNameMapping) []DerivedLabelMetricLabelMappingLabelNameMappingFilter { + return v.Filters + }).(DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingOutput) SourceLabel() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelNameMapping) string { return v.SourceLabel }).(pulumi.StringOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingOutput) ValueMappings() DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelNameMapping) []DerivedLabelMetricLabelMappingLabelNameMappingValueMapping { + return v.ValueMappings + }).(DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelNameMapping)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput) Index(i pulumi.IntInput) DerivedLabelMetricLabelMappingLabelNameMappingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedLabelMetricLabelMappingLabelNameMapping { + return vs[0].([]DerivedLabelMetricLabelMappingLabelNameMapping)[vs[1].(int)] + }).(DerivedLabelMetricLabelMappingLabelNameMappingOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingFilter struct { + Name string `pulumi:"name"` + ValueGlob string `pulumi:"valueGlob"` +} + +// DerivedLabelMetricLabelMappingLabelNameMappingFilterInput is an input type that accepts DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs and DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelNameMappingFilterInput` via: +// +// DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs{...} +type DerivedLabelMetricLabelMappingLabelNameMappingFilterInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelNameMappingFilterOutput() DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput + ToDerivedLabelMetricLabelMappingLabelNameMappingFilterOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput +} + +type DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + ValueGlob pulumi.StringInput `pulumi:"valueGlob"` +} + +func (DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingFilter)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterOutput() DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput { + return i.ToDerivedLabelMetricLabelMappingLabelNameMappingFilterOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput) +} + +// DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayInput is an input type that accepts DerivedLabelMetricLabelMappingLabelNameMappingFilterArray and DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayInput` via: +// +// DerivedLabelMetricLabelMappingLabelNameMappingFilterArray{ DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs{...} } +type DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput + ToDerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput +} + +type DerivedLabelMetricLabelMappingLabelNameMappingFilterArray []DerivedLabelMetricLabelMappingLabelNameMappingFilterInput + +func (DerivedLabelMetricLabelMappingLabelNameMappingFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelNameMappingFilter)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingFilterArray) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput { + return i.ToDerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingFilterArray) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingFilter)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterOutput() DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelNameMappingFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput) ValueGlob() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelNameMappingFilter) string { return v.ValueGlob }).(pulumi.StringOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelNameMappingFilter)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput) Index(i pulumi.IntInput) DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedLabelMetricLabelMappingLabelNameMappingFilter { + return vs[0].([]DerivedLabelMetricLabelMappingLabelNameMappingFilter)[vs[1].(int)] + }).(DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingValueMapping struct { + SourceValueGlobs []string `pulumi:"sourceValueGlobs"` + TargetValue string `pulumi:"targetValue"` +} + +// DerivedLabelMetricLabelMappingLabelNameMappingValueMappingInput is an input type that accepts DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs and DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelNameMappingValueMappingInput` via: +// +// DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs{...} +type DerivedLabelMetricLabelMappingLabelNameMappingValueMappingInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput() DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput + ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput +} + +type DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs struct { + SourceValueGlobs pulumi.StringArrayInput `pulumi:"sourceValueGlobs"` + TargetValue pulumi.StringInput `pulumi:"targetValue"` +} + +func (DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingValueMapping)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput() DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput { + return i.ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput) +} + +// DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayInput is an input type that accepts DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArray and DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayInput` via: +// +// DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArray{ DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs{...} } +type DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput + ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput +} + +type DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArray []DerivedLabelMetricLabelMappingLabelNameMappingValueMappingInput + +func (DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelNameMappingValueMapping)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArray) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput { + return i.ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArray) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingValueMapping)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput() DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput) SourceValueGlobs() pulumi.StringArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelNameMappingValueMapping) []string { return v.SourceValueGlobs }).(pulumi.StringArrayOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput) TargetValue() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelNameMappingValueMapping) string { return v.TargetValue }).(pulumi.StringOutput) +} + +type DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelNameMappingValueMapping)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput() DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput) ToDerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput) Index(i pulumi.IntInput) DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedLabelMetricLabelMappingLabelNameMappingValueMapping { + return vs[0].([]DerivedLabelMetricLabelMappingLabelNameMappingValueMapping)[vs[1].(int)] + }).(DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput) +} + +type DerivedLabelMetricLabelMappingLabelValueMapping struct { + SourceValueGlobs []string `pulumi:"sourceValueGlobs"` + TargetValue string `pulumi:"targetValue"` +} + +// DerivedLabelMetricLabelMappingLabelValueMappingInput is an input type that accepts DerivedLabelMetricLabelMappingLabelValueMappingArgs and DerivedLabelMetricLabelMappingLabelValueMappingOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelValueMappingInput` via: +// +// DerivedLabelMetricLabelMappingLabelValueMappingArgs{...} +type DerivedLabelMetricLabelMappingLabelValueMappingInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelValueMappingOutput() DerivedLabelMetricLabelMappingLabelValueMappingOutput + ToDerivedLabelMetricLabelMappingLabelValueMappingOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelValueMappingOutput +} + +type DerivedLabelMetricLabelMappingLabelValueMappingArgs struct { + SourceValueGlobs pulumi.StringArrayInput `pulumi:"sourceValueGlobs"` + TargetValue pulumi.StringInput `pulumi:"targetValue"` +} + +func (DerivedLabelMetricLabelMappingLabelValueMappingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelValueMapping)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelValueMappingArgs) ToDerivedLabelMetricLabelMappingLabelValueMappingOutput() DerivedLabelMetricLabelMappingLabelValueMappingOutput { + return i.ToDerivedLabelMetricLabelMappingLabelValueMappingOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelValueMappingArgs) ToDerivedLabelMetricLabelMappingLabelValueMappingOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelValueMappingOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelValueMappingOutput) +} + +// DerivedLabelMetricLabelMappingLabelValueMappingArrayInput is an input type that accepts DerivedLabelMetricLabelMappingLabelValueMappingArray and DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput values. +// You can construct a concrete instance of `DerivedLabelMetricLabelMappingLabelValueMappingArrayInput` via: +// +// DerivedLabelMetricLabelMappingLabelValueMappingArray{ DerivedLabelMetricLabelMappingLabelValueMappingArgs{...} } +type DerivedLabelMetricLabelMappingLabelValueMappingArrayInput interface { + pulumi.Input + + ToDerivedLabelMetricLabelMappingLabelValueMappingArrayOutput() DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput + ToDerivedLabelMetricLabelMappingLabelValueMappingArrayOutputWithContext(context.Context) DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput +} + +type DerivedLabelMetricLabelMappingLabelValueMappingArray []DerivedLabelMetricLabelMappingLabelValueMappingInput + +func (DerivedLabelMetricLabelMappingLabelValueMappingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelValueMapping)(nil)).Elem() +} + +func (i DerivedLabelMetricLabelMappingLabelValueMappingArray) ToDerivedLabelMetricLabelMappingLabelValueMappingArrayOutput() DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput { + return i.ToDerivedLabelMetricLabelMappingLabelValueMappingArrayOutputWithContext(context.Background()) +} + +func (i DerivedLabelMetricLabelMappingLabelValueMappingArray) ToDerivedLabelMetricLabelMappingLabelValueMappingArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput) +} + +type DerivedLabelMetricLabelMappingLabelValueMappingOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelValueMappingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelValueMapping)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelValueMappingOutput) ToDerivedLabelMetricLabelMappingLabelValueMappingOutput() DerivedLabelMetricLabelMappingLabelValueMappingOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelValueMappingOutput) ToDerivedLabelMetricLabelMappingLabelValueMappingOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelValueMappingOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelValueMappingOutput) SourceValueGlobs() pulumi.StringArrayOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelValueMapping) []string { return v.SourceValueGlobs }).(pulumi.StringArrayOutput) +} + +func (o DerivedLabelMetricLabelMappingLabelValueMappingOutput) TargetValue() pulumi.StringOutput { + return o.ApplyT(func(v DerivedLabelMetricLabelMappingLabelValueMapping) string { return v.TargetValue }).(pulumi.StringOutput) +} + +type DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput struct{ *pulumi.OutputState } + +func (DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedLabelMetricLabelMappingLabelValueMapping)(nil)).Elem() +} + +func (o DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput) ToDerivedLabelMetricLabelMappingLabelValueMappingArrayOutput() DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput) ToDerivedLabelMetricLabelMappingLabelValueMappingArrayOutputWithContext(ctx context.Context) DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput { + return o +} + +func (o DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput) Index(i pulumi.IntInput) DerivedLabelMetricLabelMappingLabelValueMappingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedLabelMetricLabelMappingLabelValueMapping { + return vs[0].([]DerivedLabelMetricLabelMappingLabelValueMapping)[vs[1].(int)] + }).(DerivedLabelMetricLabelMappingLabelValueMappingOutput) +} + +type DerivedMetricQuery struct { + Query DerivedMetricQueryQuery `pulumi:"query"` + Selector *DerivedMetricQuerySelector `pulumi:"selector"` +} + +// DerivedMetricQueryInput is an input type that accepts DerivedMetricQueryArgs and DerivedMetricQueryOutput values. +// You can construct a concrete instance of `DerivedMetricQueryInput` via: +// +// DerivedMetricQueryArgs{...} +type DerivedMetricQueryInput interface { + pulumi.Input + + ToDerivedMetricQueryOutput() DerivedMetricQueryOutput + ToDerivedMetricQueryOutputWithContext(context.Context) DerivedMetricQueryOutput +} + +type DerivedMetricQueryArgs struct { + Query DerivedMetricQueryQueryInput `pulumi:"query"` + Selector DerivedMetricQuerySelectorPtrInput `pulumi:"selector"` +} + +func (DerivedMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQuery)(nil)).Elem() +} + +func (i DerivedMetricQueryArgs) ToDerivedMetricQueryOutput() DerivedMetricQueryOutput { + return i.ToDerivedMetricQueryOutputWithContext(context.Background()) +} + +func (i DerivedMetricQueryArgs) ToDerivedMetricQueryOutputWithContext(ctx context.Context) DerivedMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQueryOutput) +} + +// DerivedMetricQueryArrayInput is an input type that accepts DerivedMetricQueryArray and DerivedMetricQueryArrayOutput values. +// You can construct a concrete instance of `DerivedMetricQueryArrayInput` via: +// +// DerivedMetricQueryArray{ DerivedMetricQueryArgs{...} } +type DerivedMetricQueryArrayInput interface { + pulumi.Input + + ToDerivedMetricQueryArrayOutput() DerivedMetricQueryArrayOutput + ToDerivedMetricQueryArrayOutputWithContext(context.Context) DerivedMetricQueryArrayOutput +} + +type DerivedMetricQueryArray []DerivedMetricQueryInput + +func (DerivedMetricQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedMetricQuery)(nil)).Elem() +} + +func (i DerivedMetricQueryArray) ToDerivedMetricQueryArrayOutput() DerivedMetricQueryArrayOutput { + return i.ToDerivedMetricQueryArrayOutputWithContext(context.Background()) +} + +func (i DerivedMetricQueryArray) ToDerivedMetricQueryArrayOutputWithContext(ctx context.Context) DerivedMetricQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQueryArrayOutput) +} + +type DerivedMetricQueryOutput struct{ *pulumi.OutputState } + +func (DerivedMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQuery)(nil)).Elem() +} + +func (o DerivedMetricQueryOutput) ToDerivedMetricQueryOutput() DerivedMetricQueryOutput { + return o +} + +func (o DerivedMetricQueryOutput) ToDerivedMetricQueryOutputWithContext(ctx context.Context) DerivedMetricQueryOutput { + return o +} + +func (o DerivedMetricQueryOutput) Query() DerivedMetricQueryQueryOutput { + return o.ApplyT(func(v DerivedMetricQuery) DerivedMetricQueryQuery { return v.Query }).(DerivedMetricQueryQueryOutput) +} + +func (o DerivedMetricQueryOutput) Selector() DerivedMetricQuerySelectorPtrOutput { + return o.ApplyT(func(v DerivedMetricQuery) *DerivedMetricQuerySelector { return v.Selector }).(DerivedMetricQuerySelectorPtrOutput) +} + +type DerivedMetricQueryArrayOutput struct{ *pulumi.OutputState } + +func (DerivedMetricQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedMetricQuery)(nil)).Elem() +} + +func (o DerivedMetricQueryArrayOutput) ToDerivedMetricQueryArrayOutput() DerivedMetricQueryArrayOutput { + return o +} + +func (o DerivedMetricQueryArrayOutput) ToDerivedMetricQueryArrayOutputWithContext(ctx context.Context) DerivedMetricQueryArrayOutput { + return o +} + +func (o DerivedMetricQueryArrayOutput) Index(i pulumi.IntInput) DerivedMetricQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedMetricQuery { + return vs[0].([]DerivedMetricQuery)[vs[1].(int)] + }).(DerivedMetricQueryOutput) +} + +type DerivedMetricQueryQuery struct { + Expr string `pulumi:"expr"` + Variables []DerivedMetricQueryQueryVariable `pulumi:"variables"` +} + +// DerivedMetricQueryQueryInput is an input type that accepts DerivedMetricQueryQueryArgs and DerivedMetricQueryQueryOutput values. +// You can construct a concrete instance of `DerivedMetricQueryQueryInput` via: +// +// DerivedMetricQueryQueryArgs{...} +type DerivedMetricQueryQueryInput interface { + pulumi.Input + + ToDerivedMetricQueryQueryOutput() DerivedMetricQueryQueryOutput + ToDerivedMetricQueryQueryOutputWithContext(context.Context) DerivedMetricQueryQueryOutput +} + +type DerivedMetricQueryQueryArgs struct { + Expr pulumi.StringInput `pulumi:"expr"` + Variables DerivedMetricQueryQueryVariableArrayInput `pulumi:"variables"` +} + +func (DerivedMetricQueryQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQueryQuery)(nil)).Elem() +} + +func (i DerivedMetricQueryQueryArgs) ToDerivedMetricQueryQueryOutput() DerivedMetricQueryQueryOutput { + return i.ToDerivedMetricQueryQueryOutputWithContext(context.Background()) +} + +func (i DerivedMetricQueryQueryArgs) ToDerivedMetricQueryQueryOutputWithContext(ctx context.Context) DerivedMetricQueryQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQueryQueryOutput) +} + +type DerivedMetricQueryQueryOutput struct{ *pulumi.OutputState } + +func (DerivedMetricQueryQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQueryQuery)(nil)).Elem() +} + +func (o DerivedMetricQueryQueryOutput) ToDerivedMetricQueryQueryOutput() DerivedMetricQueryQueryOutput { + return o +} + +func (o DerivedMetricQueryQueryOutput) ToDerivedMetricQueryQueryOutputWithContext(ctx context.Context) DerivedMetricQueryQueryOutput { + return o +} + +func (o DerivedMetricQueryQueryOutput) Expr() pulumi.StringOutput { + return o.ApplyT(func(v DerivedMetricQueryQuery) string { return v.Expr }).(pulumi.StringOutput) +} + +func (o DerivedMetricQueryQueryOutput) Variables() DerivedMetricQueryQueryVariableArrayOutput { + return o.ApplyT(func(v DerivedMetricQueryQuery) []DerivedMetricQueryQueryVariable { return v.Variables }).(DerivedMetricQueryQueryVariableArrayOutput) +} + +type DerivedMetricQueryQueryVariable struct { + DefaultSelector string `pulumi:"defaultSelector"` + Name string `pulumi:"name"` +} + +// DerivedMetricQueryQueryVariableInput is an input type that accepts DerivedMetricQueryQueryVariableArgs and DerivedMetricQueryQueryVariableOutput values. +// You can construct a concrete instance of `DerivedMetricQueryQueryVariableInput` via: +// +// DerivedMetricQueryQueryVariableArgs{...} +type DerivedMetricQueryQueryVariableInput interface { + pulumi.Input + + ToDerivedMetricQueryQueryVariableOutput() DerivedMetricQueryQueryVariableOutput + ToDerivedMetricQueryQueryVariableOutputWithContext(context.Context) DerivedMetricQueryQueryVariableOutput +} + +type DerivedMetricQueryQueryVariableArgs struct { + DefaultSelector pulumi.StringInput `pulumi:"defaultSelector"` + Name pulumi.StringInput `pulumi:"name"` +} + +func (DerivedMetricQueryQueryVariableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQueryQueryVariable)(nil)).Elem() +} + +func (i DerivedMetricQueryQueryVariableArgs) ToDerivedMetricQueryQueryVariableOutput() DerivedMetricQueryQueryVariableOutput { + return i.ToDerivedMetricQueryQueryVariableOutputWithContext(context.Background()) +} + +func (i DerivedMetricQueryQueryVariableArgs) ToDerivedMetricQueryQueryVariableOutputWithContext(ctx context.Context) DerivedMetricQueryQueryVariableOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQueryQueryVariableOutput) +} + +// DerivedMetricQueryQueryVariableArrayInput is an input type that accepts DerivedMetricQueryQueryVariableArray and DerivedMetricQueryQueryVariableArrayOutput values. +// You can construct a concrete instance of `DerivedMetricQueryQueryVariableArrayInput` via: +// +// DerivedMetricQueryQueryVariableArray{ DerivedMetricQueryQueryVariableArgs{...} } +type DerivedMetricQueryQueryVariableArrayInput interface { + pulumi.Input + + ToDerivedMetricQueryQueryVariableArrayOutput() DerivedMetricQueryQueryVariableArrayOutput + ToDerivedMetricQueryQueryVariableArrayOutputWithContext(context.Context) DerivedMetricQueryQueryVariableArrayOutput +} + +type DerivedMetricQueryQueryVariableArray []DerivedMetricQueryQueryVariableInput + +func (DerivedMetricQueryQueryVariableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedMetricQueryQueryVariable)(nil)).Elem() +} + +func (i DerivedMetricQueryQueryVariableArray) ToDerivedMetricQueryQueryVariableArrayOutput() DerivedMetricQueryQueryVariableArrayOutput { + return i.ToDerivedMetricQueryQueryVariableArrayOutputWithContext(context.Background()) +} + +func (i DerivedMetricQueryQueryVariableArray) ToDerivedMetricQueryQueryVariableArrayOutputWithContext(ctx context.Context) DerivedMetricQueryQueryVariableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQueryQueryVariableArrayOutput) +} + +type DerivedMetricQueryQueryVariableOutput struct{ *pulumi.OutputState } + +func (DerivedMetricQueryQueryVariableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQueryQueryVariable)(nil)).Elem() +} + +func (o DerivedMetricQueryQueryVariableOutput) ToDerivedMetricQueryQueryVariableOutput() DerivedMetricQueryQueryVariableOutput { + return o +} + +func (o DerivedMetricQueryQueryVariableOutput) ToDerivedMetricQueryQueryVariableOutputWithContext(ctx context.Context) DerivedMetricQueryQueryVariableOutput { + return o +} + +func (o DerivedMetricQueryQueryVariableOutput) DefaultSelector() pulumi.StringOutput { + return o.ApplyT(func(v DerivedMetricQueryQueryVariable) string { return v.DefaultSelector }).(pulumi.StringOutput) +} + +func (o DerivedMetricQueryQueryVariableOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DerivedMetricQueryQueryVariable) string { return v.Name }).(pulumi.StringOutput) +} + +type DerivedMetricQueryQueryVariableArrayOutput struct{ *pulumi.OutputState } + +func (DerivedMetricQueryQueryVariableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DerivedMetricQueryQueryVariable)(nil)).Elem() +} + +func (o DerivedMetricQueryQueryVariableArrayOutput) ToDerivedMetricQueryQueryVariableArrayOutput() DerivedMetricQueryQueryVariableArrayOutput { + return o +} + +func (o DerivedMetricQueryQueryVariableArrayOutput) ToDerivedMetricQueryQueryVariableArrayOutputWithContext(ctx context.Context) DerivedMetricQueryQueryVariableArrayOutput { + return o +} + +func (o DerivedMetricQueryQueryVariableArrayOutput) Index(i pulumi.IntInput) DerivedMetricQueryQueryVariableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DerivedMetricQueryQueryVariable { + return vs[0].([]DerivedMetricQueryQueryVariable)[vs[1].(int)] + }).(DerivedMetricQueryQueryVariableOutput) +} + +type DerivedMetricQuerySelector struct { + Labels map[string]string `pulumi:"labels"` +} + +// DerivedMetricQuerySelectorInput is an input type that accepts DerivedMetricQuerySelectorArgs and DerivedMetricQuerySelectorOutput values. +// You can construct a concrete instance of `DerivedMetricQuerySelectorInput` via: +// +// DerivedMetricQuerySelectorArgs{...} +type DerivedMetricQuerySelectorInput interface { + pulumi.Input + + ToDerivedMetricQuerySelectorOutput() DerivedMetricQuerySelectorOutput + ToDerivedMetricQuerySelectorOutputWithContext(context.Context) DerivedMetricQuerySelectorOutput +} + +type DerivedMetricQuerySelectorArgs struct { + Labels pulumi.StringMapInput `pulumi:"labels"` +} + +func (DerivedMetricQuerySelectorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQuerySelector)(nil)).Elem() +} + +func (i DerivedMetricQuerySelectorArgs) ToDerivedMetricQuerySelectorOutput() DerivedMetricQuerySelectorOutput { + return i.ToDerivedMetricQuerySelectorOutputWithContext(context.Background()) +} + +func (i DerivedMetricQuerySelectorArgs) ToDerivedMetricQuerySelectorOutputWithContext(ctx context.Context) DerivedMetricQuerySelectorOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQuerySelectorOutput) +} + +func (i DerivedMetricQuerySelectorArgs) ToDerivedMetricQuerySelectorPtrOutput() DerivedMetricQuerySelectorPtrOutput { + return i.ToDerivedMetricQuerySelectorPtrOutputWithContext(context.Background()) +} + +func (i DerivedMetricQuerySelectorArgs) ToDerivedMetricQuerySelectorPtrOutputWithContext(ctx context.Context) DerivedMetricQuerySelectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQuerySelectorOutput).ToDerivedMetricQuerySelectorPtrOutputWithContext(ctx) +} + +// DerivedMetricQuerySelectorPtrInput is an input type that accepts DerivedMetricQuerySelectorArgs, DerivedMetricQuerySelectorPtr and DerivedMetricQuerySelectorPtrOutput values. +// You can construct a concrete instance of `DerivedMetricQuerySelectorPtrInput` via: +// +// DerivedMetricQuerySelectorArgs{...} +// +// or: +// +// nil +type DerivedMetricQuerySelectorPtrInput interface { + pulumi.Input + + ToDerivedMetricQuerySelectorPtrOutput() DerivedMetricQuerySelectorPtrOutput + ToDerivedMetricQuerySelectorPtrOutputWithContext(context.Context) DerivedMetricQuerySelectorPtrOutput +} + +type derivedMetricQuerySelectorPtrType DerivedMetricQuerySelectorArgs + +func DerivedMetricQuerySelectorPtr(v *DerivedMetricQuerySelectorArgs) DerivedMetricQuerySelectorPtrInput { + return (*derivedMetricQuerySelectorPtrType)(v) +} + +func (*derivedMetricQuerySelectorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedMetricQuerySelector)(nil)).Elem() +} + +func (i *derivedMetricQuerySelectorPtrType) ToDerivedMetricQuerySelectorPtrOutput() DerivedMetricQuerySelectorPtrOutput { + return i.ToDerivedMetricQuerySelectorPtrOutputWithContext(context.Background()) +} + +func (i *derivedMetricQuerySelectorPtrType) ToDerivedMetricQuerySelectorPtrOutputWithContext(ctx context.Context) DerivedMetricQuerySelectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DerivedMetricQuerySelectorPtrOutput) +} + +type DerivedMetricQuerySelectorOutput struct{ *pulumi.OutputState } + +func (DerivedMetricQuerySelectorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DerivedMetricQuerySelector)(nil)).Elem() +} + +func (o DerivedMetricQuerySelectorOutput) ToDerivedMetricQuerySelectorOutput() DerivedMetricQuerySelectorOutput { + return o +} + +func (o DerivedMetricQuerySelectorOutput) ToDerivedMetricQuerySelectorOutputWithContext(ctx context.Context) DerivedMetricQuerySelectorOutput { + return o +} + +func (o DerivedMetricQuerySelectorOutput) ToDerivedMetricQuerySelectorPtrOutput() DerivedMetricQuerySelectorPtrOutput { + return o.ToDerivedMetricQuerySelectorPtrOutputWithContext(context.Background()) +} + +func (o DerivedMetricQuerySelectorOutput) ToDerivedMetricQuerySelectorPtrOutputWithContext(ctx context.Context) DerivedMetricQuerySelectorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DerivedMetricQuerySelector) *DerivedMetricQuerySelector { + return &v + }).(DerivedMetricQuerySelectorPtrOutput) +} + +func (o DerivedMetricQuerySelectorOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v DerivedMetricQuerySelector) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +type DerivedMetricQuerySelectorPtrOutput struct{ *pulumi.OutputState } + +func (DerivedMetricQuerySelectorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DerivedMetricQuerySelector)(nil)).Elem() +} + +func (o DerivedMetricQuerySelectorPtrOutput) ToDerivedMetricQuerySelectorPtrOutput() DerivedMetricQuerySelectorPtrOutput { + return o +} + +func (o DerivedMetricQuerySelectorPtrOutput) ToDerivedMetricQuerySelectorPtrOutputWithContext(ctx context.Context) DerivedMetricQuerySelectorPtrOutput { + return o +} + +func (o DerivedMetricQuerySelectorPtrOutput) Elem() DerivedMetricQuerySelectorOutput { + return o.ApplyT(func(v *DerivedMetricQuerySelector) DerivedMetricQuerySelector { + if v != nil { + return *v + } + var ret DerivedMetricQuerySelector + return ret + }).(DerivedMetricQuerySelectorOutput) +} + +func (o DerivedMetricQuerySelectorPtrOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *DerivedMetricQuerySelector) map[string]string { + if v == nil { + return nil + } + return v.Labels + }).(pulumi.StringMapOutput) +} + +type DropRuleValueBasedDrop struct { + TargetDropValue float64 `pulumi:"targetDropValue"` +} + +// DropRuleValueBasedDropInput is an input type that accepts DropRuleValueBasedDropArgs and DropRuleValueBasedDropOutput values. +// You can construct a concrete instance of `DropRuleValueBasedDropInput` via: +// +// DropRuleValueBasedDropArgs{...} +type DropRuleValueBasedDropInput interface { + pulumi.Input + + ToDropRuleValueBasedDropOutput() DropRuleValueBasedDropOutput + ToDropRuleValueBasedDropOutputWithContext(context.Context) DropRuleValueBasedDropOutput +} + +type DropRuleValueBasedDropArgs struct { + TargetDropValue pulumi.Float64Input `pulumi:"targetDropValue"` +} + +func (DropRuleValueBasedDropArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DropRuleValueBasedDrop)(nil)).Elem() +} + +func (i DropRuleValueBasedDropArgs) ToDropRuleValueBasedDropOutput() DropRuleValueBasedDropOutput { + return i.ToDropRuleValueBasedDropOutputWithContext(context.Background()) +} + +func (i DropRuleValueBasedDropArgs) ToDropRuleValueBasedDropOutputWithContext(ctx context.Context) DropRuleValueBasedDropOutput { + return pulumi.ToOutputWithContext(ctx, i).(DropRuleValueBasedDropOutput) +} + +func (i DropRuleValueBasedDropArgs) ToDropRuleValueBasedDropPtrOutput() DropRuleValueBasedDropPtrOutput { + return i.ToDropRuleValueBasedDropPtrOutputWithContext(context.Background()) +} + +func (i DropRuleValueBasedDropArgs) ToDropRuleValueBasedDropPtrOutputWithContext(ctx context.Context) DropRuleValueBasedDropPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DropRuleValueBasedDropOutput).ToDropRuleValueBasedDropPtrOutputWithContext(ctx) +} + +// DropRuleValueBasedDropPtrInput is an input type that accepts DropRuleValueBasedDropArgs, DropRuleValueBasedDropPtr and DropRuleValueBasedDropPtrOutput values. +// You can construct a concrete instance of `DropRuleValueBasedDropPtrInput` via: +// +// DropRuleValueBasedDropArgs{...} +// +// or: +// +// nil +type DropRuleValueBasedDropPtrInput interface { + pulumi.Input + + ToDropRuleValueBasedDropPtrOutput() DropRuleValueBasedDropPtrOutput + ToDropRuleValueBasedDropPtrOutputWithContext(context.Context) DropRuleValueBasedDropPtrOutput +} + +type dropRuleValueBasedDropPtrType DropRuleValueBasedDropArgs + +func DropRuleValueBasedDropPtr(v *DropRuleValueBasedDropArgs) DropRuleValueBasedDropPtrInput { + return (*dropRuleValueBasedDropPtrType)(v) +} + +func (*dropRuleValueBasedDropPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DropRuleValueBasedDrop)(nil)).Elem() +} + +func (i *dropRuleValueBasedDropPtrType) ToDropRuleValueBasedDropPtrOutput() DropRuleValueBasedDropPtrOutput { + return i.ToDropRuleValueBasedDropPtrOutputWithContext(context.Background()) +} + +func (i *dropRuleValueBasedDropPtrType) ToDropRuleValueBasedDropPtrOutputWithContext(ctx context.Context) DropRuleValueBasedDropPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DropRuleValueBasedDropPtrOutput) +} + +type DropRuleValueBasedDropOutput struct{ *pulumi.OutputState } + +func (DropRuleValueBasedDropOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DropRuleValueBasedDrop)(nil)).Elem() +} + +func (o DropRuleValueBasedDropOutput) ToDropRuleValueBasedDropOutput() DropRuleValueBasedDropOutput { + return o +} + +func (o DropRuleValueBasedDropOutput) ToDropRuleValueBasedDropOutputWithContext(ctx context.Context) DropRuleValueBasedDropOutput { + return o +} + +func (o DropRuleValueBasedDropOutput) ToDropRuleValueBasedDropPtrOutput() DropRuleValueBasedDropPtrOutput { + return o.ToDropRuleValueBasedDropPtrOutputWithContext(context.Background()) +} + +func (o DropRuleValueBasedDropOutput) ToDropRuleValueBasedDropPtrOutputWithContext(ctx context.Context) DropRuleValueBasedDropPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DropRuleValueBasedDrop) *DropRuleValueBasedDrop { + return &v + }).(DropRuleValueBasedDropPtrOutput) +} + +func (o DropRuleValueBasedDropOutput) TargetDropValue() pulumi.Float64Output { + return o.ApplyT(func(v DropRuleValueBasedDrop) float64 { return v.TargetDropValue }).(pulumi.Float64Output) +} + +type DropRuleValueBasedDropPtrOutput struct{ *pulumi.OutputState } + +func (DropRuleValueBasedDropPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DropRuleValueBasedDrop)(nil)).Elem() +} + +func (o DropRuleValueBasedDropPtrOutput) ToDropRuleValueBasedDropPtrOutput() DropRuleValueBasedDropPtrOutput { + return o +} + +func (o DropRuleValueBasedDropPtrOutput) ToDropRuleValueBasedDropPtrOutputWithContext(ctx context.Context) DropRuleValueBasedDropPtrOutput { + return o +} + +func (o DropRuleValueBasedDropPtrOutput) Elem() DropRuleValueBasedDropOutput { + return o.ApplyT(func(v *DropRuleValueBasedDrop) DropRuleValueBasedDrop { + if v != nil { + return *v + } + var ret DropRuleValueBasedDrop + return ret + }).(DropRuleValueBasedDropOutput) +} + +func (o DropRuleValueBasedDropPtrOutput) TargetDropValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *DropRuleValueBasedDrop) *float64 { + if v == nil { + return nil + } + return &v.TargetDropValue + }).(pulumi.Float64PtrOutput) +} + +type GcpMetricsIntegrationMetricGroup struct { + Prefixes []string `pulumi:"prefixes"` + ProjectId string `pulumi:"projectId"` +} + +// GcpMetricsIntegrationMetricGroupInput is an input type that accepts GcpMetricsIntegrationMetricGroupArgs and GcpMetricsIntegrationMetricGroupOutput values. +// You can construct a concrete instance of `GcpMetricsIntegrationMetricGroupInput` via: +// +// GcpMetricsIntegrationMetricGroupArgs{...} +type GcpMetricsIntegrationMetricGroupInput interface { + pulumi.Input + + ToGcpMetricsIntegrationMetricGroupOutput() GcpMetricsIntegrationMetricGroupOutput + ToGcpMetricsIntegrationMetricGroupOutputWithContext(context.Context) GcpMetricsIntegrationMetricGroupOutput +} + +type GcpMetricsIntegrationMetricGroupArgs struct { + Prefixes pulumi.StringArrayInput `pulumi:"prefixes"` + ProjectId pulumi.StringInput `pulumi:"projectId"` +} + +func (GcpMetricsIntegrationMetricGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GcpMetricsIntegrationMetricGroup)(nil)).Elem() +} + +func (i GcpMetricsIntegrationMetricGroupArgs) ToGcpMetricsIntegrationMetricGroupOutput() GcpMetricsIntegrationMetricGroupOutput { + return i.ToGcpMetricsIntegrationMetricGroupOutputWithContext(context.Background()) +} + +func (i GcpMetricsIntegrationMetricGroupArgs) ToGcpMetricsIntegrationMetricGroupOutputWithContext(ctx context.Context) GcpMetricsIntegrationMetricGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationMetricGroupOutput) +} + +// GcpMetricsIntegrationMetricGroupArrayInput is an input type that accepts GcpMetricsIntegrationMetricGroupArray and GcpMetricsIntegrationMetricGroupArrayOutput values. +// You can construct a concrete instance of `GcpMetricsIntegrationMetricGroupArrayInput` via: +// +// GcpMetricsIntegrationMetricGroupArray{ GcpMetricsIntegrationMetricGroupArgs{...} } +type GcpMetricsIntegrationMetricGroupArrayInput interface { + pulumi.Input + + ToGcpMetricsIntegrationMetricGroupArrayOutput() GcpMetricsIntegrationMetricGroupArrayOutput + ToGcpMetricsIntegrationMetricGroupArrayOutputWithContext(context.Context) GcpMetricsIntegrationMetricGroupArrayOutput +} + +type GcpMetricsIntegrationMetricGroupArray []GcpMetricsIntegrationMetricGroupInput + +func (GcpMetricsIntegrationMetricGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GcpMetricsIntegrationMetricGroup)(nil)).Elem() +} + +func (i GcpMetricsIntegrationMetricGroupArray) ToGcpMetricsIntegrationMetricGroupArrayOutput() GcpMetricsIntegrationMetricGroupArrayOutput { + return i.ToGcpMetricsIntegrationMetricGroupArrayOutputWithContext(context.Background()) +} + +func (i GcpMetricsIntegrationMetricGroupArray) ToGcpMetricsIntegrationMetricGroupArrayOutputWithContext(ctx context.Context) GcpMetricsIntegrationMetricGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationMetricGroupArrayOutput) +} + +type GcpMetricsIntegrationMetricGroupOutput struct{ *pulumi.OutputState } + +func (GcpMetricsIntegrationMetricGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GcpMetricsIntegrationMetricGroup)(nil)).Elem() +} + +func (o GcpMetricsIntegrationMetricGroupOutput) ToGcpMetricsIntegrationMetricGroupOutput() GcpMetricsIntegrationMetricGroupOutput { + return o +} + +func (o GcpMetricsIntegrationMetricGroupOutput) ToGcpMetricsIntegrationMetricGroupOutputWithContext(ctx context.Context) GcpMetricsIntegrationMetricGroupOutput { + return o +} + +func (o GcpMetricsIntegrationMetricGroupOutput) Prefixes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GcpMetricsIntegrationMetricGroup) []string { return v.Prefixes }).(pulumi.StringArrayOutput) +} + +func (o GcpMetricsIntegrationMetricGroupOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GcpMetricsIntegrationMetricGroup) string { return v.ProjectId }).(pulumi.StringOutput) +} + +type GcpMetricsIntegrationMetricGroupArrayOutput struct{ *pulumi.OutputState } + +func (GcpMetricsIntegrationMetricGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GcpMetricsIntegrationMetricGroup)(nil)).Elem() +} + +func (o GcpMetricsIntegrationMetricGroupArrayOutput) ToGcpMetricsIntegrationMetricGroupArrayOutput() GcpMetricsIntegrationMetricGroupArrayOutput { + return o +} + +func (o GcpMetricsIntegrationMetricGroupArrayOutput) ToGcpMetricsIntegrationMetricGroupArrayOutputWithContext(ctx context.Context) GcpMetricsIntegrationMetricGroupArrayOutput { + return o +} + +func (o GcpMetricsIntegrationMetricGroupArrayOutput) Index(i pulumi.IntInput) GcpMetricsIntegrationMetricGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GcpMetricsIntegrationMetricGroup { + return vs[0].([]GcpMetricsIntegrationMetricGroup)[vs[1].(int)] + }).(GcpMetricsIntegrationMetricGroupOutput) +} + +type GcpMetricsIntegrationServiceAccount struct { + ClientEmail string `pulumi:"clientEmail"` +} + +// GcpMetricsIntegrationServiceAccountInput is an input type that accepts GcpMetricsIntegrationServiceAccountArgs and GcpMetricsIntegrationServiceAccountOutput values. +// You can construct a concrete instance of `GcpMetricsIntegrationServiceAccountInput` via: +// +// GcpMetricsIntegrationServiceAccountArgs{...} +type GcpMetricsIntegrationServiceAccountInput interface { + pulumi.Input + + ToGcpMetricsIntegrationServiceAccountOutput() GcpMetricsIntegrationServiceAccountOutput + ToGcpMetricsIntegrationServiceAccountOutputWithContext(context.Context) GcpMetricsIntegrationServiceAccountOutput +} + +type GcpMetricsIntegrationServiceAccountArgs struct { + ClientEmail pulumi.StringInput `pulumi:"clientEmail"` +} + +func (GcpMetricsIntegrationServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GcpMetricsIntegrationServiceAccount)(nil)).Elem() +} + +func (i GcpMetricsIntegrationServiceAccountArgs) ToGcpMetricsIntegrationServiceAccountOutput() GcpMetricsIntegrationServiceAccountOutput { + return i.ToGcpMetricsIntegrationServiceAccountOutputWithContext(context.Background()) +} + +func (i GcpMetricsIntegrationServiceAccountArgs) ToGcpMetricsIntegrationServiceAccountOutputWithContext(ctx context.Context) GcpMetricsIntegrationServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationServiceAccountOutput) +} + +func (i GcpMetricsIntegrationServiceAccountArgs) ToGcpMetricsIntegrationServiceAccountPtrOutput() GcpMetricsIntegrationServiceAccountPtrOutput { + return i.ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(context.Background()) +} + +func (i GcpMetricsIntegrationServiceAccountArgs) ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(ctx context.Context) GcpMetricsIntegrationServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationServiceAccountOutput).ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(ctx) +} + +// GcpMetricsIntegrationServiceAccountPtrInput is an input type that accepts GcpMetricsIntegrationServiceAccountArgs, GcpMetricsIntegrationServiceAccountPtr and GcpMetricsIntegrationServiceAccountPtrOutput values. +// You can construct a concrete instance of `GcpMetricsIntegrationServiceAccountPtrInput` via: +// +// GcpMetricsIntegrationServiceAccountArgs{...} +// +// or: +// +// nil +type GcpMetricsIntegrationServiceAccountPtrInput interface { + pulumi.Input + + ToGcpMetricsIntegrationServiceAccountPtrOutput() GcpMetricsIntegrationServiceAccountPtrOutput + ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(context.Context) GcpMetricsIntegrationServiceAccountPtrOutput +} + +type gcpMetricsIntegrationServiceAccountPtrType GcpMetricsIntegrationServiceAccountArgs + +func GcpMetricsIntegrationServiceAccountPtr(v *GcpMetricsIntegrationServiceAccountArgs) GcpMetricsIntegrationServiceAccountPtrInput { + return (*gcpMetricsIntegrationServiceAccountPtrType)(v) +} + +func (*gcpMetricsIntegrationServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GcpMetricsIntegrationServiceAccount)(nil)).Elem() +} + +func (i *gcpMetricsIntegrationServiceAccountPtrType) ToGcpMetricsIntegrationServiceAccountPtrOutput() GcpMetricsIntegrationServiceAccountPtrOutput { + return i.ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(context.Background()) +} + +func (i *gcpMetricsIntegrationServiceAccountPtrType) ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(ctx context.Context) GcpMetricsIntegrationServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GcpMetricsIntegrationServiceAccountPtrOutput) +} + +type GcpMetricsIntegrationServiceAccountOutput struct{ *pulumi.OutputState } + +func (GcpMetricsIntegrationServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GcpMetricsIntegrationServiceAccount)(nil)).Elem() +} + +func (o GcpMetricsIntegrationServiceAccountOutput) ToGcpMetricsIntegrationServiceAccountOutput() GcpMetricsIntegrationServiceAccountOutput { + return o +} + +func (o GcpMetricsIntegrationServiceAccountOutput) ToGcpMetricsIntegrationServiceAccountOutputWithContext(ctx context.Context) GcpMetricsIntegrationServiceAccountOutput { + return o +} + +func (o GcpMetricsIntegrationServiceAccountOutput) ToGcpMetricsIntegrationServiceAccountPtrOutput() GcpMetricsIntegrationServiceAccountPtrOutput { + return o.ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(context.Background()) +} + +func (o GcpMetricsIntegrationServiceAccountOutput) ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(ctx context.Context) GcpMetricsIntegrationServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GcpMetricsIntegrationServiceAccount) *GcpMetricsIntegrationServiceAccount { + return &v + }).(GcpMetricsIntegrationServiceAccountPtrOutput) +} + +func (o GcpMetricsIntegrationServiceAccountOutput) ClientEmail() pulumi.StringOutput { + return o.ApplyT(func(v GcpMetricsIntegrationServiceAccount) string { return v.ClientEmail }).(pulumi.StringOutput) +} + +type GcpMetricsIntegrationServiceAccountPtrOutput struct{ *pulumi.OutputState } + +func (GcpMetricsIntegrationServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GcpMetricsIntegrationServiceAccount)(nil)).Elem() +} + +func (o GcpMetricsIntegrationServiceAccountPtrOutput) ToGcpMetricsIntegrationServiceAccountPtrOutput() GcpMetricsIntegrationServiceAccountPtrOutput { + return o +} + +func (o GcpMetricsIntegrationServiceAccountPtrOutput) ToGcpMetricsIntegrationServiceAccountPtrOutputWithContext(ctx context.Context) GcpMetricsIntegrationServiceAccountPtrOutput { + return o +} + +func (o GcpMetricsIntegrationServiceAccountPtrOutput) Elem() GcpMetricsIntegrationServiceAccountOutput { + return o.ApplyT(func(v *GcpMetricsIntegrationServiceAccount) GcpMetricsIntegrationServiceAccount { + if v != nil { + return *v + } + var ret GcpMetricsIntegrationServiceAccount + return ret + }).(GcpMetricsIntegrationServiceAccountOutput) +} + +func (o GcpMetricsIntegrationServiceAccountPtrOutput) ClientEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GcpMetricsIntegrationServiceAccount) *string { + if v == nil { + return nil + } + return &v.ClientEmail + }).(pulumi.StringPtrOutput) +} + +type MappingRuleStoragePolicy struct { + Resolution string `pulumi:"resolution"` + Retention string `pulumi:"retention"` +} + +// MappingRuleStoragePolicyInput is an input type that accepts MappingRuleStoragePolicyArgs and MappingRuleStoragePolicyOutput values. +// You can construct a concrete instance of `MappingRuleStoragePolicyInput` via: +// +// MappingRuleStoragePolicyArgs{...} +type MappingRuleStoragePolicyInput interface { + pulumi.Input + + ToMappingRuleStoragePolicyOutput() MappingRuleStoragePolicyOutput + ToMappingRuleStoragePolicyOutputWithContext(context.Context) MappingRuleStoragePolicyOutput +} + +type MappingRuleStoragePolicyArgs struct { + Resolution pulumi.StringInput `pulumi:"resolution"` + Retention pulumi.StringInput `pulumi:"retention"` +} + +func (MappingRuleStoragePolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MappingRuleStoragePolicy)(nil)).Elem() +} + +func (i MappingRuleStoragePolicyArgs) ToMappingRuleStoragePolicyOutput() MappingRuleStoragePolicyOutput { + return i.ToMappingRuleStoragePolicyOutputWithContext(context.Background()) +} + +func (i MappingRuleStoragePolicyArgs) ToMappingRuleStoragePolicyOutputWithContext(ctx context.Context) MappingRuleStoragePolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(MappingRuleStoragePolicyOutput) +} + +func (i MappingRuleStoragePolicyArgs) ToMappingRuleStoragePolicyPtrOutput() MappingRuleStoragePolicyPtrOutput { + return i.ToMappingRuleStoragePolicyPtrOutputWithContext(context.Background()) +} + +func (i MappingRuleStoragePolicyArgs) ToMappingRuleStoragePolicyPtrOutputWithContext(ctx context.Context) MappingRuleStoragePolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MappingRuleStoragePolicyOutput).ToMappingRuleStoragePolicyPtrOutputWithContext(ctx) +} + +// MappingRuleStoragePolicyPtrInput is an input type that accepts MappingRuleStoragePolicyArgs, MappingRuleStoragePolicyPtr and MappingRuleStoragePolicyPtrOutput values. +// You can construct a concrete instance of `MappingRuleStoragePolicyPtrInput` via: +// +// MappingRuleStoragePolicyArgs{...} +// +// or: +// +// nil +type MappingRuleStoragePolicyPtrInput interface { + pulumi.Input + + ToMappingRuleStoragePolicyPtrOutput() MappingRuleStoragePolicyPtrOutput + ToMappingRuleStoragePolicyPtrOutputWithContext(context.Context) MappingRuleStoragePolicyPtrOutput +} + +type mappingRuleStoragePolicyPtrType MappingRuleStoragePolicyArgs + +func MappingRuleStoragePolicyPtr(v *MappingRuleStoragePolicyArgs) MappingRuleStoragePolicyPtrInput { + return (*mappingRuleStoragePolicyPtrType)(v) +} + +func (*mappingRuleStoragePolicyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MappingRuleStoragePolicy)(nil)).Elem() +} + +func (i *mappingRuleStoragePolicyPtrType) ToMappingRuleStoragePolicyPtrOutput() MappingRuleStoragePolicyPtrOutput { + return i.ToMappingRuleStoragePolicyPtrOutputWithContext(context.Background()) +} + +func (i *mappingRuleStoragePolicyPtrType) ToMappingRuleStoragePolicyPtrOutputWithContext(ctx context.Context) MappingRuleStoragePolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MappingRuleStoragePolicyPtrOutput) +} + +type MappingRuleStoragePolicyOutput struct{ *pulumi.OutputState } + +func (MappingRuleStoragePolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MappingRuleStoragePolicy)(nil)).Elem() +} + +func (o MappingRuleStoragePolicyOutput) ToMappingRuleStoragePolicyOutput() MappingRuleStoragePolicyOutput { + return o +} + +func (o MappingRuleStoragePolicyOutput) ToMappingRuleStoragePolicyOutputWithContext(ctx context.Context) MappingRuleStoragePolicyOutput { + return o +} + +func (o MappingRuleStoragePolicyOutput) ToMappingRuleStoragePolicyPtrOutput() MappingRuleStoragePolicyPtrOutput { + return o.ToMappingRuleStoragePolicyPtrOutputWithContext(context.Background()) +} + +func (o MappingRuleStoragePolicyOutput) ToMappingRuleStoragePolicyPtrOutputWithContext(ctx context.Context) MappingRuleStoragePolicyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MappingRuleStoragePolicy) *MappingRuleStoragePolicy { + return &v + }).(MappingRuleStoragePolicyPtrOutput) +} + +func (o MappingRuleStoragePolicyOutput) Resolution() pulumi.StringOutput { + return o.ApplyT(func(v MappingRuleStoragePolicy) string { return v.Resolution }).(pulumi.StringOutput) +} + +func (o MappingRuleStoragePolicyOutput) Retention() pulumi.StringOutput { + return o.ApplyT(func(v MappingRuleStoragePolicy) string { return v.Retention }).(pulumi.StringOutput) +} + +type MappingRuleStoragePolicyPtrOutput struct{ *pulumi.OutputState } + +func (MappingRuleStoragePolicyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MappingRuleStoragePolicy)(nil)).Elem() +} + +func (o MappingRuleStoragePolicyPtrOutput) ToMappingRuleStoragePolicyPtrOutput() MappingRuleStoragePolicyPtrOutput { + return o +} + +func (o MappingRuleStoragePolicyPtrOutput) ToMappingRuleStoragePolicyPtrOutputWithContext(ctx context.Context) MappingRuleStoragePolicyPtrOutput { + return o +} + +func (o MappingRuleStoragePolicyPtrOutput) Elem() MappingRuleStoragePolicyOutput { + return o.ApplyT(func(v *MappingRuleStoragePolicy) MappingRuleStoragePolicy { + if v != nil { + return *v + } + var ret MappingRuleStoragePolicy + return ret + }).(MappingRuleStoragePolicyOutput) +} + +func (o MappingRuleStoragePolicyPtrOutput) Resolution() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MappingRuleStoragePolicy) *string { + if v == nil { + return nil + } + return &v.Resolution + }).(pulumi.StringPtrOutput) +} + +func (o MappingRuleStoragePolicyPtrOutput) Retention() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MappingRuleStoragePolicy) *string { + if v == nil { + return nil + } + return &v.Retention + }).(pulumi.StringPtrOutput) +} + +type MonitorQuery struct { + GraphiteExpr *string `pulumi:"graphiteExpr"` + PrometheusExpr *string `pulumi:"prometheusExpr"` +} + +// MonitorQueryInput is an input type that accepts MonitorQueryArgs and MonitorQueryOutput values. +// You can construct a concrete instance of `MonitorQueryInput` via: +// +// MonitorQueryArgs{...} +type MonitorQueryInput interface { + pulumi.Input + + ToMonitorQueryOutput() MonitorQueryOutput + ToMonitorQueryOutputWithContext(context.Context) MonitorQueryOutput +} + +type MonitorQueryArgs struct { + GraphiteExpr pulumi.StringPtrInput `pulumi:"graphiteExpr"` + PrometheusExpr pulumi.StringPtrInput `pulumi:"prometheusExpr"` +} + +func (MonitorQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorQuery)(nil)).Elem() +} + +func (i MonitorQueryArgs) ToMonitorQueryOutput() MonitorQueryOutput { + return i.ToMonitorQueryOutputWithContext(context.Background()) +} + +func (i MonitorQueryArgs) ToMonitorQueryOutputWithContext(ctx context.Context) MonitorQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorQueryOutput) +} + +func (i MonitorQueryArgs) ToMonitorQueryPtrOutput() MonitorQueryPtrOutput { + return i.ToMonitorQueryPtrOutputWithContext(context.Background()) +} + +func (i MonitorQueryArgs) ToMonitorQueryPtrOutputWithContext(ctx context.Context) MonitorQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorQueryOutput).ToMonitorQueryPtrOutputWithContext(ctx) +} + +// MonitorQueryPtrInput is an input type that accepts MonitorQueryArgs, MonitorQueryPtr and MonitorQueryPtrOutput values. +// You can construct a concrete instance of `MonitorQueryPtrInput` via: +// +// MonitorQueryArgs{...} +// +// or: +// +// nil +type MonitorQueryPtrInput interface { + pulumi.Input + + ToMonitorQueryPtrOutput() MonitorQueryPtrOutput + ToMonitorQueryPtrOutputWithContext(context.Context) MonitorQueryPtrOutput +} + +type monitorQueryPtrType MonitorQueryArgs + +func MonitorQueryPtr(v *MonitorQueryArgs) MonitorQueryPtrInput { + return (*monitorQueryPtrType)(v) +} + +func (*monitorQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorQuery)(nil)).Elem() +} + +func (i *monitorQueryPtrType) ToMonitorQueryPtrOutput() MonitorQueryPtrOutput { + return i.ToMonitorQueryPtrOutputWithContext(context.Background()) +} + +func (i *monitorQueryPtrType) ToMonitorQueryPtrOutputWithContext(ctx context.Context) MonitorQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorQueryPtrOutput) +} + +type MonitorQueryOutput struct{ *pulumi.OutputState } + +func (MonitorQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorQuery)(nil)).Elem() +} + +func (o MonitorQueryOutput) ToMonitorQueryOutput() MonitorQueryOutput { + return o +} + +func (o MonitorQueryOutput) ToMonitorQueryOutputWithContext(ctx context.Context) MonitorQueryOutput { + return o +} + +func (o MonitorQueryOutput) ToMonitorQueryPtrOutput() MonitorQueryPtrOutput { + return o.ToMonitorQueryPtrOutputWithContext(context.Background()) +} + +func (o MonitorQueryOutput) ToMonitorQueryPtrOutputWithContext(ctx context.Context) MonitorQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorQuery) *MonitorQuery { + return &v + }).(MonitorQueryPtrOutput) +} + +func (o MonitorQueryOutput) GraphiteExpr() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorQuery) *string { return v.GraphiteExpr }).(pulumi.StringPtrOutput) +} + +func (o MonitorQueryOutput) PrometheusExpr() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorQuery) *string { return v.PrometheusExpr }).(pulumi.StringPtrOutput) +} + +type MonitorQueryPtrOutput struct{ *pulumi.OutputState } + +func (MonitorQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorQuery)(nil)).Elem() +} + +func (o MonitorQueryPtrOutput) ToMonitorQueryPtrOutput() MonitorQueryPtrOutput { + return o +} + +func (o MonitorQueryPtrOutput) ToMonitorQueryPtrOutputWithContext(ctx context.Context) MonitorQueryPtrOutput { + return o +} + +func (o MonitorQueryPtrOutput) Elem() MonitorQueryOutput { + return o.ApplyT(func(v *MonitorQuery) MonitorQuery { + if v != nil { + return *v + } + var ret MonitorQuery + return ret + }).(MonitorQueryOutput) +} + +func (o MonitorQueryPtrOutput) GraphiteExpr() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorQuery) *string { + if v == nil { + return nil + } + return v.GraphiteExpr + }).(pulumi.StringPtrOutput) +} + +func (o MonitorQueryPtrOutput) PrometheusExpr() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorQuery) *string { + if v == nil { + return nil + } + return v.PrometheusExpr + }).(pulumi.StringPtrOutput) +} + +type MonitorSchedule struct { + Ranges []MonitorScheduleRange `pulumi:"ranges"` + Timezone string `pulumi:"timezone"` +} + +// MonitorScheduleInput is an input type that accepts MonitorScheduleArgs and MonitorScheduleOutput values. +// You can construct a concrete instance of `MonitorScheduleInput` via: +// +// MonitorScheduleArgs{...} +type MonitorScheduleInput interface { + pulumi.Input + + ToMonitorScheduleOutput() MonitorScheduleOutput + ToMonitorScheduleOutputWithContext(context.Context) MonitorScheduleOutput +} + +type MonitorScheduleArgs struct { + Ranges MonitorScheduleRangeArrayInput `pulumi:"ranges"` + Timezone pulumi.StringInput `pulumi:"timezone"` +} + +func (MonitorScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedule)(nil)).Elem() +} + +func (i MonitorScheduleArgs) ToMonitorScheduleOutput() MonitorScheduleOutput { + return i.ToMonitorScheduleOutputWithContext(context.Background()) +} + +func (i MonitorScheduleArgs) ToMonitorScheduleOutputWithContext(ctx context.Context) MonitorScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorScheduleOutput) +} + +func (i MonitorScheduleArgs) ToMonitorSchedulePtrOutput() MonitorSchedulePtrOutput { + return i.ToMonitorSchedulePtrOutputWithContext(context.Background()) +} + +func (i MonitorScheduleArgs) ToMonitorSchedulePtrOutputWithContext(ctx context.Context) MonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorScheduleOutput).ToMonitorSchedulePtrOutputWithContext(ctx) +} + +// MonitorSchedulePtrInput is an input type that accepts MonitorScheduleArgs, MonitorSchedulePtr and MonitorSchedulePtrOutput values. +// You can construct a concrete instance of `MonitorSchedulePtrInput` via: +// +// MonitorScheduleArgs{...} +// +// or: +// +// nil +type MonitorSchedulePtrInput interface { + pulumi.Input + + ToMonitorSchedulePtrOutput() MonitorSchedulePtrOutput + ToMonitorSchedulePtrOutputWithContext(context.Context) MonitorSchedulePtrOutput +} + +type monitorSchedulePtrType MonitorScheduleArgs + +func MonitorSchedulePtr(v *MonitorScheduleArgs) MonitorSchedulePtrInput { + return (*monitorSchedulePtrType)(v) +} + +func (*monitorSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorSchedule)(nil)).Elem() +} + +func (i *monitorSchedulePtrType) ToMonitorSchedulePtrOutput() MonitorSchedulePtrOutput { + return i.ToMonitorSchedulePtrOutputWithContext(context.Background()) +} + +func (i *monitorSchedulePtrType) ToMonitorSchedulePtrOutputWithContext(ctx context.Context) MonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulePtrOutput) +} + +type MonitorScheduleOutput struct{ *pulumi.OutputState } + +func (MonitorScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedule)(nil)).Elem() +} + +func (o MonitorScheduleOutput) ToMonitorScheduleOutput() MonitorScheduleOutput { + return o +} + +func (o MonitorScheduleOutput) ToMonitorScheduleOutputWithContext(ctx context.Context) MonitorScheduleOutput { + return o +} + +func (o MonitorScheduleOutput) ToMonitorSchedulePtrOutput() MonitorSchedulePtrOutput { + return o.ToMonitorSchedulePtrOutputWithContext(context.Background()) +} + +func (o MonitorScheduleOutput) ToMonitorSchedulePtrOutputWithContext(ctx context.Context) MonitorSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorSchedule) *MonitorSchedule { + return &v + }).(MonitorSchedulePtrOutput) +} + +func (o MonitorScheduleOutput) Ranges() MonitorScheduleRangeArrayOutput { + return o.ApplyT(func(v MonitorSchedule) []MonitorScheduleRange { return v.Ranges }).(MonitorScheduleRangeArrayOutput) +} + +func (o MonitorScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSchedule) string { return v.Timezone }).(pulumi.StringOutput) +} + +type MonitorSchedulePtrOutput struct{ *pulumi.OutputState } + +func (MonitorSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorSchedule)(nil)).Elem() +} + +func (o MonitorSchedulePtrOutput) ToMonitorSchedulePtrOutput() MonitorSchedulePtrOutput { + return o +} + +func (o MonitorSchedulePtrOutput) ToMonitorSchedulePtrOutputWithContext(ctx context.Context) MonitorSchedulePtrOutput { + return o +} + +func (o MonitorSchedulePtrOutput) Elem() MonitorScheduleOutput { + return o.ApplyT(func(v *MonitorSchedule) MonitorSchedule { + if v != nil { + return *v + } + var ret MonitorSchedule + return ret + }).(MonitorScheduleOutput) +} + +func (o MonitorSchedulePtrOutput) Ranges() MonitorScheduleRangeArrayOutput { + return o.ApplyT(func(v *MonitorSchedule) []MonitorScheduleRange { + if v == nil { + return nil + } + return v.Ranges + }).(MonitorScheduleRangeArrayOutput) +} + +func (o MonitorSchedulePtrOutput) Timezone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorSchedule) *string { + if v == nil { + return nil + } + return &v.Timezone + }).(pulumi.StringPtrOutput) +} + +type MonitorScheduleRange struct { + Day string `pulumi:"day"` + End string `pulumi:"end"` + Start string `pulumi:"start"` +} + +// MonitorScheduleRangeInput is an input type that accepts MonitorScheduleRangeArgs and MonitorScheduleRangeOutput values. +// You can construct a concrete instance of `MonitorScheduleRangeInput` via: +// +// MonitorScheduleRangeArgs{...} +type MonitorScheduleRangeInput interface { + pulumi.Input + + ToMonitorScheduleRangeOutput() MonitorScheduleRangeOutput + ToMonitorScheduleRangeOutputWithContext(context.Context) MonitorScheduleRangeOutput +} + +type MonitorScheduleRangeArgs struct { + Day pulumi.StringInput `pulumi:"day"` + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` +} + +func (MonitorScheduleRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorScheduleRange)(nil)).Elem() +} + +func (i MonitorScheduleRangeArgs) ToMonitorScheduleRangeOutput() MonitorScheduleRangeOutput { + return i.ToMonitorScheduleRangeOutputWithContext(context.Background()) +} + +func (i MonitorScheduleRangeArgs) ToMonitorScheduleRangeOutputWithContext(ctx context.Context) MonitorScheduleRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorScheduleRangeOutput) +} + +// MonitorScheduleRangeArrayInput is an input type that accepts MonitorScheduleRangeArray and MonitorScheduleRangeArrayOutput values. +// You can construct a concrete instance of `MonitorScheduleRangeArrayInput` via: +// +// MonitorScheduleRangeArray{ MonitorScheduleRangeArgs{...} } +type MonitorScheduleRangeArrayInput interface { + pulumi.Input + + ToMonitorScheduleRangeArrayOutput() MonitorScheduleRangeArrayOutput + ToMonitorScheduleRangeArrayOutputWithContext(context.Context) MonitorScheduleRangeArrayOutput +} + +type MonitorScheduleRangeArray []MonitorScheduleRangeInput + +func (MonitorScheduleRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorScheduleRange)(nil)).Elem() +} + +func (i MonitorScheduleRangeArray) ToMonitorScheduleRangeArrayOutput() MonitorScheduleRangeArrayOutput { + return i.ToMonitorScheduleRangeArrayOutputWithContext(context.Background()) +} + +func (i MonitorScheduleRangeArray) ToMonitorScheduleRangeArrayOutputWithContext(ctx context.Context) MonitorScheduleRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorScheduleRangeArrayOutput) +} + +type MonitorScheduleRangeOutput struct{ *pulumi.OutputState } + +func (MonitorScheduleRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorScheduleRange)(nil)).Elem() +} + +func (o MonitorScheduleRangeOutput) ToMonitorScheduleRangeOutput() MonitorScheduleRangeOutput { + return o +} + +func (o MonitorScheduleRangeOutput) ToMonitorScheduleRangeOutputWithContext(ctx context.Context) MonitorScheduleRangeOutput { + return o +} + +func (o MonitorScheduleRangeOutput) Day() pulumi.StringOutput { + return o.ApplyT(func(v MonitorScheduleRange) string { return v.Day }).(pulumi.StringOutput) +} + +func (o MonitorScheduleRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v MonitorScheduleRange) string { return v.End }).(pulumi.StringOutput) +} + +func (o MonitorScheduleRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v MonitorScheduleRange) string { return v.Start }).(pulumi.StringOutput) +} + +type MonitorScheduleRangeArrayOutput struct{ *pulumi.OutputState } + +func (MonitorScheduleRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorScheduleRange)(nil)).Elem() +} + +func (o MonitorScheduleRangeArrayOutput) ToMonitorScheduleRangeArrayOutput() MonitorScheduleRangeArrayOutput { + return o +} + +func (o MonitorScheduleRangeArrayOutput) ToMonitorScheduleRangeArrayOutputWithContext(ctx context.Context) MonitorScheduleRangeArrayOutput { + return o +} + +func (o MonitorScheduleRangeArrayOutput) Index(i pulumi.IntInput) MonitorScheduleRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorScheduleRange { + return vs[0].([]MonitorScheduleRange)[vs[1].(int)] + }).(MonitorScheduleRangeOutput) +} + +type MonitorSeriesConditions struct { + Conditions []MonitorSeriesConditionsCondition `pulumi:"conditions"` + Overrides []MonitorSeriesConditionsOverride `pulumi:"overrides"` +} + +// MonitorSeriesConditionsInput is an input type that accepts MonitorSeriesConditionsArgs and MonitorSeriesConditionsOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsInput` via: +// +// MonitorSeriesConditionsArgs{...} +type MonitorSeriesConditionsInput interface { + pulumi.Input + + ToMonitorSeriesConditionsOutput() MonitorSeriesConditionsOutput + ToMonitorSeriesConditionsOutputWithContext(context.Context) MonitorSeriesConditionsOutput +} + +type MonitorSeriesConditionsArgs struct { + Conditions MonitorSeriesConditionsConditionArrayInput `pulumi:"conditions"` + Overrides MonitorSeriesConditionsOverrideArrayInput `pulumi:"overrides"` +} + +func (MonitorSeriesConditionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditions)(nil)).Elem() +} + +func (i MonitorSeriesConditionsArgs) ToMonitorSeriesConditionsOutput() MonitorSeriesConditionsOutput { + return i.ToMonitorSeriesConditionsOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsArgs) ToMonitorSeriesConditionsOutputWithContext(ctx context.Context) MonitorSeriesConditionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOutput) +} + +func (i MonitorSeriesConditionsArgs) ToMonitorSeriesConditionsPtrOutput() MonitorSeriesConditionsPtrOutput { + return i.ToMonitorSeriesConditionsPtrOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsArgs) ToMonitorSeriesConditionsPtrOutputWithContext(ctx context.Context) MonitorSeriesConditionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOutput).ToMonitorSeriesConditionsPtrOutputWithContext(ctx) +} + +// MonitorSeriesConditionsPtrInput is an input type that accepts MonitorSeriesConditionsArgs, MonitorSeriesConditionsPtr and MonitorSeriesConditionsPtrOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsPtrInput` via: +// +// MonitorSeriesConditionsArgs{...} +// +// or: +// +// nil +type MonitorSeriesConditionsPtrInput interface { + pulumi.Input + + ToMonitorSeriesConditionsPtrOutput() MonitorSeriesConditionsPtrOutput + ToMonitorSeriesConditionsPtrOutputWithContext(context.Context) MonitorSeriesConditionsPtrOutput +} + +type monitorSeriesConditionsPtrType MonitorSeriesConditionsArgs + +func MonitorSeriesConditionsPtr(v *MonitorSeriesConditionsArgs) MonitorSeriesConditionsPtrInput { + return (*monitorSeriesConditionsPtrType)(v) +} + +func (*monitorSeriesConditionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorSeriesConditions)(nil)).Elem() +} + +func (i *monitorSeriesConditionsPtrType) ToMonitorSeriesConditionsPtrOutput() MonitorSeriesConditionsPtrOutput { + return i.ToMonitorSeriesConditionsPtrOutputWithContext(context.Background()) +} + +func (i *monitorSeriesConditionsPtrType) ToMonitorSeriesConditionsPtrOutputWithContext(ctx context.Context) MonitorSeriesConditionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsPtrOutput) +} + +type MonitorSeriesConditionsOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditions)(nil)).Elem() +} + +func (o MonitorSeriesConditionsOutput) ToMonitorSeriesConditionsOutput() MonitorSeriesConditionsOutput { + return o +} + +func (o MonitorSeriesConditionsOutput) ToMonitorSeriesConditionsOutputWithContext(ctx context.Context) MonitorSeriesConditionsOutput { + return o +} + +func (o MonitorSeriesConditionsOutput) ToMonitorSeriesConditionsPtrOutput() MonitorSeriesConditionsPtrOutput { + return o.ToMonitorSeriesConditionsPtrOutputWithContext(context.Background()) +} + +func (o MonitorSeriesConditionsOutput) ToMonitorSeriesConditionsPtrOutputWithContext(ctx context.Context) MonitorSeriesConditionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorSeriesConditions) *MonitorSeriesConditions { + return &v + }).(MonitorSeriesConditionsPtrOutput) +} + +func (o MonitorSeriesConditionsOutput) Conditions() MonitorSeriesConditionsConditionArrayOutput { + return o.ApplyT(func(v MonitorSeriesConditions) []MonitorSeriesConditionsCondition { return v.Conditions }).(MonitorSeriesConditionsConditionArrayOutput) +} + +func (o MonitorSeriesConditionsOutput) Overrides() MonitorSeriesConditionsOverrideArrayOutput { + return o.ApplyT(func(v MonitorSeriesConditions) []MonitorSeriesConditionsOverride { return v.Overrides }).(MonitorSeriesConditionsOverrideArrayOutput) +} + +type MonitorSeriesConditionsPtrOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorSeriesConditions)(nil)).Elem() +} + +func (o MonitorSeriesConditionsPtrOutput) ToMonitorSeriesConditionsPtrOutput() MonitorSeriesConditionsPtrOutput { + return o +} + +func (o MonitorSeriesConditionsPtrOutput) ToMonitorSeriesConditionsPtrOutputWithContext(ctx context.Context) MonitorSeriesConditionsPtrOutput { + return o +} + +func (o MonitorSeriesConditionsPtrOutput) Elem() MonitorSeriesConditionsOutput { + return o.ApplyT(func(v *MonitorSeriesConditions) MonitorSeriesConditions { + if v != nil { + return *v + } + var ret MonitorSeriesConditions + return ret + }).(MonitorSeriesConditionsOutput) +} + +func (o MonitorSeriesConditionsPtrOutput) Conditions() MonitorSeriesConditionsConditionArrayOutput { + return o.ApplyT(func(v *MonitorSeriesConditions) []MonitorSeriesConditionsCondition { + if v == nil { + return nil + } + return v.Conditions + }).(MonitorSeriesConditionsConditionArrayOutput) +} + +func (o MonitorSeriesConditionsPtrOutput) Overrides() MonitorSeriesConditionsOverrideArrayOutput { + return o.ApplyT(func(v *MonitorSeriesConditions) []MonitorSeriesConditionsOverride { + if v == nil { + return nil + } + return v.Overrides + }).(MonitorSeriesConditionsOverrideArrayOutput) +} + +type MonitorSeriesConditionsCondition struct { + Op string `pulumi:"op"` + ResolveSustain *string `pulumi:"resolveSustain"` + Severity string `pulumi:"severity"` + Sustain *string `pulumi:"sustain"` + Value *float64 `pulumi:"value"` +} + +// MonitorSeriesConditionsConditionInput is an input type that accepts MonitorSeriesConditionsConditionArgs and MonitorSeriesConditionsConditionOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsConditionInput` via: +// +// MonitorSeriesConditionsConditionArgs{...} +type MonitorSeriesConditionsConditionInput interface { + pulumi.Input + + ToMonitorSeriesConditionsConditionOutput() MonitorSeriesConditionsConditionOutput + ToMonitorSeriesConditionsConditionOutputWithContext(context.Context) MonitorSeriesConditionsConditionOutput +} + +type MonitorSeriesConditionsConditionArgs struct { + Op pulumi.StringInput `pulumi:"op"` + ResolveSustain pulumi.StringPtrInput `pulumi:"resolveSustain"` + Severity pulumi.StringInput `pulumi:"severity"` + Sustain pulumi.StringPtrInput `pulumi:"sustain"` + Value pulumi.Float64PtrInput `pulumi:"value"` +} + +func (MonitorSeriesConditionsConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsCondition)(nil)).Elem() +} + +func (i MonitorSeriesConditionsConditionArgs) ToMonitorSeriesConditionsConditionOutput() MonitorSeriesConditionsConditionOutput { + return i.ToMonitorSeriesConditionsConditionOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsConditionArgs) ToMonitorSeriesConditionsConditionOutputWithContext(ctx context.Context) MonitorSeriesConditionsConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsConditionOutput) +} + +// MonitorSeriesConditionsConditionArrayInput is an input type that accepts MonitorSeriesConditionsConditionArray and MonitorSeriesConditionsConditionArrayOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsConditionArrayInput` via: +// +// MonitorSeriesConditionsConditionArray{ MonitorSeriesConditionsConditionArgs{...} } +type MonitorSeriesConditionsConditionArrayInput interface { + pulumi.Input + + ToMonitorSeriesConditionsConditionArrayOutput() MonitorSeriesConditionsConditionArrayOutput + ToMonitorSeriesConditionsConditionArrayOutputWithContext(context.Context) MonitorSeriesConditionsConditionArrayOutput +} + +type MonitorSeriesConditionsConditionArray []MonitorSeriesConditionsConditionInput + +func (MonitorSeriesConditionsConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsCondition)(nil)).Elem() +} + +func (i MonitorSeriesConditionsConditionArray) ToMonitorSeriesConditionsConditionArrayOutput() MonitorSeriesConditionsConditionArrayOutput { + return i.ToMonitorSeriesConditionsConditionArrayOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsConditionArray) ToMonitorSeriesConditionsConditionArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsConditionArrayOutput) +} + +type MonitorSeriesConditionsConditionOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsCondition)(nil)).Elem() +} + +func (o MonitorSeriesConditionsConditionOutput) ToMonitorSeriesConditionsConditionOutput() MonitorSeriesConditionsConditionOutput { + return o +} + +func (o MonitorSeriesConditionsConditionOutput) ToMonitorSeriesConditionsConditionOutputWithContext(ctx context.Context) MonitorSeriesConditionsConditionOutput { + return o +} + +func (o MonitorSeriesConditionsConditionOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSeriesConditionsCondition) string { return v.Op }).(pulumi.StringOutput) +} + +func (o MonitorSeriesConditionsConditionOutput) ResolveSustain() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorSeriesConditionsCondition) *string { return v.ResolveSustain }).(pulumi.StringPtrOutput) +} + +func (o MonitorSeriesConditionsConditionOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSeriesConditionsCondition) string { return v.Severity }).(pulumi.StringOutput) +} + +func (o MonitorSeriesConditionsConditionOutput) Sustain() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorSeriesConditionsCondition) *string { return v.Sustain }).(pulumi.StringPtrOutput) +} + +func (o MonitorSeriesConditionsConditionOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitorSeriesConditionsCondition) *float64 { return v.Value }).(pulumi.Float64PtrOutput) +} + +type MonitorSeriesConditionsConditionArrayOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsCondition)(nil)).Elem() +} + +func (o MonitorSeriesConditionsConditionArrayOutput) ToMonitorSeriesConditionsConditionArrayOutput() MonitorSeriesConditionsConditionArrayOutput { + return o +} + +func (o MonitorSeriesConditionsConditionArrayOutput) ToMonitorSeriesConditionsConditionArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsConditionArrayOutput { + return o +} + +func (o MonitorSeriesConditionsConditionArrayOutput) Index(i pulumi.IntInput) MonitorSeriesConditionsConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSeriesConditionsCondition { + return vs[0].([]MonitorSeriesConditionsCondition)[vs[1].(int)] + }).(MonitorSeriesConditionsConditionOutput) +} + +type MonitorSeriesConditionsOverride struct { + Conditions []MonitorSeriesConditionsOverrideCondition `pulumi:"conditions"` + LabelMatchers []MonitorSeriesConditionsOverrideLabelMatcher `pulumi:"labelMatchers"` +} + +// MonitorSeriesConditionsOverrideInput is an input type that accepts MonitorSeriesConditionsOverrideArgs and MonitorSeriesConditionsOverrideOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsOverrideInput` via: +// +// MonitorSeriesConditionsOverrideArgs{...} +type MonitorSeriesConditionsOverrideInput interface { + pulumi.Input + + ToMonitorSeriesConditionsOverrideOutput() MonitorSeriesConditionsOverrideOutput + ToMonitorSeriesConditionsOverrideOutputWithContext(context.Context) MonitorSeriesConditionsOverrideOutput +} + +type MonitorSeriesConditionsOverrideArgs struct { + Conditions MonitorSeriesConditionsOverrideConditionArrayInput `pulumi:"conditions"` + LabelMatchers MonitorSeriesConditionsOverrideLabelMatcherArrayInput `pulumi:"labelMatchers"` +} + +func (MonitorSeriesConditionsOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsOverride)(nil)).Elem() +} + +func (i MonitorSeriesConditionsOverrideArgs) ToMonitorSeriesConditionsOverrideOutput() MonitorSeriesConditionsOverrideOutput { + return i.ToMonitorSeriesConditionsOverrideOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsOverrideArgs) ToMonitorSeriesConditionsOverrideOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOverrideOutput) +} + +// MonitorSeriesConditionsOverrideArrayInput is an input type that accepts MonitorSeriesConditionsOverrideArray and MonitorSeriesConditionsOverrideArrayOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsOverrideArrayInput` via: +// +// MonitorSeriesConditionsOverrideArray{ MonitorSeriesConditionsOverrideArgs{...} } +type MonitorSeriesConditionsOverrideArrayInput interface { + pulumi.Input + + ToMonitorSeriesConditionsOverrideArrayOutput() MonitorSeriesConditionsOverrideArrayOutput + ToMonitorSeriesConditionsOverrideArrayOutputWithContext(context.Context) MonitorSeriesConditionsOverrideArrayOutput +} + +type MonitorSeriesConditionsOverrideArray []MonitorSeriesConditionsOverrideInput + +func (MonitorSeriesConditionsOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsOverride)(nil)).Elem() +} + +func (i MonitorSeriesConditionsOverrideArray) ToMonitorSeriesConditionsOverrideArrayOutput() MonitorSeriesConditionsOverrideArrayOutput { + return i.ToMonitorSeriesConditionsOverrideArrayOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsOverrideArray) ToMonitorSeriesConditionsOverrideArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOverrideArrayOutput) +} + +type MonitorSeriesConditionsOverrideOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsOverride)(nil)).Elem() +} + +func (o MonitorSeriesConditionsOverrideOutput) ToMonitorSeriesConditionsOverrideOutput() MonitorSeriesConditionsOverrideOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideOutput) ToMonitorSeriesConditionsOverrideOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideOutput) Conditions() MonitorSeriesConditionsOverrideConditionArrayOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverride) []MonitorSeriesConditionsOverrideCondition { + return v.Conditions + }).(MonitorSeriesConditionsOverrideConditionArrayOutput) +} + +func (o MonitorSeriesConditionsOverrideOutput) LabelMatchers() MonitorSeriesConditionsOverrideLabelMatcherArrayOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverride) []MonitorSeriesConditionsOverrideLabelMatcher { + return v.LabelMatchers + }).(MonitorSeriesConditionsOverrideLabelMatcherArrayOutput) +} + +type MonitorSeriesConditionsOverrideArrayOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsOverride)(nil)).Elem() +} + +func (o MonitorSeriesConditionsOverrideArrayOutput) ToMonitorSeriesConditionsOverrideArrayOutput() MonitorSeriesConditionsOverrideArrayOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideArrayOutput) ToMonitorSeriesConditionsOverrideArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideArrayOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideArrayOutput) Index(i pulumi.IntInput) MonitorSeriesConditionsOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSeriesConditionsOverride { + return vs[0].([]MonitorSeriesConditionsOverride)[vs[1].(int)] + }).(MonitorSeriesConditionsOverrideOutput) +} + +type MonitorSeriesConditionsOverrideCondition struct { + Op string `pulumi:"op"` + ResolveSustain *string `pulumi:"resolveSustain"` + Severity string `pulumi:"severity"` + Sustain *string `pulumi:"sustain"` + Value *float64 `pulumi:"value"` +} + +// MonitorSeriesConditionsOverrideConditionInput is an input type that accepts MonitorSeriesConditionsOverrideConditionArgs and MonitorSeriesConditionsOverrideConditionOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsOverrideConditionInput` via: +// +// MonitorSeriesConditionsOverrideConditionArgs{...} +type MonitorSeriesConditionsOverrideConditionInput interface { + pulumi.Input + + ToMonitorSeriesConditionsOverrideConditionOutput() MonitorSeriesConditionsOverrideConditionOutput + ToMonitorSeriesConditionsOverrideConditionOutputWithContext(context.Context) MonitorSeriesConditionsOverrideConditionOutput +} + +type MonitorSeriesConditionsOverrideConditionArgs struct { + Op pulumi.StringInput `pulumi:"op"` + ResolveSustain pulumi.StringPtrInput `pulumi:"resolveSustain"` + Severity pulumi.StringInput `pulumi:"severity"` + Sustain pulumi.StringPtrInput `pulumi:"sustain"` + Value pulumi.Float64PtrInput `pulumi:"value"` +} + +func (MonitorSeriesConditionsOverrideConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsOverrideCondition)(nil)).Elem() +} + +func (i MonitorSeriesConditionsOverrideConditionArgs) ToMonitorSeriesConditionsOverrideConditionOutput() MonitorSeriesConditionsOverrideConditionOutput { + return i.ToMonitorSeriesConditionsOverrideConditionOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsOverrideConditionArgs) ToMonitorSeriesConditionsOverrideConditionOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOverrideConditionOutput) +} + +// MonitorSeriesConditionsOverrideConditionArrayInput is an input type that accepts MonitorSeriesConditionsOverrideConditionArray and MonitorSeriesConditionsOverrideConditionArrayOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsOverrideConditionArrayInput` via: +// +// MonitorSeriesConditionsOverrideConditionArray{ MonitorSeriesConditionsOverrideConditionArgs{...} } +type MonitorSeriesConditionsOverrideConditionArrayInput interface { + pulumi.Input + + ToMonitorSeriesConditionsOverrideConditionArrayOutput() MonitorSeriesConditionsOverrideConditionArrayOutput + ToMonitorSeriesConditionsOverrideConditionArrayOutputWithContext(context.Context) MonitorSeriesConditionsOverrideConditionArrayOutput +} + +type MonitorSeriesConditionsOverrideConditionArray []MonitorSeriesConditionsOverrideConditionInput + +func (MonitorSeriesConditionsOverrideConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsOverrideCondition)(nil)).Elem() +} + +func (i MonitorSeriesConditionsOverrideConditionArray) ToMonitorSeriesConditionsOverrideConditionArrayOutput() MonitorSeriesConditionsOverrideConditionArrayOutput { + return i.ToMonitorSeriesConditionsOverrideConditionArrayOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsOverrideConditionArray) ToMonitorSeriesConditionsOverrideConditionArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOverrideConditionArrayOutput) +} + +type MonitorSeriesConditionsOverrideConditionOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsOverrideConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsOverrideCondition)(nil)).Elem() +} + +func (o MonitorSeriesConditionsOverrideConditionOutput) ToMonitorSeriesConditionsOverrideConditionOutput() MonitorSeriesConditionsOverrideConditionOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideConditionOutput) ToMonitorSeriesConditionsOverrideConditionOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideConditionOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideConditionOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideCondition) string { return v.Op }).(pulumi.StringOutput) +} + +func (o MonitorSeriesConditionsOverrideConditionOutput) ResolveSustain() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideCondition) *string { return v.ResolveSustain }).(pulumi.StringPtrOutput) +} + +func (o MonitorSeriesConditionsOverrideConditionOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideCondition) string { return v.Severity }).(pulumi.StringOutput) +} + +func (o MonitorSeriesConditionsOverrideConditionOutput) Sustain() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideCondition) *string { return v.Sustain }).(pulumi.StringPtrOutput) +} + +func (o MonitorSeriesConditionsOverrideConditionOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideCondition) *float64 { return v.Value }).(pulumi.Float64PtrOutput) +} + +type MonitorSeriesConditionsOverrideConditionArrayOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsOverrideConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsOverrideCondition)(nil)).Elem() +} + +func (o MonitorSeriesConditionsOverrideConditionArrayOutput) ToMonitorSeriesConditionsOverrideConditionArrayOutput() MonitorSeriesConditionsOverrideConditionArrayOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideConditionArrayOutput) ToMonitorSeriesConditionsOverrideConditionArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideConditionArrayOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideConditionArrayOutput) Index(i pulumi.IntInput) MonitorSeriesConditionsOverrideConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSeriesConditionsOverrideCondition { + return vs[0].([]MonitorSeriesConditionsOverrideCondition)[vs[1].(int)] + }).(MonitorSeriesConditionsOverrideConditionOutput) +} + +type MonitorSeriesConditionsOverrideLabelMatcher struct { + Name string `pulumi:"name"` + Type string `pulumi:"type"` + Value string `pulumi:"value"` +} + +// MonitorSeriesConditionsOverrideLabelMatcherInput is an input type that accepts MonitorSeriesConditionsOverrideLabelMatcherArgs and MonitorSeriesConditionsOverrideLabelMatcherOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsOverrideLabelMatcherInput` via: +// +// MonitorSeriesConditionsOverrideLabelMatcherArgs{...} +type MonitorSeriesConditionsOverrideLabelMatcherInput interface { + pulumi.Input + + ToMonitorSeriesConditionsOverrideLabelMatcherOutput() MonitorSeriesConditionsOverrideLabelMatcherOutput + ToMonitorSeriesConditionsOverrideLabelMatcherOutputWithContext(context.Context) MonitorSeriesConditionsOverrideLabelMatcherOutput +} + +type MonitorSeriesConditionsOverrideLabelMatcherArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (MonitorSeriesConditionsOverrideLabelMatcherArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsOverrideLabelMatcher)(nil)).Elem() +} + +func (i MonitorSeriesConditionsOverrideLabelMatcherArgs) ToMonitorSeriesConditionsOverrideLabelMatcherOutput() MonitorSeriesConditionsOverrideLabelMatcherOutput { + return i.ToMonitorSeriesConditionsOverrideLabelMatcherOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsOverrideLabelMatcherArgs) ToMonitorSeriesConditionsOverrideLabelMatcherOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideLabelMatcherOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOverrideLabelMatcherOutput) +} + +// MonitorSeriesConditionsOverrideLabelMatcherArrayInput is an input type that accepts MonitorSeriesConditionsOverrideLabelMatcherArray and MonitorSeriesConditionsOverrideLabelMatcherArrayOutput values. +// You can construct a concrete instance of `MonitorSeriesConditionsOverrideLabelMatcherArrayInput` via: +// +// MonitorSeriesConditionsOverrideLabelMatcherArray{ MonitorSeriesConditionsOverrideLabelMatcherArgs{...} } +type MonitorSeriesConditionsOverrideLabelMatcherArrayInput interface { + pulumi.Input + + ToMonitorSeriesConditionsOverrideLabelMatcherArrayOutput() MonitorSeriesConditionsOverrideLabelMatcherArrayOutput + ToMonitorSeriesConditionsOverrideLabelMatcherArrayOutputWithContext(context.Context) MonitorSeriesConditionsOverrideLabelMatcherArrayOutput +} + +type MonitorSeriesConditionsOverrideLabelMatcherArray []MonitorSeriesConditionsOverrideLabelMatcherInput + +func (MonitorSeriesConditionsOverrideLabelMatcherArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsOverrideLabelMatcher)(nil)).Elem() +} + +func (i MonitorSeriesConditionsOverrideLabelMatcherArray) ToMonitorSeriesConditionsOverrideLabelMatcherArrayOutput() MonitorSeriesConditionsOverrideLabelMatcherArrayOutput { + return i.ToMonitorSeriesConditionsOverrideLabelMatcherArrayOutputWithContext(context.Background()) +} + +func (i MonitorSeriesConditionsOverrideLabelMatcherArray) ToMonitorSeriesConditionsOverrideLabelMatcherArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideLabelMatcherArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSeriesConditionsOverrideLabelMatcherArrayOutput) +} + +type MonitorSeriesConditionsOverrideLabelMatcherOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsOverrideLabelMatcherOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSeriesConditionsOverrideLabelMatcher)(nil)).Elem() +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherOutput) ToMonitorSeriesConditionsOverrideLabelMatcherOutput() MonitorSeriesConditionsOverrideLabelMatcherOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherOutput) ToMonitorSeriesConditionsOverrideLabelMatcherOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideLabelMatcherOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideLabelMatcher) string { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideLabelMatcher) string { return v.Type }).(pulumi.StringOutput) +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSeriesConditionsOverrideLabelMatcher) string { return v.Value }).(pulumi.StringOutput) +} + +type MonitorSeriesConditionsOverrideLabelMatcherArrayOutput struct{ *pulumi.OutputState } + +func (MonitorSeriesConditionsOverrideLabelMatcherArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSeriesConditionsOverrideLabelMatcher)(nil)).Elem() +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherArrayOutput) ToMonitorSeriesConditionsOverrideLabelMatcherArrayOutput() MonitorSeriesConditionsOverrideLabelMatcherArrayOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherArrayOutput) ToMonitorSeriesConditionsOverrideLabelMatcherArrayOutputWithContext(ctx context.Context) MonitorSeriesConditionsOverrideLabelMatcherArrayOutput { + return o +} + +func (o MonitorSeriesConditionsOverrideLabelMatcherArrayOutput) Index(i pulumi.IntInput) MonitorSeriesConditionsOverrideLabelMatcherOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSeriesConditionsOverrideLabelMatcher { + return vs[0].([]MonitorSeriesConditionsOverrideLabelMatcher)[vs[1].(int)] + }).(MonitorSeriesConditionsOverrideLabelMatcherOutput) +} + +type MonitorSignalGrouping struct { + LabelNames []string `pulumi:"labelNames"` + SignalPerSeries *bool `pulumi:"signalPerSeries"` +} + +// MonitorSignalGroupingInput is an input type that accepts MonitorSignalGroupingArgs and MonitorSignalGroupingOutput values. +// You can construct a concrete instance of `MonitorSignalGroupingInput` via: +// +// MonitorSignalGroupingArgs{...} +type MonitorSignalGroupingInput interface { + pulumi.Input + + ToMonitorSignalGroupingOutput() MonitorSignalGroupingOutput + ToMonitorSignalGroupingOutputWithContext(context.Context) MonitorSignalGroupingOutput +} + +type MonitorSignalGroupingArgs struct { + LabelNames pulumi.StringArrayInput `pulumi:"labelNames"` + SignalPerSeries pulumi.BoolPtrInput `pulumi:"signalPerSeries"` +} + +func (MonitorSignalGroupingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSignalGrouping)(nil)).Elem() +} + +func (i MonitorSignalGroupingArgs) ToMonitorSignalGroupingOutput() MonitorSignalGroupingOutput { + return i.ToMonitorSignalGroupingOutputWithContext(context.Background()) +} + +func (i MonitorSignalGroupingArgs) ToMonitorSignalGroupingOutputWithContext(ctx context.Context) MonitorSignalGroupingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSignalGroupingOutput) +} + +func (i MonitorSignalGroupingArgs) ToMonitorSignalGroupingPtrOutput() MonitorSignalGroupingPtrOutput { + return i.ToMonitorSignalGroupingPtrOutputWithContext(context.Background()) +} + +func (i MonitorSignalGroupingArgs) ToMonitorSignalGroupingPtrOutputWithContext(ctx context.Context) MonitorSignalGroupingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSignalGroupingOutput).ToMonitorSignalGroupingPtrOutputWithContext(ctx) +} + +// MonitorSignalGroupingPtrInput is an input type that accepts MonitorSignalGroupingArgs, MonitorSignalGroupingPtr and MonitorSignalGroupingPtrOutput values. +// You can construct a concrete instance of `MonitorSignalGroupingPtrInput` via: +// +// MonitorSignalGroupingArgs{...} +// +// or: +// +// nil +type MonitorSignalGroupingPtrInput interface { + pulumi.Input + + ToMonitorSignalGroupingPtrOutput() MonitorSignalGroupingPtrOutput + ToMonitorSignalGroupingPtrOutputWithContext(context.Context) MonitorSignalGroupingPtrOutput +} + +type monitorSignalGroupingPtrType MonitorSignalGroupingArgs + +func MonitorSignalGroupingPtr(v *MonitorSignalGroupingArgs) MonitorSignalGroupingPtrInput { + return (*monitorSignalGroupingPtrType)(v) +} + +func (*monitorSignalGroupingPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorSignalGrouping)(nil)).Elem() +} + +func (i *monitorSignalGroupingPtrType) ToMonitorSignalGroupingPtrOutput() MonitorSignalGroupingPtrOutput { + return i.ToMonitorSignalGroupingPtrOutputWithContext(context.Background()) +} + +func (i *monitorSignalGroupingPtrType) ToMonitorSignalGroupingPtrOutputWithContext(ctx context.Context) MonitorSignalGroupingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSignalGroupingPtrOutput) +} + +type MonitorSignalGroupingOutput struct{ *pulumi.OutputState } + +func (MonitorSignalGroupingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSignalGrouping)(nil)).Elem() +} + +func (o MonitorSignalGroupingOutput) ToMonitorSignalGroupingOutput() MonitorSignalGroupingOutput { + return o +} + +func (o MonitorSignalGroupingOutput) ToMonitorSignalGroupingOutputWithContext(ctx context.Context) MonitorSignalGroupingOutput { + return o +} + +func (o MonitorSignalGroupingOutput) ToMonitorSignalGroupingPtrOutput() MonitorSignalGroupingPtrOutput { + return o.ToMonitorSignalGroupingPtrOutputWithContext(context.Background()) +} + +func (o MonitorSignalGroupingOutput) ToMonitorSignalGroupingPtrOutputWithContext(ctx context.Context) MonitorSignalGroupingPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorSignalGrouping) *MonitorSignalGrouping { + return &v + }).(MonitorSignalGroupingPtrOutput) +} + +func (o MonitorSignalGroupingOutput) LabelNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v MonitorSignalGrouping) []string { return v.LabelNames }).(pulumi.StringArrayOutput) +} + +func (o MonitorSignalGroupingOutput) SignalPerSeries() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitorSignalGrouping) *bool { return v.SignalPerSeries }).(pulumi.BoolPtrOutput) +} + +type MonitorSignalGroupingPtrOutput struct{ *pulumi.OutputState } + +func (MonitorSignalGroupingPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorSignalGrouping)(nil)).Elem() +} + +func (o MonitorSignalGroupingPtrOutput) ToMonitorSignalGroupingPtrOutput() MonitorSignalGroupingPtrOutput { + return o +} + +func (o MonitorSignalGroupingPtrOutput) ToMonitorSignalGroupingPtrOutputWithContext(ctx context.Context) MonitorSignalGroupingPtrOutput { + return o +} + +func (o MonitorSignalGroupingPtrOutput) Elem() MonitorSignalGroupingOutput { + return o.ApplyT(func(v *MonitorSignalGrouping) MonitorSignalGrouping { + if v != nil { + return *v + } + var ret MonitorSignalGrouping + return ret + }).(MonitorSignalGroupingOutput) +} + +func (o MonitorSignalGroupingPtrOutput) LabelNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MonitorSignalGrouping) []string { + if v == nil { + return nil + } + return v.LabelNames + }).(pulumi.StringArrayOutput) +} + +func (o MonitorSignalGroupingPtrOutput) SignalPerSeries() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitorSignalGrouping) *bool { + if v == nil { + return nil + } + return v.SignalPerSeries + }).(pulumi.BoolPtrOutput) +} + +type NotificationPolicyDataSourceOverride struct { + AlertLabelMatchers []NotificationPolicyDataSourceOverrideAlertLabelMatcher `pulumi:"alertLabelMatchers"` + Routes []NotificationPolicyDataSourceOverrideRoute `pulumi:"routes"` +} + +// NotificationPolicyDataSourceOverrideInput is an input type that accepts NotificationPolicyDataSourceOverrideArgs and NotificationPolicyDataSourceOverrideOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceOverrideInput` via: +// +// NotificationPolicyDataSourceOverrideArgs{...} +type NotificationPolicyDataSourceOverrideInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceOverrideOutput() NotificationPolicyDataSourceOverrideOutput + ToNotificationPolicyDataSourceOverrideOutputWithContext(context.Context) NotificationPolicyDataSourceOverrideOutput +} + +type NotificationPolicyDataSourceOverrideArgs struct { + AlertLabelMatchers NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayInput `pulumi:"alertLabelMatchers"` + Routes NotificationPolicyDataSourceOverrideRouteArrayInput `pulumi:"routes"` +} + +func (NotificationPolicyDataSourceOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceOverride)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceOverrideArgs) ToNotificationPolicyDataSourceOverrideOutput() NotificationPolicyDataSourceOverrideOutput { + return i.ToNotificationPolicyDataSourceOverrideOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceOverrideArgs) ToNotificationPolicyDataSourceOverrideOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceOverrideOutput) +} + +// NotificationPolicyDataSourceOverrideArrayInput is an input type that accepts NotificationPolicyDataSourceOverrideArray and NotificationPolicyDataSourceOverrideArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceOverrideArrayInput` via: +// +// NotificationPolicyDataSourceOverrideArray{ NotificationPolicyDataSourceOverrideArgs{...} } +type NotificationPolicyDataSourceOverrideArrayInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceOverrideArrayOutput() NotificationPolicyDataSourceOverrideArrayOutput + ToNotificationPolicyDataSourceOverrideArrayOutputWithContext(context.Context) NotificationPolicyDataSourceOverrideArrayOutput +} + +type NotificationPolicyDataSourceOverrideArray []NotificationPolicyDataSourceOverrideInput + +func (NotificationPolicyDataSourceOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceOverride)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceOverrideArray) ToNotificationPolicyDataSourceOverrideArrayOutput() NotificationPolicyDataSourceOverrideArrayOutput { + return i.ToNotificationPolicyDataSourceOverrideArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceOverrideArray) ToNotificationPolicyDataSourceOverrideArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceOverrideArrayOutput) +} + +type NotificationPolicyDataSourceOverrideOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceOverride)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceOverrideOutput) ToNotificationPolicyDataSourceOverrideOutput() NotificationPolicyDataSourceOverrideOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideOutput) ToNotificationPolicyDataSourceOverrideOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideOutput) AlertLabelMatchers() NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverride) []NotificationPolicyDataSourceOverrideAlertLabelMatcher { + return v.AlertLabelMatchers + }).(NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput) +} + +func (o NotificationPolicyDataSourceOverrideOutput) Routes() NotificationPolicyDataSourceOverrideRouteArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverride) []NotificationPolicyDataSourceOverrideRoute { + return v.Routes + }).(NotificationPolicyDataSourceOverrideRouteArrayOutput) +} + +type NotificationPolicyDataSourceOverrideArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceOverride)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceOverrideArrayOutput) ToNotificationPolicyDataSourceOverrideArrayOutput() NotificationPolicyDataSourceOverrideArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideArrayOutput) ToNotificationPolicyDataSourceOverrideArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideArrayOutput) Index(i pulumi.IntInput) NotificationPolicyDataSourceOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyDataSourceOverride { + return vs[0].([]NotificationPolicyDataSourceOverride)[vs[1].(int)] + }).(NotificationPolicyDataSourceOverrideOutput) +} + +type NotificationPolicyDataSourceOverrideAlertLabelMatcher struct { + Name string `pulumi:"name"` + Type string `pulumi:"type"` + Value string `pulumi:"value"` +} + +// NotificationPolicyDataSourceOverrideAlertLabelMatcherInput is an input type that accepts NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs and NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceOverrideAlertLabelMatcherInput` via: +// +// NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs{...} +type NotificationPolicyDataSourceOverrideAlertLabelMatcherInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceOverrideAlertLabelMatcherOutput() NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput + ToNotificationPolicyDataSourceOverrideAlertLabelMatcherOutputWithContext(context.Context) NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput +} + +type NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherOutput() NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput { + return i.ToNotificationPolicyDataSourceOverrideAlertLabelMatcherOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) +} + +// NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayInput is an input type that accepts NotificationPolicyDataSourceOverrideAlertLabelMatcherArray and NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayInput` via: +// +// NotificationPolicyDataSourceOverrideAlertLabelMatcherArray{ NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs{...} } +type NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput() NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput + ToNotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutputWithContext(context.Context) NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput +} + +type NotificationPolicyDataSourceOverrideAlertLabelMatcherArray []NotificationPolicyDataSourceOverrideAlertLabelMatcherInput + +func (NotificationPolicyDataSourceOverrideAlertLabelMatcherArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceOverrideAlertLabelMatcherArray) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput() NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput { + return i.ToNotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceOverrideAlertLabelMatcherArray) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput) +} + +type NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherOutput() NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverrideAlertLabelMatcher) string { return v.Name }).(pulumi.StringOutput) +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverrideAlertLabelMatcher) string { return v.Type }).(pulumi.StringOutput) +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverrideAlertLabelMatcher) string { return v.Value }).(pulumi.StringOutput) +} + +type NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput() NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput) ToNotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput) Index(i pulumi.IntInput) NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyDataSourceOverrideAlertLabelMatcher { + return vs[0].([]NotificationPolicyDataSourceOverrideAlertLabelMatcher)[vs[1].(int)] + }).(NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput) +} + +type NotificationPolicyDataSourceOverrideRoute struct { + Notifiers []string `pulumi:"notifiers"` + RepeatInterval *string `pulumi:"repeatInterval"` + Severity string `pulumi:"severity"` +} + +// NotificationPolicyDataSourceOverrideRouteInput is an input type that accepts NotificationPolicyDataSourceOverrideRouteArgs and NotificationPolicyDataSourceOverrideRouteOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceOverrideRouteInput` via: +// +// NotificationPolicyDataSourceOverrideRouteArgs{...} +type NotificationPolicyDataSourceOverrideRouteInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceOverrideRouteOutput() NotificationPolicyDataSourceOverrideRouteOutput + ToNotificationPolicyDataSourceOverrideRouteOutputWithContext(context.Context) NotificationPolicyDataSourceOverrideRouteOutput +} + +type NotificationPolicyDataSourceOverrideRouteArgs struct { + Notifiers pulumi.StringArrayInput `pulumi:"notifiers"` + RepeatInterval pulumi.StringPtrInput `pulumi:"repeatInterval"` + Severity pulumi.StringInput `pulumi:"severity"` +} + +func (NotificationPolicyDataSourceOverrideRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceOverrideRoute)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceOverrideRouteArgs) ToNotificationPolicyDataSourceOverrideRouteOutput() NotificationPolicyDataSourceOverrideRouteOutput { + return i.ToNotificationPolicyDataSourceOverrideRouteOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceOverrideRouteArgs) ToNotificationPolicyDataSourceOverrideRouteOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceOverrideRouteOutput) +} + +// NotificationPolicyDataSourceOverrideRouteArrayInput is an input type that accepts NotificationPolicyDataSourceOverrideRouteArray and NotificationPolicyDataSourceOverrideRouteArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceOverrideRouteArrayInput` via: +// +// NotificationPolicyDataSourceOverrideRouteArray{ NotificationPolicyDataSourceOverrideRouteArgs{...} } +type NotificationPolicyDataSourceOverrideRouteArrayInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceOverrideRouteArrayOutput() NotificationPolicyDataSourceOverrideRouteArrayOutput + ToNotificationPolicyDataSourceOverrideRouteArrayOutputWithContext(context.Context) NotificationPolicyDataSourceOverrideRouteArrayOutput +} + +type NotificationPolicyDataSourceOverrideRouteArray []NotificationPolicyDataSourceOverrideRouteInput + +func (NotificationPolicyDataSourceOverrideRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceOverrideRoute)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceOverrideRouteArray) ToNotificationPolicyDataSourceOverrideRouteArrayOutput() NotificationPolicyDataSourceOverrideRouteArrayOutput { + return i.ToNotificationPolicyDataSourceOverrideRouteArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceOverrideRouteArray) ToNotificationPolicyDataSourceOverrideRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceOverrideRouteArrayOutput) +} + +type NotificationPolicyDataSourceOverrideRouteOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceOverrideRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceOverrideRoute)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceOverrideRouteOutput) ToNotificationPolicyDataSourceOverrideRouteOutput() NotificationPolicyDataSourceOverrideRouteOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideRouteOutput) ToNotificationPolicyDataSourceOverrideRouteOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideRouteOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideRouteOutput) Notifiers() pulumi.StringArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverrideRoute) []string { return v.Notifiers }).(pulumi.StringArrayOutput) +} + +func (o NotificationPolicyDataSourceOverrideRouteOutput) RepeatInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverrideRoute) *string { return v.RepeatInterval }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyDataSourceOverrideRouteOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceOverrideRoute) string { return v.Severity }).(pulumi.StringOutput) +} + +type NotificationPolicyDataSourceOverrideRouteArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceOverrideRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceOverrideRoute)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceOverrideRouteArrayOutput) ToNotificationPolicyDataSourceOverrideRouteArrayOutput() NotificationPolicyDataSourceOverrideRouteArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideRouteArrayOutput) ToNotificationPolicyDataSourceOverrideRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceOverrideRouteArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceOverrideRouteArrayOutput) Index(i pulumi.IntInput) NotificationPolicyDataSourceOverrideRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyDataSourceOverrideRoute { + return vs[0].([]NotificationPolicyDataSourceOverrideRoute)[vs[1].(int)] + }).(NotificationPolicyDataSourceOverrideRouteOutput) +} + +type NotificationPolicyDataSourceRoute struct { + Notifiers []string `pulumi:"notifiers"` + RepeatInterval *string `pulumi:"repeatInterval"` + Severity string `pulumi:"severity"` +} + +// NotificationPolicyDataSourceRouteInput is an input type that accepts NotificationPolicyDataSourceRouteArgs and NotificationPolicyDataSourceRouteOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceRouteInput` via: +// +// NotificationPolicyDataSourceRouteArgs{...} +type NotificationPolicyDataSourceRouteInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceRouteOutput() NotificationPolicyDataSourceRouteOutput + ToNotificationPolicyDataSourceRouteOutputWithContext(context.Context) NotificationPolicyDataSourceRouteOutput +} + +type NotificationPolicyDataSourceRouteArgs struct { + Notifiers pulumi.StringArrayInput `pulumi:"notifiers"` + RepeatInterval pulumi.StringPtrInput `pulumi:"repeatInterval"` + Severity pulumi.StringInput `pulumi:"severity"` +} + +func (NotificationPolicyDataSourceRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceRoute)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceRouteArgs) ToNotificationPolicyDataSourceRouteOutput() NotificationPolicyDataSourceRouteOutput { + return i.ToNotificationPolicyDataSourceRouteOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceRouteArgs) ToNotificationPolicyDataSourceRouteOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceRouteOutput) +} + +// NotificationPolicyDataSourceRouteArrayInput is an input type that accepts NotificationPolicyDataSourceRouteArray and NotificationPolicyDataSourceRouteArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceRouteArrayInput` via: +// +// NotificationPolicyDataSourceRouteArray{ NotificationPolicyDataSourceRouteArgs{...} } +type NotificationPolicyDataSourceRouteArrayInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceRouteArrayOutput() NotificationPolicyDataSourceRouteArrayOutput + ToNotificationPolicyDataSourceRouteArrayOutputWithContext(context.Context) NotificationPolicyDataSourceRouteArrayOutput +} + +type NotificationPolicyDataSourceRouteArray []NotificationPolicyDataSourceRouteInput + +func (NotificationPolicyDataSourceRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceRoute)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceRouteArray) ToNotificationPolicyDataSourceRouteArrayOutput() NotificationPolicyDataSourceRouteArrayOutput { + return i.ToNotificationPolicyDataSourceRouteArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceRouteArray) ToNotificationPolicyDataSourceRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceRouteArrayOutput) +} + +type NotificationPolicyDataSourceRouteOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceRoute)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceRouteOutput) ToNotificationPolicyDataSourceRouteOutput() NotificationPolicyDataSourceRouteOutput { + return o +} + +func (o NotificationPolicyDataSourceRouteOutput) ToNotificationPolicyDataSourceRouteOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRouteOutput { + return o +} + +func (o NotificationPolicyDataSourceRouteOutput) Notifiers() pulumi.StringArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceRoute) []string { return v.Notifiers }).(pulumi.StringArrayOutput) +} + +func (o NotificationPolicyDataSourceRouteOutput) RepeatInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceRoute) *string { return v.RepeatInterval }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyDataSourceRouteOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceRoute) string { return v.Severity }).(pulumi.StringOutput) +} + +type NotificationPolicyDataSourceRouteArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceRoute)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceRouteArrayOutput) ToNotificationPolicyDataSourceRouteArrayOutput() NotificationPolicyDataSourceRouteArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceRouteArrayOutput) ToNotificationPolicyDataSourceRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRouteArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceRouteArrayOutput) Index(i pulumi.IntInput) NotificationPolicyDataSourceRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyDataSourceRoute { + return vs[0].([]NotificationPolicyDataSourceRoute)[vs[1].(int)] + }).(NotificationPolicyDataSourceRouteOutput) +} + +type NotificationPolicyDataSourceRule struct { + Notifiers []string `pulumi:"notifiers"` + RepeatInterval *string `pulumi:"repeatInterval"` + Severity string `pulumi:"severity"` +} + +// NotificationPolicyDataSourceRuleInput is an input type that accepts NotificationPolicyDataSourceRuleArgs and NotificationPolicyDataSourceRuleOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceRuleInput` via: +// +// NotificationPolicyDataSourceRuleArgs{...} +type NotificationPolicyDataSourceRuleInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceRuleOutput() NotificationPolicyDataSourceRuleOutput + ToNotificationPolicyDataSourceRuleOutputWithContext(context.Context) NotificationPolicyDataSourceRuleOutput +} + +type NotificationPolicyDataSourceRuleArgs struct { + Notifiers pulumi.StringArrayInput `pulumi:"notifiers"` + RepeatInterval pulumi.StringPtrInput `pulumi:"repeatInterval"` + Severity pulumi.StringInput `pulumi:"severity"` +} + +func (NotificationPolicyDataSourceRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceRule)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceRuleArgs) ToNotificationPolicyDataSourceRuleOutput() NotificationPolicyDataSourceRuleOutput { + return i.ToNotificationPolicyDataSourceRuleOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceRuleArgs) ToNotificationPolicyDataSourceRuleOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceRuleOutput) +} + +// NotificationPolicyDataSourceRuleArrayInput is an input type that accepts NotificationPolicyDataSourceRuleArray and NotificationPolicyDataSourceRuleArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyDataSourceRuleArrayInput` via: +// +// NotificationPolicyDataSourceRuleArray{ NotificationPolicyDataSourceRuleArgs{...} } +type NotificationPolicyDataSourceRuleArrayInput interface { + pulumi.Input + + ToNotificationPolicyDataSourceRuleArrayOutput() NotificationPolicyDataSourceRuleArrayOutput + ToNotificationPolicyDataSourceRuleArrayOutputWithContext(context.Context) NotificationPolicyDataSourceRuleArrayOutput +} + +type NotificationPolicyDataSourceRuleArray []NotificationPolicyDataSourceRuleInput + +func (NotificationPolicyDataSourceRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceRule)(nil)).Elem() +} + +func (i NotificationPolicyDataSourceRuleArray) ToNotificationPolicyDataSourceRuleArrayOutput() NotificationPolicyDataSourceRuleArrayOutput { + return i.ToNotificationPolicyDataSourceRuleArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyDataSourceRuleArray) ToNotificationPolicyDataSourceRuleArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyDataSourceRuleArrayOutput) +} + +type NotificationPolicyDataSourceRuleOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyDataSourceRule)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceRuleOutput) ToNotificationPolicyDataSourceRuleOutput() NotificationPolicyDataSourceRuleOutput { + return o +} + +func (o NotificationPolicyDataSourceRuleOutput) ToNotificationPolicyDataSourceRuleOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRuleOutput { + return o +} + +func (o NotificationPolicyDataSourceRuleOutput) Notifiers() pulumi.StringArrayOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceRule) []string { return v.Notifiers }).(pulumi.StringArrayOutput) +} + +func (o NotificationPolicyDataSourceRuleOutput) RepeatInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceRule) *string { return v.RepeatInterval }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyDataSourceRuleOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyDataSourceRule) string { return v.Severity }).(pulumi.StringOutput) +} + +type NotificationPolicyDataSourceRuleArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyDataSourceRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyDataSourceRule)(nil)).Elem() +} + +func (o NotificationPolicyDataSourceRuleArrayOutput) ToNotificationPolicyDataSourceRuleArrayOutput() NotificationPolicyDataSourceRuleArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceRuleArrayOutput) ToNotificationPolicyDataSourceRuleArrayOutputWithContext(ctx context.Context) NotificationPolicyDataSourceRuleArrayOutput { + return o +} + +func (o NotificationPolicyDataSourceRuleArrayOutput) Index(i pulumi.IntInput) NotificationPolicyDataSourceRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyDataSourceRule { + return vs[0].([]NotificationPolicyDataSourceRule)[vs[1].(int)] + }).(NotificationPolicyDataSourceRuleOutput) +} + +type NotificationPolicyOverride struct { + AlertLabelMatchers []NotificationPolicyOverrideAlertLabelMatcher `pulumi:"alertLabelMatchers"` + Routes []NotificationPolicyOverrideRoute `pulumi:"routes"` +} + +// NotificationPolicyOverrideInput is an input type that accepts NotificationPolicyOverrideArgs and NotificationPolicyOverrideOutput values. +// You can construct a concrete instance of `NotificationPolicyOverrideInput` via: +// +// NotificationPolicyOverrideArgs{...} +type NotificationPolicyOverrideInput interface { + pulumi.Input + + ToNotificationPolicyOverrideOutput() NotificationPolicyOverrideOutput + ToNotificationPolicyOverrideOutputWithContext(context.Context) NotificationPolicyOverrideOutput +} + +type NotificationPolicyOverrideArgs struct { + AlertLabelMatchers NotificationPolicyOverrideAlertLabelMatcherArrayInput `pulumi:"alertLabelMatchers"` + Routes NotificationPolicyOverrideRouteArrayInput `pulumi:"routes"` +} + +func (NotificationPolicyOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyOverride)(nil)).Elem() +} + +func (i NotificationPolicyOverrideArgs) ToNotificationPolicyOverrideOutput() NotificationPolicyOverrideOutput { + return i.ToNotificationPolicyOverrideOutputWithContext(context.Background()) +} + +func (i NotificationPolicyOverrideArgs) ToNotificationPolicyOverrideOutputWithContext(ctx context.Context) NotificationPolicyOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOverrideOutput) +} + +// NotificationPolicyOverrideArrayInput is an input type that accepts NotificationPolicyOverrideArray and NotificationPolicyOverrideArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyOverrideArrayInput` via: +// +// NotificationPolicyOverrideArray{ NotificationPolicyOverrideArgs{...} } +type NotificationPolicyOverrideArrayInput interface { + pulumi.Input + + ToNotificationPolicyOverrideArrayOutput() NotificationPolicyOverrideArrayOutput + ToNotificationPolicyOverrideArrayOutputWithContext(context.Context) NotificationPolicyOverrideArrayOutput +} + +type NotificationPolicyOverrideArray []NotificationPolicyOverrideInput + +func (NotificationPolicyOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyOverride)(nil)).Elem() +} + +func (i NotificationPolicyOverrideArray) ToNotificationPolicyOverrideArrayOutput() NotificationPolicyOverrideArrayOutput { + return i.ToNotificationPolicyOverrideArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyOverrideArray) ToNotificationPolicyOverrideArrayOutputWithContext(ctx context.Context) NotificationPolicyOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOverrideArrayOutput) +} + +type NotificationPolicyOverrideOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyOverride)(nil)).Elem() +} + +func (o NotificationPolicyOverrideOutput) ToNotificationPolicyOverrideOutput() NotificationPolicyOverrideOutput { + return o +} + +func (o NotificationPolicyOverrideOutput) ToNotificationPolicyOverrideOutputWithContext(ctx context.Context) NotificationPolicyOverrideOutput { + return o +} + +func (o NotificationPolicyOverrideOutput) AlertLabelMatchers() NotificationPolicyOverrideAlertLabelMatcherArrayOutput { + return o.ApplyT(func(v NotificationPolicyOverride) []NotificationPolicyOverrideAlertLabelMatcher { + return v.AlertLabelMatchers + }).(NotificationPolicyOverrideAlertLabelMatcherArrayOutput) +} + +func (o NotificationPolicyOverrideOutput) Routes() NotificationPolicyOverrideRouteArrayOutput { + return o.ApplyT(func(v NotificationPolicyOverride) []NotificationPolicyOverrideRoute { return v.Routes }).(NotificationPolicyOverrideRouteArrayOutput) +} + +type NotificationPolicyOverrideArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyOverride)(nil)).Elem() +} + +func (o NotificationPolicyOverrideArrayOutput) ToNotificationPolicyOverrideArrayOutput() NotificationPolicyOverrideArrayOutput { + return o +} + +func (o NotificationPolicyOverrideArrayOutput) ToNotificationPolicyOverrideArrayOutputWithContext(ctx context.Context) NotificationPolicyOverrideArrayOutput { + return o +} + +func (o NotificationPolicyOverrideArrayOutput) Index(i pulumi.IntInput) NotificationPolicyOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyOverride { + return vs[0].([]NotificationPolicyOverride)[vs[1].(int)] + }).(NotificationPolicyOverrideOutput) +} + +type NotificationPolicyOverrideAlertLabelMatcher struct { + Name string `pulumi:"name"` + Type string `pulumi:"type"` + Value string `pulumi:"value"` +} + +// NotificationPolicyOverrideAlertLabelMatcherInput is an input type that accepts NotificationPolicyOverrideAlertLabelMatcherArgs and NotificationPolicyOverrideAlertLabelMatcherOutput values. +// You can construct a concrete instance of `NotificationPolicyOverrideAlertLabelMatcherInput` via: +// +// NotificationPolicyOverrideAlertLabelMatcherArgs{...} +type NotificationPolicyOverrideAlertLabelMatcherInput interface { + pulumi.Input + + ToNotificationPolicyOverrideAlertLabelMatcherOutput() NotificationPolicyOverrideAlertLabelMatcherOutput + ToNotificationPolicyOverrideAlertLabelMatcherOutputWithContext(context.Context) NotificationPolicyOverrideAlertLabelMatcherOutput +} + +type NotificationPolicyOverrideAlertLabelMatcherArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (NotificationPolicyOverrideAlertLabelMatcherArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (i NotificationPolicyOverrideAlertLabelMatcherArgs) ToNotificationPolicyOverrideAlertLabelMatcherOutput() NotificationPolicyOverrideAlertLabelMatcherOutput { + return i.ToNotificationPolicyOverrideAlertLabelMatcherOutputWithContext(context.Background()) +} + +func (i NotificationPolicyOverrideAlertLabelMatcherArgs) ToNotificationPolicyOverrideAlertLabelMatcherOutputWithContext(ctx context.Context) NotificationPolicyOverrideAlertLabelMatcherOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOverrideAlertLabelMatcherOutput) +} + +// NotificationPolicyOverrideAlertLabelMatcherArrayInput is an input type that accepts NotificationPolicyOverrideAlertLabelMatcherArray and NotificationPolicyOverrideAlertLabelMatcherArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyOverrideAlertLabelMatcherArrayInput` via: +// +// NotificationPolicyOverrideAlertLabelMatcherArray{ NotificationPolicyOverrideAlertLabelMatcherArgs{...} } +type NotificationPolicyOverrideAlertLabelMatcherArrayInput interface { + pulumi.Input + + ToNotificationPolicyOverrideAlertLabelMatcherArrayOutput() NotificationPolicyOverrideAlertLabelMatcherArrayOutput + ToNotificationPolicyOverrideAlertLabelMatcherArrayOutputWithContext(context.Context) NotificationPolicyOverrideAlertLabelMatcherArrayOutput +} + +type NotificationPolicyOverrideAlertLabelMatcherArray []NotificationPolicyOverrideAlertLabelMatcherInput + +func (NotificationPolicyOverrideAlertLabelMatcherArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (i NotificationPolicyOverrideAlertLabelMatcherArray) ToNotificationPolicyOverrideAlertLabelMatcherArrayOutput() NotificationPolicyOverrideAlertLabelMatcherArrayOutput { + return i.ToNotificationPolicyOverrideAlertLabelMatcherArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyOverrideAlertLabelMatcherArray) ToNotificationPolicyOverrideAlertLabelMatcherArrayOutputWithContext(ctx context.Context) NotificationPolicyOverrideAlertLabelMatcherArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOverrideAlertLabelMatcherArrayOutput) +} + +type NotificationPolicyOverrideAlertLabelMatcherOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyOverrideAlertLabelMatcherOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (o NotificationPolicyOverrideAlertLabelMatcherOutput) ToNotificationPolicyOverrideAlertLabelMatcherOutput() NotificationPolicyOverrideAlertLabelMatcherOutput { + return o +} + +func (o NotificationPolicyOverrideAlertLabelMatcherOutput) ToNotificationPolicyOverrideAlertLabelMatcherOutputWithContext(ctx context.Context) NotificationPolicyOverrideAlertLabelMatcherOutput { + return o +} + +func (o NotificationPolicyOverrideAlertLabelMatcherOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyOverrideAlertLabelMatcher) string { return v.Name }).(pulumi.StringOutput) +} + +func (o NotificationPolicyOverrideAlertLabelMatcherOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyOverrideAlertLabelMatcher) string { return v.Type }).(pulumi.StringOutput) +} + +func (o NotificationPolicyOverrideAlertLabelMatcherOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyOverrideAlertLabelMatcher) string { return v.Value }).(pulumi.StringOutput) +} + +type NotificationPolicyOverrideAlertLabelMatcherArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyOverrideAlertLabelMatcherArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyOverrideAlertLabelMatcher)(nil)).Elem() +} + +func (o NotificationPolicyOverrideAlertLabelMatcherArrayOutput) ToNotificationPolicyOverrideAlertLabelMatcherArrayOutput() NotificationPolicyOverrideAlertLabelMatcherArrayOutput { + return o +} + +func (o NotificationPolicyOverrideAlertLabelMatcherArrayOutput) ToNotificationPolicyOverrideAlertLabelMatcherArrayOutputWithContext(ctx context.Context) NotificationPolicyOverrideAlertLabelMatcherArrayOutput { + return o +} + +func (o NotificationPolicyOverrideAlertLabelMatcherArrayOutput) Index(i pulumi.IntInput) NotificationPolicyOverrideAlertLabelMatcherOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyOverrideAlertLabelMatcher { + return vs[0].([]NotificationPolicyOverrideAlertLabelMatcher)[vs[1].(int)] + }).(NotificationPolicyOverrideAlertLabelMatcherOutput) +} + +type NotificationPolicyOverrideRoute struct { + Notifiers []string `pulumi:"notifiers"` + RepeatInterval *string `pulumi:"repeatInterval"` + Severity string `pulumi:"severity"` +} + +// NotificationPolicyOverrideRouteInput is an input type that accepts NotificationPolicyOverrideRouteArgs and NotificationPolicyOverrideRouteOutput values. +// You can construct a concrete instance of `NotificationPolicyOverrideRouteInput` via: +// +// NotificationPolicyOverrideRouteArgs{...} +type NotificationPolicyOverrideRouteInput interface { + pulumi.Input + + ToNotificationPolicyOverrideRouteOutput() NotificationPolicyOverrideRouteOutput + ToNotificationPolicyOverrideRouteOutputWithContext(context.Context) NotificationPolicyOverrideRouteOutput +} + +type NotificationPolicyOverrideRouteArgs struct { + Notifiers pulumi.StringArrayInput `pulumi:"notifiers"` + RepeatInterval pulumi.StringPtrInput `pulumi:"repeatInterval"` + Severity pulumi.StringInput `pulumi:"severity"` +} + +func (NotificationPolicyOverrideRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyOverrideRoute)(nil)).Elem() +} + +func (i NotificationPolicyOverrideRouteArgs) ToNotificationPolicyOverrideRouteOutput() NotificationPolicyOverrideRouteOutput { + return i.ToNotificationPolicyOverrideRouteOutputWithContext(context.Background()) +} + +func (i NotificationPolicyOverrideRouteArgs) ToNotificationPolicyOverrideRouteOutputWithContext(ctx context.Context) NotificationPolicyOverrideRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOverrideRouteOutput) +} + +// NotificationPolicyOverrideRouteArrayInput is an input type that accepts NotificationPolicyOverrideRouteArray and NotificationPolicyOverrideRouteArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyOverrideRouteArrayInput` via: +// +// NotificationPolicyOverrideRouteArray{ NotificationPolicyOverrideRouteArgs{...} } +type NotificationPolicyOverrideRouteArrayInput interface { + pulumi.Input + + ToNotificationPolicyOverrideRouteArrayOutput() NotificationPolicyOverrideRouteArrayOutput + ToNotificationPolicyOverrideRouteArrayOutputWithContext(context.Context) NotificationPolicyOverrideRouteArrayOutput +} + +type NotificationPolicyOverrideRouteArray []NotificationPolicyOverrideRouteInput + +func (NotificationPolicyOverrideRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyOverrideRoute)(nil)).Elem() +} + +func (i NotificationPolicyOverrideRouteArray) ToNotificationPolicyOverrideRouteArrayOutput() NotificationPolicyOverrideRouteArrayOutput { + return i.ToNotificationPolicyOverrideRouteArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyOverrideRouteArray) ToNotificationPolicyOverrideRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyOverrideRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOverrideRouteArrayOutput) +} + +type NotificationPolicyOverrideRouteOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyOverrideRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyOverrideRoute)(nil)).Elem() +} + +func (o NotificationPolicyOverrideRouteOutput) ToNotificationPolicyOverrideRouteOutput() NotificationPolicyOverrideRouteOutput { + return o +} + +func (o NotificationPolicyOverrideRouteOutput) ToNotificationPolicyOverrideRouteOutputWithContext(ctx context.Context) NotificationPolicyOverrideRouteOutput { + return o +} + +func (o NotificationPolicyOverrideRouteOutput) Notifiers() pulumi.StringArrayOutput { + return o.ApplyT(func(v NotificationPolicyOverrideRoute) []string { return v.Notifiers }).(pulumi.StringArrayOutput) +} + +func (o NotificationPolicyOverrideRouteOutput) RepeatInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyOverrideRoute) *string { return v.RepeatInterval }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyOverrideRouteOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyOverrideRoute) string { return v.Severity }).(pulumi.StringOutput) +} + +type NotificationPolicyOverrideRouteArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyOverrideRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyOverrideRoute)(nil)).Elem() +} + +func (o NotificationPolicyOverrideRouteArrayOutput) ToNotificationPolicyOverrideRouteArrayOutput() NotificationPolicyOverrideRouteArrayOutput { + return o +} + +func (o NotificationPolicyOverrideRouteArrayOutput) ToNotificationPolicyOverrideRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyOverrideRouteArrayOutput { + return o +} + +func (o NotificationPolicyOverrideRouteArrayOutput) Index(i pulumi.IntInput) NotificationPolicyOverrideRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyOverrideRoute { + return vs[0].([]NotificationPolicyOverrideRoute)[vs[1].(int)] + }).(NotificationPolicyOverrideRouteOutput) +} + +type NotificationPolicyRoute struct { + Notifiers []string `pulumi:"notifiers"` + RepeatInterval *string `pulumi:"repeatInterval"` + Severity string `pulumi:"severity"` +} + +// NotificationPolicyRouteInput is an input type that accepts NotificationPolicyRouteArgs and NotificationPolicyRouteOutput values. +// You can construct a concrete instance of `NotificationPolicyRouteInput` via: +// +// NotificationPolicyRouteArgs{...} +type NotificationPolicyRouteInput interface { + pulumi.Input + + ToNotificationPolicyRouteOutput() NotificationPolicyRouteOutput + ToNotificationPolicyRouteOutputWithContext(context.Context) NotificationPolicyRouteOutput +} + +type NotificationPolicyRouteArgs struct { + Notifiers pulumi.StringArrayInput `pulumi:"notifiers"` + RepeatInterval pulumi.StringPtrInput `pulumi:"repeatInterval"` + Severity pulumi.StringInput `pulumi:"severity"` +} + +func (NotificationPolicyRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyRoute)(nil)).Elem() +} + +func (i NotificationPolicyRouteArgs) ToNotificationPolicyRouteOutput() NotificationPolicyRouteOutput { + return i.ToNotificationPolicyRouteOutputWithContext(context.Background()) +} + +func (i NotificationPolicyRouteArgs) ToNotificationPolicyRouteOutputWithContext(ctx context.Context) NotificationPolicyRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyRouteOutput) +} + +// NotificationPolicyRouteArrayInput is an input type that accepts NotificationPolicyRouteArray and NotificationPolicyRouteArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyRouteArrayInput` via: +// +// NotificationPolicyRouteArray{ NotificationPolicyRouteArgs{...} } +type NotificationPolicyRouteArrayInput interface { + pulumi.Input + + ToNotificationPolicyRouteArrayOutput() NotificationPolicyRouteArrayOutput + ToNotificationPolicyRouteArrayOutputWithContext(context.Context) NotificationPolicyRouteArrayOutput +} + +type NotificationPolicyRouteArray []NotificationPolicyRouteInput + +func (NotificationPolicyRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyRoute)(nil)).Elem() +} + +func (i NotificationPolicyRouteArray) ToNotificationPolicyRouteArrayOutput() NotificationPolicyRouteArrayOutput { + return i.ToNotificationPolicyRouteArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyRouteArray) ToNotificationPolicyRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyRouteArrayOutput) +} + +type NotificationPolicyRouteOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyRoute)(nil)).Elem() +} + +func (o NotificationPolicyRouteOutput) ToNotificationPolicyRouteOutput() NotificationPolicyRouteOutput { + return o +} + +func (o NotificationPolicyRouteOutput) ToNotificationPolicyRouteOutputWithContext(ctx context.Context) NotificationPolicyRouteOutput { + return o +} + +func (o NotificationPolicyRouteOutput) Notifiers() pulumi.StringArrayOutput { + return o.ApplyT(func(v NotificationPolicyRoute) []string { return v.Notifiers }).(pulumi.StringArrayOutput) +} + +func (o NotificationPolicyRouteOutput) RepeatInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyRoute) *string { return v.RepeatInterval }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyRouteOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyRoute) string { return v.Severity }).(pulumi.StringOutput) +} + +type NotificationPolicyRouteArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyRoute)(nil)).Elem() +} + +func (o NotificationPolicyRouteArrayOutput) ToNotificationPolicyRouteArrayOutput() NotificationPolicyRouteArrayOutput { + return o +} + +func (o NotificationPolicyRouteArrayOutput) ToNotificationPolicyRouteArrayOutputWithContext(ctx context.Context) NotificationPolicyRouteArrayOutput { + return o +} + +func (o NotificationPolicyRouteArrayOutput) Index(i pulumi.IntInput) NotificationPolicyRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyRoute { + return vs[0].([]NotificationPolicyRoute)[vs[1].(int)] + }).(NotificationPolicyRouteOutput) +} + +type NotificationPolicyRule struct { + Notifiers []string `pulumi:"notifiers"` + RepeatInterval *string `pulumi:"repeatInterval"` + Severity string `pulumi:"severity"` +} + +// NotificationPolicyRuleInput is an input type that accepts NotificationPolicyRuleArgs and NotificationPolicyRuleOutput values. +// You can construct a concrete instance of `NotificationPolicyRuleInput` via: +// +// NotificationPolicyRuleArgs{...} +type NotificationPolicyRuleInput interface { + pulumi.Input + + ToNotificationPolicyRuleOutput() NotificationPolicyRuleOutput + ToNotificationPolicyRuleOutputWithContext(context.Context) NotificationPolicyRuleOutput +} + +type NotificationPolicyRuleArgs struct { + Notifiers pulumi.StringArrayInput `pulumi:"notifiers"` + RepeatInterval pulumi.StringPtrInput `pulumi:"repeatInterval"` + Severity pulumi.StringInput `pulumi:"severity"` +} + +func (NotificationPolicyRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyRule)(nil)).Elem() +} + +func (i NotificationPolicyRuleArgs) ToNotificationPolicyRuleOutput() NotificationPolicyRuleOutput { + return i.ToNotificationPolicyRuleOutputWithContext(context.Background()) +} + +func (i NotificationPolicyRuleArgs) ToNotificationPolicyRuleOutputWithContext(ctx context.Context) NotificationPolicyRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyRuleOutput) +} + +// NotificationPolicyRuleArrayInput is an input type that accepts NotificationPolicyRuleArray and NotificationPolicyRuleArrayOutput values. +// You can construct a concrete instance of `NotificationPolicyRuleArrayInput` via: +// +// NotificationPolicyRuleArray{ NotificationPolicyRuleArgs{...} } +type NotificationPolicyRuleArrayInput interface { + pulumi.Input + + ToNotificationPolicyRuleArrayOutput() NotificationPolicyRuleArrayOutput + ToNotificationPolicyRuleArrayOutputWithContext(context.Context) NotificationPolicyRuleArrayOutput +} + +type NotificationPolicyRuleArray []NotificationPolicyRuleInput + +func (NotificationPolicyRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyRule)(nil)).Elem() +} + +func (i NotificationPolicyRuleArray) ToNotificationPolicyRuleArrayOutput() NotificationPolicyRuleArrayOutput { + return i.ToNotificationPolicyRuleArrayOutputWithContext(context.Background()) +} + +func (i NotificationPolicyRuleArray) ToNotificationPolicyRuleArrayOutputWithContext(ctx context.Context) NotificationPolicyRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyRuleArrayOutput) +} + +type NotificationPolicyRuleOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPolicyRule)(nil)).Elem() +} + +func (o NotificationPolicyRuleOutput) ToNotificationPolicyRuleOutput() NotificationPolicyRuleOutput { + return o +} + +func (o NotificationPolicyRuleOutput) ToNotificationPolicyRuleOutputWithContext(ctx context.Context) NotificationPolicyRuleOutput { + return o +} + +func (o NotificationPolicyRuleOutput) Notifiers() pulumi.StringArrayOutput { + return o.ApplyT(func(v NotificationPolicyRule) []string { return v.Notifiers }).(pulumi.StringArrayOutput) +} + +func (o NotificationPolicyRuleOutput) RepeatInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationPolicyRule) *string { return v.RepeatInterval }).(pulumi.StringPtrOutput) +} + +func (o NotificationPolicyRuleOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPolicyRule) string { return v.Severity }).(pulumi.StringOutput) +} + +type NotificationPolicyRuleArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPolicyRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPolicyRule)(nil)).Elem() +} + +func (o NotificationPolicyRuleArrayOutput) ToNotificationPolicyRuleArrayOutput() NotificationPolicyRuleArrayOutput { + return o +} + +func (o NotificationPolicyRuleArrayOutput) ToNotificationPolicyRuleArrayOutputWithContext(ctx context.Context) NotificationPolicyRuleArrayOutput { + return o +} + +func (o NotificationPolicyRuleArrayOutput) Index(i pulumi.IntInput) NotificationPolicyRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPolicyRule { + return vs[0].([]NotificationPolicyRule)[vs[1].(int)] + }).(NotificationPolicyRuleOutput) +} + +type OpsgenieAlertNotifierResponder struct { + Id *string `pulumi:"id"` + Name *string `pulumi:"name"` + Type string `pulumi:"type"` + Username *string `pulumi:"username"` +} + +// OpsgenieAlertNotifierResponderInput is an input type that accepts OpsgenieAlertNotifierResponderArgs and OpsgenieAlertNotifierResponderOutput values. +// You can construct a concrete instance of `OpsgenieAlertNotifierResponderInput` via: +// +// OpsgenieAlertNotifierResponderArgs{...} +type OpsgenieAlertNotifierResponderInput interface { + pulumi.Input + + ToOpsgenieAlertNotifierResponderOutput() OpsgenieAlertNotifierResponderOutput + ToOpsgenieAlertNotifierResponderOutputWithContext(context.Context) OpsgenieAlertNotifierResponderOutput +} + +type OpsgenieAlertNotifierResponderArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringPtrInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (OpsgenieAlertNotifierResponderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OpsgenieAlertNotifierResponder)(nil)).Elem() +} + +func (i OpsgenieAlertNotifierResponderArgs) ToOpsgenieAlertNotifierResponderOutput() OpsgenieAlertNotifierResponderOutput { + return i.ToOpsgenieAlertNotifierResponderOutputWithContext(context.Background()) +} + +func (i OpsgenieAlertNotifierResponderArgs) ToOpsgenieAlertNotifierResponderOutputWithContext(ctx context.Context) OpsgenieAlertNotifierResponderOutput { + return pulumi.ToOutputWithContext(ctx, i).(OpsgenieAlertNotifierResponderOutput) +} + +// OpsgenieAlertNotifierResponderArrayInput is an input type that accepts OpsgenieAlertNotifierResponderArray and OpsgenieAlertNotifierResponderArrayOutput values. +// You can construct a concrete instance of `OpsgenieAlertNotifierResponderArrayInput` via: +// +// OpsgenieAlertNotifierResponderArray{ OpsgenieAlertNotifierResponderArgs{...} } +type OpsgenieAlertNotifierResponderArrayInput interface { + pulumi.Input + + ToOpsgenieAlertNotifierResponderArrayOutput() OpsgenieAlertNotifierResponderArrayOutput + ToOpsgenieAlertNotifierResponderArrayOutputWithContext(context.Context) OpsgenieAlertNotifierResponderArrayOutput +} + +type OpsgenieAlertNotifierResponderArray []OpsgenieAlertNotifierResponderInput + +func (OpsgenieAlertNotifierResponderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]OpsgenieAlertNotifierResponder)(nil)).Elem() +} + +func (i OpsgenieAlertNotifierResponderArray) ToOpsgenieAlertNotifierResponderArrayOutput() OpsgenieAlertNotifierResponderArrayOutput { + return i.ToOpsgenieAlertNotifierResponderArrayOutputWithContext(context.Background()) +} + +func (i OpsgenieAlertNotifierResponderArray) ToOpsgenieAlertNotifierResponderArrayOutputWithContext(ctx context.Context) OpsgenieAlertNotifierResponderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(OpsgenieAlertNotifierResponderArrayOutput) +} + +type OpsgenieAlertNotifierResponderOutput struct{ *pulumi.OutputState } + +func (OpsgenieAlertNotifierResponderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OpsgenieAlertNotifierResponder)(nil)).Elem() +} + +func (o OpsgenieAlertNotifierResponderOutput) ToOpsgenieAlertNotifierResponderOutput() OpsgenieAlertNotifierResponderOutput { + return o +} + +func (o OpsgenieAlertNotifierResponderOutput) ToOpsgenieAlertNotifierResponderOutputWithContext(ctx context.Context) OpsgenieAlertNotifierResponderOutput { + return o +} + +func (o OpsgenieAlertNotifierResponderOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v OpsgenieAlertNotifierResponder) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierResponderOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v OpsgenieAlertNotifierResponder) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o OpsgenieAlertNotifierResponderOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v OpsgenieAlertNotifierResponder) string { return v.Type }).(pulumi.StringOutput) +} + +func (o OpsgenieAlertNotifierResponderOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v OpsgenieAlertNotifierResponder) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type OpsgenieAlertNotifierResponderArrayOutput struct{ *pulumi.OutputState } + +func (OpsgenieAlertNotifierResponderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]OpsgenieAlertNotifierResponder)(nil)).Elem() +} + +func (o OpsgenieAlertNotifierResponderArrayOutput) ToOpsgenieAlertNotifierResponderArrayOutput() OpsgenieAlertNotifierResponderArrayOutput { + return o +} + +func (o OpsgenieAlertNotifierResponderArrayOutput) ToOpsgenieAlertNotifierResponderArrayOutputWithContext(ctx context.Context) OpsgenieAlertNotifierResponderArrayOutput { + return o +} + +func (o OpsgenieAlertNotifierResponderArrayOutput) Index(i pulumi.IntInput) OpsgenieAlertNotifierResponderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) OpsgenieAlertNotifierResponder { + return vs[0].([]OpsgenieAlertNotifierResponder)[vs[1].(int)] + }).(OpsgenieAlertNotifierResponderOutput) +} + +type PagerdutyAlertNotifierImage struct { + Alt *string `pulumi:"alt"` + Href *string `pulumi:"href"` + Src string `pulumi:"src"` +} + +// PagerdutyAlertNotifierImageInput is an input type that accepts PagerdutyAlertNotifierImageArgs and PagerdutyAlertNotifierImageOutput values. +// You can construct a concrete instance of `PagerdutyAlertNotifierImageInput` via: +// +// PagerdutyAlertNotifierImageArgs{...} +type PagerdutyAlertNotifierImageInput interface { + pulumi.Input + + ToPagerdutyAlertNotifierImageOutput() PagerdutyAlertNotifierImageOutput + ToPagerdutyAlertNotifierImageOutputWithContext(context.Context) PagerdutyAlertNotifierImageOutput +} + +type PagerdutyAlertNotifierImageArgs struct { + Alt pulumi.StringPtrInput `pulumi:"alt"` + Href pulumi.StringPtrInput `pulumi:"href"` + Src pulumi.StringInput `pulumi:"src"` +} + +func (PagerdutyAlertNotifierImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PagerdutyAlertNotifierImage)(nil)).Elem() +} + +func (i PagerdutyAlertNotifierImageArgs) ToPagerdutyAlertNotifierImageOutput() PagerdutyAlertNotifierImageOutput { + return i.ToPagerdutyAlertNotifierImageOutputWithContext(context.Background()) +} + +func (i PagerdutyAlertNotifierImageArgs) ToPagerdutyAlertNotifierImageOutputWithContext(ctx context.Context) PagerdutyAlertNotifierImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(PagerdutyAlertNotifierImageOutput) +} + +// PagerdutyAlertNotifierImageArrayInput is an input type that accepts PagerdutyAlertNotifierImageArray and PagerdutyAlertNotifierImageArrayOutput values. +// You can construct a concrete instance of `PagerdutyAlertNotifierImageArrayInput` via: +// +// PagerdutyAlertNotifierImageArray{ PagerdutyAlertNotifierImageArgs{...} } +type PagerdutyAlertNotifierImageArrayInput interface { + pulumi.Input + + ToPagerdutyAlertNotifierImageArrayOutput() PagerdutyAlertNotifierImageArrayOutput + ToPagerdutyAlertNotifierImageArrayOutputWithContext(context.Context) PagerdutyAlertNotifierImageArrayOutput +} + +type PagerdutyAlertNotifierImageArray []PagerdutyAlertNotifierImageInput + +func (PagerdutyAlertNotifierImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PagerdutyAlertNotifierImage)(nil)).Elem() +} + +func (i PagerdutyAlertNotifierImageArray) ToPagerdutyAlertNotifierImageArrayOutput() PagerdutyAlertNotifierImageArrayOutput { + return i.ToPagerdutyAlertNotifierImageArrayOutputWithContext(context.Background()) +} + +func (i PagerdutyAlertNotifierImageArray) ToPagerdutyAlertNotifierImageArrayOutputWithContext(ctx context.Context) PagerdutyAlertNotifierImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PagerdutyAlertNotifierImageArrayOutput) +} + +type PagerdutyAlertNotifierImageOutput struct{ *pulumi.OutputState } + +func (PagerdutyAlertNotifierImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PagerdutyAlertNotifierImage)(nil)).Elem() +} + +func (o PagerdutyAlertNotifierImageOutput) ToPagerdutyAlertNotifierImageOutput() PagerdutyAlertNotifierImageOutput { + return o +} + +func (o PagerdutyAlertNotifierImageOutput) ToPagerdutyAlertNotifierImageOutputWithContext(ctx context.Context) PagerdutyAlertNotifierImageOutput { + return o +} + +func (o PagerdutyAlertNotifierImageOutput) Alt() pulumi.StringPtrOutput { + return o.ApplyT(func(v PagerdutyAlertNotifierImage) *string { return v.Alt }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierImageOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v PagerdutyAlertNotifierImage) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +func (o PagerdutyAlertNotifierImageOutput) Src() pulumi.StringOutput { + return o.ApplyT(func(v PagerdutyAlertNotifierImage) string { return v.Src }).(pulumi.StringOutput) +} + +type PagerdutyAlertNotifierImageArrayOutput struct{ *pulumi.OutputState } + +func (PagerdutyAlertNotifierImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PagerdutyAlertNotifierImage)(nil)).Elem() +} + +func (o PagerdutyAlertNotifierImageArrayOutput) ToPagerdutyAlertNotifierImageArrayOutput() PagerdutyAlertNotifierImageArrayOutput { + return o +} + +func (o PagerdutyAlertNotifierImageArrayOutput) ToPagerdutyAlertNotifierImageArrayOutputWithContext(ctx context.Context) PagerdutyAlertNotifierImageArrayOutput { + return o +} + +func (o PagerdutyAlertNotifierImageArrayOutput) Index(i pulumi.IntInput) PagerdutyAlertNotifierImageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PagerdutyAlertNotifierImage { + return vs[0].([]PagerdutyAlertNotifierImage)[vs[1].(int)] + }).(PagerdutyAlertNotifierImageOutput) +} + +type PagerdutyAlertNotifierLink struct { + Href string `pulumi:"href"` + Text *string `pulumi:"text"` +} + +// PagerdutyAlertNotifierLinkInput is an input type that accepts PagerdutyAlertNotifierLinkArgs and PagerdutyAlertNotifierLinkOutput values. +// You can construct a concrete instance of `PagerdutyAlertNotifierLinkInput` via: +// +// PagerdutyAlertNotifierLinkArgs{...} +type PagerdutyAlertNotifierLinkInput interface { + pulumi.Input + + ToPagerdutyAlertNotifierLinkOutput() PagerdutyAlertNotifierLinkOutput + ToPagerdutyAlertNotifierLinkOutputWithContext(context.Context) PagerdutyAlertNotifierLinkOutput +} + +type PagerdutyAlertNotifierLinkArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Text pulumi.StringPtrInput `pulumi:"text"` +} + +func (PagerdutyAlertNotifierLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PagerdutyAlertNotifierLink)(nil)).Elem() +} + +func (i PagerdutyAlertNotifierLinkArgs) ToPagerdutyAlertNotifierLinkOutput() PagerdutyAlertNotifierLinkOutput { + return i.ToPagerdutyAlertNotifierLinkOutputWithContext(context.Background()) +} + +func (i PagerdutyAlertNotifierLinkArgs) ToPagerdutyAlertNotifierLinkOutputWithContext(ctx context.Context) PagerdutyAlertNotifierLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PagerdutyAlertNotifierLinkOutput) +} + +// PagerdutyAlertNotifierLinkArrayInput is an input type that accepts PagerdutyAlertNotifierLinkArray and PagerdutyAlertNotifierLinkArrayOutput values. +// You can construct a concrete instance of `PagerdutyAlertNotifierLinkArrayInput` via: +// +// PagerdutyAlertNotifierLinkArray{ PagerdutyAlertNotifierLinkArgs{...} } +type PagerdutyAlertNotifierLinkArrayInput interface { + pulumi.Input + + ToPagerdutyAlertNotifierLinkArrayOutput() PagerdutyAlertNotifierLinkArrayOutput + ToPagerdutyAlertNotifierLinkArrayOutputWithContext(context.Context) PagerdutyAlertNotifierLinkArrayOutput +} + +type PagerdutyAlertNotifierLinkArray []PagerdutyAlertNotifierLinkInput + +func (PagerdutyAlertNotifierLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PagerdutyAlertNotifierLink)(nil)).Elem() +} + +func (i PagerdutyAlertNotifierLinkArray) ToPagerdutyAlertNotifierLinkArrayOutput() PagerdutyAlertNotifierLinkArrayOutput { + return i.ToPagerdutyAlertNotifierLinkArrayOutputWithContext(context.Background()) +} + +func (i PagerdutyAlertNotifierLinkArray) ToPagerdutyAlertNotifierLinkArrayOutputWithContext(ctx context.Context) PagerdutyAlertNotifierLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PagerdutyAlertNotifierLinkArrayOutput) +} + +type PagerdutyAlertNotifierLinkOutput struct{ *pulumi.OutputState } + +func (PagerdutyAlertNotifierLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PagerdutyAlertNotifierLink)(nil)).Elem() +} + +func (o PagerdutyAlertNotifierLinkOutput) ToPagerdutyAlertNotifierLinkOutput() PagerdutyAlertNotifierLinkOutput { + return o +} + +func (o PagerdutyAlertNotifierLinkOutput) ToPagerdutyAlertNotifierLinkOutputWithContext(ctx context.Context) PagerdutyAlertNotifierLinkOutput { + return o +} + +func (o PagerdutyAlertNotifierLinkOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v PagerdutyAlertNotifierLink) string { return v.Href }).(pulumi.StringOutput) +} + +func (o PagerdutyAlertNotifierLinkOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v PagerdutyAlertNotifierLink) *string { return v.Text }).(pulumi.StringPtrOutput) +} + +type PagerdutyAlertNotifierLinkArrayOutput struct{ *pulumi.OutputState } + +func (PagerdutyAlertNotifierLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PagerdutyAlertNotifierLink)(nil)).Elem() +} + +func (o PagerdutyAlertNotifierLinkArrayOutput) ToPagerdutyAlertNotifierLinkArrayOutput() PagerdutyAlertNotifierLinkArrayOutput { + return o +} + +func (o PagerdutyAlertNotifierLinkArrayOutput) ToPagerdutyAlertNotifierLinkArrayOutputWithContext(ctx context.Context) PagerdutyAlertNotifierLinkArrayOutput { + return o +} + +func (o PagerdutyAlertNotifierLinkArrayOutput) Index(i pulumi.IntInput) PagerdutyAlertNotifierLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PagerdutyAlertNotifierLink { + return vs[0].([]PagerdutyAlertNotifierLink)[vs[1].(int)] + }).(PagerdutyAlertNotifierLinkOutput) +} + +type ResourcePoolsConfigDefaultPool struct { + Allocation ResourcePoolsConfigDefaultPoolAllocation `pulumi:"allocation"` + Priorities *ResourcePoolsConfigDefaultPoolPriorities `pulumi:"priorities"` +} + +// ResourcePoolsConfigDefaultPoolInput is an input type that accepts ResourcePoolsConfigDefaultPoolArgs and ResourcePoolsConfigDefaultPoolOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigDefaultPoolInput` via: +// +// ResourcePoolsConfigDefaultPoolArgs{...} +type ResourcePoolsConfigDefaultPoolInput interface { + pulumi.Input + + ToResourcePoolsConfigDefaultPoolOutput() ResourcePoolsConfigDefaultPoolOutput + ToResourcePoolsConfigDefaultPoolOutputWithContext(context.Context) ResourcePoolsConfigDefaultPoolOutput +} + +type ResourcePoolsConfigDefaultPoolArgs struct { + Allocation ResourcePoolsConfigDefaultPoolAllocationInput `pulumi:"allocation"` + Priorities ResourcePoolsConfigDefaultPoolPrioritiesPtrInput `pulumi:"priorities"` +} + +func (ResourcePoolsConfigDefaultPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigDefaultPool)(nil)).Elem() +} + +func (i ResourcePoolsConfigDefaultPoolArgs) ToResourcePoolsConfigDefaultPoolOutput() ResourcePoolsConfigDefaultPoolOutput { + return i.ToResourcePoolsConfigDefaultPoolOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigDefaultPoolArgs) ToResourcePoolsConfigDefaultPoolOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolOutput) +} + +func (i ResourcePoolsConfigDefaultPoolArgs) ToResourcePoolsConfigDefaultPoolPtrOutput() ResourcePoolsConfigDefaultPoolPtrOutput { + return i.ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigDefaultPoolArgs) ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolOutput).ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(ctx) +} + +// ResourcePoolsConfigDefaultPoolPtrInput is an input type that accepts ResourcePoolsConfigDefaultPoolArgs, ResourcePoolsConfigDefaultPoolPtr and ResourcePoolsConfigDefaultPoolPtrOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigDefaultPoolPtrInput` via: +// +// ResourcePoolsConfigDefaultPoolArgs{...} +// +// or: +// +// nil +type ResourcePoolsConfigDefaultPoolPtrInput interface { + pulumi.Input + + ToResourcePoolsConfigDefaultPoolPtrOutput() ResourcePoolsConfigDefaultPoolPtrOutput + ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(context.Context) ResourcePoolsConfigDefaultPoolPtrOutput +} + +type resourcePoolsConfigDefaultPoolPtrType ResourcePoolsConfigDefaultPoolArgs + +func ResourcePoolsConfigDefaultPoolPtr(v *ResourcePoolsConfigDefaultPoolArgs) ResourcePoolsConfigDefaultPoolPtrInput { + return (*resourcePoolsConfigDefaultPoolPtrType)(v) +} + +func (*resourcePoolsConfigDefaultPoolPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigDefaultPool)(nil)).Elem() +} + +func (i *resourcePoolsConfigDefaultPoolPtrType) ToResourcePoolsConfigDefaultPoolPtrOutput() ResourcePoolsConfigDefaultPoolPtrOutput { + return i.ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(context.Background()) +} + +func (i *resourcePoolsConfigDefaultPoolPtrType) ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolPtrOutput) +} + +type ResourcePoolsConfigDefaultPoolOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigDefaultPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigDefaultPool)(nil)).Elem() +} + +func (o ResourcePoolsConfigDefaultPoolOutput) ToResourcePoolsConfigDefaultPoolOutput() ResourcePoolsConfigDefaultPoolOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolOutput) ToResourcePoolsConfigDefaultPoolOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolOutput) ToResourcePoolsConfigDefaultPoolPtrOutput() ResourcePoolsConfigDefaultPoolPtrOutput { + return o.ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(context.Background()) +} + +func (o ResourcePoolsConfigDefaultPoolOutput) ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ResourcePoolsConfigDefaultPool) *ResourcePoolsConfigDefaultPool { + return &v + }).(ResourcePoolsConfigDefaultPoolPtrOutput) +} + +func (o ResourcePoolsConfigDefaultPoolOutput) Allocation() ResourcePoolsConfigDefaultPoolAllocationOutput { + return o.ApplyT(func(v ResourcePoolsConfigDefaultPool) ResourcePoolsConfigDefaultPoolAllocation { return v.Allocation }).(ResourcePoolsConfigDefaultPoolAllocationOutput) +} + +func (o ResourcePoolsConfigDefaultPoolOutput) Priorities() ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return o.ApplyT(func(v ResourcePoolsConfigDefaultPool) *ResourcePoolsConfigDefaultPoolPriorities { return v.Priorities }).(ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) +} + +type ResourcePoolsConfigDefaultPoolPtrOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigDefaultPoolPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigDefaultPool)(nil)).Elem() +} + +func (o ResourcePoolsConfigDefaultPoolPtrOutput) ToResourcePoolsConfigDefaultPoolPtrOutput() ResourcePoolsConfigDefaultPoolPtrOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolPtrOutput) ToResourcePoolsConfigDefaultPoolPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPtrOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolPtrOutput) Elem() ResourcePoolsConfigDefaultPoolOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPool) ResourcePoolsConfigDefaultPool { + if v != nil { + return *v + } + var ret ResourcePoolsConfigDefaultPool + return ret + }).(ResourcePoolsConfigDefaultPoolOutput) +} + +func (o ResourcePoolsConfigDefaultPoolPtrOutput) Allocation() ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPool) *ResourcePoolsConfigDefaultPoolAllocation { + if v == nil { + return nil + } + return &v.Allocation + }).(ResourcePoolsConfigDefaultPoolAllocationPtrOutput) +} + +func (o ResourcePoolsConfigDefaultPoolPtrOutput) Priorities() ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPool) *ResourcePoolsConfigDefaultPoolPriorities { + if v == nil { + return nil + } + return v.Priorities + }).(ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) +} + +type ResourcePoolsConfigDefaultPoolAllocation struct { + PercentOfLicense float64 `pulumi:"percentOfLicense"` +} + +// ResourcePoolsConfigDefaultPoolAllocationInput is an input type that accepts ResourcePoolsConfigDefaultPoolAllocationArgs and ResourcePoolsConfigDefaultPoolAllocationOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigDefaultPoolAllocationInput` via: +// +// ResourcePoolsConfigDefaultPoolAllocationArgs{...} +type ResourcePoolsConfigDefaultPoolAllocationInput interface { + pulumi.Input + + ToResourcePoolsConfigDefaultPoolAllocationOutput() ResourcePoolsConfigDefaultPoolAllocationOutput + ToResourcePoolsConfigDefaultPoolAllocationOutputWithContext(context.Context) ResourcePoolsConfigDefaultPoolAllocationOutput +} + +type ResourcePoolsConfigDefaultPoolAllocationArgs struct { + PercentOfLicense pulumi.Float64Input `pulumi:"percentOfLicense"` +} + +func (ResourcePoolsConfigDefaultPoolAllocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigDefaultPoolAllocation)(nil)).Elem() +} + +func (i ResourcePoolsConfigDefaultPoolAllocationArgs) ToResourcePoolsConfigDefaultPoolAllocationOutput() ResourcePoolsConfigDefaultPoolAllocationOutput { + return i.ToResourcePoolsConfigDefaultPoolAllocationOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigDefaultPoolAllocationArgs) ToResourcePoolsConfigDefaultPoolAllocationOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolAllocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolAllocationOutput) +} + +func (i ResourcePoolsConfigDefaultPoolAllocationArgs) ToResourcePoolsConfigDefaultPoolAllocationPtrOutput() ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return i.ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigDefaultPoolAllocationArgs) ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolAllocationOutput).ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(ctx) +} + +// ResourcePoolsConfigDefaultPoolAllocationPtrInput is an input type that accepts ResourcePoolsConfigDefaultPoolAllocationArgs, ResourcePoolsConfigDefaultPoolAllocationPtr and ResourcePoolsConfigDefaultPoolAllocationPtrOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigDefaultPoolAllocationPtrInput` via: +// +// ResourcePoolsConfigDefaultPoolAllocationArgs{...} +// +// or: +// +// nil +type ResourcePoolsConfigDefaultPoolAllocationPtrInput interface { + pulumi.Input + + ToResourcePoolsConfigDefaultPoolAllocationPtrOutput() ResourcePoolsConfigDefaultPoolAllocationPtrOutput + ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(context.Context) ResourcePoolsConfigDefaultPoolAllocationPtrOutput +} + +type resourcePoolsConfigDefaultPoolAllocationPtrType ResourcePoolsConfigDefaultPoolAllocationArgs + +func ResourcePoolsConfigDefaultPoolAllocationPtr(v *ResourcePoolsConfigDefaultPoolAllocationArgs) ResourcePoolsConfigDefaultPoolAllocationPtrInput { + return (*resourcePoolsConfigDefaultPoolAllocationPtrType)(v) +} + +func (*resourcePoolsConfigDefaultPoolAllocationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigDefaultPoolAllocation)(nil)).Elem() +} + +func (i *resourcePoolsConfigDefaultPoolAllocationPtrType) ToResourcePoolsConfigDefaultPoolAllocationPtrOutput() ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return i.ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(context.Background()) +} + +func (i *resourcePoolsConfigDefaultPoolAllocationPtrType) ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolAllocationPtrOutput) +} + +type ResourcePoolsConfigDefaultPoolAllocationOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigDefaultPoolAllocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigDefaultPoolAllocation)(nil)).Elem() +} + +func (o ResourcePoolsConfigDefaultPoolAllocationOutput) ToResourcePoolsConfigDefaultPoolAllocationOutput() ResourcePoolsConfigDefaultPoolAllocationOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolAllocationOutput) ToResourcePoolsConfigDefaultPoolAllocationOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolAllocationOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolAllocationOutput) ToResourcePoolsConfigDefaultPoolAllocationPtrOutput() ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return o.ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(context.Background()) +} + +func (o ResourcePoolsConfigDefaultPoolAllocationOutput) ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ResourcePoolsConfigDefaultPoolAllocation) *ResourcePoolsConfigDefaultPoolAllocation { + return &v + }).(ResourcePoolsConfigDefaultPoolAllocationPtrOutput) +} + +func (o ResourcePoolsConfigDefaultPoolAllocationOutput) PercentOfLicense() pulumi.Float64Output { + return o.ApplyT(func(v ResourcePoolsConfigDefaultPoolAllocation) float64 { return v.PercentOfLicense }).(pulumi.Float64Output) +} + +type ResourcePoolsConfigDefaultPoolAllocationPtrOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigDefaultPoolAllocationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigDefaultPoolAllocation)(nil)).Elem() +} + +func (o ResourcePoolsConfigDefaultPoolAllocationPtrOutput) ToResourcePoolsConfigDefaultPoolAllocationPtrOutput() ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolAllocationPtrOutput) ToResourcePoolsConfigDefaultPoolAllocationPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolAllocationPtrOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolAllocationPtrOutput) Elem() ResourcePoolsConfigDefaultPoolAllocationOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPoolAllocation) ResourcePoolsConfigDefaultPoolAllocation { + if v != nil { + return *v + } + var ret ResourcePoolsConfigDefaultPoolAllocation + return ret + }).(ResourcePoolsConfigDefaultPoolAllocationOutput) +} + +func (o ResourcePoolsConfigDefaultPoolAllocationPtrOutput) PercentOfLicense() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPoolAllocation) *float64 { + if v == nil { + return nil + } + return &v.PercentOfLicense + }).(pulumi.Float64PtrOutput) +} + +type ResourcePoolsConfigDefaultPoolPriorities struct { + HighPriorityMatchRules []string `pulumi:"highPriorityMatchRules"` + LowPriorityMatchRules []string `pulumi:"lowPriorityMatchRules"` +} + +// ResourcePoolsConfigDefaultPoolPrioritiesInput is an input type that accepts ResourcePoolsConfigDefaultPoolPrioritiesArgs and ResourcePoolsConfigDefaultPoolPrioritiesOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigDefaultPoolPrioritiesInput` via: +// +// ResourcePoolsConfigDefaultPoolPrioritiesArgs{...} +type ResourcePoolsConfigDefaultPoolPrioritiesInput interface { + pulumi.Input + + ToResourcePoolsConfigDefaultPoolPrioritiesOutput() ResourcePoolsConfigDefaultPoolPrioritiesOutput + ToResourcePoolsConfigDefaultPoolPrioritiesOutputWithContext(context.Context) ResourcePoolsConfigDefaultPoolPrioritiesOutput +} + +type ResourcePoolsConfigDefaultPoolPrioritiesArgs struct { + HighPriorityMatchRules pulumi.StringArrayInput `pulumi:"highPriorityMatchRules"` + LowPriorityMatchRules pulumi.StringArrayInput `pulumi:"lowPriorityMatchRules"` +} + +func (ResourcePoolsConfigDefaultPoolPrioritiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigDefaultPoolPriorities)(nil)).Elem() +} + +func (i ResourcePoolsConfigDefaultPoolPrioritiesArgs) ToResourcePoolsConfigDefaultPoolPrioritiesOutput() ResourcePoolsConfigDefaultPoolPrioritiesOutput { + return i.ToResourcePoolsConfigDefaultPoolPrioritiesOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigDefaultPoolPrioritiesArgs) ToResourcePoolsConfigDefaultPoolPrioritiesOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPrioritiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolPrioritiesOutput) +} + +func (i ResourcePoolsConfigDefaultPoolPrioritiesArgs) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutput() ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return i.ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigDefaultPoolPrioritiesArgs) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolPrioritiesOutput).ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(ctx) +} + +// ResourcePoolsConfigDefaultPoolPrioritiesPtrInput is an input type that accepts ResourcePoolsConfigDefaultPoolPrioritiesArgs, ResourcePoolsConfigDefaultPoolPrioritiesPtr and ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigDefaultPoolPrioritiesPtrInput` via: +// +// ResourcePoolsConfigDefaultPoolPrioritiesArgs{...} +// +// or: +// +// nil +type ResourcePoolsConfigDefaultPoolPrioritiesPtrInput interface { + pulumi.Input + + ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutput() ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput + ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(context.Context) ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput +} + +type resourcePoolsConfigDefaultPoolPrioritiesPtrType ResourcePoolsConfigDefaultPoolPrioritiesArgs + +func ResourcePoolsConfigDefaultPoolPrioritiesPtr(v *ResourcePoolsConfigDefaultPoolPrioritiesArgs) ResourcePoolsConfigDefaultPoolPrioritiesPtrInput { + return (*resourcePoolsConfigDefaultPoolPrioritiesPtrType)(v) +} + +func (*resourcePoolsConfigDefaultPoolPrioritiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigDefaultPoolPriorities)(nil)).Elem() +} + +func (i *resourcePoolsConfigDefaultPoolPrioritiesPtrType) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutput() ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return i.ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(context.Background()) +} + +func (i *resourcePoolsConfigDefaultPoolPrioritiesPtrType) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) +} + +type ResourcePoolsConfigDefaultPoolPrioritiesOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigDefaultPoolPrioritiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigDefaultPoolPriorities)(nil)).Elem() +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesOutput) ToResourcePoolsConfigDefaultPoolPrioritiesOutput() ResourcePoolsConfigDefaultPoolPrioritiesOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesOutput) ToResourcePoolsConfigDefaultPoolPrioritiesOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPrioritiesOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesOutput) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutput() ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return o.ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(context.Background()) +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesOutput) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ResourcePoolsConfigDefaultPoolPriorities) *ResourcePoolsConfigDefaultPoolPriorities { + return &v + }).(ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesOutput) HighPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v ResourcePoolsConfigDefaultPoolPriorities) []string { return v.HighPriorityMatchRules }).(pulumi.StringArrayOutput) +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesOutput) LowPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v ResourcePoolsConfigDefaultPoolPriorities) []string { return v.LowPriorityMatchRules }).(pulumi.StringArrayOutput) +} + +type ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigDefaultPoolPriorities)(nil)).Elem() +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutput() ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) ToResourcePoolsConfigDefaultPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput { + return o +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) Elem() ResourcePoolsConfigDefaultPoolPrioritiesOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPoolPriorities) ResourcePoolsConfigDefaultPoolPriorities { + if v != nil { + return *v + } + var ret ResourcePoolsConfigDefaultPoolPriorities + return ret + }).(ResourcePoolsConfigDefaultPoolPrioritiesOutput) +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) HighPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPoolPriorities) []string { + if v == nil { + return nil + } + return v.HighPriorityMatchRules + }).(pulumi.StringArrayOutput) +} + +func (o ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput) LowPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ResourcePoolsConfigDefaultPoolPriorities) []string { + if v == nil { + return nil + } + return v.LowPriorityMatchRules + }).(pulumi.StringArrayOutput) +} + +type ResourcePoolsConfigPool struct { + Allocation ResourcePoolsConfigPoolAllocation `pulumi:"allocation"` + // Deprecated: use match_rules + MatchRule *string `pulumi:"matchRule"` + MatchRules []string `pulumi:"matchRules"` + Name string `pulumi:"name"` + Priorities *ResourcePoolsConfigPoolPriorities `pulumi:"priorities"` +} + +// ResourcePoolsConfigPoolInput is an input type that accepts ResourcePoolsConfigPoolArgs and ResourcePoolsConfigPoolOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigPoolInput` via: +// +// ResourcePoolsConfigPoolArgs{...} +type ResourcePoolsConfigPoolInput interface { + pulumi.Input + + ToResourcePoolsConfigPoolOutput() ResourcePoolsConfigPoolOutput + ToResourcePoolsConfigPoolOutputWithContext(context.Context) ResourcePoolsConfigPoolOutput +} + +type ResourcePoolsConfigPoolArgs struct { + Allocation ResourcePoolsConfigPoolAllocationInput `pulumi:"allocation"` + // Deprecated: use match_rules + MatchRule pulumi.StringPtrInput `pulumi:"matchRule"` + MatchRules pulumi.StringArrayInput `pulumi:"matchRules"` + Name pulumi.StringInput `pulumi:"name"` + Priorities ResourcePoolsConfigPoolPrioritiesPtrInput `pulumi:"priorities"` +} + +func (ResourcePoolsConfigPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigPool)(nil)).Elem() +} + +func (i ResourcePoolsConfigPoolArgs) ToResourcePoolsConfigPoolOutput() ResourcePoolsConfigPoolOutput { + return i.ToResourcePoolsConfigPoolOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigPoolArgs) ToResourcePoolsConfigPoolOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigPoolOutput) +} + +// ResourcePoolsConfigPoolArrayInput is an input type that accepts ResourcePoolsConfigPoolArray and ResourcePoolsConfigPoolArrayOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigPoolArrayInput` via: +// +// ResourcePoolsConfigPoolArray{ ResourcePoolsConfigPoolArgs{...} } +type ResourcePoolsConfigPoolArrayInput interface { + pulumi.Input + + ToResourcePoolsConfigPoolArrayOutput() ResourcePoolsConfigPoolArrayOutput + ToResourcePoolsConfigPoolArrayOutputWithContext(context.Context) ResourcePoolsConfigPoolArrayOutput +} + +type ResourcePoolsConfigPoolArray []ResourcePoolsConfigPoolInput + +func (ResourcePoolsConfigPoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ResourcePoolsConfigPool)(nil)).Elem() +} + +func (i ResourcePoolsConfigPoolArray) ToResourcePoolsConfigPoolArrayOutput() ResourcePoolsConfigPoolArrayOutput { + return i.ToResourcePoolsConfigPoolArrayOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigPoolArray) ToResourcePoolsConfigPoolArrayOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigPoolArrayOutput) +} + +type ResourcePoolsConfigPoolOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigPool)(nil)).Elem() +} + +func (o ResourcePoolsConfigPoolOutput) ToResourcePoolsConfigPoolOutput() ResourcePoolsConfigPoolOutput { + return o +} + +func (o ResourcePoolsConfigPoolOutput) ToResourcePoolsConfigPoolOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolOutput { + return o +} + +func (o ResourcePoolsConfigPoolOutput) Allocation() ResourcePoolsConfigPoolAllocationOutput { + return o.ApplyT(func(v ResourcePoolsConfigPool) ResourcePoolsConfigPoolAllocation { return v.Allocation }).(ResourcePoolsConfigPoolAllocationOutput) +} + +// Deprecated: use match_rules +func (o ResourcePoolsConfigPoolOutput) MatchRule() pulumi.StringPtrOutput { + return o.ApplyT(func(v ResourcePoolsConfigPool) *string { return v.MatchRule }).(pulumi.StringPtrOutput) +} + +func (o ResourcePoolsConfigPoolOutput) MatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v ResourcePoolsConfigPool) []string { return v.MatchRules }).(pulumi.StringArrayOutput) +} + +func (o ResourcePoolsConfigPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ResourcePoolsConfigPool) string { return v.Name }).(pulumi.StringOutput) +} + +func (o ResourcePoolsConfigPoolOutput) Priorities() ResourcePoolsConfigPoolPrioritiesPtrOutput { + return o.ApplyT(func(v ResourcePoolsConfigPool) *ResourcePoolsConfigPoolPriorities { return v.Priorities }).(ResourcePoolsConfigPoolPrioritiesPtrOutput) +} + +type ResourcePoolsConfigPoolArrayOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigPoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ResourcePoolsConfigPool)(nil)).Elem() +} + +func (o ResourcePoolsConfigPoolArrayOutput) ToResourcePoolsConfigPoolArrayOutput() ResourcePoolsConfigPoolArrayOutput { + return o +} + +func (o ResourcePoolsConfigPoolArrayOutput) ToResourcePoolsConfigPoolArrayOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolArrayOutput { + return o +} + +func (o ResourcePoolsConfigPoolArrayOutput) Index(i pulumi.IntInput) ResourcePoolsConfigPoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourcePoolsConfigPool { + return vs[0].([]ResourcePoolsConfigPool)[vs[1].(int)] + }).(ResourcePoolsConfigPoolOutput) +} + +type ResourcePoolsConfigPoolAllocation struct { + PercentOfLicense float64 `pulumi:"percentOfLicense"` +} + +// ResourcePoolsConfigPoolAllocationInput is an input type that accepts ResourcePoolsConfigPoolAllocationArgs and ResourcePoolsConfigPoolAllocationOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigPoolAllocationInput` via: +// +// ResourcePoolsConfigPoolAllocationArgs{...} +type ResourcePoolsConfigPoolAllocationInput interface { + pulumi.Input + + ToResourcePoolsConfigPoolAllocationOutput() ResourcePoolsConfigPoolAllocationOutput + ToResourcePoolsConfigPoolAllocationOutputWithContext(context.Context) ResourcePoolsConfigPoolAllocationOutput +} + +type ResourcePoolsConfigPoolAllocationArgs struct { + PercentOfLicense pulumi.Float64Input `pulumi:"percentOfLicense"` +} + +func (ResourcePoolsConfigPoolAllocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigPoolAllocation)(nil)).Elem() +} + +func (i ResourcePoolsConfigPoolAllocationArgs) ToResourcePoolsConfigPoolAllocationOutput() ResourcePoolsConfigPoolAllocationOutput { + return i.ToResourcePoolsConfigPoolAllocationOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigPoolAllocationArgs) ToResourcePoolsConfigPoolAllocationOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolAllocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigPoolAllocationOutput) +} + +type ResourcePoolsConfigPoolAllocationOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigPoolAllocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigPoolAllocation)(nil)).Elem() +} + +func (o ResourcePoolsConfigPoolAllocationOutput) ToResourcePoolsConfigPoolAllocationOutput() ResourcePoolsConfigPoolAllocationOutput { + return o +} + +func (o ResourcePoolsConfigPoolAllocationOutput) ToResourcePoolsConfigPoolAllocationOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolAllocationOutput { + return o +} + +func (o ResourcePoolsConfigPoolAllocationOutput) PercentOfLicense() pulumi.Float64Output { + return o.ApplyT(func(v ResourcePoolsConfigPoolAllocation) float64 { return v.PercentOfLicense }).(pulumi.Float64Output) +} + +type ResourcePoolsConfigPoolPriorities struct { + HighPriorityMatchRules []string `pulumi:"highPriorityMatchRules"` + LowPriorityMatchRules []string `pulumi:"lowPriorityMatchRules"` +} + +// ResourcePoolsConfigPoolPrioritiesInput is an input type that accepts ResourcePoolsConfigPoolPrioritiesArgs and ResourcePoolsConfigPoolPrioritiesOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigPoolPrioritiesInput` via: +// +// ResourcePoolsConfigPoolPrioritiesArgs{...} +type ResourcePoolsConfigPoolPrioritiesInput interface { + pulumi.Input + + ToResourcePoolsConfigPoolPrioritiesOutput() ResourcePoolsConfigPoolPrioritiesOutput + ToResourcePoolsConfigPoolPrioritiesOutputWithContext(context.Context) ResourcePoolsConfigPoolPrioritiesOutput +} + +type ResourcePoolsConfigPoolPrioritiesArgs struct { + HighPriorityMatchRules pulumi.StringArrayInput `pulumi:"highPriorityMatchRules"` + LowPriorityMatchRules pulumi.StringArrayInput `pulumi:"lowPriorityMatchRules"` +} + +func (ResourcePoolsConfigPoolPrioritiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigPoolPriorities)(nil)).Elem() +} + +func (i ResourcePoolsConfigPoolPrioritiesArgs) ToResourcePoolsConfigPoolPrioritiesOutput() ResourcePoolsConfigPoolPrioritiesOutput { + return i.ToResourcePoolsConfigPoolPrioritiesOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigPoolPrioritiesArgs) ToResourcePoolsConfigPoolPrioritiesOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolPrioritiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigPoolPrioritiesOutput) +} + +func (i ResourcePoolsConfigPoolPrioritiesArgs) ToResourcePoolsConfigPoolPrioritiesPtrOutput() ResourcePoolsConfigPoolPrioritiesPtrOutput { + return i.ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigPoolPrioritiesArgs) ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolPrioritiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigPoolPrioritiesOutput).ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(ctx) +} + +// ResourcePoolsConfigPoolPrioritiesPtrInput is an input type that accepts ResourcePoolsConfigPoolPrioritiesArgs, ResourcePoolsConfigPoolPrioritiesPtr and ResourcePoolsConfigPoolPrioritiesPtrOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigPoolPrioritiesPtrInput` via: +// +// ResourcePoolsConfigPoolPrioritiesArgs{...} +// +// or: +// +// nil +type ResourcePoolsConfigPoolPrioritiesPtrInput interface { + pulumi.Input + + ToResourcePoolsConfigPoolPrioritiesPtrOutput() ResourcePoolsConfigPoolPrioritiesPtrOutput + ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(context.Context) ResourcePoolsConfigPoolPrioritiesPtrOutput +} + +type resourcePoolsConfigPoolPrioritiesPtrType ResourcePoolsConfigPoolPrioritiesArgs + +func ResourcePoolsConfigPoolPrioritiesPtr(v *ResourcePoolsConfigPoolPrioritiesArgs) ResourcePoolsConfigPoolPrioritiesPtrInput { + return (*resourcePoolsConfigPoolPrioritiesPtrType)(v) +} + +func (*resourcePoolsConfigPoolPrioritiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigPoolPriorities)(nil)).Elem() +} + +func (i *resourcePoolsConfigPoolPrioritiesPtrType) ToResourcePoolsConfigPoolPrioritiesPtrOutput() ResourcePoolsConfigPoolPrioritiesPtrOutput { + return i.ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(context.Background()) +} + +func (i *resourcePoolsConfigPoolPrioritiesPtrType) ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolPrioritiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigPoolPrioritiesPtrOutput) +} + +type ResourcePoolsConfigPoolPrioritiesOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigPoolPrioritiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ResourcePoolsConfigPoolPriorities)(nil)).Elem() +} + +func (o ResourcePoolsConfigPoolPrioritiesOutput) ToResourcePoolsConfigPoolPrioritiesOutput() ResourcePoolsConfigPoolPrioritiesOutput { + return o +} + +func (o ResourcePoolsConfigPoolPrioritiesOutput) ToResourcePoolsConfigPoolPrioritiesOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolPrioritiesOutput { + return o +} + +func (o ResourcePoolsConfigPoolPrioritiesOutput) ToResourcePoolsConfigPoolPrioritiesPtrOutput() ResourcePoolsConfigPoolPrioritiesPtrOutput { + return o.ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(context.Background()) +} + +func (o ResourcePoolsConfigPoolPrioritiesOutput) ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolPrioritiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ResourcePoolsConfigPoolPriorities) *ResourcePoolsConfigPoolPriorities { + return &v + }).(ResourcePoolsConfigPoolPrioritiesPtrOutput) +} + +func (o ResourcePoolsConfigPoolPrioritiesOutput) HighPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v ResourcePoolsConfigPoolPriorities) []string { return v.HighPriorityMatchRules }).(pulumi.StringArrayOutput) +} + +func (o ResourcePoolsConfigPoolPrioritiesOutput) LowPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v ResourcePoolsConfigPoolPriorities) []string { return v.LowPriorityMatchRules }).(pulumi.StringArrayOutput) +} + +type ResourcePoolsConfigPoolPrioritiesPtrOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigPoolPrioritiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfigPoolPriorities)(nil)).Elem() +} + +func (o ResourcePoolsConfigPoolPrioritiesPtrOutput) ToResourcePoolsConfigPoolPrioritiesPtrOutput() ResourcePoolsConfigPoolPrioritiesPtrOutput { + return o +} + +func (o ResourcePoolsConfigPoolPrioritiesPtrOutput) ToResourcePoolsConfigPoolPrioritiesPtrOutputWithContext(ctx context.Context) ResourcePoolsConfigPoolPrioritiesPtrOutput { + return o +} + +func (o ResourcePoolsConfigPoolPrioritiesPtrOutput) Elem() ResourcePoolsConfigPoolPrioritiesOutput { + return o.ApplyT(func(v *ResourcePoolsConfigPoolPriorities) ResourcePoolsConfigPoolPriorities { + if v != nil { + return *v + } + var ret ResourcePoolsConfigPoolPriorities + return ret + }).(ResourcePoolsConfigPoolPrioritiesOutput) +} + +func (o ResourcePoolsConfigPoolPrioritiesPtrOutput) HighPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ResourcePoolsConfigPoolPriorities) []string { + if v == nil { + return nil + } + return v.HighPriorityMatchRules + }).(pulumi.StringArrayOutput) +} + +func (o ResourcePoolsConfigPoolPrioritiesPtrOutput) LowPriorityMatchRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ResourcePoolsConfigPoolPriorities) []string { + if v == nil { + return nil + } + return v.LowPriorityMatchRules + }).(pulumi.StringArrayOutput) +} + +type RollupRuleStoragePolicies struct { + Resolution string `pulumi:"resolution"` + Retention string `pulumi:"retention"` +} + +// RollupRuleStoragePoliciesInput is an input type that accepts RollupRuleStoragePoliciesArgs and RollupRuleStoragePoliciesOutput values. +// You can construct a concrete instance of `RollupRuleStoragePoliciesInput` via: +// +// RollupRuleStoragePoliciesArgs{...} +type RollupRuleStoragePoliciesInput interface { + pulumi.Input + + ToRollupRuleStoragePoliciesOutput() RollupRuleStoragePoliciesOutput + ToRollupRuleStoragePoliciesOutputWithContext(context.Context) RollupRuleStoragePoliciesOutput +} + +type RollupRuleStoragePoliciesArgs struct { + Resolution pulumi.StringInput `pulumi:"resolution"` + Retention pulumi.StringInput `pulumi:"retention"` +} + +func (RollupRuleStoragePoliciesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RollupRuleStoragePolicies)(nil)).Elem() +} + +func (i RollupRuleStoragePoliciesArgs) ToRollupRuleStoragePoliciesOutput() RollupRuleStoragePoliciesOutput { + return i.ToRollupRuleStoragePoliciesOutputWithContext(context.Background()) +} + +func (i RollupRuleStoragePoliciesArgs) ToRollupRuleStoragePoliciesOutputWithContext(ctx context.Context) RollupRuleStoragePoliciesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RollupRuleStoragePoliciesOutput) +} + +func (i RollupRuleStoragePoliciesArgs) ToRollupRuleStoragePoliciesPtrOutput() RollupRuleStoragePoliciesPtrOutput { + return i.ToRollupRuleStoragePoliciesPtrOutputWithContext(context.Background()) +} + +func (i RollupRuleStoragePoliciesArgs) ToRollupRuleStoragePoliciesPtrOutputWithContext(ctx context.Context) RollupRuleStoragePoliciesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RollupRuleStoragePoliciesOutput).ToRollupRuleStoragePoliciesPtrOutputWithContext(ctx) +} + +// RollupRuleStoragePoliciesPtrInput is an input type that accepts RollupRuleStoragePoliciesArgs, RollupRuleStoragePoliciesPtr and RollupRuleStoragePoliciesPtrOutput values. +// You can construct a concrete instance of `RollupRuleStoragePoliciesPtrInput` via: +// +// RollupRuleStoragePoliciesArgs{...} +// +// or: +// +// nil +type RollupRuleStoragePoliciesPtrInput interface { + pulumi.Input + + ToRollupRuleStoragePoliciesPtrOutput() RollupRuleStoragePoliciesPtrOutput + ToRollupRuleStoragePoliciesPtrOutputWithContext(context.Context) RollupRuleStoragePoliciesPtrOutput +} + +type rollupRuleStoragePoliciesPtrType RollupRuleStoragePoliciesArgs + +func RollupRuleStoragePoliciesPtr(v *RollupRuleStoragePoliciesArgs) RollupRuleStoragePoliciesPtrInput { + return (*rollupRuleStoragePoliciesPtrType)(v) +} + +func (*rollupRuleStoragePoliciesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RollupRuleStoragePolicies)(nil)).Elem() +} + +func (i *rollupRuleStoragePoliciesPtrType) ToRollupRuleStoragePoliciesPtrOutput() RollupRuleStoragePoliciesPtrOutput { + return i.ToRollupRuleStoragePoliciesPtrOutputWithContext(context.Background()) +} + +func (i *rollupRuleStoragePoliciesPtrType) ToRollupRuleStoragePoliciesPtrOutputWithContext(ctx context.Context) RollupRuleStoragePoliciesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RollupRuleStoragePoliciesPtrOutput) +} + +type RollupRuleStoragePoliciesOutput struct{ *pulumi.OutputState } + +func (RollupRuleStoragePoliciesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RollupRuleStoragePolicies)(nil)).Elem() +} + +func (o RollupRuleStoragePoliciesOutput) ToRollupRuleStoragePoliciesOutput() RollupRuleStoragePoliciesOutput { + return o +} + +func (o RollupRuleStoragePoliciesOutput) ToRollupRuleStoragePoliciesOutputWithContext(ctx context.Context) RollupRuleStoragePoliciesOutput { + return o +} + +func (o RollupRuleStoragePoliciesOutput) ToRollupRuleStoragePoliciesPtrOutput() RollupRuleStoragePoliciesPtrOutput { + return o.ToRollupRuleStoragePoliciesPtrOutputWithContext(context.Background()) +} + +func (o RollupRuleStoragePoliciesOutput) ToRollupRuleStoragePoliciesPtrOutputWithContext(ctx context.Context) RollupRuleStoragePoliciesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RollupRuleStoragePolicies) *RollupRuleStoragePolicies { + return &v + }).(RollupRuleStoragePoliciesPtrOutput) +} + +func (o RollupRuleStoragePoliciesOutput) Resolution() pulumi.StringOutput { + return o.ApplyT(func(v RollupRuleStoragePolicies) string { return v.Resolution }).(pulumi.StringOutput) +} + +func (o RollupRuleStoragePoliciesOutput) Retention() pulumi.StringOutput { + return o.ApplyT(func(v RollupRuleStoragePolicies) string { return v.Retention }).(pulumi.StringOutput) +} + +type RollupRuleStoragePoliciesPtrOutput struct{ *pulumi.OutputState } + +func (RollupRuleStoragePoliciesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RollupRuleStoragePolicies)(nil)).Elem() +} + +func (o RollupRuleStoragePoliciesPtrOutput) ToRollupRuleStoragePoliciesPtrOutput() RollupRuleStoragePoliciesPtrOutput { + return o +} + +func (o RollupRuleStoragePoliciesPtrOutput) ToRollupRuleStoragePoliciesPtrOutputWithContext(ctx context.Context) RollupRuleStoragePoliciesPtrOutput { + return o +} + +func (o RollupRuleStoragePoliciesPtrOutput) Elem() RollupRuleStoragePoliciesOutput { + return o.ApplyT(func(v *RollupRuleStoragePolicies) RollupRuleStoragePolicies { + if v != nil { + return *v + } + var ret RollupRuleStoragePolicies + return ret + }).(RollupRuleStoragePoliciesOutput) +} + +func (o RollupRuleStoragePoliciesPtrOutput) Resolution() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RollupRuleStoragePolicies) *string { + if v == nil { + return nil + } + return &v.Resolution + }).(pulumi.StringPtrOutput) +} + +func (o RollupRuleStoragePoliciesPtrOutput) Retention() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RollupRuleStoragePolicies) *string { + if v == nil { + return nil + } + return &v.Retention + }).(pulumi.StringPtrOutput) +} + +type ServiceAccountRestriction struct { + Labels map[string]string `pulumi:"labels"` + Permission string `pulumi:"permission"` +} + +// ServiceAccountRestrictionInput is an input type that accepts ServiceAccountRestrictionArgs and ServiceAccountRestrictionOutput values. +// You can construct a concrete instance of `ServiceAccountRestrictionInput` via: +// +// ServiceAccountRestrictionArgs{...} +type ServiceAccountRestrictionInput interface { + pulumi.Input + + ToServiceAccountRestrictionOutput() ServiceAccountRestrictionOutput + ToServiceAccountRestrictionOutputWithContext(context.Context) ServiceAccountRestrictionOutput +} + +type ServiceAccountRestrictionArgs struct { + Labels pulumi.StringMapInput `pulumi:"labels"` + Permission pulumi.StringInput `pulumi:"permission"` +} + +func (ServiceAccountRestrictionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAccountRestriction)(nil)).Elem() +} + +func (i ServiceAccountRestrictionArgs) ToServiceAccountRestrictionOutput() ServiceAccountRestrictionOutput { + return i.ToServiceAccountRestrictionOutputWithContext(context.Background()) +} + +func (i ServiceAccountRestrictionArgs) ToServiceAccountRestrictionOutputWithContext(ctx context.Context) ServiceAccountRestrictionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountRestrictionOutput) +} + +func (i ServiceAccountRestrictionArgs) ToServiceAccountRestrictionPtrOutput() ServiceAccountRestrictionPtrOutput { + return i.ToServiceAccountRestrictionPtrOutputWithContext(context.Background()) +} + +func (i ServiceAccountRestrictionArgs) ToServiceAccountRestrictionPtrOutputWithContext(ctx context.Context) ServiceAccountRestrictionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountRestrictionOutput).ToServiceAccountRestrictionPtrOutputWithContext(ctx) +} + +// ServiceAccountRestrictionPtrInput is an input type that accepts ServiceAccountRestrictionArgs, ServiceAccountRestrictionPtr and ServiceAccountRestrictionPtrOutput values. +// You can construct a concrete instance of `ServiceAccountRestrictionPtrInput` via: +// +// ServiceAccountRestrictionArgs{...} +// +// or: +// +// nil +type ServiceAccountRestrictionPtrInput interface { + pulumi.Input + + ToServiceAccountRestrictionPtrOutput() ServiceAccountRestrictionPtrOutput + ToServiceAccountRestrictionPtrOutputWithContext(context.Context) ServiceAccountRestrictionPtrOutput +} + +type serviceAccountRestrictionPtrType ServiceAccountRestrictionArgs + +func ServiceAccountRestrictionPtr(v *ServiceAccountRestrictionArgs) ServiceAccountRestrictionPtrInput { + return (*serviceAccountRestrictionPtrType)(v) +} + +func (*serviceAccountRestrictionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAccountRestriction)(nil)).Elem() +} + +func (i *serviceAccountRestrictionPtrType) ToServiceAccountRestrictionPtrOutput() ServiceAccountRestrictionPtrOutput { + return i.ToServiceAccountRestrictionPtrOutputWithContext(context.Background()) +} + +func (i *serviceAccountRestrictionPtrType) ToServiceAccountRestrictionPtrOutputWithContext(ctx context.Context) ServiceAccountRestrictionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountRestrictionPtrOutput) +} + +type ServiceAccountRestrictionOutput struct{ *pulumi.OutputState } + +func (ServiceAccountRestrictionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAccountRestriction)(nil)).Elem() +} + +func (o ServiceAccountRestrictionOutput) ToServiceAccountRestrictionOutput() ServiceAccountRestrictionOutput { + return o +} + +func (o ServiceAccountRestrictionOutput) ToServiceAccountRestrictionOutputWithContext(ctx context.Context) ServiceAccountRestrictionOutput { + return o +} + +func (o ServiceAccountRestrictionOutput) ToServiceAccountRestrictionPtrOutput() ServiceAccountRestrictionPtrOutput { + return o.ToServiceAccountRestrictionPtrOutputWithContext(context.Background()) +} + +func (o ServiceAccountRestrictionOutput) ToServiceAccountRestrictionPtrOutputWithContext(ctx context.Context) ServiceAccountRestrictionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceAccountRestriction) *ServiceAccountRestriction { + return &v + }).(ServiceAccountRestrictionPtrOutput) +} + +func (o ServiceAccountRestrictionOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v ServiceAccountRestriction) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +func (o ServiceAccountRestrictionOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v ServiceAccountRestriction) string { return v.Permission }).(pulumi.StringOutput) +} + +type ServiceAccountRestrictionPtrOutput struct{ *pulumi.OutputState } + +func (ServiceAccountRestrictionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAccountRestriction)(nil)).Elem() +} + +func (o ServiceAccountRestrictionPtrOutput) ToServiceAccountRestrictionPtrOutput() ServiceAccountRestrictionPtrOutput { + return o +} + +func (o ServiceAccountRestrictionPtrOutput) ToServiceAccountRestrictionPtrOutputWithContext(ctx context.Context) ServiceAccountRestrictionPtrOutput { + return o +} + +func (o ServiceAccountRestrictionPtrOutput) Elem() ServiceAccountRestrictionOutput { + return o.ApplyT(func(v *ServiceAccountRestriction) ServiceAccountRestriction { + if v != nil { + return *v + } + var ret ServiceAccountRestriction + return ret + }).(ServiceAccountRestrictionOutput) +} + +func (o ServiceAccountRestrictionPtrOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *ServiceAccountRestriction) map[string]string { + if v == nil { + return nil + } + return v.Labels + }).(pulumi.StringMapOutput) +} + +func (o ServiceAccountRestrictionPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceAccountRestriction) *string { + if v == nil { + return nil + } + return &v.Permission + }).(pulumi.StringPtrOutput) +} + +type SlackAlertNotifierAction struct { + ActionConfirmDismissText *string `pulumi:"actionConfirmDismissText"` + ActionConfirmOkText *string `pulumi:"actionConfirmOkText"` + ActionConfirmText *string `pulumi:"actionConfirmText"` + ActionConfirmTile *string `pulumi:"actionConfirmTile"` + Name *string `pulumi:"name"` + Style *string `pulumi:"style"` + Text *string `pulumi:"text"` + Type *string `pulumi:"type"` + Url *string `pulumi:"url"` + Value *string `pulumi:"value"` +} + +// SlackAlertNotifierActionInput is an input type that accepts SlackAlertNotifierActionArgs and SlackAlertNotifierActionOutput values. +// You can construct a concrete instance of `SlackAlertNotifierActionInput` via: +// +// SlackAlertNotifierActionArgs{...} +type SlackAlertNotifierActionInput interface { + pulumi.Input + + ToSlackAlertNotifierActionOutput() SlackAlertNotifierActionOutput + ToSlackAlertNotifierActionOutputWithContext(context.Context) SlackAlertNotifierActionOutput +} + +type SlackAlertNotifierActionArgs struct { + ActionConfirmDismissText pulumi.StringPtrInput `pulumi:"actionConfirmDismissText"` + ActionConfirmOkText pulumi.StringPtrInput `pulumi:"actionConfirmOkText"` + ActionConfirmText pulumi.StringPtrInput `pulumi:"actionConfirmText"` + ActionConfirmTile pulumi.StringPtrInput `pulumi:"actionConfirmTile"` + Name pulumi.StringPtrInput `pulumi:"name"` + Style pulumi.StringPtrInput `pulumi:"style"` + Text pulumi.StringPtrInput `pulumi:"text"` + Type pulumi.StringPtrInput `pulumi:"type"` + Url pulumi.StringPtrInput `pulumi:"url"` + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (SlackAlertNotifierActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SlackAlertNotifierAction)(nil)).Elem() +} + +func (i SlackAlertNotifierActionArgs) ToSlackAlertNotifierActionOutput() SlackAlertNotifierActionOutput { + return i.ToSlackAlertNotifierActionOutputWithContext(context.Background()) +} + +func (i SlackAlertNotifierActionArgs) ToSlackAlertNotifierActionOutputWithContext(ctx context.Context) SlackAlertNotifierActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(SlackAlertNotifierActionOutput) +} + +// SlackAlertNotifierActionArrayInput is an input type that accepts SlackAlertNotifierActionArray and SlackAlertNotifierActionArrayOutput values. +// You can construct a concrete instance of `SlackAlertNotifierActionArrayInput` via: +// +// SlackAlertNotifierActionArray{ SlackAlertNotifierActionArgs{...} } +type SlackAlertNotifierActionArrayInput interface { + pulumi.Input + + ToSlackAlertNotifierActionArrayOutput() SlackAlertNotifierActionArrayOutput + ToSlackAlertNotifierActionArrayOutputWithContext(context.Context) SlackAlertNotifierActionArrayOutput +} + +type SlackAlertNotifierActionArray []SlackAlertNotifierActionInput + +func (SlackAlertNotifierActionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SlackAlertNotifierAction)(nil)).Elem() +} + +func (i SlackAlertNotifierActionArray) ToSlackAlertNotifierActionArrayOutput() SlackAlertNotifierActionArrayOutput { + return i.ToSlackAlertNotifierActionArrayOutputWithContext(context.Background()) +} + +func (i SlackAlertNotifierActionArray) ToSlackAlertNotifierActionArrayOutputWithContext(ctx context.Context) SlackAlertNotifierActionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SlackAlertNotifierActionArrayOutput) +} + +type SlackAlertNotifierActionOutput struct{ *pulumi.OutputState } + +func (SlackAlertNotifierActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SlackAlertNotifierAction)(nil)).Elem() +} + +func (o SlackAlertNotifierActionOutput) ToSlackAlertNotifierActionOutput() SlackAlertNotifierActionOutput { + return o +} + +func (o SlackAlertNotifierActionOutput) ToSlackAlertNotifierActionOutputWithContext(ctx context.Context) SlackAlertNotifierActionOutput { + return o +} + +func (o SlackAlertNotifierActionOutput) ActionConfirmDismissText() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.ActionConfirmDismissText }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) ActionConfirmOkText() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.ActionConfirmOkText }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) ActionConfirmText() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.ActionConfirmText }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) ActionConfirmTile() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.ActionConfirmTile }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) Style() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.Style }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.Text }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.Url }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierActionOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierAction) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type SlackAlertNotifierActionArrayOutput struct{ *pulumi.OutputState } + +func (SlackAlertNotifierActionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SlackAlertNotifierAction)(nil)).Elem() +} + +func (o SlackAlertNotifierActionArrayOutput) ToSlackAlertNotifierActionArrayOutput() SlackAlertNotifierActionArrayOutput { + return o +} + +func (o SlackAlertNotifierActionArrayOutput) ToSlackAlertNotifierActionArrayOutputWithContext(ctx context.Context) SlackAlertNotifierActionArrayOutput { + return o +} + +func (o SlackAlertNotifierActionArrayOutput) Index(i pulumi.IntInput) SlackAlertNotifierActionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SlackAlertNotifierAction { + return vs[0].([]SlackAlertNotifierAction)[vs[1].(int)] + }).(SlackAlertNotifierActionOutput) +} + +type SlackAlertNotifierField struct { + Short *bool `pulumi:"short"` + Title *string `pulumi:"title"` + Value *string `pulumi:"value"` +} + +// SlackAlertNotifierFieldInput is an input type that accepts SlackAlertNotifierFieldArgs and SlackAlertNotifierFieldOutput values. +// You can construct a concrete instance of `SlackAlertNotifierFieldInput` via: +// +// SlackAlertNotifierFieldArgs{...} +type SlackAlertNotifierFieldInput interface { + pulumi.Input + + ToSlackAlertNotifierFieldOutput() SlackAlertNotifierFieldOutput + ToSlackAlertNotifierFieldOutputWithContext(context.Context) SlackAlertNotifierFieldOutput +} + +type SlackAlertNotifierFieldArgs struct { + Short pulumi.BoolPtrInput `pulumi:"short"` + Title pulumi.StringPtrInput `pulumi:"title"` + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (SlackAlertNotifierFieldArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SlackAlertNotifierField)(nil)).Elem() +} + +func (i SlackAlertNotifierFieldArgs) ToSlackAlertNotifierFieldOutput() SlackAlertNotifierFieldOutput { + return i.ToSlackAlertNotifierFieldOutputWithContext(context.Background()) +} + +func (i SlackAlertNotifierFieldArgs) ToSlackAlertNotifierFieldOutputWithContext(ctx context.Context) SlackAlertNotifierFieldOutput { + return pulumi.ToOutputWithContext(ctx, i).(SlackAlertNotifierFieldOutput) +} + +// SlackAlertNotifierFieldArrayInput is an input type that accepts SlackAlertNotifierFieldArray and SlackAlertNotifierFieldArrayOutput values. +// You can construct a concrete instance of `SlackAlertNotifierFieldArrayInput` via: +// +// SlackAlertNotifierFieldArray{ SlackAlertNotifierFieldArgs{...} } +type SlackAlertNotifierFieldArrayInput interface { + pulumi.Input + + ToSlackAlertNotifierFieldArrayOutput() SlackAlertNotifierFieldArrayOutput + ToSlackAlertNotifierFieldArrayOutputWithContext(context.Context) SlackAlertNotifierFieldArrayOutput +} + +type SlackAlertNotifierFieldArray []SlackAlertNotifierFieldInput + +func (SlackAlertNotifierFieldArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SlackAlertNotifierField)(nil)).Elem() +} + +func (i SlackAlertNotifierFieldArray) ToSlackAlertNotifierFieldArrayOutput() SlackAlertNotifierFieldArrayOutput { + return i.ToSlackAlertNotifierFieldArrayOutputWithContext(context.Background()) +} + +func (i SlackAlertNotifierFieldArray) ToSlackAlertNotifierFieldArrayOutputWithContext(ctx context.Context) SlackAlertNotifierFieldArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SlackAlertNotifierFieldArrayOutput) +} + +type SlackAlertNotifierFieldOutput struct{ *pulumi.OutputState } + +func (SlackAlertNotifierFieldOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SlackAlertNotifierField)(nil)).Elem() +} + +func (o SlackAlertNotifierFieldOutput) ToSlackAlertNotifierFieldOutput() SlackAlertNotifierFieldOutput { + return o +} + +func (o SlackAlertNotifierFieldOutput) ToSlackAlertNotifierFieldOutputWithContext(ctx context.Context) SlackAlertNotifierFieldOutput { + return o +} + +func (o SlackAlertNotifierFieldOutput) Short() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierField) *bool { return v.Short }).(pulumi.BoolPtrOutput) +} + +func (o SlackAlertNotifierFieldOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierField) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierFieldOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SlackAlertNotifierField) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type SlackAlertNotifierFieldArrayOutput struct{ *pulumi.OutputState } + +func (SlackAlertNotifierFieldArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SlackAlertNotifierField)(nil)).Elem() +} + +func (o SlackAlertNotifierFieldArrayOutput) ToSlackAlertNotifierFieldArrayOutput() SlackAlertNotifierFieldArrayOutput { + return o +} + +func (o SlackAlertNotifierFieldArrayOutput) ToSlackAlertNotifierFieldArrayOutputWithContext(ctx context.Context) SlackAlertNotifierFieldArrayOutput { + return o +} + +func (o SlackAlertNotifierFieldArrayOutput) Index(i pulumi.IntInput) SlackAlertNotifierFieldOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SlackAlertNotifierField { + return vs[0].([]SlackAlertNotifierField)[vs[1].(int)] + }).(SlackAlertNotifierFieldOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategy struct { + PerOperationStrategies *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies `pulumi:"perOperationStrategies"` + ProbabilisticStrategy *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy `pulumi:"probabilisticStrategy"` + RateLimitingStrategy *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy `pulumi:"rateLimitingStrategy"` +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs and TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs{...} +type TraceJaegerRemoteSamplingStrategyAppliedStrategyInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs struct { + PerOperationStrategies TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrInput `pulumi:"perOperationStrategies"` + ProbabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrInput `pulumi:"probabilisticStrategy"` + RateLimitingStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrInput `pulumi:"rateLimitingStrategy"` +} + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput).ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(ctx) +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs, TraceJaegerRemoteSamplingStrategyAppliedStrategyPtr and TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs{...} +// +// or: +// +// nil +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput +} + +type traceJaegerRemoteSamplingStrategyAppliedStrategyPtrType TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs + +func TraceJaegerRemoteSamplingStrategyAppliedStrategyPtr(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs) TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrInput { + return (*traceJaegerRemoteSamplingStrategyAppliedStrategyPtrType)(v) +} + +func (*traceJaegerRemoteSamplingStrategyAppliedStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategy)(nil)).Elem() +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(context.Background()) +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return o.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(context.Background()) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceJaegerRemoteSamplingStrategyAppliedStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategy { + return &v + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) PerOperationStrategies() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies { + return v.PerOperationStrategies + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) ProbabilisticStrategy() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy { + return v.ProbabilisticStrategy + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) RateLimitingStrategy() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy { + return v.RateLimitingStrategy + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) Elem() TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategy) TraceJaegerRemoteSamplingStrategyAppliedStrategy { + if v != nil { + return *v + } + var ret TraceJaegerRemoteSamplingStrategyAppliedStrategy + return ret + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) PerOperationStrategies() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies { + if v == nil { + return nil + } + return v.PerOperationStrategies + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) ProbabilisticStrategy() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy { + if v == nil { + return nil + } + return v.ProbabilisticStrategy + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput) RateLimitingStrategy() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy { + if v == nil { + return nil + } + return v.RateLimitingStrategy + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies struct { + DefaultLowerBoundTracesPerSecond *float64 `pulumi:"defaultLowerBoundTracesPerSecond"` + DefaultSamplingRate float64 `pulumi:"defaultSamplingRate"` + DefaultUpperBoundTracesPerSecond *float64 `pulumi:"defaultUpperBoundTracesPerSecond"` + PerOperationStrategies []TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy `pulumi:"perOperationStrategies"` +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs and TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs{...} +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs struct { + DefaultLowerBoundTracesPerSecond pulumi.Float64PtrInput `pulumi:"defaultLowerBoundTracesPerSecond"` + DefaultSamplingRate pulumi.Float64Input `pulumi:"defaultSamplingRate"` + DefaultUpperBoundTracesPerSecond pulumi.Float64PtrInput `pulumi:"defaultUpperBoundTracesPerSecond"` + PerOperationStrategies TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayInput `pulumi:"perOperationStrategies"` +} + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput).ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(ctx) +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs, TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtr and TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs{...} +// +// or: +// +// nil +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput +} + +type traceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrType TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs + +func TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtr(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrInput { + return (*traceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrType)(v) +} + +func (*traceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies)(nil)).Elem() +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(context.Background()) +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return o.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(context.Background()) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies { + return &v + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) DefaultLowerBoundTracesPerSecond() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) *float64 { + return v.DefaultLowerBoundTracesPerSecond + }).(pulumi.Float64PtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) DefaultSamplingRate() pulumi.Float64Output { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) float64 { + return v.DefaultSamplingRate + }).(pulumi.Float64Output) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) DefaultUpperBoundTracesPerSecond() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) *float64 { + return v.DefaultUpperBoundTracesPerSecond + }).(pulumi.Float64PtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) PerOperationStrategies() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) []TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy { + return v.PerOperationStrategies + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) Elem() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies { + if v != nil { + return *v + } + var ret TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies + return ret + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) DefaultLowerBoundTracesPerSecond() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) *float64 { + if v == nil { + return nil + } + return v.DefaultLowerBoundTracesPerSecond + }).(pulumi.Float64PtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) DefaultSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) *float64 { + if v == nil { + return nil + } + return &v.DefaultSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) DefaultUpperBoundTracesPerSecond() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) *float64 { + if v == nil { + return nil + } + return v.DefaultUpperBoundTracesPerSecond + }).(pulumi.Float64PtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput) PerOperationStrategies() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies) []TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy { + if v == nil { + return nil + } + return v.PerOperationStrategies + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy struct { + Operation string `pulumi:"operation"` + ProbabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy `pulumi:"probabilisticStrategy"` +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs and TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs{...} +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs struct { + Operation pulumi.StringInput `pulumi:"operation"` + ProbabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyInput `pulumi:"probabilisticStrategy"` +} + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput) +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray and TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray{ TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs{...} } +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray []TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyInput + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput) Operation() pulumi.StringOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy) string { + return v.Operation + }).(pulumi.StringOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput) ProbabilisticStrategy() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy { + return v.ProbabilisticStrategy + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput) Index(i pulumi.IntInput) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy { + return vs[0].([]TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy)[vs[1].(int)] + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy struct { + SamplingRate float64 `pulumi:"samplingRate"` +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs and TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs{...} +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs struct { + SamplingRate pulumi.Float64Input `pulumi:"samplingRate"` +} + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput) SamplingRate() pulumi.Float64Output { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy) float64 { + return v.SamplingRate + }).(pulumi.Float64Output) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy struct { + SamplingRate float64 `pulumi:"samplingRate"` +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs and TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs{...} +type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs struct { + SamplingRate pulumi.Float64Input `pulumi:"samplingRate"` +} + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput).ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(ctx) +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs, TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtr and TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs{...} +// +// or: +// +// nil +type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput +} + +type traceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrType TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs + +func TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtr(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrInput { + return (*traceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrType)(v) +} + +func (*traceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy)(nil)).Elem() +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(context.Background()) +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return o.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(context.Background()) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy { + return &v + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) SamplingRate() pulumi.Float64Output { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy) float64 { + return v.SamplingRate + }).(pulumi.Float64Output) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) Elem() TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy) TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy { + if v != nil { + return *v + } + var ret TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy + return ret + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput) SamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy) *float64 { + if v == nil { + return nil + } + return &v.SamplingRate + }).(pulumi.Float64PtrOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy struct { + MaxTracesPerSecond int `pulumi:"maxTracesPerSecond"` +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs and TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs{...} +type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs struct { + MaxTracesPerSecond pulumi.IntInput `pulumi:"maxTracesPerSecond"` +} + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput).ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(ctx) +} + +// TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrInput is an input type that accepts TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs, TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtr and TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrInput` via: +// +// TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs{...} +// +// or: +// +// nil +type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput + ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput +} + +type traceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrType TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs + +func TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtr(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrInput { + return (*traceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrType)(v) +} + +func (*traceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy)(nil)).Elem() +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return i.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(context.Background()) +} + +func (i *traceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrType) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return o.ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(context.Background()) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy) *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy { + return &v + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) MaxTracesPerSecond() pulumi.IntOutput { + return o.ApplyT(func(v TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy) int { + return v.MaxTracesPerSecond + }).(pulumi.IntOutput) +} + +type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) ToTraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) Elem() TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy) TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy { + if v != nil { + return *v + } + var ret TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy + return ret + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput) MaxTracesPerSecond() pulumi.IntPtrOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy) *int { + if v == nil { + return nil + } + return &v.MaxTracesPerSecond + }).(pulumi.IntPtrOutput) +} + +type TraceMetricsRuleGroupBy struct { + Key TraceMetricsRuleGroupByKey `pulumi:"key"` + Label string `pulumi:"label"` +} + +// TraceMetricsRuleGroupByInput is an input type that accepts TraceMetricsRuleGroupByArgs and TraceMetricsRuleGroupByOutput values. +// You can construct a concrete instance of `TraceMetricsRuleGroupByInput` via: +// +// TraceMetricsRuleGroupByArgs{...} +type TraceMetricsRuleGroupByInput interface { + pulumi.Input + + ToTraceMetricsRuleGroupByOutput() TraceMetricsRuleGroupByOutput + ToTraceMetricsRuleGroupByOutputWithContext(context.Context) TraceMetricsRuleGroupByOutput +} + +type TraceMetricsRuleGroupByArgs struct { + Key TraceMetricsRuleGroupByKeyInput `pulumi:"key"` + Label pulumi.StringInput `pulumi:"label"` +} + +func (TraceMetricsRuleGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleGroupBy)(nil)).Elem() +} + +func (i TraceMetricsRuleGroupByArgs) ToTraceMetricsRuleGroupByOutput() TraceMetricsRuleGroupByOutput { + return i.ToTraceMetricsRuleGroupByOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleGroupByArgs) ToTraceMetricsRuleGroupByOutputWithContext(ctx context.Context) TraceMetricsRuleGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleGroupByOutput) +} + +// TraceMetricsRuleGroupByArrayInput is an input type that accepts TraceMetricsRuleGroupByArray and TraceMetricsRuleGroupByArrayOutput values. +// You can construct a concrete instance of `TraceMetricsRuleGroupByArrayInput` via: +// +// TraceMetricsRuleGroupByArray{ TraceMetricsRuleGroupByArgs{...} } +type TraceMetricsRuleGroupByArrayInput interface { + pulumi.Input + + ToTraceMetricsRuleGroupByArrayOutput() TraceMetricsRuleGroupByArrayOutput + ToTraceMetricsRuleGroupByArrayOutputWithContext(context.Context) TraceMetricsRuleGroupByArrayOutput +} + +type TraceMetricsRuleGroupByArray []TraceMetricsRuleGroupByInput + +func (TraceMetricsRuleGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceMetricsRuleGroupBy)(nil)).Elem() +} + +func (i TraceMetricsRuleGroupByArray) ToTraceMetricsRuleGroupByArrayOutput() TraceMetricsRuleGroupByArrayOutput { + return i.ToTraceMetricsRuleGroupByArrayOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleGroupByArray) ToTraceMetricsRuleGroupByArrayOutputWithContext(ctx context.Context) TraceMetricsRuleGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleGroupByArrayOutput) +} + +type TraceMetricsRuleGroupByOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleGroupBy)(nil)).Elem() +} + +func (o TraceMetricsRuleGroupByOutput) ToTraceMetricsRuleGroupByOutput() TraceMetricsRuleGroupByOutput { + return o +} + +func (o TraceMetricsRuleGroupByOutput) ToTraceMetricsRuleGroupByOutputWithContext(ctx context.Context) TraceMetricsRuleGroupByOutput { + return o +} + +func (o TraceMetricsRuleGroupByOutput) Key() TraceMetricsRuleGroupByKeyOutput { + return o.ApplyT(func(v TraceMetricsRuleGroupBy) TraceMetricsRuleGroupByKey { return v.Key }).(TraceMetricsRuleGroupByKeyOutput) +} + +func (o TraceMetricsRuleGroupByOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleGroupBy) string { return v.Label }).(pulumi.StringOutput) +} + +type TraceMetricsRuleGroupByArrayOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceMetricsRuleGroupBy)(nil)).Elem() +} + +func (o TraceMetricsRuleGroupByArrayOutput) ToTraceMetricsRuleGroupByArrayOutput() TraceMetricsRuleGroupByArrayOutput { + return o +} + +func (o TraceMetricsRuleGroupByArrayOutput) ToTraceMetricsRuleGroupByArrayOutputWithContext(ctx context.Context) TraceMetricsRuleGroupByArrayOutput { + return o +} + +func (o TraceMetricsRuleGroupByArrayOutput) Index(i pulumi.IntInput) TraceMetricsRuleGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceMetricsRuleGroupBy { + return vs[0].([]TraceMetricsRuleGroupBy)[vs[1].(int)] + }).(TraceMetricsRuleGroupByOutput) +} + +type TraceMetricsRuleGroupByKey struct { + NamedKey *string `pulumi:"namedKey"` + Type string `pulumi:"type"` +} + +// TraceMetricsRuleGroupByKeyInput is an input type that accepts TraceMetricsRuleGroupByKeyArgs and TraceMetricsRuleGroupByKeyOutput values. +// You can construct a concrete instance of `TraceMetricsRuleGroupByKeyInput` via: +// +// TraceMetricsRuleGroupByKeyArgs{...} +type TraceMetricsRuleGroupByKeyInput interface { + pulumi.Input + + ToTraceMetricsRuleGroupByKeyOutput() TraceMetricsRuleGroupByKeyOutput + ToTraceMetricsRuleGroupByKeyOutputWithContext(context.Context) TraceMetricsRuleGroupByKeyOutput +} + +type TraceMetricsRuleGroupByKeyArgs struct { + NamedKey pulumi.StringPtrInput `pulumi:"namedKey"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (TraceMetricsRuleGroupByKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleGroupByKey)(nil)).Elem() +} + +func (i TraceMetricsRuleGroupByKeyArgs) ToTraceMetricsRuleGroupByKeyOutput() TraceMetricsRuleGroupByKeyOutput { + return i.ToTraceMetricsRuleGroupByKeyOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleGroupByKeyArgs) ToTraceMetricsRuleGroupByKeyOutputWithContext(ctx context.Context) TraceMetricsRuleGroupByKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleGroupByKeyOutput) +} + +type TraceMetricsRuleGroupByKeyOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleGroupByKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleGroupByKey)(nil)).Elem() +} + +func (o TraceMetricsRuleGroupByKeyOutput) ToTraceMetricsRuleGroupByKeyOutput() TraceMetricsRuleGroupByKeyOutput { + return o +} + +func (o TraceMetricsRuleGroupByKeyOutput) ToTraceMetricsRuleGroupByKeyOutputWithContext(ctx context.Context) TraceMetricsRuleGroupByKeyOutput { + return o +} + +func (o TraceMetricsRuleGroupByKeyOutput) NamedKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleGroupByKey) *string { return v.NamedKey }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleGroupByKeyOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleGroupByKey) string { return v.Type }).(pulumi.StringOutput) +} + +type TraceMetricsRuleTraceFilter struct { + Spans []TraceMetricsRuleTraceFilterSpan `pulumi:"spans"` + Trace *TraceMetricsRuleTraceFilterTrace `pulumi:"trace"` +} + +// TraceMetricsRuleTraceFilterInput is an input type that accepts TraceMetricsRuleTraceFilterArgs and TraceMetricsRuleTraceFilterOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterInput` via: +// +// TraceMetricsRuleTraceFilterArgs{...} +type TraceMetricsRuleTraceFilterInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterOutput() TraceMetricsRuleTraceFilterOutput + ToTraceMetricsRuleTraceFilterOutputWithContext(context.Context) TraceMetricsRuleTraceFilterOutput +} + +type TraceMetricsRuleTraceFilterArgs struct { + Spans TraceMetricsRuleTraceFilterSpanArrayInput `pulumi:"spans"` + Trace TraceMetricsRuleTraceFilterTracePtrInput `pulumi:"trace"` +} + +func (TraceMetricsRuleTraceFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilter)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterArgs) ToTraceMetricsRuleTraceFilterOutput() TraceMetricsRuleTraceFilterOutput { + return i.ToTraceMetricsRuleTraceFilterOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterArgs) ToTraceMetricsRuleTraceFilterOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterOutput) +} + +func (i TraceMetricsRuleTraceFilterArgs) ToTraceMetricsRuleTraceFilterPtrOutput() TraceMetricsRuleTraceFilterPtrOutput { + return i.ToTraceMetricsRuleTraceFilterPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterArgs) ToTraceMetricsRuleTraceFilterPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterOutput).ToTraceMetricsRuleTraceFilterPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterPtrInput is an input type that accepts TraceMetricsRuleTraceFilterArgs, TraceMetricsRuleTraceFilterPtr and TraceMetricsRuleTraceFilterPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterPtrInput` via: +// +// TraceMetricsRuleTraceFilterArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterPtrOutput() TraceMetricsRuleTraceFilterPtrOutput + ToTraceMetricsRuleTraceFilterPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterPtrOutput +} + +type traceMetricsRuleTraceFilterPtrType TraceMetricsRuleTraceFilterArgs + +func TraceMetricsRuleTraceFilterPtr(v *TraceMetricsRuleTraceFilterArgs) TraceMetricsRuleTraceFilterPtrInput { + return (*traceMetricsRuleTraceFilterPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilter)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterPtrType) ToTraceMetricsRuleTraceFilterPtrOutput() TraceMetricsRuleTraceFilterPtrOutput { + return i.ToTraceMetricsRuleTraceFilterPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterPtrType) ToTraceMetricsRuleTraceFilterPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterPtrOutput) +} + +type TraceMetricsRuleTraceFilterOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilter)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterOutput) ToTraceMetricsRuleTraceFilterOutput() TraceMetricsRuleTraceFilterOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterOutput) ToTraceMetricsRuleTraceFilterOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterOutput) ToTraceMetricsRuleTraceFilterPtrOutput() TraceMetricsRuleTraceFilterPtrOutput { + return o.ToTraceMetricsRuleTraceFilterPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterOutput) ToTraceMetricsRuleTraceFilterPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilter) *TraceMetricsRuleTraceFilter { + return &v + }).(TraceMetricsRuleTraceFilterPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterOutput) Spans() TraceMetricsRuleTraceFilterSpanArrayOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilter) []TraceMetricsRuleTraceFilterSpan { return v.Spans }).(TraceMetricsRuleTraceFilterSpanArrayOutput) +} + +func (o TraceMetricsRuleTraceFilterOutput) Trace() TraceMetricsRuleTraceFilterTracePtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilter) *TraceMetricsRuleTraceFilterTrace { return v.Trace }).(TraceMetricsRuleTraceFilterTracePtrOutput) +} + +type TraceMetricsRuleTraceFilterPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilter)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterPtrOutput) ToTraceMetricsRuleTraceFilterPtrOutput() TraceMetricsRuleTraceFilterPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterPtrOutput) ToTraceMetricsRuleTraceFilterPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterPtrOutput) Elem() TraceMetricsRuleTraceFilterOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilter) TraceMetricsRuleTraceFilter { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilter + return ret + }).(TraceMetricsRuleTraceFilterOutput) +} + +func (o TraceMetricsRuleTraceFilterPtrOutput) Spans() TraceMetricsRuleTraceFilterSpanArrayOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilter) []TraceMetricsRuleTraceFilterSpan { + if v == nil { + return nil + } + return v.Spans + }).(TraceMetricsRuleTraceFilterSpanArrayOutput) +} + +func (o TraceMetricsRuleTraceFilterPtrOutput) Trace() TraceMetricsRuleTraceFilterTracePtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilter) *TraceMetricsRuleTraceFilterTrace { + if v == nil { + return nil + } + return v.Trace + }).(TraceMetricsRuleTraceFilterTracePtrOutput) +} + +type TraceMetricsRuleTraceFilterSpan struct { + Duration *TraceMetricsRuleTraceFilterSpanDuration `pulumi:"duration"` + Error *TraceMetricsRuleTraceFilterSpanError `pulumi:"error"` + MatchType *string `pulumi:"matchType"` + Operation *TraceMetricsRuleTraceFilterSpanOperation `pulumi:"operation"` + ParentOperation *TraceMetricsRuleTraceFilterSpanParentOperation `pulumi:"parentOperation"` + ParentService *TraceMetricsRuleTraceFilterSpanParentService `pulumi:"parentService"` + Service *TraceMetricsRuleTraceFilterSpanService `pulumi:"service"` + SpanCount *TraceMetricsRuleTraceFilterSpanSpanCount `pulumi:"spanCount"` + Tags []TraceMetricsRuleTraceFilterSpanTag `pulumi:"tags"` +} + +// TraceMetricsRuleTraceFilterSpanInput is an input type that accepts TraceMetricsRuleTraceFilterSpanArgs and TraceMetricsRuleTraceFilterSpanOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanInput` via: +// +// TraceMetricsRuleTraceFilterSpanArgs{...} +type TraceMetricsRuleTraceFilterSpanInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanOutput() TraceMetricsRuleTraceFilterSpanOutput + ToTraceMetricsRuleTraceFilterSpanOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanOutput +} + +type TraceMetricsRuleTraceFilterSpanArgs struct { + Duration TraceMetricsRuleTraceFilterSpanDurationPtrInput `pulumi:"duration"` + Error TraceMetricsRuleTraceFilterSpanErrorPtrInput `pulumi:"error"` + MatchType pulumi.StringPtrInput `pulumi:"matchType"` + Operation TraceMetricsRuleTraceFilterSpanOperationPtrInput `pulumi:"operation"` + ParentOperation TraceMetricsRuleTraceFilterSpanParentOperationPtrInput `pulumi:"parentOperation"` + ParentService TraceMetricsRuleTraceFilterSpanParentServicePtrInput `pulumi:"parentService"` + Service TraceMetricsRuleTraceFilterSpanServicePtrInput `pulumi:"service"` + SpanCount TraceMetricsRuleTraceFilterSpanSpanCountPtrInput `pulumi:"spanCount"` + Tags TraceMetricsRuleTraceFilterSpanTagArrayInput `pulumi:"tags"` +} + +func (TraceMetricsRuleTraceFilterSpanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpan)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanArgs) ToTraceMetricsRuleTraceFilterSpanOutput() TraceMetricsRuleTraceFilterSpanOutput { + return i.ToTraceMetricsRuleTraceFilterSpanOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanArgs) ToTraceMetricsRuleTraceFilterSpanOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanOutput) +} + +// TraceMetricsRuleTraceFilterSpanArrayInput is an input type that accepts TraceMetricsRuleTraceFilterSpanArray and TraceMetricsRuleTraceFilterSpanArrayOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanArrayInput` via: +// +// TraceMetricsRuleTraceFilterSpanArray{ TraceMetricsRuleTraceFilterSpanArgs{...} } +type TraceMetricsRuleTraceFilterSpanArrayInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanArrayOutput() TraceMetricsRuleTraceFilterSpanArrayOutput + ToTraceMetricsRuleTraceFilterSpanArrayOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanArrayOutput +} + +type TraceMetricsRuleTraceFilterSpanArray []TraceMetricsRuleTraceFilterSpanInput + +func (TraceMetricsRuleTraceFilterSpanArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceMetricsRuleTraceFilterSpan)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanArray) ToTraceMetricsRuleTraceFilterSpanArrayOutput() TraceMetricsRuleTraceFilterSpanArrayOutput { + return i.ToTraceMetricsRuleTraceFilterSpanArrayOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanArray) ToTraceMetricsRuleTraceFilterSpanArrayOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanArrayOutput) +} + +type TraceMetricsRuleTraceFilterSpanOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpan)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) ToTraceMetricsRuleTraceFilterSpanOutput() TraceMetricsRuleTraceFilterSpanOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) ToTraceMetricsRuleTraceFilterSpanOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) Duration() TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *TraceMetricsRuleTraceFilterSpanDuration { return v.Duration }).(TraceMetricsRuleTraceFilterSpanDurationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) Error() TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *TraceMetricsRuleTraceFilterSpanError { return v.Error }).(TraceMetricsRuleTraceFilterSpanErrorPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) MatchType() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *string { return v.MatchType }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) Operation() TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *TraceMetricsRuleTraceFilterSpanOperation { return v.Operation }).(TraceMetricsRuleTraceFilterSpanOperationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) ParentOperation() TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *TraceMetricsRuleTraceFilterSpanParentOperation { + return v.ParentOperation + }).(TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) ParentService() TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *TraceMetricsRuleTraceFilterSpanParentService { + return v.ParentService + }).(TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) Service() TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *TraceMetricsRuleTraceFilterSpanService { return v.Service }).(TraceMetricsRuleTraceFilterSpanServicePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) SpanCount() TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) *TraceMetricsRuleTraceFilterSpanSpanCount { return v.SpanCount }).(TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOutput) Tags() TraceMetricsRuleTraceFilterSpanTagArrayOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpan) []TraceMetricsRuleTraceFilterSpanTag { return v.Tags }).(TraceMetricsRuleTraceFilterSpanTagArrayOutput) +} + +type TraceMetricsRuleTraceFilterSpanArrayOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceMetricsRuleTraceFilterSpan)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanArrayOutput) ToTraceMetricsRuleTraceFilterSpanArrayOutput() TraceMetricsRuleTraceFilterSpanArrayOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanArrayOutput) ToTraceMetricsRuleTraceFilterSpanArrayOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanArrayOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanArrayOutput) Index(i pulumi.IntInput) TraceMetricsRuleTraceFilterSpanOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceMetricsRuleTraceFilterSpan { + return vs[0].([]TraceMetricsRuleTraceFilterSpan)[vs[1].(int)] + }).(TraceMetricsRuleTraceFilterSpanOutput) +} + +type TraceMetricsRuleTraceFilterSpanDuration struct { + MaxSeconds *float64 `pulumi:"maxSeconds"` + MinSeconds *float64 `pulumi:"minSeconds"` +} + +// TraceMetricsRuleTraceFilterSpanDurationInput is an input type that accepts TraceMetricsRuleTraceFilterSpanDurationArgs and TraceMetricsRuleTraceFilterSpanDurationOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanDurationInput` via: +// +// TraceMetricsRuleTraceFilterSpanDurationArgs{...} +type TraceMetricsRuleTraceFilterSpanDurationInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanDurationOutput() TraceMetricsRuleTraceFilterSpanDurationOutput + ToTraceMetricsRuleTraceFilterSpanDurationOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanDurationOutput +} + +type TraceMetricsRuleTraceFilterSpanDurationArgs struct { + MaxSeconds pulumi.Float64PtrInput `pulumi:"maxSeconds"` + MinSeconds pulumi.Float64PtrInput `pulumi:"minSeconds"` +} + +func (TraceMetricsRuleTraceFilterSpanDurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanDuration)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanDurationArgs) ToTraceMetricsRuleTraceFilterSpanDurationOutput() TraceMetricsRuleTraceFilterSpanDurationOutput { + return i.ToTraceMetricsRuleTraceFilterSpanDurationOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanDurationArgs) ToTraceMetricsRuleTraceFilterSpanDurationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanDurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanDurationOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanDurationArgs) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutput() TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanDurationArgs) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanDurationOutput).ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanDurationPtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanDurationArgs, TraceMetricsRuleTraceFilterSpanDurationPtr and TraceMetricsRuleTraceFilterSpanDurationPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanDurationPtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanDurationArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanDurationPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanDurationPtrOutput() TraceMetricsRuleTraceFilterSpanDurationPtrOutput + ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanDurationPtrOutput +} + +type traceMetricsRuleTraceFilterSpanDurationPtrType TraceMetricsRuleTraceFilterSpanDurationArgs + +func TraceMetricsRuleTraceFilterSpanDurationPtr(v *TraceMetricsRuleTraceFilterSpanDurationArgs) TraceMetricsRuleTraceFilterSpanDurationPtrInput { + return (*traceMetricsRuleTraceFilterSpanDurationPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanDurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanDuration)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanDurationPtrType) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutput() TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanDurationPtrType) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanDurationPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanDurationOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanDurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanDuration)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanDurationOutput) ToTraceMetricsRuleTraceFilterSpanDurationOutput() TraceMetricsRuleTraceFilterSpanDurationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanDurationOutput) ToTraceMetricsRuleTraceFilterSpanDurationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanDurationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanDurationOutput) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutput() TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanDurationOutput) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanDuration) *TraceMetricsRuleTraceFilterSpanDuration { + return &v + }).(TraceMetricsRuleTraceFilterSpanDurationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanDurationOutput) MaxSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanDuration) *float64 { return v.MaxSeconds }).(pulumi.Float64PtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanDurationOutput) MinSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanDuration) *float64 { return v.MinSeconds }).(pulumi.Float64PtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanDurationPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanDurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanDuration)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanDurationPtrOutput) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutput() TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanDurationPtrOutput) ToTraceMetricsRuleTraceFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanDurationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanDurationPtrOutput) Elem() TraceMetricsRuleTraceFilterSpanDurationOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanDuration) TraceMetricsRuleTraceFilterSpanDuration { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanDuration + return ret + }).(TraceMetricsRuleTraceFilterSpanDurationOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanDurationPtrOutput) MaxSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanDuration) *float64 { + if v == nil { + return nil + } + return v.MaxSeconds + }).(pulumi.Float64PtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanDurationPtrOutput) MinSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanDuration) *float64 { + if v == nil { + return nil + } + return v.MinSeconds + }).(pulumi.Float64PtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanError struct { + Value bool `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanErrorInput is an input type that accepts TraceMetricsRuleTraceFilterSpanErrorArgs and TraceMetricsRuleTraceFilterSpanErrorOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanErrorInput` via: +// +// TraceMetricsRuleTraceFilterSpanErrorArgs{...} +type TraceMetricsRuleTraceFilterSpanErrorInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanErrorOutput() TraceMetricsRuleTraceFilterSpanErrorOutput + ToTraceMetricsRuleTraceFilterSpanErrorOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanErrorOutput +} + +type TraceMetricsRuleTraceFilterSpanErrorArgs struct { + Value pulumi.BoolInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanError)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanErrorArgs) ToTraceMetricsRuleTraceFilterSpanErrorOutput() TraceMetricsRuleTraceFilterSpanErrorOutput { + return i.ToTraceMetricsRuleTraceFilterSpanErrorOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanErrorArgs) ToTraceMetricsRuleTraceFilterSpanErrorOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanErrorOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanErrorArgs) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutput() TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanErrorArgs) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanErrorOutput).ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanErrorPtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanErrorArgs, TraceMetricsRuleTraceFilterSpanErrorPtr and TraceMetricsRuleTraceFilterSpanErrorPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanErrorPtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanErrorArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanErrorPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanErrorPtrOutput() TraceMetricsRuleTraceFilterSpanErrorPtrOutput + ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanErrorPtrOutput +} + +type traceMetricsRuleTraceFilterSpanErrorPtrType TraceMetricsRuleTraceFilterSpanErrorArgs + +func TraceMetricsRuleTraceFilterSpanErrorPtr(v *TraceMetricsRuleTraceFilterSpanErrorArgs) TraceMetricsRuleTraceFilterSpanErrorPtrInput { + return (*traceMetricsRuleTraceFilterSpanErrorPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanErrorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanError)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanErrorPtrType) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutput() TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanErrorPtrType) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanErrorPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanErrorOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanError)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanErrorOutput) ToTraceMetricsRuleTraceFilterSpanErrorOutput() TraceMetricsRuleTraceFilterSpanErrorOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanErrorOutput) ToTraceMetricsRuleTraceFilterSpanErrorOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanErrorOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanErrorOutput) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutput() TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanErrorOutput) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanError) *TraceMetricsRuleTraceFilterSpanError { + return &v + }).(TraceMetricsRuleTraceFilterSpanErrorPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanErrorOutput) Value() pulumi.BoolOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanError) bool { return v.Value }).(pulumi.BoolOutput) +} + +type TraceMetricsRuleTraceFilterSpanErrorPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanError)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanErrorPtrOutput) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutput() TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanErrorPtrOutput) ToTraceMetricsRuleTraceFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanErrorPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanErrorPtrOutput) Elem() TraceMetricsRuleTraceFilterSpanErrorOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanError) TraceMetricsRuleTraceFilterSpanError { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanError + return ret + }).(TraceMetricsRuleTraceFilterSpanErrorOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanErrorPtrOutput) Value() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanError) *bool { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.BoolPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanOperation struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanOperationInput is an input type that accepts TraceMetricsRuleTraceFilterSpanOperationArgs and TraceMetricsRuleTraceFilterSpanOperationOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanOperationInput` via: +// +// TraceMetricsRuleTraceFilterSpanOperationArgs{...} +type TraceMetricsRuleTraceFilterSpanOperationInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanOperationOutput() TraceMetricsRuleTraceFilterSpanOperationOutput + ToTraceMetricsRuleTraceFilterSpanOperationOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanOperationOutput +} + +type TraceMetricsRuleTraceFilterSpanOperationArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanOperation)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanOperationArgs) ToTraceMetricsRuleTraceFilterSpanOperationOutput() TraceMetricsRuleTraceFilterSpanOperationOutput { + return i.ToTraceMetricsRuleTraceFilterSpanOperationOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanOperationArgs) ToTraceMetricsRuleTraceFilterSpanOperationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanOperationOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanOperationArgs) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutput() TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanOperationArgs) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanOperationOutput).ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanOperationPtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanOperationArgs, TraceMetricsRuleTraceFilterSpanOperationPtr and TraceMetricsRuleTraceFilterSpanOperationPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanOperationPtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanOperationArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanOperationPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanOperationPtrOutput() TraceMetricsRuleTraceFilterSpanOperationPtrOutput + ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanOperationPtrOutput +} + +type traceMetricsRuleTraceFilterSpanOperationPtrType TraceMetricsRuleTraceFilterSpanOperationArgs + +func TraceMetricsRuleTraceFilterSpanOperationPtr(v *TraceMetricsRuleTraceFilterSpanOperationArgs) TraceMetricsRuleTraceFilterSpanOperationPtrInput { + return (*traceMetricsRuleTraceFilterSpanOperationPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanOperationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanOperation)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanOperationPtrType) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutput() TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanOperationPtrType) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanOperationPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanOperationOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanOperation)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanOperationOutput) ToTraceMetricsRuleTraceFilterSpanOperationOutput() TraceMetricsRuleTraceFilterSpanOperationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanOperationOutput) ToTraceMetricsRuleTraceFilterSpanOperationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOperationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanOperationOutput) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutput() TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanOperationOutput) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanOperation) *TraceMetricsRuleTraceFilterSpanOperation { + return &v + }).(TraceMetricsRuleTraceFilterSpanOperationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOperationOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanOperation) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOperationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanOperation) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceMetricsRuleTraceFilterSpanOperationPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanOperationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanOperation)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanOperationPtrOutput) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutput() TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanOperationPtrOutput) ToTraceMetricsRuleTraceFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanOperationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanOperationPtrOutput) Elem() TraceMetricsRuleTraceFilterSpanOperationOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanOperation) TraceMetricsRuleTraceFilterSpanOperation { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanOperation + return ret + }).(TraceMetricsRuleTraceFilterSpanOperationOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOperationPtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanOperation) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanOperationPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanOperation) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanParentOperation struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanParentOperationInput is an input type that accepts TraceMetricsRuleTraceFilterSpanParentOperationArgs and TraceMetricsRuleTraceFilterSpanParentOperationOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanParentOperationInput` via: +// +// TraceMetricsRuleTraceFilterSpanParentOperationArgs{...} +type TraceMetricsRuleTraceFilterSpanParentOperationInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanParentOperationOutput() TraceMetricsRuleTraceFilterSpanParentOperationOutput + ToTraceMetricsRuleTraceFilterSpanParentOperationOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanParentOperationOutput +} + +type TraceMetricsRuleTraceFilterSpanParentOperationArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanParentOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentOperation)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanParentOperationArgs) ToTraceMetricsRuleTraceFilterSpanParentOperationOutput() TraceMetricsRuleTraceFilterSpanParentOperationOutput { + return i.ToTraceMetricsRuleTraceFilterSpanParentOperationOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanParentOperationArgs) ToTraceMetricsRuleTraceFilterSpanParentOperationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanParentOperationOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanParentOperationArgs) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutput() TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanParentOperationArgs) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanParentOperationOutput).ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanParentOperationPtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanParentOperationArgs, TraceMetricsRuleTraceFilterSpanParentOperationPtr and TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanParentOperationPtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanParentOperationArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanParentOperationPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutput() TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput + ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput +} + +type traceMetricsRuleTraceFilterSpanParentOperationPtrType TraceMetricsRuleTraceFilterSpanParentOperationArgs + +func TraceMetricsRuleTraceFilterSpanParentOperationPtr(v *TraceMetricsRuleTraceFilterSpanParentOperationArgs) TraceMetricsRuleTraceFilterSpanParentOperationPtrInput { + return (*traceMetricsRuleTraceFilterSpanParentOperationPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanParentOperationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanParentOperation)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanParentOperationPtrType) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutput() TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanParentOperationPtrType) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanParentOperationOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanParentOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentOperation)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationOutput) ToTraceMetricsRuleTraceFilterSpanParentOperationOutput() TraceMetricsRuleTraceFilterSpanParentOperationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationOutput) ToTraceMetricsRuleTraceFilterSpanParentOperationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentOperationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationOutput) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutput() TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationOutput) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanParentOperation) *TraceMetricsRuleTraceFilterSpanParentOperation { + return &v + }).(TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanParentOperation) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanParentOperation) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanParentOperation)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutput() TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) ToTraceMetricsRuleTraceFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) Elem() TraceMetricsRuleTraceFilterSpanParentOperationOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanParentOperation) TraceMetricsRuleTraceFilterSpanParentOperation { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanParentOperation + return ret + }).(TraceMetricsRuleTraceFilterSpanParentOperationOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanParentOperation) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanParentOperation) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanParentService struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanParentServiceInput is an input type that accepts TraceMetricsRuleTraceFilterSpanParentServiceArgs and TraceMetricsRuleTraceFilterSpanParentServiceOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanParentServiceInput` via: +// +// TraceMetricsRuleTraceFilterSpanParentServiceArgs{...} +type TraceMetricsRuleTraceFilterSpanParentServiceInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanParentServiceOutput() TraceMetricsRuleTraceFilterSpanParentServiceOutput + ToTraceMetricsRuleTraceFilterSpanParentServiceOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanParentServiceOutput +} + +type TraceMetricsRuleTraceFilterSpanParentServiceArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanParentServiceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentService)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanParentServiceArgs) ToTraceMetricsRuleTraceFilterSpanParentServiceOutput() TraceMetricsRuleTraceFilterSpanParentServiceOutput { + return i.ToTraceMetricsRuleTraceFilterSpanParentServiceOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanParentServiceArgs) ToTraceMetricsRuleTraceFilterSpanParentServiceOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentServiceOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanParentServiceOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanParentServiceArgs) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutput() TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanParentServiceArgs) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanParentServiceOutput).ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanParentServicePtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanParentServiceArgs, TraceMetricsRuleTraceFilterSpanParentServicePtr and TraceMetricsRuleTraceFilterSpanParentServicePtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanParentServicePtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanParentServiceArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanParentServicePtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutput() TraceMetricsRuleTraceFilterSpanParentServicePtrOutput + ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanParentServicePtrOutput +} + +type traceMetricsRuleTraceFilterSpanParentServicePtrType TraceMetricsRuleTraceFilterSpanParentServiceArgs + +func TraceMetricsRuleTraceFilterSpanParentServicePtr(v *TraceMetricsRuleTraceFilterSpanParentServiceArgs) TraceMetricsRuleTraceFilterSpanParentServicePtrInput { + return (*traceMetricsRuleTraceFilterSpanParentServicePtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanParentServicePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanParentService)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanParentServicePtrType) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutput() TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanParentServicePtrType) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanParentServiceOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanParentServiceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentService)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanParentServiceOutput) ToTraceMetricsRuleTraceFilterSpanParentServiceOutput() TraceMetricsRuleTraceFilterSpanParentServiceOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentServiceOutput) ToTraceMetricsRuleTraceFilterSpanParentServiceOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentServiceOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentServiceOutput) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutput() TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanParentServiceOutput) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanParentService) *TraceMetricsRuleTraceFilterSpanParentService { + return &v + }).(TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentServiceOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanParentService) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentServiceOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanParentService) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceMetricsRuleTraceFilterSpanParentServicePtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanParentService)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutput() TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) ToTraceMetricsRuleTraceFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanParentServicePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) Elem() TraceMetricsRuleTraceFilterSpanParentServiceOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanParentService) TraceMetricsRuleTraceFilterSpanParentService { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanParentService + return ret + }).(TraceMetricsRuleTraceFilterSpanParentServiceOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanParentService) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanParentServicePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanParentService) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanService struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanServiceInput is an input type that accepts TraceMetricsRuleTraceFilterSpanServiceArgs and TraceMetricsRuleTraceFilterSpanServiceOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanServiceInput` via: +// +// TraceMetricsRuleTraceFilterSpanServiceArgs{...} +type TraceMetricsRuleTraceFilterSpanServiceInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanServiceOutput() TraceMetricsRuleTraceFilterSpanServiceOutput + ToTraceMetricsRuleTraceFilterSpanServiceOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanServiceOutput +} + +type TraceMetricsRuleTraceFilterSpanServiceArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanServiceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanService)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanServiceArgs) ToTraceMetricsRuleTraceFilterSpanServiceOutput() TraceMetricsRuleTraceFilterSpanServiceOutput { + return i.ToTraceMetricsRuleTraceFilterSpanServiceOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanServiceArgs) ToTraceMetricsRuleTraceFilterSpanServiceOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanServiceOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanServiceOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanServiceArgs) ToTraceMetricsRuleTraceFilterSpanServicePtrOutput() TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanServiceArgs) ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanServiceOutput).ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanServicePtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanServiceArgs, TraceMetricsRuleTraceFilterSpanServicePtr and TraceMetricsRuleTraceFilterSpanServicePtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanServicePtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanServiceArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanServicePtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanServicePtrOutput() TraceMetricsRuleTraceFilterSpanServicePtrOutput + ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanServicePtrOutput +} + +type traceMetricsRuleTraceFilterSpanServicePtrType TraceMetricsRuleTraceFilterSpanServiceArgs + +func TraceMetricsRuleTraceFilterSpanServicePtr(v *TraceMetricsRuleTraceFilterSpanServiceArgs) TraceMetricsRuleTraceFilterSpanServicePtrInput { + return (*traceMetricsRuleTraceFilterSpanServicePtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanServicePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanService)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanServicePtrType) ToTraceMetricsRuleTraceFilterSpanServicePtrOutput() TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanServicePtrType) ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanServicePtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanServiceOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanServiceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanService)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanServiceOutput) ToTraceMetricsRuleTraceFilterSpanServiceOutput() TraceMetricsRuleTraceFilterSpanServiceOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanServiceOutput) ToTraceMetricsRuleTraceFilterSpanServiceOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanServiceOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanServiceOutput) ToTraceMetricsRuleTraceFilterSpanServicePtrOutput() TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanServiceOutput) ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanService) *TraceMetricsRuleTraceFilterSpanService { + return &v + }).(TraceMetricsRuleTraceFilterSpanServicePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanServiceOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanService) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanServiceOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanService) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceMetricsRuleTraceFilterSpanServicePtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanServicePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanService)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanServicePtrOutput) ToTraceMetricsRuleTraceFilterSpanServicePtrOutput() TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanServicePtrOutput) ToTraceMetricsRuleTraceFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanServicePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanServicePtrOutput) Elem() TraceMetricsRuleTraceFilterSpanServiceOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanService) TraceMetricsRuleTraceFilterSpanService { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanService + return ret + }).(TraceMetricsRuleTraceFilterSpanServiceOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanServicePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanService) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanServicePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanService) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanSpanCount struct { + Max *int `pulumi:"max"` + Min *int `pulumi:"min"` +} + +// TraceMetricsRuleTraceFilterSpanSpanCountInput is an input type that accepts TraceMetricsRuleTraceFilterSpanSpanCountArgs and TraceMetricsRuleTraceFilterSpanSpanCountOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanSpanCountInput` via: +// +// TraceMetricsRuleTraceFilterSpanSpanCountArgs{...} +type TraceMetricsRuleTraceFilterSpanSpanCountInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanSpanCountOutput() TraceMetricsRuleTraceFilterSpanSpanCountOutput + ToTraceMetricsRuleTraceFilterSpanSpanCountOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanSpanCountOutput +} + +type TraceMetricsRuleTraceFilterSpanSpanCountArgs struct { + Max pulumi.IntPtrInput `pulumi:"max"` + Min pulumi.IntPtrInput `pulumi:"min"` +} + +func (TraceMetricsRuleTraceFilterSpanSpanCountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanSpanCount)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanSpanCountArgs) ToTraceMetricsRuleTraceFilterSpanSpanCountOutput() TraceMetricsRuleTraceFilterSpanSpanCountOutput { + return i.ToTraceMetricsRuleTraceFilterSpanSpanCountOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanSpanCountArgs) ToTraceMetricsRuleTraceFilterSpanSpanCountOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanSpanCountOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanSpanCountOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanSpanCountArgs) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutput() TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanSpanCountArgs) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanSpanCountOutput).ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanSpanCountPtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanSpanCountArgs, TraceMetricsRuleTraceFilterSpanSpanCountPtr and TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanSpanCountPtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanSpanCountArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanSpanCountPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutput() TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput + ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput +} + +type traceMetricsRuleTraceFilterSpanSpanCountPtrType TraceMetricsRuleTraceFilterSpanSpanCountArgs + +func TraceMetricsRuleTraceFilterSpanSpanCountPtr(v *TraceMetricsRuleTraceFilterSpanSpanCountArgs) TraceMetricsRuleTraceFilterSpanSpanCountPtrInput { + return (*traceMetricsRuleTraceFilterSpanSpanCountPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanSpanCountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanSpanCount)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanSpanCountPtrType) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutput() TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanSpanCountPtrType) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanSpanCountOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanSpanCountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanSpanCount)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountOutput) ToTraceMetricsRuleTraceFilterSpanSpanCountOutput() TraceMetricsRuleTraceFilterSpanSpanCountOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountOutput) ToTraceMetricsRuleTraceFilterSpanSpanCountOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanSpanCountOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountOutput) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutput() TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountOutput) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanSpanCount) *TraceMetricsRuleTraceFilterSpanSpanCount { + return &v + }).(TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanSpanCount) *int { return v.Max }).(pulumi.IntPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanSpanCount) *int { return v.Min }).(pulumi.IntPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanSpanCount)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutput() TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) ToTraceMetricsRuleTraceFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) Elem() TraceMetricsRuleTraceFilterSpanSpanCountOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanSpanCount) TraceMetricsRuleTraceFilterSpanSpanCount { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanSpanCount + return ret + }).(TraceMetricsRuleTraceFilterSpanSpanCountOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanSpanCount) *int { + if v == nil { + return nil + } + return v.Max + }).(pulumi.IntPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanSpanCount) *int { + if v == nil { + return nil + } + return v.Min + }).(pulumi.IntPtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanTag struct { + Key string `pulumi:"key"` + NumericValue *TraceMetricsRuleTraceFilterSpanTagNumericValue `pulumi:"numericValue"` + Value *TraceMetricsRuleTraceFilterSpanTagValue `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanTagInput is an input type that accepts TraceMetricsRuleTraceFilterSpanTagArgs and TraceMetricsRuleTraceFilterSpanTagOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanTagInput` via: +// +// TraceMetricsRuleTraceFilterSpanTagArgs{...} +type TraceMetricsRuleTraceFilterSpanTagInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanTagOutput() TraceMetricsRuleTraceFilterSpanTagOutput + ToTraceMetricsRuleTraceFilterSpanTagOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanTagOutput +} + +type TraceMetricsRuleTraceFilterSpanTagArgs struct { + Key pulumi.StringInput `pulumi:"key"` + NumericValue TraceMetricsRuleTraceFilterSpanTagNumericValuePtrInput `pulumi:"numericValue"` + Value TraceMetricsRuleTraceFilterSpanTagValuePtrInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTag)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanTagArgs) ToTraceMetricsRuleTraceFilterSpanTagOutput() TraceMetricsRuleTraceFilterSpanTagOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanTagArgs) ToTraceMetricsRuleTraceFilterSpanTagOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagOutput) +} + +// TraceMetricsRuleTraceFilterSpanTagArrayInput is an input type that accepts TraceMetricsRuleTraceFilterSpanTagArray and TraceMetricsRuleTraceFilterSpanTagArrayOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanTagArrayInput` via: +// +// TraceMetricsRuleTraceFilterSpanTagArray{ TraceMetricsRuleTraceFilterSpanTagArgs{...} } +type TraceMetricsRuleTraceFilterSpanTagArrayInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanTagArrayOutput() TraceMetricsRuleTraceFilterSpanTagArrayOutput + ToTraceMetricsRuleTraceFilterSpanTagArrayOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanTagArrayOutput +} + +type TraceMetricsRuleTraceFilterSpanTagArray []TraceMetricsRuleTraceFilterSpanTagInput + +func (TraceMetricsRuleTraceFilterSpanTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceMetricsRuleTraceFilterSpanTag)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanTagArray) ToTraceMetricsRuleTraceFilterSpanTagArrayOutput() TraceMetricsRuleTraceFilterSpanTagArrayOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagArrayOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanTagArray) ToTraceMetricsRuleTraceFilterSpanTagArrayOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagArrayOutput) +} + +type TraceMetricsRuleTraceFilterSpanTagOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTag)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanTagOutput) ToTraceMetricsRuleTraceFilterSpanTagOutput() TraceMetricsRuleTraceFilterSpanTagOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagOutput) ToTraceMetricsRuleTraceFilterSpanTagOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanTag) string { return v.Key }).(pulumi.StringOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagOutput) NumericValue() TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanTag) *TraceMetricsRuleTraceFilterSpanTagNumericValue { + return v.NumericValue + }).(TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagOutput) Value() TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanTag) *TraceMetricsRuleTraceFilterSpanTagValue { return v.Value }).(TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanTagArrayOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceMetricsRuleTraceFilterSpanTag)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanTagArrayOutput) ToTraceMetricsRuleTraceFilterSpanTagArrayOutput() TraceMetricsRuleTraceFilterSpanTagArrayOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagArrayOutput) ToTraceMetricsRuleTraceFilterSpanTagArrayOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagArrayOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagArrayOutput) Index(i pulumi.IntInput) TraceMetricsRuleTraceFilterSpanTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceMetricsRuleTraceFilterSpanTag { + return vs[0].([]TraceMetricsRuleTraceFilterSpanTag)[vs[1].(int)] + }).(TraceMetricsRuleTraceFilterSpanTagOutput) +} + +type TraceMetricsRuleTraceFilterSpanTagNumericValue struct { + Comparison string `pulumi:"comparison"` + Value float64 `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanTagNumericValueInput is an input type that accepts TraceMetricsRuleTraceFilterSpanTagNumericValueArgs and TraceMetricsRuleTraceFilterSpanTagNumericValueOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanTagNumericValueInput` via: +// +// TraceMetricsRuleTraceFilterSpanTagNumericValueArgs{...} +type TraceMetricsRuleTraceFilterSpanTagNumericValueInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanTagNumericValueOutput() TraceMetricsRuleTraceFilterSpanTagNumericValueOutput + ToTraceMetricsRuleTraceFilterSpanTagNumericValueOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValueOutput +} + +type TraceMetricsRuleTraceFilterSpanTagNumericValueArgs struct { + Comparison pulumi.StringInput `pulumi:"comparison"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanTagNumericValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagNumericValue)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanTagNumericValueArgs) ToTraceMetricsRuleTraceFilterSpanTagNumericValueOutput() TraceMetricsRuleTraceFilterSpanTagNumericValueOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagNumericValueOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanTagNumericValueArgs) ToTraceMetricsRuleTraceFilterSpanTagNumericValueOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanTagNumericValueArgs) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanTagNumericValueArgs) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagNumericValueOutput).ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanTagNumericValuePtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanTagNumericValueArgs, TraceMetricsRuleTraceFilterSpanTagNumericValuePtr and TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanTagNumericValuePtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanTagNumericValueArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanTagNumericValuePtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput + ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput +} + +type traceMetricsRuleTraceFilterSpanTagNumericValuePtrType TraceMetricsRuleTraceFilterSpanTagNumericValueArgs + +func TraceMetricsRuleTraceFilterSpanTagNumericValuePtr(v *TraceMetricsRuleTraceFilterSpanTagNumericValueArgs) TraceMetricsRuleTraceFilterSpanTagNumericValuePtrInput { + return (*traceMetricsRuleTraceFilterSpanTagNumericValuePtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanTagNumericValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanTagNumericValue)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanTagNumericValuePtrType) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanTagNumericValuePtrType) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanTagNumericValueOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagNumericValue)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) ToTraceMetricsRuleTraceFilterSpanTagNumericValueOutput() TraceMetricsRuleTraceFilterSpanTagNumericValueOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) ToTraceMetricsRuleTraceFilterSpanTagNumericValueOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValueOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanTagNumericValue) *TraceMetricsRuleTraceFilterSpanTagNumericValue { + return &v + }).(TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) Comparison() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanTagNumericValue) string { return v.Comparison }).(pulumi.StringOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanTagNumericValue) float64 { return v.Value }).(pulumi.Float64Output) +} + +type TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanTagNumericValue)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) ToTraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) Elem() TraceMetricsRuleTraceFilterSpanTagNumericValueOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanTagNumericValue) TraceMetricsRuleTraceFilterSpanTagNumericValue { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanTagNumericValue + return ret + }).(TraceMetricsRuleTraceFilterSpanTagNumericValueOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) Comparison() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanTagNumericValue) *string { + if v == nil { + return nil + } + return &v.Comparison + }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanTagNumericValue) *float64 { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.Float64PtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanTagValue struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterSpanTagValueInput is an input type that accepts TraceMetricsRuleTraceFilterSpanTagValueArgs and TraceMetricsRuleTraceFilterSpanTagValueOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanTagValueInput` via: +// +// TraceMetricsRuleTraceFilterSpanTagValueArgs{...} +type TraceMetricsRuleTraceFilterSpanTagValueInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanTagValueOutput() TraceMetricsRuleTraceFilterSpanTagValueOutput + ToTraceMetricsRuleTraceFilterSpanTagValueOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanTagValueOutput +} + +type TraceMetricsRuleTraceFilterSpanTagValueArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterSpanTagValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagValue)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterSpanTagValueArgs) ToTraceMetricsRuleTraceFilterSpanTagValueOutput() TraceMetricsRuleTraceFilterSpanTagValueOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagValueOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanTagValueArgs) ToTraceMetricsRuleTraceFilterSpanTagValueOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagValueOutput) +} + +func (i TraceMetricsRuleTraceFilterSpanTagValueArgs) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterSpanTagValueArgs) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagValueOutput).ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterSpanTagValuePtrInput is an input type that accepts TraceMetricsRuleTraceFilterSpanTagValueArgs, TraceMetricsRuleTraceFilterSpanTagValuePtr and TraceMetricsRuleTraceFilterSpanTagValuePtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterSpanTagValuePtrInput` via: +// +// TraceMetricsRuleTraceFilterSpanTagValueArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterSpanTagValuePtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagValuePtrOutput + ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterSpanTagValuePtrOutput +} + +type traceMetricsRuleTraceFilterSpanTagValuePtrType TraceMetricsRuleTraceFilterSpanTagValueArgs + +func TraceMetricsRuleTraceFilterSpanTagValuePtr(v *TraceMetricsRuleTraceFilterSpanTagValueArgs) TraceMetricsRuleTraceFilterSpanTagValuePtrInput { + return (*traceMetricsRuleTraceFilterSpanTagValuePtrType)(v) +} + +func (*traceMetricsRuleTraceFilterSpanTagValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanTagValue)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterSpanTagValuePtrType) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return i.ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterSpanTagValuePtrType) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) +} + +type TraceMetricsRuleTraceFilterSpanTagValueOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanTagValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagValue)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanTagValueOutput) ToTraceMetricsRuleTraceFilterSpanTagValueOutput() TraceMetricsRuleTraceFilterSpanTagValueOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagValueOutput) ToTraceMetricsRuleTraceFilterSpanTagValueOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagValueOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagValueOutput) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return o.ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterSpanTagValueOutput) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterSpanTagValue) *TraceMetricsRuleTraceFilterSpanTagValue { + return &v + }).(TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagValueOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanTagValue) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagValueOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterSpanTagValue) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceMetricsRuleTraceFilterSpanTagValuePtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterSpanTagValue)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutput() TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) ToTraceMetricsRuleTraceFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterSpanTagValuePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) Elem() TraceMetricsRuleTraceFilterSpanTagValueOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanTagValue) TraceMetricsRuleTraceFilterSpanTagValue { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterSpanTagValue + return ret + }).(TraceMetricsRuleTraceFilterSpanTagValueOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanTagValue) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterSpanTagValuePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterSpanTagValue) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceMetricsRuleTraceFilterTrace struct { + Duration *TraceMetricsRuleTraceFilterTraceDuration `pulumi:"duration"` + Error *TraceMetricsRuleTraceFilterTraceError `pulumi:"error"` +} + +// TraceMetricsRuleTraceFilterTraceInput is an input type that accepts TraceMetricsRuleTraceFilterTraceArgs and TraceMetricsRuleTraceFilterTraceOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterTraceInput` via: +// +// TraceMetricsRuleTraceFilterTraceArgs{...} +type TraceMetricsRuleTraceFilterTraceInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterTraceOutput() TraceMetricsRuleTraceFilterTraceOutput + ToTraceMetricsRuleTraceFilterTraceOutputWithContext(context.Context) TraceMetricsRuleTraceFilterTraceOutput +} + +type TraceMetricsRuleTraceFilterTraceArgs struct { + Duration TraceMetricsRuleTraceFilterTraceDurationPtrInput `pulumi:"duration"` + Error TraceMetricsRuleTraceFilterTraceErrorPtrInput `pulumi:"error"` +} + +func (TraceMetricsRuleTraceFilterTraceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterTrace)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterTraceArgs) ToTraceMetricsRuleTraceFilterTraceOutput() TraceMetricsRuleTraceFilterTraceOutput { + return i.ToTraceMetricsRuleTraceFilterTraceOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterTraceArgs) ToTraceMetricsRuleTraceFilterTraceOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceOutput) +} + +func (i TraceMetricsRuleTraceFilterTraceArgs) ToTraceMetricsRuleTraceFilterTracePtrOutput() TraceMetricsRuleTraceFilterTracePtrOutput { + return i.ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterTraceArgs) ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTracePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceOutput).ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterTracePtrInput is an input type that accepts TraceMetricsRuleTraceFilterTraceArgs, TraceMetricsRuleTraceFilterTracePtr and TraceMetricsRuleTraceFilterTracePtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterTracePtrInput` via: +// +// TraceMetricsRuleTraceFilterTraceArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterTracePtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterTracePtrOutput() TraceMetricsRuleTraceFilterTracePtrOutput + ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterTracePtrOutput +} + +type traceMetricsRuleTraceFilterTracePtrType TraceMetricsRuleTraceFilterTraceArgs + +func TraceMetricsRuleTraceFilterTracePtr(v *TraceMetricsRuleTraceFilterTraceArgs) TraceMetricsRuleTraceFilterTracePtrInput { + return (*traceMetricsRuleTraceFilterTracePtrType)(v) +} + +func (*traceMetricsRuleTraceFilterTracePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterTrace)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterTracePtrType) ToTraceMetricsRuleTraceFilterTracePtrOutput() TraceMetricsRuleTraceFilterTracePtrOutput { + return i.ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterTracePtrType) ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTracePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTracePtrOutput) +} + +type TraceMetricsRuleTraceFilterTraceOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterTraceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterTrace)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterTraceOutput) ToTraceMetricsRuleTraceFilterTraceOutput() TraceMetricsRuleTraceFilterTraceOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceOutput) ToTraceMetricsRuleTraceFilterTraceOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceOutput) ToTraceMetricsRuleTraceFilterTracePtrOutput() TraceMetricsRuleTraceFilterTracePtrOutput { + return o.ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterTraceOutput) ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTracePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterTrace) *TraceMetricsRuleTraceFilterTrace { + return &v + }).(TraceMetricsRuleTraceFilterTracePtrOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceOutput) Duration() TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterTrace) *TraceMetricsRuleTraceFilterTraceDuration { return v.Duration }).(TraceMetricsRuleTraceFilterTraceDurationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceOutput) Error() TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterTrace) *TraceMetricsRuleTraceFilterTraceError { return v.Error }).(TraceMetricsRuleTraceFilterTraceErrorPtrOutput) +} + +type TraceMetricsRuleTraceFilterTracePtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterTracePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterTrace)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterTracePtrOutput) ToTraceMetricsRuleTraceFilterTracePtrOutput() TraceMetricsRuleTraceFilterTracePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTracePtrOutput) ToTraceMetricsRuleTraceFilterTracePtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTracePtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTracePtrOutput) Elem() TraceMetricsRuleTraceFilterTraceOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTrace) TraceMetricsRuleTraceFilterTrace { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterTrace + return ret + }).(TraceMetricsRuleTraceFilterTraceOutput) +} + +func (o TraceMetricsRuleTraceFilterTracePtrOutput) Duration() TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTrace) *TraceMetricsRuleTraceFilterTraceDuration { + if v == nil { + return nil + } + return v.Duration + }).(TraceMetricsRuleTraceFilterTraceDurationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterTracePtrOutput) Error() TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTrace) *TraceMetricsRuleTraceFilterTraceError { + if v == nil { + return nil + } + return v.Error + }).(TraceMetricsRuleTraceFilterTraceErrorPtrOutput) +} + +type TraceMetricsRuleTraceFilterTraceDuration struct { + MaxSeconds *float64 `pulumi:"maxSeconds"` + MinSeconds *float64 `pulumi:"minSeconds"` +} + +// TraceMetricsRuleTraceFilterTraceDurationInput is an input type that accepts TraceMetricsRuleTraceFilterTraceDurationArgs and TraceMetricsRuleTraceFilterTraceDurationOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterTraceDurationInput` via: +// +// TraceMetricsRuleTraceFilterTraceDurationArgs{...} +type TraceMetricsRuleTraceFilterTraceDurationInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterTraceDurationOutput() TraceMetricsRuleTraceFilterTraceDurationOutput + ToTraceMetricsRuleTraceFilterTraceDurationOutputWithContext(context.Context) TraceMetricsRuleTraceFilterTraceDurationOutput +} + +type TraceMetricsRuleTraceFilterTraceDurationArgs struct { + MaxSeconds pulumi.Float64PtrInput `pulumi:"maxSeconds"` + MinSeconds pulumi.Float64PtrInput `pulumi:"minSeconds"` +} + +func (TraceMetricsRuleTraceFilterTraceDurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceDuration)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterTraceDurationArgs) ToTraceMetricsRuleTraceFilterTraceDurationOutput() TraceMetricsRuleTraceFilterTraceDurationOutput { + return i.ToTraceMetricsRuleTraceFilterTraceDurationOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterTraceDurationArgs) ToTraceMetricsRuleTraceFilterTraceDurationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceDurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceDurationOutput) +} + +func (i TraceMetricsRuleTraceFilterTraceDurationArgs) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutput() TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterTraceDurationArgs) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceDurationOutput).ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterTraceDurationPtrInput is an input type that accepts TraceMetricsRuleTraceFilterTraceDurationArgs, TraceMetricsRuleTraceFilterTraceDurationPtr and TraceMetricsRuleTraceFilterTraceDurationPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterTraceDurationPtrInput` via: +// +// TraceMetricsRuleTraceFilterTraceDurationArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterTraceDurationPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterTraceDurationPtrOutput() TraceMetricsRuleTraceFilterTraceDurationPtrOutput + ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterTraceDurationPtrOutput +} + +type traceMetricsRuleTraceFilterTraceDurationPtrType TraceMetricsRuleTraceFilterTraceDurationArgs + +func TraceMetricsRuleTraceFilterTraceDurationPtr(v *TraceMetricsRuleTraceFilterTraceDurationArgs) TraceMetricsRuleTraceFilterTraceDurationPtrInput { + return (*traceMetricsRuleTraceFilterTraceDurationPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterTraceDurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterTraceDuration)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterTraceDurationPtrType) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutput() TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return i.ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterTraceDurationPtrType) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceDurationPtrOutput) +} + +type TraceMetricsRuleTraceFilterTraceDurationOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterTraceDurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceDuration)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterTraceDurationOutput) ToTraceMetricsRuleTraceFilterTraceDurationOutput() TraceMetricsRuleTraceFilterTraceDurationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceDurationOutput) ToTraceMetricsRuleTraceFilterTraceDurationOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceDurationOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceDurationOutput) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutput() TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return o.ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterTraceDurationOutput) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterTraceDuration) *TraceMetricsRuleTraceFilterTraceDuration { + return &v + }).(TraceMetricsRuleTraceFilterTraceDurationPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceDurationOutput) MaxSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterTraceDuration) *float64 { return v.MaxSeconds }).(pulumi.Float64PtrOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceDurationOutput) MinSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterTraceDuration) *float64 { return v.MinSeconds }).(pulumi.Float64PtrOutput) +} + +type TraceMetricsRuleTraceFilterTraceDurationPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterTraceDurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterTraceDuration)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterTraceDurationPtrOutput) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutput() TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceDurationPtrOutput) ToTraceMetricsRuleTraceFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceDurationPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceDurationPtrOutput) Elem() TraceMetricsRuleTraceFilterTraceDurationOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTraceDuration) TraceMetricsRuleTraceFilterTraceDuration { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterTraceDuration + return ret + }).(TraceMetricsRuleTraceFilterTraceDurationOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceDurationPtrOutput) MaxSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTraceDuration) *float64 { + if v == nil { + return nil + } + return v.MaxSeconds + }).(pulumi.Float64PtrOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceDurationPtrOutput) MinSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTraceDuration) *float64 { + if v == nil { + return nil + } + return v.MinSeconds + }).(pulumi.Float64PtrOutput) +} + +type TraceMetricsRuleTraceFilterTraceError struct { + Value bool `pulumi:"value"` +} + +// TraceMetricsRuleTraceFilterTraceErrorInput is an input type that accepts TraceMetricsRuleTraceFilterTraceErrorArgs and TraceMetricsRuleTraceFilterTraceErrorOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterTraceErrorInput` via: +// +// TraceMetricsRuleTraceFilterTraceErrorArgs{...} +type TraceMetricsRuleTraceFilterTraceErrorInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterTraceErrorOutput() TraceMetricsRuleTraceFilterTraceErrorOutput + ToTraceMetricsRuleTraceFilterTraceErrorOutputWithContext(context.Context) TraceMetricsRuleTraceFilterTraceErrorOutput +} + +type TraceMetricsRuleTraceFilterTraceErrorArgs struct { + Value pulumi.BoolInput `pulumi:"value"` +} + +func (TraceMetricsRuleTraceFilterTraceErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceError)(nil)).Elem() +} + +func (i TraceMetricsRuleTraceFilterTraceErrorArgs) ToTraceMetricsRuleTraceFilterTraceErrorOutput() TraceMetricsRuleTraceFilterTraceErrorOutput { + return i.ToTraceMetricsRuleTraceFilterTraceErrorOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterTraceErrorArgs) ToTraceMetricsRuleTraceFilterTraceErrorOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceErrorOutput) +} + +func (i TraceMetricsRuleTraceFilterTraceErrorArgs) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutput() TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return i.ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleTraceFilterTraceErrorArgs) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceErrorOutput).ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(ctx) +} + +// TraceMetricsRuleTraceFilterTraceErrorPtrInput is an input type that accepts TraceMetricsRuleTraceFilterTraceErrorArgs, TraceMetricsRuleTraceFilterTraceErrorPtr and TraceMetricsRuleTraceFilterTraceErrorPtrOutput values. +// You can construct a concrete instance of `TraceMetricsRuleTraceFilterTraceErrorPtrInput` via: +// +// TraceMetricsRuleTraceFilterTraceErrorArgs{...} +// +// or: +// +// nil +type TraceMetricsRuleTraceFilterTraceErrorPtrInput interface { + pulumi.Input + + ToTraceMetricsRuleTraceFilterTraceErrorPtrOutput() TraceMetricsRuleTraceFilterTraceErrorPtrOutput + ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(context.Context) TraceMetricsRuleTraceFilterTraceErrorPtrOutput +} + +type traceMetricsRuleTraceFilterTraceErrorPtrType TraceMetricsRuleTraceFilterTraceErrorArgs + +func TraceMetricsRuleTraceFilterTraceErrorPtr(v *TraceMetricsRuleTraceFilterTraceErrorArgs) TraceMetricsRuleTraceFilterTraceErrorPtrInput { + return (*traceMetricsRuleTraceFilterTraceErrorPtrType)(v) +} + +func (*traceMetricsRuleTraceFilterTraceErrorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterTraceError)(nil)).Elem() +} + +func (i *traceMetricsRuleTraceFilterTraceErrorPtrType) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutput() TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return i.ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(context.Background()) +} + +func (i *traceMetricsRuleTraceFilterTraceErrorPtrType) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleTraceFilterTraceErrorPtrOutput) +} + +type TraceMetricsRuleTraceFilterTraceErrorOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterTraceErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceError)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterTraceErrorOutput) ToTraceMetricsRuleTraceFilterTraceErrorOutput() TraceMetricsRuleTraceFilterTraceErrorOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceErrorOutput) ToTraceMetricsRuleTraceFilterTraceErrorOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceErrorOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceErrorOutput) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutput() TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return o.ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(context.Background()) +} + +func (o TraceMetricsRuleTraceFilterTraceErrorOutput) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceMetricsRuleTraceFilterTraceError) *TraceMetricsRuleTraceFilterTraceError { + return &v + }).(TraceMetricsRuleTraceFilterTraceErrorPtrOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceErrorOutput) Value() pulumi.BoolOutput { + return o.ApplyT(func(v TraceMetricsRuleTraceFilterTraceError) bool { return v.Value }).(pulumi.BoolOutput) +} + +type TraceMetricsRuleTraceFilterTraceErrorPtrOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleTraceFilterTraceErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRuleTraceFilterTraceError)(nil)).Elem() +} + +func (o TraceMetricsRuleTraceFilterTraceErrorPtrOutput) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutput() TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceErrorPtrOutput) ToTraceMetricsRuleTraceFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceMetricsRuleTraceFilterTraceErrorPtrOutput { + return o +} + +func (o TraceMetricsRuleTraceFilterTraceErrorPtrOutput) Elem() TraceMetricsRuleTraceFilterTraceErrorOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTraceError) TraceMetricsRuleTraceFilterTraceError { + if v != nil { + return *v + } + var ret TraceMetricsRuleTraceFilterTraceError + return ret + }).(TraceMetricsRuleTraceFilterTraceErrorOutput) +} + +func (o TraceMetricsRuleTraceFilterTraceErrorPtrOutput) Value() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *TraceMetricsRuleTraceFilterTraceError) *bool { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.BoolPtrOutput) +} + +type TraceTailSamplingRulesDefaultSampleRate struct { + Enabled *bool `pulumi:"enabled"` + SampleRate float64 `pulumi:"sampleRate"` +} + +// TraceTailSamplingRulesDefaultSampleRateInput is an input type that accepts TraceTailSamplingRulesDefaultSampleRateArgs and TraceTailSamplingRulesDefaultSampleRateOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesDefaultSampleRateInput` via: +// +// TraceTailSamplingRulesDefaultSampleRateArgs{...} +type TraceTailSamplingRulesDefaultSampleRateInput interface { + pulumi.Input + + ToTraceTailSamplingRulesDefaultSampleRateOutput() TraceTailSamplingRulesDefaultSampleRateOutput + ToTraceTailSamplingRulesDefaultSampleRateOutputWithContext(context.Context) TraceTailSamplingRulesDefaultSampleRateOutput +} + +type TraceTailSamplingRulesDefaultSampleRateArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + SampleRate pulumi.Float64Input `pulumi:"sampleRate"` +} + +func (TraceTailSamplingRulesDefaultSampleRateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesDefaultSampleRate)(nil)).Elem() +} + +func (i TraceTailSamplingRulesDefaultSampleRateArgs) ToTraceTailSamplingRulesDefaultSampleRateOutput() TraceTailSamplingRulesDefaultSampleRateOutput { + return i.ToTraceTailSamplingRulesDefaultSampleRateOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesDefaultSampleRateArgs) ToTraceTailSamplingRulesDefaultSampleRateOutputWithContext(ctx context.Context) TraceTailSamplingRulesDefaultSampleRateOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesDefaultSampleRateOutput) +} + +func (i TraceTailSamplingRulesDefaultSampleRateArgs) ToTraceTailSamplingRulesDefaultSampleRatePtrOutput() TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return i.ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesDefaultSampleRateArgs) ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesDefaultSampleRateOutput).ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesDefaultSampleRatePtrInput is an input type that accepts TraceTailSamplingRulesDefaultSampleRateArgs, TraceTailSamplingRulesDefaultSampleRatePtr and TraceTailSamplingRulesDefaultSampleRatePtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesDefaultSampleRatePtrInput` via: +// +// TraceTailSamplingRulesDefaultSampleRateArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesDefaultSampleRatePtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesDefaultSampleRatePtrOutput() TraceTailSamplingRulesDefaultSampleRatePtrOutput + ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(context.Context) TraceTailSamplingRulesDefaultSampleRatePtrOutput +} + +type traceTailSamplingRulesDefaultSampleRatePtrType TraceTailSamplingRulesDefaultSampleRateArgs + +func TraceTailSamplingRulesDefaultSampleRatePtr(v *TraceTailSamplingRulesDefaultSampleRateArgs) TraceTailSamplingRulesDefaultSampleRatePtrInput { + return (*traceTailSamplingRulesDefaultSampleRatePtrType)(v) +} + +func (*traceTailSamplingRulesDefaultSampleRatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesDefaultSampleRate)(nil)).Elem() +} + +func (i *traceTailSamplingRulesDefaultSampleRatePtrType) ToTraceTailSamplingRulesDefaultSampleRatePtrOutput() TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return i.ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesDefaultSampleRatePtrType) ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesDefaultSampleRatePtrOutput) +} + +type TraceTailSamplingRulesDefaultSampleRateOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesDefaultSampleRateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesDefaultSampleRate)(nil)).Elem() +} + +func (o TraceTailSamplingRulesDefaultSampleRateOutput) ToTraceTailSamplingRulesDefaultSampleRateOutput() TraceTailSamplingRulesDefaultSampleRateOutput { + return o +} + +func (o TraceTailSamplingRulesDefaultSampleRateOutput) ToTraceTailSamplingRulesDefaultSampleRateOutputWithContext(ctx context.Context) TraceTailSamplingRulesDefaultSampleRateOutput { + return o +} + +func (o TraceTailSamplingRulesDefaultSampleRateOutput) ToTraceTailSamplingRulesDefaultSampleRatePtrOutput() TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return o.ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesDefaultSampleRateOutput) ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesDefaultSampleRate) *TraceTailSamplingRulesDefaultSampleRate { + return &v + }).(TraceTailSamplingRulesDefaultSampleRatePtrOutput) +} + +func (o TraceTailSamplingRulesDefaultSampleRateOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesDefaultSampleRate) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +func (o TraceTailSamplingRulesDefaultSampleRateOutput) SampleRate() pulumi.Float64Output { + return o.ApplyT(func(v TraceTailSamplingRulesDefaultSampleRate) float64 { return v.SampleRate }).(pulumi.Float64Output) +} + +type TraceTailSamplingRulesDefaultSampleRatePtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesDefaultSampleRatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesDefaultSampleRate)(nil)).Elem() +} + +func (o TraceTailSamplingRulesDefaultSampleRatePtrOutput) ToTraceTailSamplingRulesDefaultSampleRatePtrOutput() TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return o +} + +func (o TraceTailSamplingRulesDefaultSampleRatePtrOutput) ToTraceTailSamplingRulesDefaultSampleRatePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return o +} + +func (o TraceTailSamplingRulesDefaultSampleRatePtrOutput) Elem() TraceTailSamplingRulesDefaultSampleRateOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesDefaultSampleRate) TraceTailSamplingRulesDefaultSampleRate { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesDefaultSampleRate + return ret + }).(TraceTailSamplingRulesDefaultSampleRateOutput) +} + +func (o TraceTailSamplingRulesDefaultSampleRatePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesDefaultSampleRate) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + +func (o TraceTailSamplingRulesDefaultSampleRatePtrOutput) SampleRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesDefaultSampleRate) *float64 { + if v == nil { + return nil + } + return &v.SampleRate + }).(pulumi.Float64PtrOutput) +} + +type TraceTailSamplingRulesRule struct { + Filter TraceTailSamplingRulesRuleFilter `pulumi:"filter"` + Name *string `pulumi:"name"` + SampleRate float64 `pulumi:"sampleRate"` + SystemName *string `pulumi:"systemName"` +} + +// TraceTailSamplingRulesRuleInput is an input type that accepts TraceTailSamplingRulesRuleArgs and TraceTailSamplingRulesRuleOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleInput` via: +// +// TraceTailSamplingRulesRuleArgs{...} +type TraceTailSamplingRulesRuleInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleOutput() TraceTailSamplingRulesRuleOutput + ToTraceTailSamplingRulesRuleOutputWithContext(context.Context) TraceTailSamplingRulesRuleOutput +} + +type TraceTailSamplingRulesRuleArgs struct { + Filter TraceTailSamplingRulesRuleFilterInput `pulumi:"filter"` + Name pulumi.StringPtrInput `pulumi:"name"` + SampleRate pulumi.Float64Input `pulumi:"sampleRate"` + SystemName pulumi.StringPtrInput `pulumi:"systemName"` +} + +func (TraceTailSamplingRulesRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRule)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleArgs) ToTraceTailSamplingRulesRuleOutput() TraceTailSamplingRulesRuleOutput { + return i.ToTraceTailSamplingRulesRuleOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleArgs) ToTraceTailSamplingRulesRuleOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleOutput) +} + +// TraceTailSamplingRulesRuleArrayInput is an input type that accepts TraceTailSamplingRulesRuleArray and TraceTailSamplingRulesRuleArrayOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleArrayInput` via: +// +// TraceTailSamplingRulesRuleArray{ TraceTailSamplingRulesRuleArgs{...} } +type TraceTailSamplingRulesRuleArrayInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleArrayOutput() TraceTailSamplingRulesRuleArrayOutput + ToTraceTailSamplingRulesRuleArrayOutputWithContext(context.Context) TraceTailSamplingRulesRuleArrayOutput +} + +type TraceTailSamplingRulesRuleArray []TraceTailSamplingRulesRuleInput + +func (TraceTailSamplingRulesRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceTailSamplingRulesRule)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleArray) ToTraceTailSamplingRulesRuleArrayOutput() TraceTailSamplingRulesRuleArrayOutput { + return i.ToTraceTailSamplingRulesRuleArrayOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleArray) ToTraceTailSamplingRulesRuleArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleArrayOutput) +} + +type TraceTailSamplingRulesRuleOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRule)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleOutput) ToTraceTailSamplingRulesRuleOutput() TraceTailSamplingRulesRuleOutput { + return o +} + +func (o TraceTailSamplingRulesRuleOutput) ToTraceTailSamplingRulesRuleOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleOutput { + return o +} + +func (o TraceTailSamplingRulesRuleOutput) Filter() TraceTailSamplingRulesRuleFilterOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRule) TraceTailSamplingRulesRuleFilter { return v.Filter }).(TraceTailSamplingRulesRuleFilterOutput) +} + +func (o TraceTailSamplingRulesRuleOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRule) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleOutput) SampleRate() pulumi.Float64Output { + return o.ApplyT(func(v TraceTailSamplingRulesRule) float64 { return v.SampleRate }).(pulumi.Float64Output) +} + +func (o TraceTailSamplingRulesRuleOutput) SystemName() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRule) *string { return v.SystemName }).(pulumi.StringPtrOutput) +} + +type TraceTailSamplingRulesRuleArrayOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceTailSamplingRulesRule)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleArrayOutput) ToTraceTailSamplingRulesRuleArrayOutput() TraceTailSamplingRulesRuleArrayOutput { + return o +} + +func (o TraceTailSamplingRulesRuleArrayOutput) ToTraceTailSamplingRulesRuleArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleArrayOutput { + return o +} + +func (o TraceTailSamplingRulesRuleArrayOutput) Index(i pulumi.IntInput) TraceTailSamplingRulesRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceTailSamplingRulesRule { + return vs[0].([]TraceTailSamplingRulesRule)[vs[1].(int)] + }).(TraceTailSamplingRulesRuleOutput) +} + +type TraceTailSamplingRulesRuleFilter struct { + Spans []TraceTailSamplingRulesRuleFilterSpan `pulumi:"spans"` + Trace *TraceTailSamplingRulesRuleFilterTrace `pulumi:"trace"` +} + +// TraceTailSamplingRulesRuleFilterInput is an input type that accepts TraceTailSamplingRulesRuleFilterArgs and TraceTailSamplingRulesRuleFilterOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterInput` via: +// +// TraceTailSamplingRulesRuleFilterArgs{...} +type TraceTailSamplingRulesRuleFilterInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterOutput() TraceTailSamplingRulesRuleFilterOutput + ToTraceTailSamplingRulesRuleFilterOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterOutput +} + +type TraceTailSamplingRulesRuleFilterArgs struct { + Spans TraceTailSamplingRulesRuleFilterSpanArrayInput `pulumi:"spans"` + Trace TraceTailSamplingRulesRuleFilterTracePtrInput `pulumi:"trace"` +} + +func (TraceTailSamplingRulesRuleFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilter)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterArgs) ToTraceTailSamplingRulesRuleFilterOutput() TraceTailSamplingRulesRuleFilterOutput { + return i.ToTraceTailSamplingRulesRuleFilterOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterArgs) ToTraceTailSamplingRulesRuleFilterOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterOutput) +} + +type TraceTailSamplingRulesRuleFilterOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilter)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterOutput) ToTraceTailSamplingRulesRuleFilterOutput() TraceTailSamplingRulesRuleFilterOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterOutput) ToTraceTailSamplingRulesRuleFilterOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterOutput) Spans() TraceTailSamplingRulesRuleFilterSpanArrayOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilter) []TraceTailSamplingRulesRuleFilterSpan { return v.Spans }).(TraceTailSamplingRulesRuleFilterSpanArrayOutput) +} + +func (o TraceTailSamplingRulesRuleFilterOutput) Trace() TraceTailSamplingRulesRuleFilterTracePtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilter) *TraceTailSamplingRulesRuleFilterTrace { return v.Trace }).(TraceTailSamplingRulesRuleFilterTracePtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpan struct { + Duration *TraceTailSamplingRulesRuleFilterSpanDuration `pulumi:"duration"` + Error *TraceTailSamplingRulesRuleFilterSpanError `pulumi:"error"` + MatchType *string `pulumi:"matchType"` + Operation *TraceTailSamplingRulesRuleFilterSpanOperation `pulumi:"operation"` + ParentOperation *TraceTailSamplingRulesRuleFilterSpanParentOperation `pulumi:"parentOperation"` + ParentService *TraceTailSamplingRulesRuleFilterSpanParentService `pulumi:"parentService"` + Service *TraceTailSamplingRulesRuleFilterSpanService `pulumi:"service"` + SpanCount *TraceTailSamplingRulesRuleFilterSpanSpanCount `pulumi:"spanCount"` + Tags []TraceTailSamplingRulesRuleFilterSpanTag `pulumi:"tags"` +} + +// TraceTailSamplingRulesRuleFilterSpanInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanArgs and TraceTailSamplingRulesRuleFilterSpanOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanArgs{...} +type TraceTailSamplingRulesRuleFilterSpanInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanOutput() TraceTailSamplingRulesRuleFilterSpanOutput + ToTraceTailSamplingRulesRuleFilterSpanOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanOutput +} + +type TraceTailSamplingRulesRuleFilterSpanArgs struct { + Duration TraceTailSamplingRulesRuleFilterSpanDurationPtrInput `pulumi:"duration"` + Error TraceTailSamplingRulesRuleFilterSpanErrorPtrInput `pulumi:"error"` + MatchType pulumi.StringPtrInput `pulumi:"matchType"` + Operation TraceTailSamplingRulesRuleFilterSpanOperationPtrInput `pulumi:"operation"` + ParentOperation TraceTailSamplingRulesRuleFilterSpanParentOperationPtrInput `pulumi:"parentOperation"` + ParentService TraceTailSamplingRulesRuleFilterSpanParentServicePtrInput `pulumi:"parentService"` + Service TraceTailSamplingRulesRuleFilterSpanServicePtrInput `pulumi:"service"` + SpanCount TraceTailSamplingRulesRuleFilterSpanSpanCountPtrInput `pulumi:"spanCount"` + Tags TraceTailSamplingRulesRuleFilterSpanTagArrayInput `pulumi:"tags"` +} + +func (TraceTailSamplingRulesRuleFilterSpanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpan)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanArgs) ToTraceTailSamplingRulesRuleFilterSpanOutput() TraceTailSamplingRulesRuleFilterSpanOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanArgs) ToTraceTailSamplingRulesRuleFilterSpanOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanOutput) +} + +// TraceTailSamplingRulesRuleFilterSpanArrayInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanArray and TraceTailSamplingRulesRuleFilterSpanArrayOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanArrayInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanArray{ TraceTailSamplingRulesRuleFilterSpanArgs{...} } +type TraceTailSamplingRulesRuleFilterSpanArrayInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanArrayOutput() TraceTailSamplingRulesRuleFilterSpanArrayOutput + ToTraceTailSamplingRulesRuleFilterSpanArrayOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanArrayOutput +} + +type TraceTailSamplingRulesRuleFilterSpanArray []TraceTailSamplingRulesRuleFilterSpanInput + +func (TraceTailSamplingRulesRuleFilterSpanArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceTailSamplingRulesRuleFilterSpan)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanArray) ToTraceTailSamplingRulesRuleFilterSpanArrayOutput() TraceTailSamplingRulesRuleFilterSpanArrayOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanArrayOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanArray) ToTraceTailSamplingRulesRuleFilterSpanArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanArrayOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpan)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) ToTraceTailSamplingRulesRuleFilterSpanOutput() TraceTailSamplingRulesRuleFilterSpanOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) ToTraceTailSamplingRulesRuleFilterSpanOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) Duration() TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *TraceTailSamplingRulesRuleFilterSpanDuration { + return v.Duration + }).(TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) Error() TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *TraceTailSamplingRulesRuleFilterSpanError { + return v.Error + }).(TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) MatchType() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *string { return v.MatchType }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) Operation() TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *TraceTailSamplingRulesRuleFilterSpanOperation { + return v.Operation + }).(TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) ParentOperation() TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *TraceTailSamplingRulesRuleFilterSpanParentOperation { + return v.ParentOperation + }).(TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) ParentService() TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *TraceTailSamplingRulesRuleFilterSpanParentService { + return v.ParentService + }).(TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) Service() TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *TraceTailSamplingRulesRuleFilterSpanService { + return v.Service + }).(TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) SpanCount() TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) *TraceTailSamplingRulesRuleFilterSpanSpanCount { + return v.SpanCount + }).(TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOutput) Tags() TraceTailSamplingRulesRuleFilterSpanTagArrayOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpan) []TraceTailSamplingRulesRuleFilterSpanTag { return v.Tags }).(TraceTailSamplingRulesRuleFilterSpanTagArrayOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanArrayOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceTailSamplingRulesRuleFilterSpan)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanArrayOutput) ToTraceTailSamplingRulesRuleFilterSpanArrayOutput() TraceTailSamplingRulesRuleFilterSpanArrayOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanArrayOutput) ToTraceTailSamplingRulesRuleFilterSpanArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanArrayOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanArrayOutput) Index(i pulumi.IntInput) TraceTailSamplingRulesRuleFilterSpanOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceTailSamplingRulesRuleFilterSpan { + return vs[0].([]TraceTailSamplingRulesRuleFilterSpan)[vs[1].(int)] + }).(TraceTailSamplingRulesRuleFilterSpanOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanDuration struct { + MaxSecs *float64 `pulumi:"maxSecs"` + MinSecs *float64 `pulumi:"minSecs"` +} + +// TraceTailSamplingRulesRuleFilterSpanDurationInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanDurationArgs and TraceTailSamplingRulesRuleFilterSpanDurationOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanDurationInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanDurationArgs{...} +type TraceTailSamplingRulesRuleFilterSpanDurationInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanDurationOutput() TraceTailSamplingRulesRuleFilterSpanDurationOutput + ToTraceTailSamplingRulesRuleFilterSpanDurationOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanDurationOutput +} + +type TraceTailSamplingRulesRuleFilterSpanDurationArgs struct { + MaxSecs pulumi.Float64PtrInput `pulumi:"maxSecs"` + MinSecs pulumi.Float64PtrInput `pulumi:"minSecs"` +} + +func (TraceTailSamplingRulesRuleFilterSpanDurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanDuration)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanDurationArgs) ToTraceTailSamplingRulesRuleFilterSpanDurationOutput() TraceTailSamplingRulesRuleFilterSpanDurationOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanDurationOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanDurationArgs) ToTraceTailSamplingRulesRuleFilterSpanDurationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanDurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanDurationOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanDurationArgs) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutput() TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanDurationArgs) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanDurationOutput).ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanDurationPtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanDurationArgs, TraceTailSamplingRulesRuleFilterSpanDurationPtr and TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanDurationPtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanDurationArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanDurationPtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutput() TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput + ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanDurationPtrType TraceTailSamplingRulesRuleFilterSpanDurationArgs + +func TraceTailSamplingRulesRuleFilterSpanDurationPtr(v *TraceTailSamplingRulesRuleFilterSpanDurationArgs) TraceTailSamplingRulesRuleFilterSpanDurationPtrInput { + return (*traceTailSamplingRulesRuleFilterSpanDurationPtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanDurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanDuration)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanDurationPtrType) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutput() TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanDurationPtrType) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanDurationOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanDurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanDuration)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationOutput) ToTraceTailSamplingRulesRuleFilterSpanDurationOutput() TraceTailSamplingRulesRuleFilterSpanDurationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationOutput) ToTraceTailSamplingRulesRuleFilterSpanDurationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanDurationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationOutput) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutput() TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationOutput) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanDuration) *TraceTailSamplingRulesRuleFilterSpanDuration { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationOutput) MaxSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanDuration) *float64 { return v.MaxSecs }).(pulumi.Float64PtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationOutput) MinSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanDuration) *float64 { return v.MinSecs }).(pulumi.Float64PtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanDuration)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutput() TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanDurationOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanDuration) TraceTailSamplingRulesRuleFilterSpanDuration { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanDuration + return ret + }).(TraceTailSamplingRulesRuleFilterSpanDurationOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) MaxSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanDuration) *float64 { + if v == nil { + return nil + } + return v.MaxSecs + }).(pulumi.Float64PtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput) MinSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanDuration) *float64 { + if v == nil { + return nil + } + return v.MinSecs + }).(pulumi.Float64PtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanError struct { + Value bool `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanErrorInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanErrorArgs and TraceTailSamplingRulesRuleFilterSpanErrorOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanErrorInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanErrorArgs{...} +type TraceTailSamplingRulesRuleFilterSpanErrorInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanErrorOutput() TraceTailSamplingRulesRuleFilterSpanErrorOutput + ToTraceTailSamplingRulesRuleFilterSpanErrorOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanErrorOutput +} + +type TraceTailSamplingRulesRuleFilterSpanErrorArgs struct { + Value pulumi.BoolInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanError)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanErrorArgs) ToTraceTailSamplingRulesRuleFilterSpanErrorOutput() TraceTailSamplingRulesRuleFilterSpanErrorOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanErrorOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanErrorArgs) ToTraceTailSamplingRulesRuleFilterSpanErrorOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanErrorOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanErrorArgs) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutput() TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanErrorArgs) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanErrorOutput).ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanErrorPtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanErrorArgs, TraceTailSamplingRulesRuleFilterSpanErrorPtr and TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanErrorPtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanErrorArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanErrorPtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutput() TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput + ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanErrorPtrType TraceTailSamplingRulesRuleFilterSpanErrorArgs + +func TraceTailSamplingRulesRuleFilterSpanErrorPtr(v *TraceTailSamplingRulesRuleFilterSpanErrorArgs) TraceTailSamplingRulesRuleFilterSpanErrorPtrInput { + return (*traceTailSamplingRulesRuleFilterSpanErrorPtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanErrorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanError)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanErrorPtrType) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutput() TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanErrorPtrType) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanErrorOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanError)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorOutput) ToTraceTailSamplingRulesRuleFilterSpanErrorOutput() TraceTailSamplingRulesRuleFilterSpanErrorOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorOutput) ToTraceTailSamplingRulesRuleFilterSpanErrorOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanErrorOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorOutput) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutput() TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorOutput) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanError) *TraceTailSamplingRulesRuleFilterSpanError { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorOutput) Value() pulumi.BoolOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanError) bool { return v.Value }).(pulumi.BoolOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanError)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutput() TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanErrorOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanError) TraceTailSamplingRulesRuleFilterSpanError { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanError + return ret + }).(TraceTailSamplingRulesRuleFilterSpanErrorOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput) Value() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanError) *bool { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.BoolPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanOperation struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanOperationInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanOperationArgs and TraceTailSamplingRulesRuleFilterSpanOperationOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanOperationInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanOperationArgs{...} +type TraceTailSamplingRulesRuleFilterSpanOperationInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanOperationOutput() TraceTailSamplingRulesRuleFilterSpanOperationOutput + ToTraceTailSamplingRulesRuleFilterSpanOperationOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanOperationOutput +} + +type TraceTailSamplingRulesRuleFilterSpanOperationArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanOperation)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanOperationOutput() TraceTailSamplingRulesRuleFilterSpanOperationOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanOperationOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanOperationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanOperationOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanOperationOutput).ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanOperationPtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanOperationArgs, TraceTailSamplingRulesRuleFilterSpanOperationPtr and TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanOperationPtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanOperationArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanOperationPtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput + ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanOperationPtrType TraceTailSamplingRulesRuleFilterSpanOperationArgs + +func TraceTailSamplingRulesRuleFilterSpanOperationPtr(v *TraceTailSamplingRulesRuleFilterSpanOperationArgs) TraceTailSamplingRulesRuleFilterSpanOperationPtrInput { + return (*traceTailSamplingRulesRuleFilterSpanOperationPtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanOperationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanOperation)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanOperationPtrType) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanOperationPtrType) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanOperationOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanOperation)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanOperationOutput() TraceTailSamplingRulesRuleFilterSpanOperationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanOperationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOperationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanOperation) *TraceTailSamplingRulesRuleFilterSpanOperation { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanOperation) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanOperation) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanOperation)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanOperationOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanOperation) TraceTailSamplingRulesRuleFilterSpanOperation { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanOperation + return ret + }).(TraceTailSamplingRulesRuleFilterSpanOperationOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanOperation) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanOperation) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanParentOperation struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanParentOperationInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanParentOperationArgs and TraceTailSamplingRulesRuleFilterSpanParentOperationOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanParentOperationInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanParentOperationArgs{...} +type TraceTailSamplingRulesRuleFilterSpanParentOperationInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanParentOperationOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationOutput + ToTraceTailSamplingRulesRuleFilterSpanParentOperationOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationOutput +} + +type TraceTailSamplingRulesRuleFilterSpanParentOperationArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanParentOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentOperation)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanParentOperationOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanParentOperationOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanParentOperationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentOperationArgs) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanParentOperationOutput).ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanParentOperationPtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanParentOperationArgs, TraceTailSamplingRulesRuleFilterSpanParentOperationPtr and TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanParentOperationPtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanParentOperationArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanParentOperationPtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput + ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanParentOperationPtrType TraceTailSamplingRulesRuleFilterSpanParentOperationArgs + +func TraceTailSamplingRulesRuleFilterSpanParentOperationPtr(v *TraceTailSamplingRulesRuleFilterSpanParentOperationArgs) TraceTailSamplingRulesRuleFilterSpanParentOperationPtrInput { + return (*traceTailSamplingRulesRuleFilterSpanParentOperationPtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanParentOperationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanParentOperation)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanParentOperationPtrType) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanParentOperationPtrType) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanParentOperationOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentOperation)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanParentOperationOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanParentOperationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanParentOperation) *TraceTailSamplingRulesRuleFilterSpanParentOperation { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanParentOperation) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanParentOperation) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanParentOperation)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput() TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanParentOperationOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanParentOperation) TraceTailSamplingRulesRuleFilterSpanParentOperation { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanParentOperation + return ret + }).(TraceTailSamplingRulesRuleFilterSpanParentOperationOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanParentOperation) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanParentOperation) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanParentService struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanParentServiceInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanParentServiceArgs and TraceTailSamplingRulesRuleFilterSpanParentServiceOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanParentServiceInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanParentServiceArgs{...} +type TraceTailSamplingRulesRuleFilterSpanParentServiceInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanParentServiceOutput() TraceTailSamplingRulesRuleFilterSpanParentServiceOutput + ToTraceTailSamplingRulesRuleFilterSpanParentServiceOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanParentServiceOutput +} + +type TraceTailSamplingRulesRuleFilterSpanParentServiceArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanParentServiceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentService)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanParentServiceOutput() TraceTailSamplingRulesRuleFilterSpanParentServiceOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanParentServiceOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanParentServiceOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentServiceOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanParentServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanParentServiceOutput).ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanParentServicePtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanParentServiceArgs, TraceTailSamplingRulesRuleFilterSpanParentServicePtr and TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanParentServicePtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanParentServiceArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanParentServicePtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput + ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanParentServicePtrType TraceTailSamplingRulesRuleFilterSpanParentServiceArgs + +func TraceTailSamplingRulesRuleFilterSpanParentServicePtr(v *TraceTailSamplingRulesRuleFilterSpanParentServiceArgs) TraceTailSamplingRulesRuleFilterSpanParentServicePtrInput { + return (*traceTailSamplingRulesRuleFilterSpanParentServicePtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanParentServicePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanParentService)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanParentServicePtrType) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanParentServicePtrType) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanParentServiceOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentService)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanParentServiceOutput() TraceTailSamplingRulesRuleFilterSpanParentServiceOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanParentServiceOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentServiceOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanParentService) *TraceTailSamplingRulesRuleFilterSpanParentService { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanParentService) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanParentService) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanParentService)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanParentServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanParentServiceOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanParentService) TraceTailSamplingRulesRuleFilterSpanParentService { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanParentService + return ret + }).(TraceTailSamplingRulesRuleFilterSpanParentServiceOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanParentService) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanParentService) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanService struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanServiceInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanServiceArgs and TraceTailSamplingRulesRuleFilterSpanServiceOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanServiceInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanServiceArgs{...} +type TraceTailSamplingRulesRuleFilterSpanServiceInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanServiceOutput() TraceTailSamplingRulesRuleFilterSpanServiceOutput + ToTraceTailSamplingRulesRuleFilterSpanServiceOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanServiceOutput +} + +type TraceTailSamplingRulesRuleFilterSpanServiceArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanServiceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanService)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanServiceOutput() TraceTailSamplingRulesRuleFilterSpanServiceOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanServiceOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanServiceOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanServiceOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanServiceOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanServiceArgs) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanServiceOutput).ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanServicePtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanServiceArgs, TraceTailSamplingRulesRuleFilterSpanServicePtr and TraceTailSamplingRulesRuleFilterSpanServicePtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanServicePtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanServiceArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanServicePtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanServicePtrOutput + ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanServicePtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanServicePtrType TraceTailSamplingRulesRuleFilterSpanServiceArgs + +func TraceTailSamplingRulesRuleFilterSpanServicePtr(v *TraceTailSamplingRulesRuleFilterSpanServiceArgs) TraceTailSamplingRulesRuleFilterSpanServicePtrInput { + return (*traceTailSamplingRulesRuleFilterSpanServicePtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanServicePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanService)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanServicePtrType) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanServicePtrType) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanServiceOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanServiceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanService)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanServiceOutput() TraceTailSamplingRulesRuleFilterSpanServiceOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanServiceOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanServiceOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanServiceOutput) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanService) *TraceTailSamplingRulesRuleFilterSpanService { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanServiceOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanService) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanServiceOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanService) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanServicePtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanService)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutput() TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanServicePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanServicePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanServiceOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanService) TraceTailSamplingRulesRuleFilterSpanService { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanService + return ret + }).(TraceTailSamplingRulesRuleFilterSpanServiceOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanService) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanServicePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanService) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanSpanCount struct { + Max *int `pulumi:"max"` + Min *int `pulumi:"min"` +} + +// TraceTailSamplingRulesRuleFilterSpanSpanCountInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanSpanCountArgs and TraceTailSamplingRulesRuleFilterSpanSpanCountOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanSpanCountInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanSpanCountArgs{...} +type TraceTailSamplingRulesRuleFilterSpanSpanCountInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanSpanCountOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountOutput + ToTraceTailSamplingRulesRuleFilterSpanSpanCountOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountOutput +} + +type TraceTailSamplingRulesRuleFilterSpanSpanCountArgs struct { + Max pulumi.IntPtrInput `pulumi:"max"` + Min pulumi.IntPtrInput `pulumi:"min"` +} + +func (TraceTailSamplingRulesRuleFilterSpanSpanCountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanSpanCount)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanSpanCountArgs) ToTraceTailSamplingRulesRuleFilterSpanSpanCountOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanSpanCountOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanSpanCountArgs) ToTraceTailSamplingRulesRuleFilterSpanSpanCountOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanSpanCountArgs) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanSpanCountArgs) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanSpanCountOutput).ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanSpanCountPtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanSpanCountArgs, TraceTailSamplingRulesRuleFilterSpanSpanCountPtr and TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanSpanCountPtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanSpanCountArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanSpanCountPtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput + ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanSpanCountPtrType TraceTailSamplingRulesRuleFilterSpanSpanCountArgs + +func TraceTailSamplingRulesRuleFilterSpanSpanCountPtr(v *TraceTailSamplingRulesRuleFilterSpanSpanCountArgs) TraceTailSamplingRulesRuleFilterSpanSpanCountPtrInput { + return (*traceTailSamplingRulesRuleFilterSpanSpanCountPtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanSpanCountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanSpanCount)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanSpanCountPtrType) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanSpanCountPtrType) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanSpanCountOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanSpanCount)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) ToTraceTailSamplingRulesRuleFilterSpanSpanCountOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) ToTraceTailSamplingRulesRuleFilterSpanSpanCountOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanSpanCount) *TraceTailSamplingRulesRuleFilterSpanSpanCount { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanSpanCount) *int { return v.Max }).(pulumi.IntPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanSpanCount) *int { return v.Min }).(pulumi.IntPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanSpanCount)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput() TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) ToTraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanSpanCountOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanSpanCount) TraceTailSamplingRulesRuleFilterSpanSpanCount { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanSpanCount + return ret + }).(TraceTailSamplingRulesRuleFilterSpanSpanCountOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanSpanCount) *int { + if v == nil { + return nil + } + return v.Max + }).(pulumi.IntPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanSpanCount) *int { + if v == nil { + return nil + } + return v.Min + }).(pulumi.IntPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTag struct { + Key *string `pulumi:"key"` + NumericValue *TraceTailSamplingRulesRuleFilterSpanTagNumericValue `pulumi:"numericValue"` + Value *TraceTailSamplingRulesRuleFilterSpanTagValue `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanTagInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanTagArgs and TraceTailSamplingRulesRuleFilterSpanTagOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanTagInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanTagArgs{...} +type TraceTailSamplingRulesRuleFilterSpanTagInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanTagOutput() TraceTailSamplingRulesRuleFilterSpanTagOutput + ToTraceTailSamplingRulesRuleFilterSpanTagOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanTagOutput +} + +type TraceTailSamplingRulesRuleFilterSpanTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + NumericValue TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrInput `pulumi:"numericValue"` + Value TraceTailSamplingRulesRuleFilterSpanTagValuePtrInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTag)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagArgs) ToTraceTailSamplingRulesRuleFilterSpanTagOutput() TraceTailSamplingRulesRuleFilterSpanTagOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagArgs) ToTraceTailSamplingRulesRuleFilterSpanTagOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagOutput) +} + +// TraceTailSamplingRulesRuleFilterSpanTagArrayInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanTagArray and TraceTailSamplingRulesRuleFilterSpanTagArrayOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanTagArrayInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanTagArray{ TraceTailSamplingRulesRuleFilterSpanTagArgs{...} } +type TraceTailSamplingRulesRuleFilterSpanTagArrayInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanTagArrayOutput() TraceTailSamplingRulesRuleFilterSpanTagArrayOutput + ToTraceTailSamplingRulesRuleFilterSpanTagArrayOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanTagArrayOutput +} + +type TraceTailSamplingRulesRuleFilterSpanTagArray []TraceTailSamplingRulesRuleFilterSpanTagInput + +func (TraceTailSamplingRulesRuleFilterSpanTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceTailSamplingRulesRuleFilterSpanTag)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagArray) ToTraceTailSamplingRulesRuleFilterSpanTagArrayOutput() TraceTailSamplingRulesRuleFilterSpanTagArrayOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagArrayOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagArray) ToTraceTailSamplingRulesRuleFilterSpanTagArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagArrayOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTagOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTag)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagOutput) ToTraceTailSamplingRulesRuleFilterSpanTagOutput() TraceTailSamplingRulesRuleFilterSpanTagOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagOutput) ToTraceTailSamplingRulesRuleFilterSpanTagOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanTag) *string { return v.Key }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagOutput) NumericValue() TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanTag) *TraceTailSamplingRulesRuleFilterSpanTagNumericValue { + return v.NumericValue + }).(TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagOutput) Value() TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanTag) *TraceTailSamplingRulesRuleFilterSpanTagValue { + return v.Value + }).(TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTagArrayOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TraceTailSamplingRulesRuleFilterSpanTag)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagArrayOutput) ToTraceTailSamplingRulesRuleFilterSpanTagArrayOutput() TraceTailSamplingRulesRuleFilterSpanTagArrayOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagArrayOutput) ToTraceTailSamplingRulesRuleFilterSpanTagArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagArrayOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagArrayOutput) Index(i pulumi.IntInput) TraceTailSamplingRulesRuleFilterSpanTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceTailSamplingRulesRuleFilterSpanTag { + return vs[0].([]TraceTailSamplingRulesRuleFilterSpanTag)[vs[1].(int)] + }).(TraceTailSamplingRulesRuleFilterSpanTagOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTagNumericValue struct { + Comparison string `pulumi:"comparison"` + Value float64 `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanTagNumericValueInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs and TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanTagNumericValueInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs{...} +type TraceTailSamplingRulesRuleFilterSpanTagNumericValueInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput + ToTraceTailSamplingRulesRuleFilterSpanTagNumericValueOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput +} + +type TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs struct { + Comparison pulumi.StringInput `pulumi:"comparison"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagNumericValue)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagNumericValueOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValueOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput).ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs, TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtr and TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput + ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanTagNumericValuePtrType TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs + +func TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtr(v *TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs) TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrInput { + return (*traceTailSamplingRulesRuleFilterSpanTagNumericValuePtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanTagNumericValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanTagNumericValue)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanTagNumericValuePtrType) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanTagNumericValuePtrType) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagNumericValue)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValueOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanTagNumericValue) *TraceTailSamplingRulesRuleFilterSpanTagNumericValue { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) Comparison() pulumi.StringOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanTagNumericValue) string { return v.Comparison }).(pulumi.StringOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanTagNumericValue) float64 { return v.Value }).(pulumi.Float64Output) +} + +type TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanTagNumericValue)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanTagNumericValue) TraceTailSamplingRulesRuleFilterSpanTagNumericValue { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanTagNumericValue + return ret + }).(TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) Comparison() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanTagNumericValue) *string { + if v == nil { + return nil + } + return &v.Comparison + }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanTagNumericValue) *float64 { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.Float64PtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTagValue struct { + Match *string `pulumi:"match"` + Value string `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterSpanTagValueInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanTagValueArgs and TraceTailSamplingRulesRuleFilterSpanTagValueOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanTagValueInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanTagValueArgs{...} +type TraceTailSamplingRulesRuleFilterSpanTagValueInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanTagValueOutput() TraceTailSamplingRulesRuleFilterSpanTagValueOutput + ToTraceTailSamplingRulesRuleFilterSpanTagValueOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanTagValueOutput +} + +type TraceTailSamplingRulesRuleFilterSpanTagValueArgs struct { + Match pulumi.StringPtrInput `pulumi:"match"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterSpanTagValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagValue)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagValueOutput() TraceTailSamplingRulesRuleFilterSpanTagValueOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagValueOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagValueOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagValueOutput) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterSpanTagValueArgs) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagValueOutput).ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterSpanTagValuePtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterSpanTagValueArgs, TraceTailSamplingRulesRuleFilterSpanTagValuePtr and TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterSpanTagValuePtrInput` via: +// +// TraceTailSamplingRulesRuleFilterSpanTagValueArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterSpanTagValuePtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput + ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput +} + +type traceTailSamplingRulesRuleFilterSpanTagValuePtrType TraceTailSamplingRulesRuleFilterSpanTagValueArgs + +func TraceTailSamplingRulesRuleFilterSpanTagValuePtr(v *TraceTailSamplingRulesRuleFilterSpanTagValueArgs) TraceTailSamplingRulesRuleFilterSpanTagValuePtrInput { + return (*traceTailSamplingRulesRuleFilterSpanTagValuePtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterSpanTagValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanTagValue)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterSpanTagValuePtrType) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterSpanTagValuePtrType) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTagValueOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanTagValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagValue)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagValueOutput() TraceTailSamplingRulesRuleFilterSpanTagValueOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagValueOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagValueOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValueOutput) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterSpanTagValue) *TraceTailSamplingRulesRuleFilterSpanTagValue { + return &v + }).(TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValueOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanTagValue) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValueOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterSpanTagValue) string { return v.Value }).(pulumi.StringOutput) +} + +type TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterSpanTagValue)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput() TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) ToTraceTailSamplingRulesRuleFilterSpanTagValuePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) Elem() TraceTailSamplingRulesRuleFilterSpanTagValueOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanTagValue) TraceTailSamplingRulesRuleFilterSpanTagValue { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterSpanTagValue + return ret + }).(TraceTailSamplingRulesRuleFilterSpanTagValueOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanTagValue) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterSpanTagValue) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTrace struct { + Duration *TraceTailSamplingRulesRuleFilterTraceDuration `pulumi:"duration"` + Error *TraceTailSamplingRulesRuleFilterTraceError `pulumi:"error"` +} + +// TraceTailSamplingRulesRuleFilterTraceInput is an input type that accepts TraceTailSamplingRulesRuleFilterTraceArgs and TraceTailSamplingRulesRuleFilterTraceOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterTraceInput` via: +// +// TraceTailSamplingRulesRuleFilterTraceArgs{...} +type TraceTailSamplingRulesRuleFilterTraceInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterTraceOutput() TraceTailSamplingRulesRuleFilterTraceOutput + ToTraceTailSamplingRulesRuleFilterTraceOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterTraceOutput +} + +type TraceTailSamplingRulesRuleFilterTraceArgs struct { + Duration TraceTailSamplingRulesRuleFilterTraceDurationPtrInput `pulumi:"duration"` + Error TraceTailSamplingRulesRuleFilterTraceErrorPtrInput `pulumi:"error"` +} + +func (TraceTailSamplingRulesRuleFilterTraceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTrace)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterTraceArgs) ToTraceTailSamplingRulesRuleFilterTraceOutput() TraceTailSamplingRulesRuleFilterTraceOutput { + return i.ToTraceTailSamplingRulesRuleFilterTraceOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterTraceArgs) ToTraceTailSamplingRulesRuleFilterTraceOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceOutput) +} + +func (i TraceTailSamplingRulesRuleFilterTraceArgs) ToTraceTailSamplingRulesRuleFilterTracePtrOutput() TraceTailSamplingRulesRuleFilterTracePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterTraceArgs) ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTracePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceOutput).ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterTracePtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterTraceArgs, TraceTailSamplingRulesRuleFilterTracePtr and TraceTailSamplingRulesRuleFilterTracePtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterTracePtrInput` via: +// +// TraceTailSamplingRulesRuleFilterTraceArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterTracePtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterTracePtrOutput() TraceTailSamplingRulesRuleFilterTracePtrOutput + ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterTracePtrOutput +} + +type traceTailSamplingRulesRuleFilterTracePtrType TraceTailSamplingRulesRuleFilterTraceArgs + +func TraceTailSamplingRulesRuleFilterTracePtr(v *TraceTailSamplingRulesRuleFilterTraceArgs) TraceTailSamplingRulesRuleFilterTracePtrInput { + return (*traceTailSamplingRulesRuleFilterTracePtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterTracePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterTrace)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterTracePtrType) ToTraceTailSamplingRulesRuleFilterTracePtrOutput() TraceTailSamplingRulesRuleFilterTracePtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterTracePtrType) ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTracePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTracePtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTraceOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterTraceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTrace)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterTraceOutput) ToTraceTailSamplingRulesRuleFilterTraceOutput() TraceTailSamplingRulesRuleFilterTraceOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceOutput) ToTraceTailSamplingRulesRuleFilterTraceOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceOutput) ToTraceTailSamplingRulesRuleFilterTracePtrOutput() TraceTailSamplingRulesRuleFilterTracePtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterTraceOutput) ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTracePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterTrace) *TraceTailSamplingRulesRuleFilterTrace { + return &v + }).(TraceTailSamplingRulesRuleFilterTracePtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceOutput) Duration() TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterTrace) *TraceTailSamplingRulesRuleFilterTraceDuration { + return v.Duration + }).(TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceOutput) Error() TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterTrace) *TraceTailSamplingRulesRuleFilterTraceError { + return v.Error + }).(TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTracePtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterTracePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterTrace)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterTracePtrOutput) ToTraceTailSamplingRulesRuleFilterTracePtrOutput() TraceTailSamplingRulesRuleFilterTracePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTracePtrOutput) ToTraceTailSamplingRulesRuleFilterTracePtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTracePtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTracePtrOutput) Elem() TraceTailSamplingRulesRuleFilterTraceOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTrace) TraceTailSamplingRulesRuleFilterTrace { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterTrace + return ret + }).(TraceTailSamplingRulesRuleFilterTraceOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTracePtrOutput) Duration() TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTrace) *TraceTailSamplingRulesRuleFilterTraceDuration { + if v == nil { + return nil + } + return v.Duration + }).(TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTracePtrOutput) Error() TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTrace) *TraceTailSamplingRulesRuleFilterTraceError { + if v == nil { + return nil + } + return v.Error + }).(TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTraceDuration struct { + MaxSecs *float64 `pulumi:"maxSecs"` + MinSecs *float64 `pulumi:"minSecs"` +} + +// TraceTailSamplingRulesRuleFilterTraceDurationInput is an input type that accepts TraceTailSamplingRulesRuleFilterTraceDurationArgs and TraceTailSamplingRulesRuleFilterTraceDurationOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterTraceDurationInput` via: +// +// TraceTailSamplingRulesRuleFilterTraceDurationArgs{...} +type TraceTailSamplingRulesRuleFilterTraceDurationInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterTraceDurationOutput() TraceTailSamplingRulesRuleFilterTraceDurationOutput + ToTraceTailSamplingRulesRuleFilterTraceDurationOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterTraceDurationOutput +} + +type TraceTailSamplingRulesRuleFilterTraceDurationArgs struct { + MaxSecs pulumi.Float64PtrInput `pulumi:"maxSecs"` + MinSecs pulumi.Float64PtrInput `pulumi:"minSecs"` +} + +func (TraceTailSamplingRulesRuleFilterTraceDurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceDuration)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterTraceDurationArgs) ToTraceTailSamplingRulesRuleFilterTraceDurationOutput() TraceTailSamplingRulesRuleFilterTraceDurationOutput { + return i.ToTraceTailSamplingRulesRuleFilterTraceDurationOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterTraceDurationArgs) ToTraceTailSamplingRulesRuleFilterTraceDurationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceDurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceDurationOutput) +} + +func (i TraceTailSamplingRulesRuleFilterTraceDurationArgs) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutput() TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterTraceDurationArgs) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceDurationOutput).ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterTraceDurationPtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterTraceDurationArgs, TraceTailSamplingRulesRuleFilterTraceDurationPtr and TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterTraceDurationPtrInput` via: +// +// TraceTailSamplingRulesRuleFilterTraceDurationArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterTraceDurationPtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutput() TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput + ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput +} + +type traceTailSamplingRulesRuleFilterTraceDurationPtrType TraceTailSamplingRulesRuleFilterTraceDurationArgs + +func TraceTailSamplingRulesRuleFilterTraceDurationPtr(v *TraceTailSamplingRulesRuleFilterTraceDurationArgs) TraceTailSamplingRulesRuleFilterTraceDurationPtrInput { + return (*traceTailSamplingRulesRuleFilterTraceDurationPtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterTraceDurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterTraceDuration)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterTraceDurationPtrType) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutput() TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterTraceDurationPtrType) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTraceDurationOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterTraceDurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceDuration)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationOutput) ToTraceTailSamplingRulesRuleFilterTraceDurationOutput() TraceTailSamplingRulesRuleFilterTraceDurationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationOutput) ToTraceTailSamplingRulesRuleFilterTraceDurationOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceDurationOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationOutput) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutput() TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationOutput) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterTraceDuration) *TraceTailSamplingRulesRuleFilterTraceDuration { + return &v + }).(TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationOutput) MaxSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterTraceDuration) *float64 { return v.MaxSecs }).(pulumi.Float64PtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationOutput) MinSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterTraceDuration) *float64 { return v.MinSecs }).(pulumi.Float64PtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterTraceDuration)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutput() TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) ToTraceTailSamplingRulesRuleFilterTraceDurationPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) Elem() TraceTailSamplingRulesRuleFilterTraceDurationOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTraceDuration) TraceTailSamplingRulesRuleFilterTraceDuration { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterTraceDuration + return ret + }).(TraceTailSamplingRulesRuleFilterTraceDurationOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) MaxSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTraceDuration) *float64 { + if v == nil { + return nil + } + return v.MaxSecs + }).(pulumi.Float64PtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput) MinSecs() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTraceDuration) *float64 { + if v == nil { + return nil + } + return v.MinSecs + }).(pulumi.Float64PtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTraceError struct { + Value bool `pulumi:"value"` +} + +// TraceTailSamplingRulesRuleFilterTraceErrorInput is an input type that accepts TraceTailSamplingRulesRuleFilterTraceErrorArgs and TraceTailSamplingRulesRuleFilterTraceErrorOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterTraceErrorInput` via: +// +// TraceTailSamplingRulesRuleFilterTraceErrorArgs{...} +type TraceTailSamplingRulesRuleFilterTraceErrorInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterTraceErrorOutput() TraceTailSamplingRulesRuleFilterTraceErrorOutput + ToTraceTailSamplingRulesRuleFilterTraceErrorOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterTraceErrorOutput +} + +type TraceTailSamplingRulesRuleFilterTraceErrorArgs struct { + Value pulumi.BoolInput `pulumi:"value"` +} + +func (TraceTailSamplingRulesRuleFilterTraceErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceError)(nil)).Elem() +} + +func (i TraceTailSamplingRulesRuleFilterTraceErrorArgs) ToTraceTailSamplingRulesRuleFilterTraceErrorOutput() TraceTailSamplingRulesRuleFilterTraceErrorOutput { + return i.ToTraceTailSamplingRulesRuleFilterTraceErrorOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterTraceErrorArgs) ToTraceTailSamplingRulesRuleFilterTraceErrorOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceErrorOutput) +} + +func (i TraceTailSamplingRulesRuleFilterTraceErrorArgs) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutput() TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesRuleFilterTraceErrorArgs) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceErrorOutput).ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(ctx) +} + +// TraceTailSamplingRulesRuleFilterTraceErrorPtrInput is an input type that accepts TraceTailSamplingRulesRuleFilterTraceErrorArgs, TraceTailSamplingRulesRuleFilterTraceErrorPtr and TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesRuleFilterTraceErrorPtrInput` via: +// +// TraceTailSamplingRulesRuleFilterTraceErrorArgs{...} +// +// or: +// +// nil +type TraceTailSamplingRulesRuleFilterTraceErrorPtrInput interface { + pulumi.Input + + ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutput() TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput + ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(context.Context) TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput +} + +type traceTailSamplingRulesRuleFilterTraceErrorPtrType TraceTailSamplingRulesRuleFilterTraceErrorArgs + +func TraceTailSamplingRulesRuleFilterTraceErrorPtr(v *TraceTailSamplingRulesRuleFilterTraceErrorArgs) TraceTailSamplingRulesRuleFilterTraceErrorPtrInput { + return (*traceTailSamplingRulesRuleFilterTraceErrorPtrType)(v) +} + +func (*traceTailSamplingRulesRuleFilterTraceErrorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterTraceError)(nil)).Elem() +} + +func (i *traceTailSamplingRulesRuleFilterTraceErrorPtrType) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutput() TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return i.ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(context.Background()) +} + +func (i *traceTailSamplingRulesRuleFilterTraceErrorPtrType) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) +} + +type TraceTailSamplingRulesRuleFilterTraceErrorOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterTraceErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceError)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorOutput) ToTraceTailSamplingRulesRuleFilterTraceErrorOutput() TraceTailSamplingRulesRuleFilterTraceErrorOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorOutput) ToTraceTailSamplingRulesRuleFilterTraceErrorOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceErrorOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorOutput) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutput() TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return o.ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(context.Background()) +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorOutput) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TraceTailSamplingRulesRuleFilterTraceError) *TraceTailSamplingRulesRuleFilterTraceError { + return &v + }).(TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorOutput) Value() pulumi.BoolOutput { + return o.ApplyT(func(v TraceTailSamplingRulesRuleFilterTraceError) bool { return v.Value }).(pulumi.BoolOutput) +} + +type TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRulesRuleFilterTraceError)(nil)).Elem() +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutput() TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) ToTraceTailSamplingRulesRuleFilterTraceErrorPtrOutputWithContext(ctx context.Context) TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput { + return o +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) Elem() TraceTailSamplingRulesRuleFilterTraceErrorOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTraceError) TraceTailSamplingRulesRuleFilterTraceError { + if v != nil { + return *v + } + var ret TraceTailSamplingRulesRuleFilterTraceError + return ret + }).(TraceTailSamplingRulesRuleFilterTraceErrorOutput) +} + +func (o TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput) Value() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRulesRuleFilterTraceError) *bool { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.BoolPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelInput)(nil)).Elem(), DerivedLabelMetricLabelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelPtrInput)(nil)).Elem(), DerivedLabelMetricLabelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelInput)(nil)).Elem(), DerivedLabelMetricLabelConstructedLabelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelPtrInput)(nil)).Elem(), DerivedLabelMetricLabelConstructedLabelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinitionInput)(nil)).Elem(), DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayInput)(nil)).Elem(), DerivedLabelMetricLabelConstructedLabelValueDefinitionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterInput)(nil)).Elem(), DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayInput)(nil)).Elem(), DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelPtrInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelNameMappingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingArrayInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelNameMappingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingFilterInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelNameMappingFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingValueMappingInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelValueMappingInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelValueMappingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedLabelMetricLabelMappingLabelValueMappingArrayInput)(nil)).Elem(), DerivedLabelMetricLabelMappingLabelValueMappingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricQueryInput)(nil)).Elem(), DerivedMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricQueryArrayInput)(nil)).Elem(), DerivedMetricQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricQueryQueryInput)(nil)).Elem(), DerivedMetricQueryQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricQueryQueryVariableInput)(nil)).Elem(), DerivedMetricQueryQueryVariableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricQueryQueryVariableArrayInput)(nil)).Elem(), DerivedMetricQueryQueryVariableArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricQuerySelectorInput)(nil)).Elem(), DerivedMetricQuerySelectorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DerivedMetricQuerySelectorPtrInput)(nil)).Elem(), DerivedMetricQuerySelectorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DropRuleValueBasedDropInput)(nil)).Elem(), DropRuleValueBasedDropArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DropRuleValueBasedDropPtrInput)(nil)).Elem(), DropRuleValueBasedDropArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GcpMetricsIntegrationMetricGroupInput)(nil)).Elem(), GcpMetricsIntegrationMetricGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GcpMetricsIntegrationMetricGroupArrayInput)(nil)).Elem(), GcpMetricsIntegrationMetricGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GcpMetricsIntegrationServiceAccountInput)(nil)).Elem(), GcpMetricsIntegrationServiceAccountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GcpMetricsIntegrationServiceAccountPtrInput)(nil)).Elem(), GcpMetricsIntegrationServiceAccountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MappingRuleStoragePolicyInput)(nil)).Elem(), MappingRuleStoragePolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MappingRuleStoragePolicyPtrInput)(nil)).Elem(), MappingRuleStoragePolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorQueryInput)(nil)).Elem(), MonitorQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorQueryPtrInput)(nil)).Elem(), MonitorQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorScheduleInput)(nil)).Elem(), MonitorScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSchedulePtrInput)(nil)).Elem(), MonitorScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorScheduleRangeInput)(nil)).Elem(), MonitorScheduleRangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorScheduleRangeArrayInput)(nil)).Elem(), MonitorScheduleRangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsInput)(nil)).Elem(), MonitorSeriesConditionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsPtrInput)(nil)).Elem(), MonitorSeriesConditionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsConditionInput)(nil)).Elem(), MonitorSeriesConditionsConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsConditionArrayInput)(nil)).Elem(), MonitorSeriesConditionsConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsOverrideInput)(nil)).Elem(), MonitorSeriesConditionsOverrideArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsOverrideArrayInput)(nil)).Elem(), MonitorSeriesConditionsOverrideArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsOverrideConditionInput)(nil)).Elem(), MonitorSeriesConditionsOverrideConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsOverrideConditionArrayInput)(nil)).Elem(), MonitorSeriesConditionsOverrideConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsOverrideLabelMatcherInput)(nil)).Elem(), MonitorSeriesConditionsOverrideLabelMatcherArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSeriesConditionsOverrideLabelMatcherArrayInput)(nil)).Elem(), MonitorSeriesConditionsOverrideLabelMatcherArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSignalGroupingInput)(nil)).Elem(), MonitorSignalGroupingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitorSignalGroupingPtrInput)(nil)).Elem(), MonitorSignalGroupingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceOverrideInput)(nil)).Elem(), NotificationPolicyDataSourceOverrideArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceOverrideArrayInput)(nil)).Elem(), NotificationPolicyDataSourceOverrideArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceOverrideAlertLabelMatcherInput)(nil)).Elem(), NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayInput)(nil)).Elem(), NotificationPolicyDataSourceOverrideAlertLabelMatcherArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceOverrideRouteInput)(nil)).Elem(), NotificationPolicyDataSourceOverrideRouteArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceOverrideRouteArrayInput)(nil)).Elem(), NotificationPolicyDataSourceOverrideRouteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceRouteInput)(nil)).Elem(), NotificationPolicyDataSourceRouteArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceRouteArrayInput)(nil)).Elem(), NotificationPolicyDataSourceRouteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceRuleInput)(nil)).Elem(), NotificationPolicyDataSourceRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyDataSourceRuleArrayInput)(nil)).Elem(), NotificationPolicyDataSourceRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyOverrideInput)(nil)).Elem(), NotificationPolicyOverrideArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyOverrideArrayInput)(nil)).Elem(), NotificationPolicyOverrideArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyOverrideAlertLabelMatcherInput)(nil)).Elem(), NotificationPolicyOverrideAlertLabelMatcherArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyOverrideAlertLabelMatcherArrayInput)(nil)).Elem(), NotificationPolicyOverrideAlertLabelMatcherArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyOverrideRouteInput)(nil)).Elem(), NotificationPolicyOverrideRouteArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyOverrideRouteArrayInput)(nil)).Elem(), NotificationPolicyOverrideRouteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyRouteInput)(nil)).Elem(), NotificationPolicyRouteArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyRouteArrayInput)(nil)).Elem(), NotificationPolicyRouteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyRuleInput)(nil)).Elem(), NotificationPolicyRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NotificationPolicyRuleArrayInput)(nil)).Elem(), NotificationPolicyRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*OpsgenieAlertNotifierResponderInput)(nil)).Elem(), OpsgenieAlertNotifierResponderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OpsgenieAlertNotifierResponderArrayInput)(nil)).Elem(), OpsgenieAlertNotifierResponderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PagerdutyAlertNotifierImageInput)(nil)).Elem(), PagerdutyAlertNotifierImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PagerdutyAlertNotifierImageArrayInput)(nil)).Elem(), PagerdutyAlertNotifierImageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PagerdutyAlertNotifierLinkInput)(nil)).Elem(), PagerdutyAlertNotifierLinkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PagerdutyAlertNotifierLinkArrayInput)(nil)).Elem(), PagerdutyAlertNotifierLinkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigDefaultPoolInput)(nil)).Elem(), ResourcePoolsConfigDefaultPoolArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigDefaultPoolPtrInput)(nil)).Elem(), ResourcePoolsConfigDefaultPoolArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigDefaultPoolAllocationInput)(nil)).Elem(), ResourcePoolsConfigDefaultPoolAllocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigDefaultPoolAllocationPtrInput)(nil)).Elem(), ResourcePoolsConfigDefaultPoolAllocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigDefaultPoolPrioritiesInput)(nil)).Elem(), ResourcePoolsConfigDefaultPoolPrioritiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigDefaultPoolPrioritiesPtrInput)(nil)).Elem(), ResourcePoolsConfigDefaultPoolPrioritiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigPoolInput)(nil)).Elem(), ResourcePoolsConfigPoolArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigPoolArrayInput)(nil)).Elem(), ResourcePoolsConfigPoolArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigPoolAllocationInput)(nil)).Elem(), ResourcePoolsConfigPoolAllocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigPoolPrioritiesInput)(nil)).Elem(), ResourcePoolsConfigPoolPrioritiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigPoolPrioritiesPtrInput)(nil)).Elem(), ResourcePoolsConfigPoolPrioritiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RollupRuleStoragePoliciesInput)(nil)).Elem(), RollupRuleStoragePoliciesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RollupRuleStoragePoliciesPtrInput)(nil)).Elem(), RollupRuleStoragePoliciesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ServiceAccountRestrictionInput)(nil)).Elem(), ServiceAccountRestrictionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ServiceAccountRestrictionPtrInput)(nil)).Elem(), ServiceAccountRestrictionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SlackAlertNotifierActionInput)(nil)).Elem(), SlackAlertNotifierActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SlackAlertNotifierActionArrayInput)(nil)).Elem(), SlackAlertNotifierActionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SlackAlertNotifierFieldInput)(nil)).Elem(), SlackAlertNotifierFieldArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SlackAlertNotifierFieldArrayInput)(nil)).Elem(), SlackAlertNotifierFieldArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleGroupByInput)(nil)).Elem(), TraceMetricsRuleGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleGroupByArrayInput)(nil)).Elem(), TraceMetricsRuleGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleGroupByKeyInput)(nil)).Elem(), TraceMetricsRuleGroupByKeyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterInput)(nil)).Elem(), TraceMetricsRuleTraceFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanArrayInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanDurationInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanDurationPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanErrorInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanErrorPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanOperationInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanOperationPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentOperationInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanParentOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentOperationPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanParentOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentServiceInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanParentServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanParentServicePtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanParentServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanServiceInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanServicePtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanSpanCountInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanSpanCountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanSpanCountPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanSpanCountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanTagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagArrayInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagNumericValueInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanTagNumericValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagNumericValuePtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanTagNumericValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagValueInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanTagValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterSpanTagValuePtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterSpanTagValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceInput)(nil)).Elem(), TraceMetricsRuleTraceFilterTraceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterTracePtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterTraceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceDurationInput)(nil)).Elem(), TraceMetricsRuleTraceFilterTraceDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceDurationPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterTraceDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceErrorInput)(nil)).Elem(), TraceMetricsRuleTraceFilterTraceErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleTraceFilterTraceErrorPtrInput)(nil)).Elem(), TraceMetricsRuleTraceFilterTraceErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesDefaultSampleRateInput)(nil)).Elem(), TraceTailSamplingRulesDefaultSampleRateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesDefaultSampleRatePtrInput)(nil)).Elem(), TraceTailSamplingRulesDefaultSampleRateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleInput)(nil)).Elem(), TraceTailSamplingRulesRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleArrayInput)(nil)).Elem(), TraceTailSamplingRulesRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanArrayInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanDurationInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanDurationPtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanErrorInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanErrorPtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanOperationInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanOperationPtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentOperationInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanParentOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentOperationPtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanParentOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentServiceInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanParentServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanParentServicePtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanParentServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanServiceInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanServicePtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanSpanCountInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanSpanCountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanSpanCountPtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanSpanCountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanTagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagArrayInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagNumericValueInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagValueInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanTagValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterSpanTagValuePtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterSpanTagValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterTraceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTracePtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterTraceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceDurationInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterTraceDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceDurationPtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterTraceDurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceErrorInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterTraceErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesRuleFilterTraceErrorPtrInput)(nil)).Elem(), TraceTailSamplingRulesRuleFilterTraceErrorArgs{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelPtrOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelConstructedLabelOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelConstructedLabelPtrOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelConstructedLabelValueDefinitionOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelConstructedLabelValueDefinitionArrayOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArrayOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelPtrOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelNameMappingOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelNameMappingArrayOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelNameMappingFilterOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelNameMappingFilterArrayOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelNameMappingValueMappingOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArrayOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelValueMappingOutput{}) + pulumi.RegisterOutputType(DerivedLabelMetricLabelMappingLabelValueMappingArrayOutput{}) + pulumi.RegisterOutputType(DerivedMetricQueryOutput{}) + pulumi.RegisterOutputType(DerivedMetricQueryArrayOutput{}) + pulumi.RegisterOutputType(DerivedMetricQueryQueryOutput{}) + pulumi.RegisterOutputType(DerivedMetricQueryQueryVariableOutput{}) + pulumi.RegisterOutputType(DerivedMetricQueryQueryVariableArrayOutput{}) + pulumi.RegisterOutputType(DerivedMetricQuerySelectorOutput{}) + pulumi.RegisterOutputType(DerivedMetricQuerySelectorPtrOutput{}) + pulumi.RegisterOutputType(DropRuleValueBasedDropOutput{}) + pulumi.RegisterOutputType(DropRuleValueBasedDropPtrOutput{}) + pulumi.RegisterOutputType(GcpMetricsIntegrationMetricGroupOutput{}) + pulumi.RegisterOutputType(GcpMetricsIntegrationMetricGroupArrayOutput{}) + pulumi.RegisterOutputType(GcpMetricsIntegrationServiceAccountOutput{}) + pulumi.RegisterOutputType(GcpMetricsIntegrationServiceAccountPtrOutput{}) + pulumi.RegisterOutputType(MappingRuleStoragePolicyOutput{}) + pulumi.RegisterOutputType(MappingRuleStoragePolicyPtrOutput{}) + pulumi.RegisterOutputType(MonitorQueryOutput{}) + pulumi.RegisterOutputType(MonitorQueryPtrOutput{}) + pulumi.RegisterOutputType(MonitorScheduleOutput{}) + pulumi.RegisterOutputType(MonitorSchedulePtrOutput{}) + pulumi.RegisterOutputType(MonitorScheduleRangeOutput{}) + pulumi.RegisterOutputType(MonitorScheduleRangeArrayOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsPtrOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsConditionOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsConditionArrayOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsOverrideOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsOverrideArrayOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsOverrideConditionOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsOverrideConditionArrayOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsOverrideLabelMatcherOutput{}) + pulumi.RegisterOutputType(MonitorSeriesConditionsOverrideLabelMatcherArrayOutput{}) + pulumi.RegisterOutputType(MonitorSignalGroupingOutput{}) + pulumi.RegisterOutputType(MonitorSignalGroupingPtrOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceOverrideOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceOverrideArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceOverrideAlertLabelMatcherOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceOverrideAlertLabelMatcherArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceOverrideRouteOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceOverrideRouteArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceRouteOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceRouteArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceRuleOutput{}) + pulumi.RegisterOutputType(NotificationPolicyDataSourceRuleArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyOverrideOutput{}) + pulumi.RegisterOutputType(NotificationPolicyOverrideArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyOverrideAlertLabelMatcherOutput{}) + pulumi.RegisterOutputType(NotificationPolicyOverrideAlertLabelMatcherArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyOverrideRouteOutput{}) + pulumi.RegisterOutputType(NotificationPolicyOverrideRouteArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyRouteOutput{}) + pulumi.RegisterOutputType(NotificationPolicyRouteArrayOutput{}) + pulumi.RegisterOutputType(NotificationPolicyRuleOutput{}) + pulumi.RegisterOutputType(NotificationPolicyRuleArrayOutput{}) + pulumi.RegisterOutputType(OpsgenieAlertNotifierResponderOutput{}) + pulumi.RegisterOutputType(OpsgenieAlertNotifierResponderArrayOutput{}) + pulumi.RegisterOutputType(PagerdutyAlertNotifierImageOutput{}) + pulumi.RegisterOutputType(PagerdutyAlertNotifierImageArrayOutput{}) + pulumi.RegisterOutputType(PagerdutyAlertNotifierLinkOutput{}) + pulumi.RegisterOutputType(PagerdutyAlertNotifierLinkArrayOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigDefaultPoolOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigDefaultPoolPtrOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigDefaultPoolAllocationOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigDefaultPoolAllocationPtrOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigDefaultPoolPrioritiesOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigDefaultPoolPrioritiesPtrOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigPoolOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigPoolArrayOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigPoolAllocationOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigPoolPrioritiesOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigPoolPrioritiesPtrOutput{}) + pulumi.RegisterOutputType(RollupRuleStoragePoliciesOutput{}) + pulumi.RegisterOutputType(RollupRuleStoragePoliciesPtrOutput{}) + pulumi.RegisterOutputType(ServiceAccountRestrictionOutput{}) + pulumi.RegisterOutputType(ServiceAccountRestrictionPtrOutput{}) + pulumi.RegisterOutputType(SlackAlertNotifierActionOutput{}) + pulumi.RegisterOutputType(SlackAlertNotifierActionArrayOutput{}) + pulumi.RegisterOutputType(SlackAlertNotifierFieldOutput{}) + pulumi.RegisterOutputType(SlackAlertNotifierFieldArrayOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPtrOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArrayOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyPtrOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleGroupByOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleGroupByArrayOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleGroupByKeyOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanArrayOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanDurationOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanDurationPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanErrorOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanErrorPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanOperationOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanOperationPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanParentOperationOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanParentOperationPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanParentServiceOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanParentServicePtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanServiceOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanServicePtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanSpanCountOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanSpanCountPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanTagOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanTagArrayOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanTagNumericValueOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanTagNumericValuePtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanTagValueOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterSpanTagValuePtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterTraceOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterTracePtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterTraceDurationOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterTraceDurationPtrOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterTraceErrorOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleTraceFilterTraceErrorPtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesDefaultSampleRateOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesDefaultSampleRatePtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleArrayOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanArrayOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanDurationOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanDurationPtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanErrorOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanErrorPtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanOperationOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanOperationPtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanParentOperationOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanParentOperationPtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanParentServiceOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanParentServicePtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanServiceOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanServicePtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanSpanCountOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanSpanCountPtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanTagOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanTagArrayOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanTagNumericValueOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanTagNumericValuePtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanTagValueOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterSpanTagValuePtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterTraceOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterTracePtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterTraceDurationOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterTraceDurationPtrOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterTraceErrorOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesRuleFilterTraceErrorPtrOutput{}) +} diff --git a/sdk/go/chronosphere/recordingRule.go b/sdk/go/chronosphere/recordingRule.go new file mode 100644 index 00000000..4df56606 --- /dev/null +++ b/sdk/go/chronosphere/recordingRule.go @@ -0,0 +1,278 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type RecordingRule struct { + pulumi.CustomResourceState + + BucketId pulumi.StringPtrOutput `pulumi:"bucketId"` + ExecutionGroup pulumi.StringPtrOutput `pulumi:"executionGroup"` + Expr pulumi.StringOutput `pulumi:"expr"` + Interval pulumi.StringPtrOutput `pulumi:"interval"` + Labels pulumi.StringMapOutput `pulumi:"labels"` + MetricName pulumi.StringPtrOutput `pulumi:"metricName"` + Name pulumi.StringOutput `pulumi:"name"` + Slug pulumi.StringOutput `pulumi:"slug"` +} + +// NewRecordingRule registers a new resource with the given unique name, arguments, and options. +func NewRecordingRule(ctx *pulumi.Context, + name string, args *RecordingRuleArgs, opts ...pulumi.ResourceOption) (*RecordingRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Expr == nil { + return nil, errors.New("invalid value for required argument 'Expr'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource RecordingRule + err := ctx.RegisterResource("chronosphere:index/recordingRule:RecordingRule", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRecordingRule gets an existing RecordingRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetRecordingRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RecordingRuleState, opts ...pulumi.ResourceOption) (*RecordingRule, error) { + var resource RecordingRule + err := ctx.ReadResource("chronosphere:index/recordingRule:RecordingRule", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RecordingRule resources. +type recordingRuleState struct { + BucketId *string `pulumi:"bucketId"` + ExecutionGroup *string `pulumi:"executionGroup"` + Expr *string `pulumi:"expr"` + Interval *string `pulumi:"interval"` + Labels map[string]string `pulumi:"labels"` + MetricName *string `pulumi:"metricName"` + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +type RecordingRuleState struct { + BucketId pulumi.StringPtrInput + ExecutionGroup pulumi.StringPtrInput + Expr pulumi.StringPtrInput + Interval pulumi.StringPtrInput + Labels pulumi.StringMapInput + MetricName pulumi.StringPtrInput + Name pulumi.StringPtrInput + Slug pulumi.StringPtrInput +} + +func (RecordingRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*recordingRuleState)(nil)).Elem() +} + +type recordingRuleArgs struct { + BucketId *string `pulumi:"bucketId"` + ExecutionGroup *string `pulumi:"executionGroup"` + Expr string `pulumi:"expr"` + Interval *string `pulumi:"interval"` + Labels map[string]string `pulumi:"labels"` + MetricName *string `pulumi:"metricName"` + Name string `pulumi:"name"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a RecordingRule resource. +type RecordingRuleArgs struct { + BucketId pulumi.StringPtrInput + ExecutionGroup pulumi.StringPtrInput + Expr pulumi.StringInput + Interval pulumi.StringPtrInput + Labels pulumi.StringMapInput + MetricName pulumi.StringPtrInput + Name pulumi.StringInput + Slug pulumi.StringPtrInput +} + +func (RecordingRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*recordingRuleArgs)(nil)).Elem() +} + +type RecordingRuleInput interface { + pulumi.Input + + ToRecordingRuleOutput() RecordingRuleOutput + ToRecordingRuleOutputWithContext(ctx context.Context) RecordingRuleOutput +} + +func (*RecordingRule) ElementType() reflect.Type { + return reflect.TypeOf((**RecordingRule)(nil)).Elem() +} + +func (i *RecordingRule) ToRecordingRuleOutput() RecordingRuleOutput { + return i.ToRecordingRuleOutputWithContext(context.Background()) +} + +func (i *RecordingRule) ToRecordingRuleOutputWithContext(ctx context.Context) RecordingRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecordingRuleOutput) +} + +// RecordingRuleArrayInput is an input type that accepts RecordingRuleArray and RecordingRuleArrayOutput values. +// You can construct a concrete instance of `RecordingRuleArrayInput` via: +// +// RecordingRuleArray{ RecordingRuleArgs{...} } +type RecordingRuleArrayInput interface { + pulumi.Input + + ToRecordingRuleArrayOutput() RecordingRuleArrayOutput + ToRecordingRuleArrayOutputWithContext(context.Context) RecordingRuleArrayOutput +} + +type RecordingRuleArray []RecordingRuleInput + +func (RecordingRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RecordingRule)(nil)).Elem() +} + +func (i RecordingRuleArray) ToRecordingRuleArrayOutput() RecordingRuleArrayOutput { + return i.ToRecordingRuleArrayOutputWithContext(context.Background()) +} + +func (i RecordingRuleArray) ToRecordingRuleArrayOutputWithContext(ctx context.Context) RecordingRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecordingRuleArrayOutput) +} + +// RecordingRuleMapInput is an input type that accepts RecordingRuleMap and RecordingRuleMapOutput values. +// You can construct a concrete instance of `RecordingRuleMapInput` via: +// +// RecordingRuleMap{ "key": RecordingRuleArgs{...} } +type RecordingRuleMapInput interface { + pulumi.Input + + ToRecordingRuleMapOutput() RecordingRuleMapOutput + ToRecordingRuleMapOutputWithContext(context.Context) RecordingRuleMapOutput +} + +type RecordingRuleMap map[string]RecordingRuleInput + +func (RecordingRuleMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RecordingRule)(nil)).Elem() +} + +func (i RecordingRuleMap) ToRecordingRuleMapOutput() RecordingRuleMapOutput { + return i.ToRecordingRuleMapOutputWithContext(context.Background()) +} + +func (i RecordingRuleMap) ToRecordingRuleMapOutputWithContext(ctx context.Context) RecordingRuleMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecordingRuleMapOutput) +} + +type RecordingRuleOutput struct{ *pulumi.OutputState } + +func (RecordingRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RecordingRule)(nil)).Elem() +} + +func (o RecordingRuleOutput) ToRecordingRuleOutput() RecordingRuleOutput { + return o +} + +func (o RecordingRuleOutput) ToRecordingRuleOutputWithContext(ctx context.Context) RecordingRuleOutput { + return o +} + +func (o RecordingRuleOutput) BucketId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringPtrOutput { return v.BucketId }).(pulumi.StringPtrOutput) +} + +func (o RecordingRuleOutput) ExecutionGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringPtrOutput { return v.ExecutionGroup }).(pulumi.StringPtrOutput) +} + +func (o RecordingRuleOutput) Expr() pulumi.StringOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringOutput { return v.Expr }).(pulumi.StringOutput) +} + +func (o RecordingRuleOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringPtrOutput { return v.Interval }).(pulumi.StringPtrOutput) +} + +func (o RecordingRuleOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) +} + +func (o RecordingRuleOutput) MetricName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringPtrOutput { return v.MetricName }).(pulumi.StringPtrOutput) +} + +func (o RecordingRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o RecordingRuleOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *RecordingRule) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +type RecordingRuleArrayOutput struct{ *pulumi.OutputState } + +func (RecordingRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RecordingRule)(nil)).Elem() +} + +func (o RecordingRuleArrayOutput) ToRecordingRuleArrayOutput() RecordingRuleArrayOutput { + return o +} + +func (o RecordingRuleArrayOutput) ToRecordingRuleArrayOutputWithContext(ctx context.Context) RecordingRuleArrayOutput { + return o +} + +func (o RecordingRuleArrayOutput) Index(i pulumi.IntInput) RecordingRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RecordingRule { + return vs[0].([]*RecordingRule)[vs[1].(int)] + }).(RecordingRuleOutput) +} + +type RecordingRuleMapOutput struct{ *pulumi.OutputState } + +func (RecordingRuleMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RecordingRule)(nil)).Elem() +} + +func (o RecordingRuleMapOutput) ToRecordingRuleMapOutput() RecordingRuleMapOutput { + return o +} + +func (o RecordingRuleMapOutput) ToRecordingRuleMapOutputWithContext(ctx context.Context) RecordingRuleMapOutput { + return o +} + +func (o RecordingRuleMapOutput) MapIndex(k pulumi.StringInput) RecordingRuleOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RecordingRule { + return vs[0].(map[string]*RecordingRule)[vs[1].(string)] + }).(RecordingRuleOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*RecordingRuleInput)(nil)).Elem(), &RecordingRule{}) + pulumi.RegisterInputType(reflect.TypeOf((*RecordingRuleArrayInput)(nil)).Elem(), RecordingRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RecordingRuleMapInput)(nil)).Elem(), RecordingRuleMap{}) + pulumi.RegisterOutputType(RecordingRuleOutput{}) + pulumi.RegisterOutputType(RecordingRuleArrayOutput{}) + pulumi.RegisterOutputType(RecordingRuleMapOutput{}) +} diff --git a/sdk/go/chronosphere/resourcePoolsConfig.go b/sdk/go/chronosphere/resourcePoolsConfig.go new file mode 100644 index 00000000..96e73999 --- /dev/null +++ b/sdk/go/chronosphere/resourcePoolsConfig.go @@ -0,0 +1,236 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ResourcePoolsConfig struct { + pulumi.CustomResourceState + + DefaultPool ResourcePoolsConfigDefaultPoolOutput `pulumi:"defaultPool"` + Pool ResourcePoolsConfigPoolArrayOutput `pulumi:"pool"` + // Deprecated: Use pool instead of pools + Pools ResourcePoolsConfigPoolArrayOutput `pulumi:"pools"` +} + +// NewResourcePoolsConfig registers a new resource with the given unique name, arguments, and options. +func NewResourcePoolsConfig(ctx *pulumi.Context, + name string, args *ResourcePoolsConfigArgs, opts ...pulumi.ResourceOption) (*ResourcePoolsConfig, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DefaultPool == nil { + return nil, errors.New("invalid value for required argument 'DefaultPool'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource ResourcePoolsConfig + err := ctx.RegisterResource("chronosphere:index/resourcePoolsConfig:ResourcePoolsConfig", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetResourcePoolsConfig gets an existing ResourcePoolsConfig resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetResourcePoolsConfig(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ResourcePoolsConfigState, opts ...pulumi.ResourceOption) (*ResourcePoolsConfig, error) { + var resource ResourcePoolsConfig + err := ctx.ReadResource("chronosphere:index/resourcePoolsConfig:ResourcePoolsConfig", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ResourcePoolsConfig resources. +type resourcePoolsConfigState struct { + DefaultPool *ResourcePoolsConfigDefaultPool `pulumi:"defaultPool"` + Pool []ResourcePoolsConfigPool `pulumi:"pool"` + // Deprecated: Use pool instead of pools + Pools []ResourcePoolsConfigPool `pulumi:"pools"` +} + +type ResourcePoolsConfigState struct { + DefaultPool ResourcePoolsConfigDefaultPoolPtrInput + Pool ResourcePoolsConfigPoolArrayInput + // Deprecated: Use pool instead of pools + Pools ResourcePoolsConfigPoolArrayInput +} + +func (ResourcePoolsConfigState) ElementType() reflect.Type { + return reflect.TypeOf((*resourcePoolsConfigState)(nil)).Elem() +} + +type resourcePoolsConfigArgs struct { + DefaultPool ResourcePoolsConfigDefaultPool `pulumi:"defaultPool"` + Pool []ResourcePoolsConfigPool `pulumi:"pool"` + // Deprecated: Use pool instead of pools + Pools []ResourcePoolsConfigPool `pulumi:"pools"` +} + +// The set of arguments for constructing a ResourcePoolsConfig resource. +type ResourcePoolsConfigArgs struct { + DefaultPool ResourcePoolsConfigDefaultPoolInput + Pool ResourcePoolsConfigPoolArrayInput + // Deprecated: Use pool instead of pools + Pools ResourcePoolsConfigPoolArrayInput +} + +func (ResourcePoolsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*resourcePoolsConfigArgs)(nil)).Elem() +} + +type ResourcePoolsConfigInput interface { + pulumi.Input + + ToResourcePoolsConfigOutput() ResourcePoolsConfigOutput + ToResourcePoolsConfigOutputWithContext(ctx context.Context) ResourcePoolsConfigOutput +} + +func (*ResourcePoolsConfig) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfig)(nil)).Elem() +} + +func (i *ResourcePoolsConfig) ToResourcePoolsConfigOutput() ResourcePoolsConfigOutput { + return i.ToResourcePoolsConfigOutputWithContext(context.Background()) +} + +func (i *ResourcePoolsConfig) ToResourcePoolsConfigOutputWithContext(ctx context.Context) ResourcePoolsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigOutput) +} + +// ResourcePoolsConfigArrayInput is an input type that accepts ResourcePoolsConfigArray and ResourcePoolsConfigArrayOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigArrayInput` via: +// +// ResourcePoolsConfigArray{ ResourcePoolsConfigArgs{...} } +type ResourcePoolsConfigArrayInput interface { + pulumi.Input + + ToResourcePoolsConfigArrayOutput() ResourcePoolsConfigArrayOutput + ToResourcePoolsConfigArrayOutputWithContext(context.Context) ResourcePoolsConfigArrayOutput +} + +type ResourcePoolsConfigArray []ResourcePoolsConfigInput + +func (ResourcePoolsConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ResourcePoolsConfig)(nil)).Elem() +} + +func (i ResourcePoolsConfigArray) ToResourcePoolsConfigArrayOutput() ResourcePoolsConfigArrayOutput { + return i.ToResourcePoolsConfigArrayOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigArray) ToResourcePoolsConfigArrayOutputWithContext(ctx context.Context) ResourcePoolsConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigArrayOutput) +} + +// ResourcePoolsConfigMapInput is an input type that accepts ResourcePoolsConfigMap and ResourcePoolsConfigMapOutput values. +// You can construct a concrete instance of `ResourcePoolsConfigMapInput` via: +// +// ResourcePoolsConfigMap{ "key": ResourcePoolsConfigArgs{...} } +type ResourcePoolsConfigMapInput interface { + pulumi.Input + + ToResourcePoolsConfigMapOutput() ResourcePoolsConfigMapOutput + ToResourcePoolsConfigMapOutputWithContext(context.Context) ResourcePoolsConfigMapOutput +} + +type ResourcePoolsConfigMap map[string]ResourcePoolsConfigInput + +func (ResourcePoolsConfigMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ResourcePoolsConfig)(nil)).Elem() +} + +func (i ResourcePoolsConfigMap) ToResourcePoolsConfigMapOutput() ResourcePoolsConfigMapOutput { + return i.ToResourcePoolsConfigMapOutputWithContext(context.Background()) +} + +func (i ResourcePoolsConfigMap) ToResourcePoolsConfigMapOutputWithContext(ctx context.Context) ResourcePoolsConfigMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcePoolsConfigMapOutput) +} + +type ResourcePoolsConfigOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcePoolsConfig)(nil)).Elem() +} + +func (o ResourcePoolsConfigOutput) ToResourcePoolsConfigOutput() ResourcePoolsConfigOutput { + return o +} + +func (o ResourcePoolsConfigOutput) ToResourcePoolsConfigOutputWithContext(ctx context.Context) ResourcePoolsConfigOutput { + return o +} + +func (o ResourcePoolsConfigOutput) DefaultPool() ResourcePoolsConfigDefaultPoolOutput { + return o.ApplyT(func(v *ResourcePoolsConfig) ResourcePoolsConfigDefaultPoolOutput { return v.DefaultPool }).(ResourcePoolsConfigDefaultPoolOutput) +} + +func (o ResourcePoolsConfigOutput) Pool() ResourcePoolsConfigPoolArrayOutput { + return o.ApplyT(func(v *ResourcePoolsConfig) ResourcePoolsConfigPoolArrayOutput { return v.Pool }).(ResourcePoolsConfigPoolArrayOutput) +} + +// Deprecated: Use pool instead of pools +func (o ResourcePoolsConfigOutput) Pools() ResourcePoolsConfigPoolArrayOutput { + return o.ApplyT(func(v *ResourcePoolsConfig) ResourcePoolsConfigPoolArrayOutput { return v.Pools }).(ResourcePoolsConfigPoolArrayOutput) +} + +type ResourcePoolsConfigArrayOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ResourcePoolsConfig)(nil)).Elem() +} + +func (o ResourcePoolsConfigArrayOutput) ToResourcePoolsConfigArrayOutput() ResourcePoolsConfigArrayOutput { + return o +} + +func (o ResourcePoolsConfigArrayOutput) ToResourcePoolsConfigArrayOutputWithContext(ctx context.Context) ResourcePoolsConfigArrayOutput { + return o +} + +func (o ResourcePoolsConfigArrayOutput) Index(i pulumi.IntInput) ResourcePoolsConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ResourcePoolsConfig { + return vs[0].([]*ResourcePoolsConfig)[vs[1].(int)] + }).(ResourcePoolsConfigOutput) +} + +type ResourcePoolsConfigMapOutput struct{ *pulumi.OutputState } + +func (ResourcePoolsConfigMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ResourcePoolsConfig)(nil)).Elem() +} + +func (o ResourcePoolsConfigMapOutput) ToResourcePoolsConfigMapOutput() ResourcePoolsConfigMapOutput { + return o +} + +func (o ResourcePoolsConfigMapOutput) ToResourcePoolsConfigMapOutputWithContext(ctx context.Context) ResourcePoolsConfigMapOutput { + return o +} + +func (o ResourcePoolsConfigMapOutput) MapIndex(k pulumi.StringInput) ResourcePoolsConfigOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ResourcePoolsConfig { + return vs[0].(map[string]*ResourcePoolsConfig)[vs[1].(string)] + }).(ResourcePoolsConfigOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigInput)(nil)).Elem(), &ResourcePoolsConfig{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigArrayInput)(nil)).Elem(), ResourcePoolsConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcePoolsConfigMapInput)(nil)).Elem(), ResourcePoolsConfigMap{}) + pulumi.RegisterOutputType(ResourcePoolsConfigOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigArrayOutput{}) + pulumi.RegisterOutputType(ResourcePoolsConfigMapOutput{}) +} diff --git a/sdk/go/chronosphere/rollupRule.go b/sdk/go/chronosphere/rollupRule.go new file mode 100644 index 00000000..130fa19d --- /dev/null +++ b/sdk/go/chronosphere/rollupRule.go @@ -0,0 +1,347 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type RollupRule struct { + pulumi.CustomResourceState + + Aggregation pulumi.StringPtrOutput `pulumi:"aggregation"` + BucketId pulumi.StringPtrOutput `pulumi:"bucketId"` + DropRaw pulumi.BoolPtrOutput `pulumi:"dropRaw"` + ExcludeBies pulumi.StringArrayOutput `pulumi:"excludeBies"` + Filter pulumi.StringOutput `pulumi:"filter"` + GroupBies pulumi.StringArrayOutput `pulumi:"groupBies"` + Interval pulumi.StringPtrOutput `pulumi:"interval"` + MetricType pulumi.StringOutput `pulumi:"metricType"` + MetricTypeTag pulumi.BoolPtrOutput `pulumi:"metricTypeTag"` + Mode pulumi.StringPtrOutput `pulumi:"mode"` + Name pulumi.StringOutput `pulumi:"name"` + NewMetric pulumi.StringPtrOutput `pulumi:"newMetric"` + Permissive pulumi.BoolPtrOutput `pulumi:"permissive"` + Slug pulumi.StringOutput `pulumi:"slug"` + StoragePolicies RollupRuleStoragePoliciesOutput `pulumi:"storagePolicies"` +} + +// NewRollupRule registers a new resource with the given unique name, arguments, and options. +func NewRollupRule(ctx *pulumi.Context, + name string, args *RollupRuleArgs, opts ...pulumi.ResourceOption) (*RollupRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Filter == nil { + return nil, errors.New("invalid value for required argument 'Filter'") + } + if args.MetricType == nil { + return nil, errors.New("invalid value for required argument 'MetricType'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.Slug == nil { + return nil, errors.New("invalid value for required argument 'Slug'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource RollupRule + err := ctx.RegisterResource("chronosphere:index/rollupRule:RollupRule", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRollupRule gets an existing RollupRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetRollupRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RollupRuleState, opts ...pulumi.ResourceOption) (*RollupRule, error) { + var resource RollupRule + err := ctx.ReadResource("chronosphere:index/rollupRule:RollupRule", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RollupRule resources. +type rollupRuleState struct { + Aggregation *string `pulumi:"aggregation"` + BucketId *string `pulumi:"bucketId"` + DropRaw *bool `pulumi:"dropRaw"` + ExcludeBies []string `pulumi:"excludeBies"` + Filter *string `pulumi:"filter"` + GroupBies []string `pulumi:"groupBies"` + Interval *string `pulumi:"interval"` + MetricType *string `pulumi:"metricType"` + MetricTypeTag *bool `pulumi:"metricTypeTag"` + Mode *string `pulumi:"mode"` + Name *string `pulumi:"name"` + NewMetric *string `pulumi:"newMetric"` + Permissive *bool `pulumi:"permissive"` + Slug *string `pulumi:"slug"` + StoragePolicies *RollupRuleStoragePolicies `pulumi:"storagePolicies"` +} + +type RollupRuleState struct { + Aggregation pulumi.StringPtrInput + BucketId pulumi.StringPtrInput + DropRaw pulumi.BoolPtrInput + ExcludeBies pulumi.StringArrayInput + Filter pulumi.StringPtrInput + GroupBies pulumi.StringArrayInput + Interval pulumi.StringPtrInput + MetricType pulumi.StringPtrInput + MetricTypeTag pulumi.BoolPtrInput + Mode pulumi.StringPtrInput + Name pulumi.StringPtrInput + NewMetric pulumi.StringPtrInput + Permissive pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + StoragePolicies RollupRuleStoragePoliciesPtrInput +} + +func (RollupRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*rollupRuleState)(nil)).Elem() +} + +type rollupRuleArgs struct { + Aggregation *string `pulumi:"aggregation"` + BucketId *string `pulumi:"bucketId"` + DropRaw *bool `pulumi:"dropRaw"` + ExcludeBies []string `pulumi:"excludeBies"` + Filter string `pulumi:"filter"` + GroupBies []string `pulumi:"groupBies"` + Interval *string `pulumi:"interval"` + MetricType string `pulumi:"metricType"` + MetricTypeTag *bool `pulumi:"metricTypeTag"` + Mode *string `pulumi:"mode"` + Name string `pulumi:"name"` + NewMetric *string `pulumi:"newMetric"` + Permissive *bool `pulumi:"permissive"` + Slug string `pulumi:"slug"` + StoragePolicies *RollupRuleStoragePolicies `pulumi:"storagePolicies"` +} + +// The set of arguments for constructing a RollupRule resource. +type RollupRuleArgs struct { + Aggregation pulumi.StringPtrInput + BucketId pulumi.StringPtrInput + DropRaw pulumi.BoolPtrInput + ExcludeBies pulumi.StringArrayInput + Filter pulumi.StringInput + GroupBies pulumi.StringArrayInput + Interval pulumi.StringPtrInput + MetricType pulumi.StringInput + MetricTypeTag pulumi.BoolPtrInput + Mode pulumi.StringPtrInput + Name pulumi.StringInput + NewMetric pulumi.StringPtrInput + Permissive pulumi.BoolPtrInput + Slug pulumi.StringInput + StoragePolicies RollupRuleStoragePoliciesPtrInput +} + +func (RollupRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*rollupRuleArgs)(nil)).Elem() +} + +type RollupRuleInput interface { + pulumi.Input + + ToRollupRuleOutput() RollupRuleOutput + ToRollupRuleOutputWithContext(ctx context.Context) RollupRuleOutput +} + +func (*RollupRule) ElementType() reflect.Type { + return reflect.TypeOf((**RollupRule)(nil)).Elem() +} + +func (i *RollupRule) ToRollupRuleOutput() RollupRuleOutput { + return i.ToRollupRuleOutputWithContext(context.Background()) +} + +func (i *RollupRule) ToRollupRuleOutputWithContext(ctx context.Context) RollupRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(RollupRuleOutput) +} + +// RollupRuleArrayInput is an input type that accepts RollupRuleArray and RollupRuleArrayOutput values. +// You can construct a concrete instance of `RollupRuleArrayInput` via: +// +// RollupRuleArray{ RollupRuleArgs{...} } +type RollupRuleArrayInput interface { + pulumi.Input + + ToRollupRuleArrayOutput() RollupRuleArrayOutput + ToRollupRuleArrayOutputWithContext(context.Context) RollupRuleArrayOutput +} + +type RollupRuleArray []RollupRuleInput + +func (RollupRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RollupRule)(nil)).Elem() +} + +func (i RollupRuleArray) ToRollupRuleArrayOutput() RollupRuleArrayOutput { + return i.ToRollupRuleArrayOutputWithContext(context.Background()) +} + +func (i RollupRuleArray) ToRollupRuleArrayOutputWithContext(ctx context.Context) RollupRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RollupRuleArrayOutput) +} + +// RollupRuleMapInput is an input type that accepts RollupRuleMap and RollupRuleMapOutput values. +// You can construct a concrete instance of `RollupRuleMapInput` via: +// +// RollupRuleMap{ "key": RollupRuleArgs{...} } +type RollupRuleMapInput interface { + pulumi.Input + + ToRollupRuleMapOutput() RollupRuleMapOutput + ToRollupRuleMapOutputWithContext(context.Context) RollupRuleMapOutput +} + +type RollupRuleMap map[string]RollupRuleInput + +func (RollupRuleMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RollupRule)(nil)).Elem() +} + +func (i RollupRuleMap) ToRollupRuleMapOutput() RollupRuleMapOutput { + return i.ToRollupRuleMapOutputWithContext(context.Background()) +} + +func (i RollupRuleMap) ToRollupRuleMapOutputWithContext(ctx context.Context) RollupRuleMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RollupRuleMapOutput) +} + +type RollupRuleOutput struct{ *pulumi.OutputState } + +func (RollupRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RollupRule)(nil)).Elem() +} + +func (o RollupRuleOutput) ToRollupRuleOutput() RollupRuleOutput { + return o +} + +func (o RollupRuleOutput) ToRollupRuleOutputWithContext(ctx context.Context) RollupRuleOutput { + return o +} + +func (o RollupRuleOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringPtrOutput { return v.Aggregation }).(pulumi.StringPtrOutput) +} + +func (o RollupRuleOutput) BucketId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringPtrOutput { return v.BucketId }).(pulumi.StringPtrOutput) +} + +func (o RollupRuleOutput) DropRaw() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.BoolPtrOutput { return v.DropRaw }).(pulumi.BoolPtrOutput) +} + +func (o RollupRuleOutput) ExcludeBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringArrayOutput { return v.ExcludeBies }).(pulumi.StringArrayOutput) +} + +func (o RollupRuleOutput) Filter() pulumi.StringOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringOutput { return v.Filter }).(pulumi.StringOutput) +} + +func (o RollupRuleOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringArrayOutput { return v.GroupBies }).(pulumi.StringArrayOutput) +} + +func (o RollupRuleOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringPtrOutput { return v.Interval }).(pulumi.StringPtrOutput) +} + +func (o RollupRuleOutput) MetricType() pulumi.StringOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringOutput { return v.MetricType }).(pulumi.StringOutput) +} + +func (o RollupRuleOutput) MetricTypeTag() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.BoolPtrOutput { return v.MetricTypeTag }).(pulumi.BoolPtrOutput) +} + +func (o RollupRuleOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringPtrOutput { return v.Mode }).(pulumi.StringPtrOutput) +} + +func (o RollupRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o RollupRuleOutput) NewMetric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringPtrOutput { return v.NewMetric }).(pulumi.StringPtrOutput) +} + +func (o RollupRuleOutput) Permissive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RollupRule) pulumi.BoolPtrOutput { return v.Permissive }).(pulumi.BoolPtrOutput) +} + +func (o RollupRuleOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *RollupRule) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o RollupRuleOutput) StoragePolicies() RollupRuleStoragePoliciesOutput { + return o.ApplyT(func(v *RollupRule) RollupRuleStoragePoliciesOutput { return v.StoragePolicies }).(RollupRuleStoragePoliciesOutput) +} + +type RollupRuleArrayOutput struct{ *pulumi.OutputState } + +func (RollupRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RollupRule)(nil)).Elem() +} + +func (o RollupRuleArrayOutput) ToRollupRuleArrayOutput() RollupRuleArrayOutput { + return o +} + +func (o RollupRuleArrayOutput) ToRollupRuleArrayOutputWithContext(ctx context.Context) RollupRuleArrayOutput { + return o +} + +func (o RollupRuleArrayOutput) Index(i pulumi.IntInput) RollupRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RollupRule { + return vs[0].([]*RollupRule)[vs[1].(int)] + }).(RollupRuleOutput) +} + +type RollupRuleMapOutput struct{ *pulumi.OutputState } + +func (RollupRuleMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RollupRule)(nil)).Elem() +} + +func (o RollupRuleMapOutput) ToRollupRuleMapOutput() RollupRuleMapOutput { + return o +} + +func (o RollupRuleMapOutput) ToRollupRuleMapOutputWithContext(ctx context.Context) RollupRuleMapOutput { + return o +} + +func (o RollupRuleMapOutput) MapIndex(k pulumi.StringInput) RollupRuleOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RollupRule { + return vs[0].(map[string]*RollupRule)[vs[1].(string)] + }).(RollupRuleOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*RollupRuleInput)(nil)).Elem(), &RollupRule{}) + pulumi.RegisterInputType(reflect.TypeOf((*RollupRuleArrayInput)(nil)).Elem(), RollupRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RollupRuleMapInput)(nil)).Elem(), RollupRuleMap{}) + pulumi.RegisterOutputType(RollupRuleOutput{}) + pulumi.RegisterOutputType(RollupRuleArrayOutput{}) + pulumi.RegisterOutputType(RollupRuleMapOutput{}) +} diff --git a/sdk/go/chronosphere/serviceAccount.go b/sdk/go/chronosphere/serviceAccount.go new file mode 100644 index 00000000..e6ad4077 --- /dev/null +++ b/sdk/go/chronosphere/serviceAccount.go @@ -0,0 +1,257 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ServiceAccount struct { + pulumi.CustomResourceState + + Email pulumi.StringOutput `pulumi:"email"` + Name pulumi.StringOutput `pulumi:"name"` + Restriction ServiceAccountRestrictionPtrOutput `pulumi:"restriction"` + Slug pulumi.StringOutput `pulumi:"slug"` + Token pulumi.StringOutput `pulumi:"token"` + Unrestricted pulumi.BoolPtrOutput `pulumi:"unrestricted"` +} + +// NewServiceAccount registers a new resource with the given unique name, arguments, and options. +func NewServiceAccount(ctx *pulumi.Context, + name string, args *ServiceAccountArgs, opts ...pulumi.ResourceOption) (*ServiceAccount, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "token", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource ServiceAccount + err := ctx.RegisterResource("chronosphere:index/serviceAccount:ServiceAccount", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetServiceAccount gets an existing ServiceAccount resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetServiceAccount(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ServiceAccountState, opts ...pulumi.ResourceOption) (*ServiceAccount, error) { + var resource ServiceAccount + err := ctx.ReadResource("chronosphere:index/serviceAccount:ServiceAccount", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ServiceAccount resources. +type serviceAccountState struct { + Email *string `pulumi:"email"` + Name *string `pulumi:"name"` + Restriction *ServiceAccountRestriction `pulumi:"restriction"` + Slug *string `pulumi:"slug"` + Token *string `pulumi:"token"` + Unrestricted *bool `pulumi:"unrestricted"` +} + +type ServiceAccountState struct { + Email pulumi.StringPtrInput + Name pulumi.StringPtrInput + Restriction ServiceAccountRestrictionPtrInput + Slug pulumi.StringPtrInput + Token pulumi.StringPtrInput + Unrestricted pulumi.BoolPtrInput +} + +func (ServiceAccountState) ElementType() reflect.Type { + return reflect.TypeOf((*serviceAccountState)(nil)).Elem() +} + +type serviceAccountArgs struct { + Name string `pulumi:"name"` + Restriction *ServiceAccountRestriction `pulumi:"restriction"` + Slug *string `pulumi:"slug"` + Unrestricted *bool `pulumi:"unrestricted"` +} + +// The set of arguments for constructing a ServiceAccount resource. +type ServiceAccountArgs struct { + Name pulumi.StringInput + Restriction ServiceAccountRestrictionPtrInput + Slug pulumi.StringPtrInput + Unrestricted pulumi.BoolPtrInput +} + +func (ServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*serviceAccountArgs)(nil)).Elem() +} + +type ServiceAccountInput interface { + pulumi.Input + + ToServiceAccountOutput() ServiceAccountOutput + ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput +} + +func (*ServiceAccount) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAccount)(nil)).Elem() +} + +func (i *ServiceAccount) ToServiceAccountOutput() ServiceAccountOutput { + return i.ToServiceAccountOutputWithContext(context.Background()) +} + +func (i *ServiceAccount) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) +} + +// ServiceAccountArrayInput is an input type that accepts ServiceAccountArray and ServiceAccountArrayOutput values. +// You can construct a concrete instance of `ServiceAccountArrayInput` via: +// +// ServiceAccountArray{ ServiceAccountArgs{...} } +type ServiceAccountArrayInput interface { + pulumi.Input + + ToServiceAccountArrayOutput() ServiceAccountArrayOutput + ToServiceAccountArrayOutputWithContext(context.Context) ServiceAccountArrayOutput +} + +type ServiceAccountArray []ServiceAccountInput + +func (ServiceAccountArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ServiceAccount)(nil)).Elem() +} + +func (i ServiceAccountArray) ToServiceAccountArrayOutput() ServiceAccountArrayOutput { + return i.ToServiceAccountArrayOutputWithContext(context.Background()) +} + +func (i ServiceAccountArray) ToServiceAccountArrayOutputWithContext(ctx context.Context) ServiceAccountArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountArrayOutput) +} + +// ServiceAccountMapInput is an input type that accepts ServiceAccountMap and ServiceAccountMapOutput values. +// You can construct a concrete instance of `ServiceAccountMapInput` via: +// +// ServiceAccountMap{ "key": ServiceAccountArgs{...} } +type ServiceAccountMapInput interface { + pulumi.Input + + ToServiceAccountMapOutput() ServiceAccountMapOutput + ToServiceAccountMapOutputWithContext(context.Context) ServiceAccountMapOutput +} + +type ServiceAccountMap map[string]ServiceAccountInput + +func (ServiceAccountMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ServiceAccount)(nil)).Elem() +} + +func (i ServiceAccountMap) ToServiceAccountMapOutput() ServiceAccountMapOutput { + return i.ToServiceAccountMapOutputWithContext(context.Background()) +} + +func (i ServiceAccountMap) ToServiceAccountMapOutputWithContext(ctx context.Context) ServiceAccountMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountMapOutput) +} + +type ServiceAccountOutput struct{ *pulumi.OutputState } + +func (ServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAccount)(nil)).Elem() +} + +func (o ServiceAccountOutput) ToServiceAccountOutput() ServiceAccountOutput { + return o +} + +func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput { + return o +} + +func (o ServiceAccountOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v *ServiceAccount) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) +} + +func (o ServiceAccountOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ServiceAccount) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ServiceAccountOutput) Restriction() ServiceAccountRestrictionPtrOutput { + return o.ApplyT(func(v *ServiceAccount) ServiceAccountRestrictionPtrOutput { return v.Restriction }).(ServiceAccountRestrictionPtrOutput) +} + +func (o ServiceAccountOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *ServiceAccount) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o ServiceAccountOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v *ServiceAccount) pulumi.StringOutput { return v.Token }).(pulumi.StringOutput) +} + +func (o ServiceAccountOutput) Unrestricted() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceAccount) pulumi.BoolPtrOutput { return v.Unrestricted }).(pulumi.BoolPtrOutput) +} + +type ServiceAccountArrayOutput struct{ *pulumi.OutputState } + +func (ServiceAccountArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ServiceAccount)(nil)).Elem() +} + +func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutput() ServiceAccountArrayOutput { + return o +} + +func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext(ctx context.Context) ServiceAccountArrayOutput { + return o +} + +func (o ServiceAccountArrayOutput) Index(i pulumi.IntInput) ServiceAccountOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ServiceAccount { + return vs[0].([]*ServiceAccount)[vs[1].(int)] + }).(ServiceAccountOutput) +} + +type ServiceAccountMapOutput struct{ *pulumi.OutputState } + +func (ServiceAccountMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ServiceAccount)(nil)).Elem() +} + +func (o ServiceAccountMapOutput) ToServiceAccountMapOutput() ServiceAccountMapOutput { + return o +} + +func (o ServiceAccountMapOutput) ToServiceAccountMapOutputWithContext(ctx context.Context) ServiceAccountMapOutput { + return o +} + +func (o ServiceAccountMapOutput) MapIndex(k pulumi.StringInput) ServiceAccountOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ServiceAccount { + return vs[0].(map[string]*ServiceAccount)[vs[1].(string)] + }).(ServiceAccountOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ServiceAccountInput)(nil)).Elem(), &ServiceAccount{}) + pulumi.RegisterInputType(reflect.TypeOf((*ServiceAccountArrayInput)(nil)).Elem(), ServiceAccountArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ServiceAccountMapInput)(nil)).Elem(), ServiceAccountMap{}) + pulumi.RegisterOutputType(ServiceAccountOutput{}) + pulumi.RegisterOutputType(ServiceAccountArrayOutput{}) + pulumi.RegisterOutputType(ServiceAccountMapOutput{}) +} diff --git a/sdk/go/chronosphere/serviceDataSource.go b/sdk/go/chronosphere/serviceDataSource.go new file mode 100644 index 00000000..8b421178 --- /dev/null +++ b/sdk/go/chronosphere/serviceDataSource.go @@ -0,0 +1,94 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func ServiceDataSource(ctx *pulumi.Context, args *ServiceDataSourceArgs, opts ...pulumi.InvokeOption) (*ServiceDataSourceResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv ServiceDataSourceResult + err := ctx.Invoke("chronosphere:index/serviceDataSource:ServiceDataSource", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking ServiceDataSource. +type ServiceDataSourceArgs struct { + Slug string `pulumi:"slug"` +} + +// A collection of values returned by ServiceDataSource. +type ServiceDataSourceResult struct { + Description string `pulumi:"description"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Slug string `pulumi:"slug"` +} + +func ServiceDataSourceOutput(ctx *pulumi.Context, args ServiceDataSourceOutputArgs, opts ...pulumi.InvokeOption) ServiceDataSourceResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (ServiceDataSourceResult, error) { + args := v.(ServiceDataSourceArgs) + r, err := ServiceDataSource(ctx, &args, opts...) + var s ServiceDataSourceResult + if r != nil { + s = *r + } + return s, err + }).(ServiceDataSourceResultOutput) +} + +// A collection of arguments for invoking ServiceDataSource. +type ServiceDataSourceOutputArgs struct { + Slug pulumi.StringInput `pulumi:"slug"` +} + +func (ServiceDataSourceOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceDataSourceArgs)(nil)).Elem() +} + +// A collection of values returned by ServiceDataSource. +type ServiceDataSourceResultOutput struct{ *pulumi.OutputState } + +func (ServiceDataSourceResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceDataSourceResult)(nil)).Elem() +} + +func (o ServiceDataSourceResultOutput) ToServiceDataSourceResultOutput() ServiceDataSourceResultOutput { + return o +} + +func (o ServiceDataSourceResultOutput) ToServiceDataSourceResultOutputWithContext(ctx context.Context) ServiceDataSourceResultOutput { + return o +} + +func (o ServiceDataSourceResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v ServiceDataSourceResult) string { return v.Description }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o ServiceDataSourceResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v ServiceDataSourceResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o ServiceDataSourceResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ServiceDataSourceResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o ServiceDataSourceResultOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v ServiceDataSourceResult) string { return v.Slug }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ServiceDataSourceResultOutput{}) +} diff --git a/sdk/go/chronosphere/slackAlertNotifier.go b/sdk/go/chronosphere/slackAlertNotifier.go new file mode 100644 index 00000000..4c54c5b4 --- /dev/null +++ b/sdk/go/chronosphere/slackAlertNotifier.go @@ -0,0 +1,472 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type SlackAlertNotifier struct { + pulumi.CustomResourceState + + Actions SlackAlertNotifierActionArrayOutput `pulumi:"actions"` + ApiUrl pulumi.StringOutput `pulumi:"apiUrl"` + BasicAuthPassword pulumi.StringPtrOutput `pulumi:"basicAuthPassword"` + BasicAuthUsername pulumi.StringPtrOutput `pulumi:"basicAuthUsername"` + BearerToken pulumi.StringPtrOutput `pulumi:"bearerToken"` + CallbackId pulumi.StringPtrOutput `pulumi:"callbackId"` + Channel pulumi.StringOutput `pulumi:"channel"` + Color pulumi.StringPtrOutput `pulumi:"color"` + Fallback pulumi.StringPtrOutput `pulumi:"fallback"` + Fields SlackAlertNotifierFieldArrayOutput `pulumi:"fields"` + Footer pulumi.StringPtrOutput `pulumi:"footer"` + IconEmoji pulumi.StringPtrOutput `pulumi:"iconEmoji"` + IconUrl pulumi.StringPtrOutput `pulumi:"iconUrl"` + ImageUrl pulumi.StringPtrOutput `pulumi:"imageUrl"` + LinkNames pulumi.BoolPtrOutput `pulumi:"linkNames"` + MrkdwnIns pulumi.StringArrayOutput `pulumi:"mrkdwnIns"` + Name pulumi.StringOutput `pulumi:"name"` + Pretext pulumi.StringPtrOutput `pulumi:"pretext"` + ProxyUrl pulumi.StringPtrOutput `pulumi:"proxyUrl"` + SendResolved pulumi.BoolPtrOutput `pulumi:"sendResolved"` + ShortFields pulumi.BoolPtrOutput `pulumi:"shortFields"` + Slug pulumi.StringOutput `pulumi:"slug"` + Text pulumi.StringPtrOutput `pulumi:"text"` + ThumbUrl pulumi.StringPtrOutput `pulumi:"thumbUrl"` + Title pulumi.StringPtrOutput `pulumi:"title"` + TitleLink pulumi.StringPtrOutput `pulumi:"titleLink"` + TlsInsecureSkipVerify pulumi.BoolPtrOutput `pulumi:"tlsInsecureSkipVerify"` + Username pulumi.StringPtrOutput `pulumi:"username"` +} + +// NewSlackAlertNotifier registers a new resource with the given unique name, arguments, and options. +func NewSlackAlertNotifier(ctx *pulumi.Context, + name string, args *SlackAlertNotifierArgs, opts ...pulumi.ResourceOption) (*SlackAlertNotifier, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ApiUrl == nil { + return nil, errors.New("invalid value for required argument 'ApiUrl'") + } + if args.Channel == nil { + return nil, errors.New("invalid value for required argument 'Channel'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.ApiUrl != nil { + args.ApiUrl = pulumi.ToSecret(args.ApiUrl).(pulumi.StringInput) + } + if args.BasicAuthPassword != nil { + args.BasicAuthPassword = pulumi.ToSecret(args.BasicAuthPassword).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "apiUrl", + "basicAuthPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource SlackAlertNotifier + err := ctx.RegisterResource("chronosphere:index/slackAlertNotifier:SlackAlertNotifier", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSlackAlertNotifier gets an existing SlackAlertNotifier resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSlackAlertNotifier(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SlackAlertNotifierState, opts ...pulumi.ResourceOption) (*SlackAlertNotifier, error) { + var resource SlackAlertNotifier + err := ctx.ReadResource("chronosphere:index/slackAlertNotifier:SlackAlertNotifier", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SlackAlertNotifier resources. +type slackAlertNotifierState struct { + Actions []SlackAlertNotifierAction `pulumi:"actions"` + ApiUrl *string `pulumi:"apiUrl"` + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + CallbackId *string `pulumi:"callbackId"` + Channel *string `pulumi:"channel"` + Color *string `pulumi:"color"` + Fallback *string `pulumi:"fallback"` + Fields []SlackAlertNotifierField `pulumi:"fields"` + Footer *string `pulumi:"footer"` + IconEmoji *string `pulumi:"iconEmoji"` + IconUrl *string `pulumi:"iconUrl"` + ImageUrl *string `pulumi:"imageUrl"` + LinkNames *bool `pulumi:"linkNames"` + MrkdwnIns []string `pulumi:"mrkdwnIns"` + Name *string `pulumi:"name"` + Pretext *string `pulumi:"pretext"` + ProxyUrl *string `pulumi:"proxyUrl"` + SendResolved *bool `pulumi:"sendResolved"` + ShortFields *bool `pulumi:"shortFields"` + Slug *string `pulumi:"slug"` + Text *string `pulumi:"text"` + ThumbUrl *string `pulumi:"thumbUrl"` + Title *string `pulumi:"title"` + TitleLink *string `pulumi:"titleLink"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` + Username *string `pulumi:"username"` +} + +type SlackAlertNotifierState struct { + Actions SlackAlertNotifierActionArrayInput + ApiUrl pulumi.StringPtrInput + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + CallbackId pulumi.StringPtrInput + Channel pulumi.StringPtrInput + Color pulumi.StringPtrInput + Fallback pulumi.StringPtrInput + Fields SlackAlertNotifierFieldArrayInput + Footer pulumi.StringPtrInput + IconEmoji pulumi.StringPtrInput + IconUrl pulumi.StringPtrInput + ImageUrl pulumi.StringPtrInput + LinkNames pulumi.BoolPtrInput + MrkdwnIns pulumi.StringArrayInput + Name pulumi.StringPtrInput + Pretext pulumi.StringPtrInput + ProxyUrl pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + ShortFields pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + Text pulumi.StringPtrInput + ThumbUrl pulumi.StringPtrInput + Title pulumi.StringPtrInput + TitleLink pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput + Username pulumi.StringPtrInput +} + +func (SlackAlertNotifierState) ElementType() reflect.Type { + return reflect.TypeOf((*slackAlertNotifierState)(nil)).Elem() +} + +type slackAlertNotifierArgs struct { + Actions []SlackAlertNotifierAction `pulumi:"actions"` + ApiUrl string `pulumi:"apiUrl"` + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + CallbackId *string `pulumi:"callbackId"` + Channel string `pulumi:"channel"` + Color *string `pulumi:"color"` + Fallback *string `pulumi:"fallback"` + Fields []SlackAlertNotifierField `pulumi:"fields"` + Footer *string `pulumi:"footer"` + IconEmoji *string `pulumi:"iconEmoji"` + IconUrl *string `pulumi:"iconUrl"` + ImageUrl *string `pulumi:"imageUrl"` + LinkNames *bool `pulumi:"linkNames"` + MrkdwnIns []string `pulumi:"mrkdwnIns"` + Name string `pulumi:"name"` + Pretext *string `pulumi:"pretext"` + ProxyUrl *string `pulumi:"proxyUrl"` + SendResolved *bool `pulumi:"sendResolved"` + ShortFields *bool `pulumi:"shortFields"` + Slug *string `pulumi:"slug"` + Text *string `pulumi:"text"` + ThumbUrl *string `pulumi:"thumbUrl"` + Title *string `pulumi:"title"` + TitleLink *string `pulumi:"titleLink"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` + Username *string `pulumi:"username"` +} + +// The set of arguments for constructing a SlackAlertNotifier resource. +type SlackAlertNotifierArgs struct { + Actions SlackAlertNotifierActionArrayInput + ApiUrl pulumi.StringInput + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + CallbackId pulumi.StringPtrInput + Channel pulumi.StringInput + Color pulumi.StringPtrInput + Fallback pulumi.StringPtrInput + Fields SlackAlertNotifierFieldArrayInput + Footer pulumi.StringPtrInput + IconEmoji pulumi.StringPtrInput + IconUrl pulumi.StringPtrInput + ImageUrl pulumi.StringPtrInput + LinkNames pulumi.BoolPtrInput + MrkdwnIns pulumi.StringArrayInput + Name pulumi.StringInput + Pretext pulumi.StringPtrInput + ProxyUrl pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + ShortFields pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + Text pulumi.StringPtrInput + ThumbUrl pulumi.StringPtrInput + Title pulumi.StringPtrInput + TitleLink pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput + Username pulumi.StringPtrInput +} + +func (SlackAlertNotifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*slackAlertNotifierArgs)(nil)).Elem() +} + +type SlackAlertNotifierInput interface { + pulumi.Input + + ToSlackAlertNotifierOutput() SlackAlertNotifierOutput + ToSlackAlertNotifierOutputWithContext(ctx context.Context) SlackAlertNotifierOutput +} + +func (*SlackAlertNotifier) ElementType() reflect.Type { + return reflect.TypeOf((**SlackAlertNotifier)(nil)).Elem() +} + +func (i *SlackAlertNotifier) ToSlackAlertNotifierOutput() SlackAlertNotifierOutput { + return i.ToSlackAlertNotifierOutputWithContext(context.Background()) +} + +func (i *SlackAlertNotifier) ToSlackAlertNotifierOutputWithContext(ctx context.Context) SlackAlertNotifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(SlackAlertNotifierOutput) +} + +// SlackAlertNotifierArrayInput is an input type that accepts SlackAlertNotifierArray and SlackAlertNotifierArrayOutput values. +// You can construct a concrete instance of `SlackAlertNotifierArrayInput` via: +// +// SlackAlertNotifierArray{ SlackAlertNotifierArgs{...} } +type SlackAlertNotifierArrayInput interface { + pulumi.Input + + ToSlackAlertNotifierArrayOutput() SlackAlertNotifierArrayOutput + ToSlackAlertNotifierArrayOutputWithContext(context.Context) SlackAlertNotifierArrayOutput +} + +type SlackAlertNotifierArray []SlackAlertNotifierInput + +func (SlackAlertNotifierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SlackAlertNotifier)(nil)).Elem() +} + +func (i SlackAlertNotifierArray) ToSlackAlertNotifierArrayOutput() SlackAlertNotifierArrayOutput { + return i.ToSlackAlertNotifierArrayOutputWithContext(context.Background()) +} + +func (i SlackAlertNotifierArray) ToSlackAlertNotifierArrayOutputWithContext(ctx context.Context) SlackAlertNotifierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SlackAlertNotifierArrayOutput) +} + +// SlackAlertNotifierMapInput is an input type that accepts SlackAlertNotifierMap and SlackAlertNotifierMapOutput values. +// You can construct a concrete instance of `SlackAlertNotifierMapInput` via: +// +// SlackAlertNotifierMap{ "key": SlackAlertNotifierArgs{...} } +type SlackAlertNotifierMapInput interface { + pulumi.Input + + ToSlackAlertNotifierMapOutput() SlackAlertNotifierMapOutput + ToSlackAlertNotifierMapOutputWithContext(context.Context) SlackAlertNotifierMapOutput +} + +type SlackAlertNotifierMap map[string]SlackAlertNotifierInput + +func (SlackAlertNotifierMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SlackAlertNotifier)(nil)).Elem() +} + +func (i SlackAlertNotifierMap) ToSlackAlertNotifierMapOutput() SlackAlertNotifierMapOutput { + return i.ToSlackAlertNotifierMapOutputWithContext(context.Background()) +} + +func (i SlackAlertNotifierMap) ToSlackAlertNotifierMapOutputWithContext(ctx context.Context) SlackAlertNotifierMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SlackAlertNotifierMapOutput) +} + +type SlackAlertNotifierOutput struct{ *pulumi.OutputState } + +func (SlackAlertNotifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SlackAlertNotifier)(nil)).Elem() +} + +func (o SlackAlertNotifierOutput) ToSlackAlertNotifierOutput() SlackAlertNotifierOutput { + return o +} + +func (o SlackAlertNotifierOutput) ToSlackAlertNotifierOutputWithContext(ctx context.Context) SlackAlertNotifierOutput { + return o +} + +func (o SlackAlertNotifierOutput) Actions() SlackAlertNotifierActionArrayOutput { + return o.ApplyT(func(v *SlackAlertNotifier) SlackAlertNotifierActionArrayOutput { return v.Actions }).(SlackAlertNotifierActionArrayOutput) +} + +func (o SlackAlertNotifierOutput) ApiUrl() pulumi.StringOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringOutput { return v.ApiUrl }).(pulumi.StringOutput) +} + +func (o SlackAlertNotifierOutput) BasicAuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthPassword }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) BasicAuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthUsername }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) BearerToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.BearerToken }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) CallbackId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.CallbackId }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) Channel() pulumi.StringOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringOutput { return v.Channel }).(pulumi.StringOutput) +} + +func (o SlackAlertNotifierOutput) Color() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.Color }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) Fallback() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.Fallback }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) Fields() SlackAlertNotifierFieldArrayOutput { + return o.ApplyT(func(v *SlackAlertNotifier) SlackAlertNotifierFieldArrayOutput { return v.Fields }).(SlackAlertNotifierFieldArrayOutput) +} + +func (o SlackAlertNotifierOutput) Footer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.Footer }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) IconEmoji() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.IconEmoji }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) IconUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.IconUrl }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.ImageUrl }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) LinkNames() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.BoolPtrOutput { return v.LinkNames }).(pulumi.BoolPtrOutput) +} + +func (o SlackAlertNotifierOutput) MrkdwnIns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringArrayOutput { return v.MrkdwnIns }).(pulumi.StringArrayOutput) +} + +func (o SlackAlertNotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o SlackAlertNotifierOutput) Pretext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.Pretext }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.BoolPtrOutput { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + +func (o SlackAlertNotifierOutput) ShortFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.BoolPtrOutput { return v.ShortFields }).(pulumi.BoolPtrOutput) +} + +func (o SlackAlertNotifierOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o SlackAlertNotifierOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.Text }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) ThumbUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.ThumbUrl }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.Title }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) TitleLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.TitleLink }).(pulumi.StringPtrOutput) +} + +func (o SlackAlertNotifierOutput) TlsInsecureSkipVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.BoolPtrOutput { return v.TlsInsecureSkipVerify }).(pulumi.BoolPtrOutput) +} + +func (o SlackAlertNotifierOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SlackAlertNotifier) pulumi.StringPtrOutput { return v.Username }).(pulumi.StringPtrOutput) +} + +type SlackAlertNotifierArrayOutput struct{ *pulumi.OutputState } + +func (SlackAlertNotifierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SlackAlertNotifier)(nil)).Elem() +} + +func (o SlackAlertNotifierArrayOutput) ToSlackAlertNotifierArrayOutput() SlackAlertNotifierArrayOutput { + return o +} + +func (o SlackAlertNotifierArrayOutput) ToSlackAlertNotifierArrayOutputWithContext(ctx context.Context) SlackAlertNotifierArrayOutput { + return o +} + +func (o SlackAlertNotifierArrayOutput) Index(i pulumi.IntInput) SlackAlertNotifierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SlackAlertNotifier { + return vs[0].([]*SlackAlertNotifier)[vs[1].(int)] + }).(SlackAlertNotifierOutput) +} + +type SlackAlertNotifierMapOutput struct{ *pulumi.OutputState } + +func (SlackAlertNotifierMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SlackAlertNotifier)(nil)).Elem() +} + +func (o SlackAlertNotifierMapOutput) ToSlackAlertNotifierMapOutput() SlackAlertNotifierMapOutput { + return o +} + +func (o SlackAlertNotifierMapOutput) ToSlackAlertNotifierMapOutputWithContext(ctx context.Context) SlackAlertNotifierMapOutput { + return o +} + +func (o SlackAlertNotifierMapOutput) MapIndex(k pulumi.StringInput) SlackAlertNotifierOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SlackAlertNotifier { + return vs[0].(map[string]*SlackAlertNotifier)[vs[1].(string)] + }).(SlackAlertNotifierOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SlackAlertNotifierInput)(nil)).Elem(), &SlackAlertNotifier{}) + pulumi.RegisterInputType(reflect.TypeOf((*SlackAlertNotifierArrayInput)(nil)).Elem(), SlackAlertNotifierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SlackAlertNotifierMapInput)(nil)).Elem(), SlackAlertNotifierMap{}) + pulumi.RegisterOutputType(SlackAlertNotifierOutput{}) + pulumi.RegisterOutputType(SlackAlertNotifierArrayOutput{}) + pulumi.RegisterOutputType(SlackAlertNotifierMapOutput{}) +} diff --git a/sdk/go/chronosphere/team.go b/sdk/go/chronosphere/team.go new file mode 100644 index 00000000..32a6d6ef --- /dev/null +++ b/sdk/go/chronosphere/team.go @@ -0,0 +1,239 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Team struct { + pulumi.CustomResourceState + + Description pulumi.StringPtrOutput `pulumi:"description"` + Name pulumi.StringOutput `pulumi:"name"` + Slug pulumi.StringOutput `pulumi:"slug"` + UserEmails pulumi.StringArrayOutput `pulumi:"userEmails"` +} + +// NewTeam registers a new resource with the given unique name, arguments, and options. +func NewTeam(ctx *pulumi.Context, + name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Team + err := ctx.RegisterResource("chronosphere:index/team:Team", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetTeam gets an existing Team resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetTeam(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error) { + var resource Team + err := ctx.ReadResource("chronosphere:index/team:Team", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Team resources. +type teamState struct { + Description *string `pulumi:"description"` + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` + UserEmails []string `pulumi:"userEmails"` +} + +type TeamState struct { + Description pulumi.StringPtrInput + Name pulumi.StringPtrInput + Slug pulumi.StringPtrInput + UserEmails pulumi.StringArrayInput +} + +func (TeamState) ElementType() reflect.Type { + return reflect.TypeOf((*teamState)(nil)).Elem() +} + +type teamArgs struct { + Description *string `pulumi:"description"` + Name string `pulumi:"name"` + Slug *string `pulumi:"slug"` + UserEmails []string `pulumi:"userEmails"` +} + +// The set of arguments for constructing a Team resource. +type TeamArgs struct { + Description pulumi.StringPtrInput + Name pulumi.StringInput + Slug pulumi.StringPtrInput + UserEmails pulumi.StringArrayInput +} + +func (TeamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*teamArgs)(nil)).Elem() +} + +type TeamInput interface { + pulumi.Input + + ToTeamOutput() TeamOutput + ToTeamOutputWithContext(ctx context.Context) TeamOutput +} + +func (*Team) ElementType() reflect.Type { + return reflect.TypeOf((**Team)(nil)).Elem() +} + +func (i *Team) ToTeamOutput() TeamOutput { + return i.ToTeamOutputWithContext(context.Background()) +} + +func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamOutput) +} + +// TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. +// You can construct a concrete instance of `TeamArrayInput` via: +// +// TeamArray{ TeamArgs{...} } +type TeamArrayInput interface { + pulumi.Input + + ToTeamArrayOutput() TeamArrayOutput + ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput +} + +type TeamArray []TeamInput + +func (TeamArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Team)(nil)).Elem() +} + +func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput { + return i.ToTeamArrayOutputWithContext(context.Background()) +} + +func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamArrayOutput) +} + +// TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. +// You can construct a concrete instance of `TeamMapInput` via: +// +// TeamMap{ "key": TeamArgs{...} } +type TeamMapInput interface { + pulumi.Input + + ToTeamMapOutput() TeamMapOutput + ToTeamMapOutputWithContext(context.Context) TeamMapOutput +} + +type TeamMap map[string]TeamInput + +func (TeamMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Team)(nil)).Elem() +} + +func (i TeamMap) ToTeamMapOutput() TeamMapOutput { + return i.ToTeamMapOutputWithContext(context.Background()) +} + +func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamMapOutput) +} + +type TeamOutput struct{ *pulumi.OutputState } + +func (TeamOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Team)(nil)).Elem() +} + +func (o TeamOutput) ToTeamOutput() TeamOutput { + return o +} + +func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput { + return o +} + +func (o TeamOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Team) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o TeamOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Team) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o TeamOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *Team) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o TeamOutput) UserEmails() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Team) pulumi.StringArrayOutput { return v.UserEmails }).(pulumi.StringArrayOutput) +} + +type TeamArrayOutput struct{ *pulumi.OutputState } + +func (TeamArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Team)(nil)).Elem() +} + +func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput { + return o +} + +func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput { + return o +} + +func (o TeamArrayOutput) Index(i pulumi.IntInput) TeamOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Team { + return vs[0].([]*Team)[vs[1].(int)] + }).(TeamOutput) +} + +type TeamMapOutput struct{ *pulumi.OutputState } + +func (TeamMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Team)(nil)).Elem() +} + +func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput { + return o +} + +func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput { + return o +} + +func (o TeamMapOutput) MapIndex(k pulumi.StringInput) TeamOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Team { + return vs[0].(map[string]*Team)[vs[1].(string)] + }).(TeamOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TeamInput)(nil)).Elem(), &Team{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamArrayInput)(nil)).Elem(), TeamArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamMapInput)(nil)).Elem(), TeamMap{}) + pulumi.RegisterOutputType(TeamOutput{}) + pulumi.RegisterOutputType(TeamArrayOutput{}) + pulumi.RegisterOutputType(TeamMapOutput{}) +} diff --git a/sdk/go/chronosphere/traceJaegerRemoteSamplingStrategy.go b/sdk/go/chronosphere/traceJaegerRemoteSamplingStrategy.go new file mode 100644 index 00000000..e2594880 --- /dev/null +++ b/sdk/go/chronosphere/traceJaegerRemoteSamplingStrategy.go @@ -0,0 +1,247 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type TraceJaegerRemoteSamplingStrategy struct { + pulumi.CustomResourceState + + AppliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput `pulumi:"appliedStrategy"` + Name pulumi.StringOutput `pulumi:"name"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Slug pulumi.StringOutput `pulumi:"slug"` +} + +// NewTraceJaegerRemoteSamplingStrategy registers a new resource with the given unique name, arguments, and options. +func NewTraceJaegerRemoteSamplingStrategy(ctx *pulumi.Context, + name string, args *TraceJaegerRemoteSamplingStrategyArgs, opts ...pulumi.ResourceOption) (*TraceJaegerRemoteSamplingStrategy, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AppliedStrategy == nil { + return nil, errors.New("invalid value for required argument 'AppliedStrategy'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource TraceJaegerRemoteSamplingStrategy + err := ctx.RegisterResource("chronosphere:index/traceJaegerRemoteSamplingStrategy:TraceJaegerRemoteSamplingStrategy", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetTraceJaegerRemoteSamplingStrategy gets an existing TraceJaegerRemoteSamplingStrategy resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetTraceJaegerRemoteSamplingStrategy(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *TraceJaegerRemoteSamplingStrategyState, opts ...pulumi.ResourceOption) (*TraceJaegerRemoteSamplingStrategy, error) { + var resource TraceJaegerRemoteSamplingStrategy + err := ctx.ReadResource("chronosphere:index/traceJaegerRemoteSamplingStrategy:TraceJaegerRemoteSamplingStrategy", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering TraceJaegerRemoteSamplingStrategy resources. +type traceJaegerRemoteSamplingStrategyState struct { + AppliedStrategy *TraceJaegerRemoteSamplingStrategyAppliedStrategy `pulumi:"appliedStrategy"` + Name *string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Slug *string `pulumi:"slug"` +} + +type TraceJaegerRemoteSamplingStrategyState struct { + AppliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPtrInput + Name pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Slug pulumi.StringPtrInput +} + +func (TraceJaegerRemoteSamplingStrategyState) ElementType() reflect.Type { + return reflect.TypeOf((*traceJaegerRemoteSamplingStrategyState)(nil)).Elem() +} + +type traceJaegerRemoteSamplingStrategyArgs struct { + AppliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategy `pulumi:"appliedStrategy"` + Name string `pulumi:"name"` + ServiceName string `pulumi:"serviceName"` + Slug *string `pulumi:"slug"` +} + +// The set of arguments for constructing a TraceJaegerRemoteSamplingStrategy resource. +type TraceJaegerRemoteSamplingStrategyArgs struct { + AppliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyInput + Name pulumi.StringInput + ServiceName pulumi.StringInput + Slug pulumi.StringPtrInput +} + +func (TraceJaegerRemoteSamplingStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*traceJaegerRemoteSamplingStrategyArgs)(nil)).Elem() +} + +type TraceJaegerRemoteSamplingStrategyInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyOutput() TraceJaegerRemoteSamplingStrategyOutput + ToTraceJaegerRemoteSamplingStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyOutput +} + +func (*TraceJaegerRemoteSamplingStrategy) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategy)(nil)).Elem() +} + +func (i *TraceJaegerRemoteSamplingStrategy) ToTraceJaegerRemoteSamplingStrategyOutput() TraceJaegerRemoteSamplingStrategyOutput { + return i.ToTraceJaegerRemoteSamplingStrategyOutputWithContext(context.Background()) +} + +func (i *TraceJaegerRemoteSamplingStrategy) ToTraceJaegerRemoteSamplingStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyOutput) +} + +// TraceJaegerRemoteSamplingStrategyArrayInput is an input type that accepts TraceJaegerRemoteSamplingStrategyArray and TraceJaegerRemoteSamplingStrategyArrayOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyArrayInput` via: +// +// TraceJaegerRemoteSamplingStrategyArray{ TraceJaegerRemoteSamplingStrategyArgs{...} } +type TraceJaegerRemoteSamplingStrategyArrayInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyArrayOutput() TraceJaegerRemoteSamplingStrategyArrayOutput + ToTraceJaegerRemoteSamplingStrategyArrayOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyArrayOutput +} + +type TraceJaegerRemoteSamplingStrategyArray []TraceJaegerRemoteSamplingStrategyInput + +func (TraceJaegerRemoteSamplingStrategyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*TraceJaegerRemoteSamplingStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyArray) ToTraceJaegerRemoteSamplingStrategyArrayOutput() TraceJaegerRemoteSamplingStrategyArrayOutput { + return i.ToTraceJaegerRemoteSamplingStrategyArrayOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyArray) ToTraceJaegerRemoteSamplingStrategyArrayOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyArrayOutput) +} + +// TraceJaegerRemoteSamplingStrategyMapInput is an input type that accepts TraceJaegerRemoteSamplingStrategyMap and TraceJaegerRemoteSamplingStrategyMapOutput values. +// You can construct a concrete instance of `TraceJaegerRemoteSamplingStrategyMapInput` via: +// +// TraceJaegerRemoteSamplingStrategyMap{ "key": TraceJaegerRemoteSamplingStrategyArgs{...} } +type TraceJaegerRemoteSamplingStrategyMapInput interface { + pulumi.Input + + ToTraceJaegerRemoteSamplingStrategyMapOutput() TraceJaegerRemoteSamplingStrategyMapOutput + ToTraceJaegerRemoteSamplingStrategyMapOutputWithContext(context.Context) TraceJaegerRemoteSamplingStrategyMapOutput +} + +type TraceJaegerRemoteSamplingStrategyMap map[string]TraceJaegerRemoteSamplingStrategyInput + +func (TraceJaegerRemoteSamplingStrategyMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*TraceJaegerRemoteSamplingStrategy)(nil)).Elem() +} + +func (i TraceJaegerRemoteSamplingStrategyMap) ToTraceJaegerRemoteSamplingStrategyMapOutput() TraceJaegerRemoteSamplingStrategyMapOutput { + return i.ToTraceJaegerRemoteSamplingStrategyMapOutputWithContext(context.Background()) +} + +func (i TraceJaegerRemoteSamplingStrategyMap) ToTraceJaegerRemoteSamplingStrategyMapOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceJaegerRemoteSamplingStrategyMapOutput) +} + +type TraceJaegerRemoteSamplingStrategyOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceJaegerRemoteSamplingStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyOutput) ToTraceJaegerRemoteSamplingStrategyOutput() TraceJaegerRemoteSamplingStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyOutput) ToTraceJaegerRemoteSamplingStrategyOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyOutput) AppliedStrategy() TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategy) TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput { + return v.AppliedStrategy + }).(TraceJaegerRemoteSamplingStrategyAppliedStrategyOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategy) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategy) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o TraceJaegerRemoteSamplingStrategyOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *TraceJaegerRemoteSamplingStrategy) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +type TraceJaegerRemoteSamplingStrategyArrayOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*TraceJaegerRemoteSamplingStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyArrayOutput) ToTraceJaegerRemoteSamplingStrategyArrayOutput() TraceJaegerRemoteSamplingStrategyArrayOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyArrayOutput) ToTraceJaegerRemoteSamplingStrategyArrayOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyArrayOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyArrayOutput) Index(i pulumi.IntInput) TraceJaegerRemoteSamplingStrategyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *TraceJaegerRemoteSamplingStrategy { + return vs[0].([]*TraceJaegerRemoteSamplingStrategy)[vs[1].(int)] + }).(TraceJaegerRemoteSamplingStrategyOutput) +} + +type TraceJaegerRemoteSamplingStrategyMapOutput struct{ *pulumi.OutputState } + +func (TraceJaegerRemoteSamplingStrategyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*TraceJaegerRemoteSamplingStrategy)(nil)).Elem() +} + +func (o TraceJaegerRemoteSamplingStrategyMapOutput) ToTraceJaegerRemoteSamplingStrategyMapOutput() TraceJaegerRemoteSamplingStrategyMapOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyMapOutput) ToTraceJaegerRemoteSamplingStrategyMapOutputWithContext(ctx context.Context) TraceJaegerRemoteSamplingStrategyMapOutput { + return o +} + +func (o TraceJaegerRemoteSamplingStrategyMapOutput) MapIndex(k pulumi.StringInput) TraceJaegerRemoteSamplingStrategyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *TraceJaegerRemoteSamplingStrategy { + return vs[0].(map[string]*TraceJaegerRemoteSamplingStrategy)[vs[1].(string)] + }).(TraceJaegerRemoteSamplingStrategyOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyInput)(nil)).Elem(), &TraceJaegerRemoteSamplingStrategy{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyArrayInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceJaegerRemoteSamplingStrategyMapInput)(nil)).Elem(), TraceJaegerRemoteSamplingStrategyMap{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyArrayOutput{}) + pulumi.RegisterOutputType(TraceJaegerRemoteSamplingStrategyMapOutput{}) +} diff --git a/sdk/go/chronosphere/traceMetricsRule.go b/sdk/go/chronosphere/traceMetricsRule.go new file mode 100644 index 00000000..ce66afeb --- /dev/null +++ b/sdk/go/chronosphere/traceMetricsRule.go @@ -0,0 +1,272 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type TraceMetricsRule struct { + pulumi.CustomResourceState + + GroupBies TraceMetricsRuleGroupByArrayOutput `pulumi:"groupBies"` + HistogramBucketsSeconds pulumi.Float64ArrayOutput `pulumi:"histogramBucketsSeconds"` + MetricLabels pulumi.StringMapOutput `pulumi:"metricLabels"` + MetricName pulumi.StringOutput `pulumi:"metricName"` + Name pulumi.StringOutput `pulumi:"name"` + Slug pulumi.StringOutput `pulumi:"slug"` + TraceFilter TraceMetricsRuleTraceFilterOutput `pulumi:"traceFilter"` +} + +// NewTraceMetricsRule registers a new resource with the given unique name, arguments, and options. +func NewTraceMetricsRule(ctx *pulumi.Context, + name string, args *TraceMetricsRuleArgs, opts ...pulumi.ResourceOption) (*TraceMetricsRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.MetricName == nil { + return nil, errors.New("invalid value for required argument 'MetricName'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.TraceFilter == nil { + return nil, errors.New("invalid value for required argument 'TraceFilter'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource TraceMetricsRule + err := ctx.RegisterResource("chronosphere:index/traceMetricsRule:TraceMetricsRule", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetTraceMetricsRule gets an existing TraceMetricsRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetTraceMetricsRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *TraceMetricsRuleState, opts ...pulumi.ResourceOption) (*TraceMetricsRule, error) { + var resource TraceMetricsRule + err := ctx.ReadResource("chronosphere:index/traceMetricsRule:TraceMetricsRule", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering TraceMetricsRule resources. +type traceMetricsRuleState struct { + GroupBies []TraceMetricsRuleGroupBy `pulumi:"groupBies"` + HistogramBucketsSeconds []float64 `pulumi:"histogramBucketsSeconds"` + MetricLabels map[string]string `pulumi:"metricLabels"` + MetricName *string `pulumi:"metricName"` + Name *string `pulumi:"name"` + Slug *string `pulumi:"slug"` + TraceFilter *TraceMetricsRuleTraceFilter `pulumi:"traceFilter"` +} + +type TraceMetricsRuleState struct { + GroupBies TraceMetricsRuleGroupByArrayInput + HistogramBucketsSeconds pulumi.Float64ArrayInput + MetricLabels pulumi.StringMapInput + MetricName pulumi.StringPtrInput + Name pulumi.StringPtrInput + Slug pulumi.StringPtrInput + TraceFilter TraceMetricsRuleTraceFilterPtrInput +} + +func (TraceMetricsRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*traceMetricsRuleState)(nil)).Elem() +} + +type traceMetricsRuleArgs struct { + GroupBies []TraceMetricsRuleGroupBy `pulumi:"groupBies"` + HistogramBucketsSeconds []float64 `pulumi:"histogramBucketsSeconds"` + MetricLabels map[string]string `pulumi:"metricLabels"` + MetricName string `pulumi:"metricName"` + Name string `pulumi:"name"` + Slug *string `pulumi:"slug"` + TraceFilter TraceMetricsRuleTraceFilter `pulumi:"traceFilter"` +} + +// The set of arguments for constructing a TraceMetricsRule resource. +type TraceMetricsRuleArgs struct { + GroupBies TraceMetricsRuleGroupByArrayInput + HistogramBucketsSeconds pulumi.Float64ArrayInput + MetricLabels pulumi.StringMapInput + MetricName pulumi.StringInput + Name pulumi.StringInput + Slug pulumi.StringPtrInput + TraceFilter TraceMetricsRuleTraceFilterInput +} + +func (TraceMetricsRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*traceMetricsRuleArgs)(nil)).Elem() +} + +type TraceMetricsRuleInput interface { + pulumi.Input + + ToTraceMetricsRuleOutput() TraceMetricsRuleOutput + ToTraceMetricsRuleOutputWithContext(ctx context.Context) TraceMetricsRuleOutput +} + +func (*TraceMetricsRule) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRule)(nil)).Elem() +} + +func (i *TraceMetricsRule) ToTraceMetricsRuleOutput() TraceMetricsRuleOutput { + return i.ToTraceMetricsRuleOutputWithContext(context.Background()) +} + +func (i *TraceMetricsRule) ToTraceMetricsRuleOutputWithContext(ctx context.Context) TraceMetricsRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleOutput) +} + +// TraceMetricsRuleArrayInput is an input type that accepts TraceMetricsRuleArray and TraceMetricsRuleArrayOutput values. +// You can construct a concrete instance of `TraceMetricsRuleArrayInput` via: +// +// TraceMetricsRuleArray{ TraceMetricsRuleArgs{...} } +type TraceMetricsRuleArrayInput interface { + pulumi.Input + + ToTraceMetricsRuleArrayOutput() TraceMetricsRuleArrayOutput + ToTraceMetricsRuleArrayOutputWithContext(context.Context) TraceMetricsRuleArrayOutput +} + +type TraceMetricsRuleArray []TraceMetricsRuleInput + +func (TraceMetricsRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*TraceMetricsRule)(nil)).Elem() +} + +func (i TraceMetricsRuleArray) ToTraceMetricsRuleArrayOutput() TraceMetricsRuleArrayOutput { + return i.ToTraceMetricsRuleArrayOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleArray) ToTraceMetricsRuleArrayOutputWithContext(ctx context.Context) TraceMetricsRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleArrayOutput) +} + +// TraceMetricsRuleMapInput is an input type that accepts TraceMetricsRuleMap and TraceMetricsRuleMapOutput values. +// You can construct a concrete instance of `TraceMetricsRuleMapInput` via: +// +// TraceMetricsRuleMap{ "key": TraceMetricsRuleArgs{...} } +type TraceMetricsRuleMapInput interface { + pulumi.Input + + ToTraceMetricsRuleMapOutput() TraceMetricsRuleMapOutput + ToTraceMetricsRuleMapOutputWithContext(context.Context) TraceMetricsRuleMapOutput +} + +type TraceMetricsRuleMap map[string]TraceMetricsRuleInput + +func (TraceMetricsRuleMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*TraceMetricsRule)(nil)).Elem() +} + +func (i TraceMetricsRuleMap) ToTraceMetricsRuleMapOutput() TraceMetricsRuleMapOutput { + return i.ToTraceMetricsRuleMapOutputWithContext(context.Background()) +} + +func (i TraceMetricsRuleMap) ToTraceMetricsRuleMapOutputWithContext(ctx context.Context) TraceMetricsRuleMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceMetricsRuleMapOutput) +} + +type TraceMetricsRuleOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceMetricsRule)(nil)).Elem() +} + +func (o TraceMetricsRuleOutput) ToTraceMetricsRuleOutput() TraceMetricsRuleOutput { + return o +} + +func (o TraceMetricsRuleOutput) ToTraceMetricsRuleOutputWithContext(ctx context.Context) TraceMetricsRuleOutput { + return o +} + +func (o TraceMetricsRuleOutput) GroupBies() TraceMetricsRuleGroupByArrayOutput { + return o.ApplyT(func(v *TraceMetricsRule) TraceMetricsRuleGroupByArrayOutput { return v.GroupBies }).(TraceMetricsRuleGroupByArrayOutput) +} + +func (o TraceMetricsRuleOutput) HistogramBucketsSeconds() pulumi.Float64ArrayOutput { + return o.ApplyT(func(v *TraceMetricsRule) pulumi.Float64ArrayOutput { return v.HistogramBucketsSeconds }).(pulumi.Float64ArrayOutput) +} + +func (o TraceMetricsRuleOutput) MetricLabels() pulumi.StringMapOutput { + return o.ApplyT(func(v *TraceMetricsRule) pulumi.StringMapOutput { return v.MetricLabels }).(pulumi.StringMapOutput) +} + +func (o TraceMetricsRuleOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v *TraceMetricsRule) pulumi.StringOutput { return v.MetricName }).(pulumi.StringOutput) +} + +func (o TraceMetricsRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *TraceMetricsRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o TraceMetricsRuleOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *TraceMetricsRule) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o TraceMetricsRuleOutput) TraceFilter() TraceMetricsRuleTraceFilterOutput { + return o.ApplyT(func(v *TraceMetricsRule) TraceMetricsRuleTraceFilterOutput { return v.TraceFilter }).(TraceMetricsRuleTraceFilterOutput) +} + +type TraceMetricsRuleArrayOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*TraceMetricsRule)(nil)).Elem() +} + +func (o TraceMetricsRuleArrayOutput) ToTraceMetricsRuleArrayOutput() TraceMetricsRuleArrayOutput { + return o +} + +func (o TraceMetricsRuleArrayOutput) ToTraceMetricsRuleArrayOutputWithContext(ctx context.Context) TraceMetricsRuleArrayOutput { + return o +} + +func (o TraceMetricsRuleArrayOutput) Index(i pulumi.IntInput) TraceMetricsRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *TraceMetricsRule { + return vs[0].([]*TraceMetricsRule)[vs[1].(int)] + }).(TraceMetricsRuleOutput) +} + +type TraceMetricsRuleMapOutput struct{ *pulumi.OutputState } + +func (TraceMetricsRuleMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*TraceMetricsRule)(nil)).Elem() +} + +func (o TraceMetricsRuleMapOutput) ToTraceMetricsRuleMapOutput() TraceMetricsRuleMapOutput { + return o +} + +func (o TraceMetricsRuleMapOutput) ToTraceMetricsRuleMapOutputWithContext(ctx context.Context) TraceMetricsRuleMapOutput { + return o +} + +func (o TraceMetricsRuleMapOutput) MapIndex(k pulumi.StringInput) TraceMetricsRuleOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *TraceMetricsRule { + return vs[0].(map[string]*TraceMetricsRule)[vs[1].(string)] + }).(TraceMetricsRuleOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleInput)(nil)).Elem(), &TraceMetricsRule{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleArrayInput)(nil)).Elem(), TraceMetricsRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceMetricsRuleMapInput)(nil)).Elem(), TraceMetricsRuleMap{}) + pulumi.RegisterOutputType(TraceMetricsRuleOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleArrayOutput{}) + pulumi.RegisterOutputType(TraceMetricsRuleMapOutput{}) +} diff --git a/sdk/go/chronosphere/traceTailSamplingRules.go b/sdk/go/chronosphere/traceTailSamplingRules.go new file mode 100644 index 00000000..843b229d --- /dev/null +++ b/sdk/go/chronosphere/traceTailSamplingRules.go @@ -0,0 +1,219 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type TraceTailSamplingRules struct { + pulumi.CustomResourceState + + DefaultSampleRate TraceTailSamplingRulesDefaultSampleRatePtrOutput `pulumi:"defaultSampleRate"` + Rules TraceTailSamplingRulesRuleArrayOutput `pulumi:"rules"` +} + +// NewTraceTailSamplingRules registers a new resource with the given unique name, arguments, and options. +func NewTraceTailSamplingRules(ctx *pulumi.Context, + name string, args *TraceTailSamplingRulesArgs, opts ...pulumi.ResourceOption) (*TraceTailSamplingRules, error) { + if args == nil { + args = &TraceTailSamplingRulesArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource TraceTailSamplingRules + err := ctx.RegisterResource("chronosphere:index/traceTailSamplingRules:TraceTailSamplingRules", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetTraceTailSamplingRules gets an existing TraceTailSamplingRules resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetTraceTailSamplingRules(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *TraceTailSamplingRulesState, opts ...pulumi.ResourceOption) (*TraceTailSamplingRules, error) { + var resource TraceTailSamplingRules + err := ctx.ReadResource("chronosphere:index/traceTailSamplingRules:TraceTailSamplingRules", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering TraceTailSamplingRules resources. +type traceTailSamplingRulesState struct { + DefaultSampleRate *TraceTailSamplingRulesDefaultSampleRate `pulumi:"defaultSampleRate"` + Rules []TraceTailSamplingRulesRule `pulumi:"rules"` +} + +type TraceTailSamplingRulesState struct { + DefaultSampleRate TraceTailSamplingRulesDefaultSampleRatePtrInput + Rules TraceTailSamplingRulesRuleArrayInput +} + +func (TraceTailSamplingRulesState) ElementType() reflect.Type { + return reflect.TypeOf((*traceTailSamplingRulesState)(nil)).Elem() +} + +type traceTailSamplingRulesArgs struct { + DefaultSampleRate *TraceTailSamplingRulesDefaultSampleRate `pulumi:"defaultSampleRate"` + Rules []TraceTailSamplingRulesRule `pulumi:"rules"` +} + +// The set of arguments for constructing a TraceTailSamplingRules resource. +type TraceTailSamplingRulesArgs struct { + DefaultSampleRate TraceTailSamplingRulesDefaultSampleRatePtrInput + Rules TraceTailSamplingRulesRuleArrayInput +} + +func (TraceTailSamplingRulesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*traceTailSamplingRulesArgs)(nil)).Elem() +} + +type TraceTailSamplingRulesInput interface { + pulumi.Input + + ToTraceTailSamplingRulesOutput() TraceTailSamplingRulesOutput + ToTraceTailSamplingRulesOutputWithContext(ctx context.Context) TraceTailSamplingRulesOutput +} + +func (*TraceTailSamplingRules) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRules)(nil)).Elem() +} + +func (i *TraceTailSamplingRules) ToTraceTailSamplingRulesOutput() TraceTailSamplingRulesOutput { + return i.ToTraceTailSamplingRulesOutputWithContext(context.Background()) +} + +func (i *TraceTailSamplingRules) ToTraceTailSamplingRulesOutputWithContext(ctx context.Context) TraceTailSamplingRulesOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesOutput) +} + +// TraceTailSamplingRulesArrayInput is an input type that accepts TraceTailSamplingRulesArray and TraceTailSamplingRulesArrayOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesArrayInput` via: +// +// TraceTailSamplingRulesArray{ TraceTailSamplingRulesArgs{...} } +type TraceTailSamplingRulesArrayInput interface { + pulumi.Input + + ToTraceTailSamplingRulesArrayOutput() TraceTailSamplingRulesArrayOutput + ToTraceTailSamplingRulesArrayOutputWithContext(context.Context) TraceTailSamplingRulesArrayOutput +} + +type TraceTailSamplingRulesArray []TraceTailSamplingRulesInput + +func (TraceTailSamplingRulesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*TraceTailSamplingRules)(nil)).Elem() +} + +func (i TraceTailSamplingRulesArray) ToTraceTailSamplingRulesArrayOutput() TraceTailSamplingRulesArrayOutput { + return i.ToTraceTailSamplingRulesArrayOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesArray) ToTraceTailSamplingRulesArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesArrayOutput) +} + +// TraceTailSamplingRulesMapInput is an input type that accepts TraceTailSamplingRulesMap and TraceTailSamplingRulesMapOutput values. +// You can construct a concrete instance of `TraceTailSamplingRulesMapInput` via: +// +// TraceTailSamplingRulesMap{ "key": TraceTailSamplingRulesArgs{...} } +type TraceTailSamplingRulesMapInput interface { + pulumi.Input + + ToTraceTailSamplingRulesMapOutput() TraceTailSamplingRulesMapOutput + ToTraceTailSamplingRulesMapOutputWithContext(context.Context) TraceTailSamplingRulesMapOutput +} + +type TraceTailSamplingRulesMap map[string]TraceTailSamplingRulesInput + +func (TraceTailSamplingRulesMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*TraceTailSamplingRules)(nil)).Elem() +} + +func (i TraceTailSamplingRulesMap) ToTraceTailSamplingRulesMapOutput() TraceTailSamplingRulesMapOutput { + return i.ToTraceTailSamplingRulesMapOutputWithContext(context.Background()) +} + +func (i TraceTailSamplingRulesMap) ToTraceTailSamplingRulesMapOutputWithContext(ctx context.Context) TraceTailSamplingRulesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(TraceTailSamplingRulesMapOutput) +} + +type TraceTailSamplingRulesOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TraceTailSamplingRules)(nil)).Elem() +} + +func (o TraceTailSamplingRulesOutput) ToTraceTailSamplingRulesOutput() TraceTailSamplingRulesOutput { + return o +} + +func (o TraceTailSamplingRulesOutput) ToTraceTailSamplingRulesOutputWithContext(ctx context.Context) TraceTailSamplingRulesOutput { + return o +} + +func (o TraceTailSamplingRulesOutput) DefaultSampleRate() TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return o.ApplyT(func(v *TraceTailSamplingRules) TraceTailSamplingRulesDefaultSampleRatePtrOutput { + return v.DefaultSampleRate + }).(TraceTailSamplingRulesDefaultSampleRatePtrOutput) +} + +func (o TraceTailSamplingRulesOutput) Rules() TraceTailSamplingRulesRuleArrayOutput { + return o.ApplyT(func(v *TraceTailSamplingRules) TraceTailSamplingRulesRuleArrayOutput { return v.Rules }).(TraceTailSamplingRulesRuleArrayOutput) +} + +type TraceTailSamplingRulesArrayOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*TraceTailSamplingRules)(nil)).Elem() +} + +func (o TraceTailSamplingRulesArrayOutput) ToTraceTailSamplingRulesArrayOutput() TraceTailSamplingRulesArrayOutput { + return o +} + +func (o TraceTailSamplingRulesArrayOutput) ToTraceTailSamplingRulesArrayOutputWithContext(ctx context.Context) TraceTailSamplingRulesArrayOutput { + return o +} + +func (o TraceTailSamplingRulesArrayOutput) Index(i pulumi.IntInput) TraceTailSamplingRulesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *TraceTailSamplingRules { + return vs[0].([]*TraceTailSamplingRules)[vs[1].(int)] + }).(TraceTailSamplingRulesOutput) +} + +type TraceTailSamplingRulesMapOutput struct{ *pulumi.OutputState } + +func (TraceTailSamplingRulesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*TraceTailSamplingRules)(nil)).Elem() +} + +func (o TraceTailSamplingRulesMapOutput) ToTraceTailSamplingRulesMapOutput() TraceTailSamplingRulesMapOutput { + return o +} + +func (o TraceTailSamplingRulesMapOutput) ToTraceTailSamplingRulesMapOutputWithContext(ctx context.Context) TraceTailSamplingRulesMapOutput { + return o +} + +func (o TraceTailSamplingRulesMapOutput) MapIndex(k pulumi.StringInput) TraceTailSamplingRulesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *TraceTailSamplingRules { + return vs[0].(map[string]*TraceTailSamplingRules)[vs[1].(string)] + }).(TraceTailSamplingRulesOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesInput)(nil)).Elem(), &TraceTailSamplingRules{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesArrayInput)(nil)).Elem(), TraceTailSamplingRulesArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TraceTailSamplingRulesMapInput)(nil)).Elem(), TraceTailSamplingRulesMap{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesArrayOutput{}) + pulumi.RegisterOutputType(TraceTailSamplingRulesMapOutput{}) +} diff --git a/sdk/go/chronosphere/victoropsAlertNotifier.go b/sdk/go/chronosphere/victoropsAlertNotifier.go new file mode 100644 index 00000000..18983377 --- /dev/null +++ b/sdk/go/chronosphere/victoropsAlertNotifier.go @@ -0,0 +1,364 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type VictoropsAlertNotifier struct { + pulumi.CustomResourceState + + ApiKey pulumi.StringOutput `pulumi:"apiKey"` + ApiUrl pulumi.StringPtrOutput `pulumi:"apiUrl"` + BasicAuthPassword pulumi.StringPtrOutput `pulumi:"basicAuthPassword"` + BasicAuthUsername pulumi.StringPtrOutput `pulumi:"basicAuthUsername"` + BearerToken pulumi.StringPtrOutput `pulumi:"bearerToken"` + CustomFields pulumi.StringMapOutput `pulumi:"customFields"` + EntityDisplayName pulumi.StringPtrOutput `pulumi:"entityDisplayName"` + MessageType pulumi.StringPtrOutput `pulumi:"messageType"` + MonitoringTool pulumi.StringPtrOutput `pulumi:"monitoringTool"` + Name pulumi.StringOutput `pulumi:"name"` + ProxyUrl pulumi.StringPtrOutput `pulumi:"proxyUrl"` + RoutingKey pulumi.StringOutput `pulumi:"routingKey"` + SendResolved pulumi.BoolPtrOutput `pulumi:"sendResolved"` + Slug pulumi.StringOutput `pulumi:"slug"` + StateMessage pulumi.StringPtrOutput `pulumi:"stateMessage"` + TlsInsecureSkipVerify pulumi.BoolPtrOutput `pulumi:"tlsInsecureSkipVerify"` +} + +// NewVictoropsAlertNotifier registers a new resource with the given unique name, arguments, and options. +func NewVictoropsAlertNotifier(ctx *pulumi.Context, + name string, args *VictoropsAlertNotifierArgs, opts ...pulumi.ResourceOption) (*VictoropsAlertNotifier, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ApiKey == nil { + return nil, errors.New("invalid value for required argument 'ApiKey'") + } + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.RoutingKey == nil { + return nil, errors.New("invalid value for required argument 'RoutingKey'") + } + if args.ApiKey != nil { + args.ApiKey = pulumi.ToSecret(args.ApiKey).(pulumi.StringInput) + } + if args.BasicAuthPassword != nil { + args.BasicAuthPassword = pulumi.ToSecret(args.BasicAuthPassword).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "apiKey", + "basicAuthPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource VictoropsAlertNotifier + err := ctx.RegisterResource("chronosphere:index/victoropsAlertNotifier:VictoropsAlertNotifier", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVictoropsAlertNotifier gets an existing VictoropsAlertNotifier resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVictoropsAlertNotifier(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VictoropsAlertNotifierState, opts ...pulumi.ResourceOption) (*VictoropsAlertNotifier, error) { + var resource VictoropsAlertNotifier + err := ctx.ReadResource("chronosphere:index/victoropsAlertNotifier:VictoropsAlertNotifier", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VictoropsAlertNotifier resources. +type victoropsAlertNotifierState struct { + ApiKey *string `pulumi:"apiKey"` + ApiUrl *string `pulumi:"apiUrl"` + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + CustomFields map[string]string `pulumi:"customFields"` + EntityDisplayName *string `pulumi:"entityDisplayName"` + MessageType *string `pulumi:"messageType"` + MonitoringTool *string `pulumi:"monitoringTool"` + Name *string `pulumi:"name"` + ProxyUrl *string `pulumi:"proxyUrl"` + RoutingKey *string `pulumi:"routingKey"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + StateMessage *string `pulumi:"stateMessage"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` +} + +type VictoropsAlertNotifierState struct { + ApiKey pulumi.StringPtrInput + ApiUrl pulumi.StringPtrInput + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + CustomFields pulumi.StringMapInput + EntityDisplayName pulumi.StringPtrInput + MessageType pulumi.StringPtrInput + MonitoringTool pulumi.StringPtrInput + Name pulumi.StringPtrInput + ProxyUrl pulumi.StringPtrInput + RoutingKey pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + StateMessage pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput +} + +func (VictoropsAlertNotifierState) ElementType() reflect.Type { + return reflect.TypeOf((*victoropsAlertNotifierState)(nil)).Elem() +} + +type victoropsAlertNotifierArgs struct { + ApiKey string `pulumi:"apiKey"` + ApiUrl *string `pulumi:"apiUrl"` + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + CustomFields map[string]string `pulumi:"customFields"` + EntityDisplayName *string `pulumi:"entityDisplayName"` + MessageType *string `pulumi:"messageType"` + MonitoringTool *string `pulumi:"monitoringTool"` + Name string `pulumi:"name"` + ProxyUrl *string `pulumi:"proxyUrl"` + RoutingKey string `pulumi:"routingKey"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + StateMessage *string `pulumi:"stateMessage"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` +} + +// The set of arguments for constructing a VictoropsAlertNotifier resource. +type VictoropsAlertNotifierArgs struct { + ApiKey pulumi.StringInput + ApiUrl pulumi.StringPtrInput + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + CustomFields pulumi.StringMapInput + EntityDisplayName pulumi.StringPtrInput + MessageType pulumi.StringPtrInput + MonitoringTool pulumi.StringPtrInput + Name pulumi.StringInput + ProxyUrl pulumi.StringPtrInput + RoutingKey pulumi.StringInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + StateMessage pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput +} + +func (VictoropsAlertNotifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*victoropsAlertNotifierArgs)(nil)).Elem() +} + +type VictoropsAlertNotifierInput interface { + pulumi.Input + + ToVictoropsAlertNotifierOutput() VictoropsAlertNotifierOutput + ToVictoropsAlertNotifierOutputWithContext(ctx context.Context) VictoropsAlertNotifierOutput +} + +func (*VictoropsAlertNotifier) ElementType() reflect.Type { + return reflect.TypeOf((**VictoropsAlertNotifier)(nil)).Elem() +} + +func (i *VictoropsAlertNotifier) ToVictoropsAlertNotifierOutput() VictoropsAlertNotifierOutput { + return i.ToVictoropsAlertNotifierOutputWithContext(context.Background()) +} + +func (i *VictoropsAlertNotifier) ToVictoropsAlertNotifierOutputWithContext(ctx context.Context) VictoropsAlertNotifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(VictoropsAlertNotifierOutput) +} + +// VictoropsAlertNotifierArrayInput is an input type that accepts VictoropsAlertNotifierArray and VictoropsAlertNotifierArrayOutput values. +// You can construct a concrete instance of `VictoropsAlertNotifierArrayInput` via: +// +// VictoropsAlertNotifierArray{ VictoropsAlertNotifierArgs{...} } +type VictoropsAlertNotifierArrayInput interface { + pulumi.Input + + ToVictoropsAlertNotifierArrayOutput() VictoropsAlertNotifierArrayOutput + ToVictoropsAlertNotifierArrayOutputWithContext(context.Context) VictoropsAlertNotifierArrayOutput +} + +type VictoropsAlertNotifierArray []VictoropsAlertNotifierInput + +func (VictoropsAlertNotifierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VictoropsAlertNotifier)(nil)).Elem() +} + +func (i VictoropsAlertNotifierArray) ToVictoropsAlertNotifierArrayOutput() VictoropsAlertNotifierArrayOutput { + return i.ToVictoropsAlertNotifierArrayOutputWithContext(context.Background()) +} + +func (i VictoropsAlertNotifierArray) ToVictoropsAlertNotifierArrayOutputWithContext(ctx context.Context) VictoropsAlertNotifierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VictoropsAlertNotifierArrayOutput) +} + +// VictoropsAlertNotifierMapInput is an input type that accepts VictoropsAlertNotifierMap and VictoropsAlertNotifierMapOutput values. +// You can construct a concrete instance of `VictoropsAlertNotifierMapInput` via: +// +// VictoropsAlertNotifierMap{ "key": VictoropsAlertNotifierArgs{...} } +type VictoropsAlertNotifierMapInput interface { + pulumi.Input + + ToVictoropsAlertNotifierMapOutput() VictoropsAlertNotifierMapOutput + ToVictoropsAlertNotifierMapOutputWithContext(context.Context) VictoropsAlertNotifierMapOutput +} + +type VictoropsAlertNotifierMap map[string]VictoropsAlertNotifierInput + +func (VictoropsAlertNotifierMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VictoropsAlertNotifier)(nil)).Elem() +} + +func (i VictoropsAlertNotifierMap) ToVictoropsAlertNotifierMapOutput() VictoropsAlertNotifierMapOutput { + return i.ToVictoropsAlertNotifierMapOutputWithContext(context.Background()) +} + +func (i VictoropsAlertNotifierMap) ToVictoropsAlertNotifierMapOutputWithContext(ctx context.Context) VictoropsAlertNotifierMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(VictoropsAlertNotifierMapOutput) +} + +type VictoropsAlertNotifierOutput struct{ *pulumi.OutputState } + +func (VictoropsAlertNotifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VictoropsAlertNotifier)(nil)).Elem() +} + +func (o VictoropsAlertNotifierOutput) ToVictoropsAlertNotifierOutput() VictoropsAlertNotifierOutput { + return o +} + +func (o VictoropsAlertNotifierOutput) ToVictoropsAlertNotifierOutputWithContext(ctx context.Context) VictoropsAlertNotifierOutput { + return o +} + +func (o VictoropsAlertNotifierOutput) ApiKey() pulumi.StringOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringOutput { return v.ApiKey }).(pulumi.StringOutput) +} + +func (o VictoropsAlertNotifierOutput) ApiUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.ApiUrl }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) BasicAuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthPassword }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) BasicAuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthUsername }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) BearerToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.BearerToken }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) CustomFields() pulumi.StringMapOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringMapOutput { return v.CustomFields }).(pulumi.StringMapOutput) +} + +func (o VictoropsAlertNotifierOutput) EntityDisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.EntityDisplayName }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) MessageType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.MessageType }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) MonitoringTool() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.MonitoringTool }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o VictoropsAlertNotifierOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) RoutingKey() pulumi.StringOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringOutput { return v.RoutingKey }).(pulumi.StringOutput) +} + +func (o VictoropsAlertNotifierOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.BoolPtrOutput { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o VictoropsAlertNotifierOutput) StateMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.StringPtrOutput { return v.StateMessage }).(pulumi.StringPtrOutput) +} + +func (o VictoropsAlertNotifierOutput) TlsInsecureSkipVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *VictoropsAlertNotifier) pulumi.BoolPtrOutput { return v.TlsInsecureSkipVerify }).(pulumi.BoolPtrOutput) +} + +type VictoropsAlertNotifierArrayOutput struct{ *pulumi.OutputState } + +func (VictoropsAlertNotifierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VictoropsAlertNotifier)(nil)).Elem() +} + +func (o VictoropsAlertNotifierArrayOutput) ToVictoropsAlertNotifierArrayOutput() VictoropsAlertNotifierArrayOutput { + return o +} + +func (o VictoropsAlertNotifierArrayOutput) ToVictoropsAlertNotifierArrayOutputWithContext(ctx context.Context) VictoropsAlertNotifierArrayOutput { + return o +} + +func (o VictoropsAlertNotifierArrayOutput) Index(i pulumi.IntInput) VictoropsAlertNotifierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VictoropsAlertNotifier { + return vs[0].([]*VictoropsAlertNotifier)[vs[1].(int)] + }).(VictoropsAlertNotifierOutput) +} + +type VictoropsAlertNotifierMapOutput struct{ *pulumi.OutputState } + +func (VictoropsAlertNotifierMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VictoropsAlertNotifier)(nil)).Elem() +} + +func (o VictoropsAlertNotifierMapOutput) ToVictoropsAlertNotifierMapOutput() VictoropsAlertNotifierMapOutput { + return o +} + +func (o VictoropsAlertNotifierMapOutput) ToVictoropsAlertNotifierMapOutputWithContext(ctx context.Context) VictoropsAlertNotifierMapOutput { + return o +} + +func (o VictoropsAlertNotifierMapOutput) MapIndex(k pulumi.StringInput) VictoropsAlertNotifierOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VictoropsAlertNotifier { + return vs[0].(map[string]*VictoropsAlertNotifier)[vs[1].(string)] + }).(VictoropsAlertNotifierOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VictoropsAlertNotifierInput)(nil)).Elem(), &VictoropsAlertNotifier{}) + pulumi.RegisterInputType(reflect.TypeOf((*VictoropsAlertNotifierArrayInput)(nil)).Elem(), VictoropsAlertNotifierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VictoropsAlertNotifierMapInput)(nil)).Elem(), VictoropsAlertNotifierMap{}) + pulumi.RegisterOutputType(VictoropsAlertNotifierOutput{}) + pulumi.RegisterOutputType(VictoropsAlertNotifierArrayOutput{}) + pulumi.RegisterOutputType(VictoropsAlertNotifierMapOutput{}) +} diff --git a/sdk/go/chronosphere/webhookAlertNotifier.go b/sdk/go/chronosphere/webhookAlertNotifier.go new file mode 100644 index 00000000..3cb2aa98 --- /dev/null +++ b/sdk/go/chronosphere/webhookAlertNotifier.go @@ -0,0 +1,294 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package chronosphere + +import ( + "context" + "reflect" + + "errors" + "github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type WebhookAlertNotifier struct { + pulumi.CustomResourceState + + BasicAuthPassword pulumi.StringPtrOutput `pulumi:"basicAuthPassword"` + BasicAuthUsername pulumi.StringPtrOutput `pulumi:"basicAuthUsername"` + BearerToken pulumi.StringPtrOutput `pulumi:"bearerToken"` + Name pulumi.StringOutput `pulumi:"name"` + ProxyUrl pulumi.StringPtrOutput `pulumi:"proxyUrl"` + SendResolved pulumi.BoolPtrOutput `pulumi:"sendResolved"` + Slug pulumi.StringOutput `pulumi:"slug"` + TlsInsecureSkipVerify pulumi.BoolPtrOutput `pulumi:"tlsInsecureSkipVerify"` + Url pulumi.StringOutput `pulumi:"url"` +} + +// NewWebhookAlertNotifier registers a new resource with the given unique name, arguments, and options. +func NewWebhookAlertNotifier(ctx *pulumi.Context, + name string, args *WebhookAlertNotifierArgs, opts ...pulumi.ResourceOption) (*WebhookAlertNotifier, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Name == nil { + return nil, errors.New("invalid value for required argument 'Name'") + } + if args.Url == nil { + return nil, errors.New("invalid value for required argument 'Url'") + } + if args.BasicAuthPassword != nil { + args.BasicAuthPassword = pulumi.ToSecret(args.BasicAuthPassword).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "basicAuthPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource WebhookAlertNotifier + err := ctx.RegisterResource("chronosphere:index/webhookAlertNotifier:WebhookAlertNotifier", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetWebhookAlertNotifier gets an existing WebhookAlertNotifier resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetWebhookAlertNotifier(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *WebhookAlertNotifierState, opts ...pulumi.ResourceOption) (*WebhookAlertNotifier, error) { + var resource WebhookAlertNotifier + err := ctx.ReadResource("chronosphere:index/webhookAlertNotifier:WebhookAlertNotifier", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering WebhookAlertNotifier resources. +type webhookAlertNotifierState struct { + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + Name *string `pulumi:"name"` + ProxyUrl *string `pulumi:"proxyUrl"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` + Url *string `pulumi:"url"` +} + +type WebhookAlertNotifierState struct { + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + Name pulumi.StringPtrInput + ProxyUrl pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput + Url pulumi.StringPtrInput +} + +func (WebhookAlertNotifierState) ElementType() reflect.Type { + return reflect.TypeOf((*webhookAlertNotifierState)(nil)).Elem() +} + +type webhookAlertNotifierArgs struct { + BasicAuthPassword *string `pulumi:"basicAuthPassword"` + BasicAuthUsername *string `pulumi:"basicAuthUsername"` + BearerToken *string `pulumi:"bearerToken"` + Name string `pulumi:"name"` + ProxyUrl *string `pulumi:"proxyUrl"` + SendResolved *bool `pulumi:"sendResolved"` + Slug *string `pulumi:"slug"` + TlsInsecureSkipVerify *bool `pulumi:"tlsInsecureSkipVerify"` + Url string `pulumi:"url"` +} + +// The set of arguments for constructing a WebhookAlertNotifier resource. +type WebhookAlertNotifierArgs struct { + BasicAuthPassword pulumi.StringPtrInput + BasicAuthUsername pulumi.StringPtrInput + BearerToken pulumi.StringPtrInput + Name pulumi.StringInput + ProxyUrl pulumi.StringPtrInput + SendResolved pulumi.BoolPtrInput + Slug pulumi.StringPtrInput + TlsInsecureSkipVerify pulumi.BoolPtrInput + Url pulumi.StringInput +} + +func (WebhookAlertNotifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*webhookAlertNotifierArgs)(nil)).Elem() +} + +type WebhookAlertNotifierInput interface { + pulumi.Input + + ToWebhookAlertNotifierOutput() WebhookAlertNotifierOutput + ToWebhookAlertNotifierOutputWithContext(ctx context.Context) WebhookAlertNotifierOutput +} + +func (*WebhookAlertNotifier) ElementType() reflect.Type { + return reflect.TypeOf((**WebhookAlertNotifier)(nil)).Elem() +} + +func (i *WebhookAlertNotifier) ToWebhookAlertNotifierOutput() WebhookAlertNotifierOutput { + return i.ToWebhookAlertNotifierOutputWithContext(context.Background()) +} + +func (i *WebhookAlertNotifier) ToWebhookAlertNotifierOutputWithContext(ctx context.Context) WebhookAlertNotifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebhookAlertNotifierOutput) +} + +// WebhookAlertNotifierArrayInput is an input type that accepts WebhookAlertNotifierArray and WebhookAlertNotifierArrayOutput values. +// You can construct a concrete instance of `WebhookAlertNotifierArrayInput` via: +// +// WebhookAlertNotifierArray{ WebhookAlertNotifierArgs{...} } +type WebhookAlertNotifierArrayInput interface { + pulumi.Input + + ToWebhookAlertNotifierArrayOutput() WebhookAlertNotifierArrayOutput + ToWebhookAlertNotifierArrayOutputWithContext(context.Context) WebhookAlertNotifierArrayOutput +} + +type WebhookAlertNotifierArray []WebhookAlertNotifierInput + +func (WebhookAlertNotifierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*WebhookAlertNotifier)(nil)).Elem() +} + +func (i WebhookAlertNotifierArray) ToWebhookAlertNotifierArrayOutput() WebhookAlertNotifierArrayOutput { + return i.ToWebhookAlertNotifierArrayOutputWithContext(context.Background()) +} + +func (i WebhookAlertNotifierArray) ToWebhookAlertNotifierArrayOutputWithContext(ctx context.Context) WebhookAlertNotifierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebhookAlertNotifierArrayOutput) +} + +// WebhookAlertNotifierMapInput is an input type that accepts WebhookAlertNotifierMap and WebhookAlertNotifierMapOutput values. +// You can construct a concrete instance of `WebhookAlertNotifierMapInput` via: +// +// WebhookAlertNotifierMap{ "key": WebhookAlertNotifierArgs{...} } +type WebhookAlertNotifierMapInput interface { + pulumi.Input + + ToWebhookAlertNotifierMapOutput() WebhookAlertNotifierMapOutput + ToWebhookAlertNotifierMapOutputWithContext(context.Context) WebhookAlertNotifierMapOutput +} + +type WebhookAlertNotifierMap map[string]WebhookAlertNotifierInput + +func (WebhookAlertNotifierMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*WebhookAlertNotifier)(nil)).Elem() +} + +func (i WebhookAlertNotifierMap) ToWebhookAlertNotifierMapOutput() WebhookAlertNotifierMapOutput { + return i.ToWebhookAlertNotifierMapOutputWithContext(context.Background()) +} + +func (i WebhookAlertNotifierMap) ToWebhookAlertNotifierMapOutputWithContext(ctx context.Context) WebhookAlertNotifierMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebhookAlertNotifierMapOutput) +} + +type WebhookAlertNotifierOutput struct{ *pulumi.OutputState } + +func (WebhookAlertNotifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WebhookAlertNotifier)(nil)).Elem() +} + +func (o WebhookAlertNotifierOutput) ToWebhookAlertNotifierOutput() WebhookAlertNotifierOutput { + return o +} + +func (o WebhookAlertNotifierOutput) ToWebhookAlertNotifierOutputWithContext(ctx context.Context) WebhookAlertNotifierOutput { + return o +} + +func (o WebhookAlertNotifierOutput) BasicAuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthPassword }).(pulumi.StringPtrOutput) +} + +func (o WebhookAlertNotifierOutput) BasicAuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.StringPtrOutput { return v.BasicAuthUsername }).(pulumi.StringPtrOutput) +} + +func (o WebhookAlertNotifierOutput) BearerToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.StringPtrOutput { return v.BearerToken }).(pulumi.StringPtrOutput) +} + +func (o WebhookAlertNotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o WebhookAlertNotifierOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.StringPtrOutput { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o WebhookAlertNotifierOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.BoolPtrOutput { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + +func (o WebhookAlertNotifierOutput) Slug() pulumi.StringOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.StringOutput { return v.Slug }).(pulumi.StringOutput) +} + +func (o WebhookAlertNotifierOutput) TlsInsecureSkipVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.BoolPtrOutput { return v.TlsInsecureSkipVerify }).(pulumi.BoolPtrOutput) +} + +func (o WebhookAlertNotifierOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *WebhookAlertNotifier) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +type WebhookAlertNotifierArrayOutput struct{ *pulumi.OutputState } + +func (WebhookAlertNotifierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*WebhookAlertNotifier)(nil)).Elem() +} + +func (o WebhookAlertNotifierArrayOutput) ToWebhookAlertNotifierArrayOutput() WebhookAlertNotifierArrayOutput { + return o +} + +func (o WebhookAlertNotifierArrayOutput) ToWebhookAlertNotifierArrayOutputWithContext(ctx context.Context) WebhookAlertNotifierArrayOutput { + return o +} + +func (o WebhookAlertNotifierArrayOutput) Index(i pulumi.IntInput) WebhookAlertNotifierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *WebhookAlertNotifier { + return vs[0].([]*WebhookAlertNotifier)[vs[1].(int)] + }).(WebhookAlertNotifierOutput) +} + +type WebhookAlertNotifierMapOutput struct{ *pulumi.OutputState } + +func (WebhookAlertNotifierMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*WebhookAlertNotifier)(nil)).Elem() +} + +func (o WebhookAlertNotifierMapOutput) ToWebhookAlertNotifierMapOutput() WebhookAlertNotifierMapOutput { + return o +} + +func (o WebhookAlertNotifierMapOutput) ToWebhookAlertNotifierMapOutputWithContext(ctx context.Context) WebhookAlertNotifierMapOutput { + return o +} + +func (o WebhookAlertNotifierMapOutput) MapIndex(k pulumi.StringInput) WebhookAlertNotifierOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *WebhookAlertNotifier { + return vs[0].(map[string]*WebhookAlertNotifier)[vs[1].(string)] + }).(WebhookAlertNotifierOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*WebhookAlertNotifierInput)(nil)).Elem(), &WebhookAlertNotifier{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebhookAlertNotifierArrayInput)(nil)).Elem(), WebhookAlertNotifierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebhookAlertNotifierMapInput)(nil)).Elem(), WebhookAlertNotifierMap{}) + pulumi.RegisterOutputType(WebhookAlertNotifierOutput{}) + pulumi.RegisterOutputType(WebhookAlertNotifierArrayOutput{}) + pulumi.RegisterOutputType(WebhookAlertNotifierMapOutput{}) +} diff --git a/sdk/java/.gradle/8.1.1/checksums/checksums.lock b/sdk/java/.gradle/8.1.1/checksums/checksums.lock deleted file mode 100644 index f35443c2..00000000 Binary files a/sdk/java/.gradle/8.1.1/checksums/checksums.lock and /dev/null differ diff --git a/sdk/java/.gradle/8.1.1/checksums/md5-checksums.bin b/sdk/java/.gradle/8.1.1/checksums/md5-checksums.bin deleted file mode 100644 index d98a5f67..00000000 Binary files a/sdk/java/.gradle/8.1.1/checksums/md5-checksums.bin and /dev/null differ diff --git a/sdk/java/.gradle/8.1.1/checksums/sha1-checksums.bin b/sdk/java/.gradle/8.1.1/checksums/sha1-checksums.bin deleted file mode 100644 index 1de706a1..00000000 Binary files a/sdk/java/.gradle/8.1.1/checksums/sha1-checksums.bin and /dev/null differ diff --git a/sdk/java/.gradle/8.1.1/dependencies-accessors/dependencies-accessors.lock b/sdk/java/.gradle/8.1.1/dependencies-accessors/dependencies-accessors.lock deleted file mode 100644 index afefa06d..00000000 Binary files a/sdk/java/.gradle/8.1.1/dependencies-accessors/dependencies-accessors.lock and /dev/null differ diff --git a/sdk/java/.gradle/8.1.1/executionHistory/executionHistory.lock b/sdk/java/.gradle/8.1.1/executionHistory/executionHistory.lock deleted file mode 100644 index 8357668f..00000000 Binary files a/sdk/java/.gradle/8.1.1/executionHistory/executionHistory.lock and /dev/null differ diff --git a/sdk/java/.gradle/8.1.1/fileChanges/last-build.bin b/sdk/java/.gradle/8.1.1/fileChanges/last-build.bin deleted file mode 100644 index f76dd238..00000000 Binary files a/sdk/java/.gradle/8.1.1/fileChanges/last-build.bin and /dev/null differ diff --git a/sdk/java/.gradle/8.1.1/fileHashes/fileHashes.lock b/sdk/java/.gradle/8.1.1/fileHashes/fileHashes.lock deleted file mode 100644 index f3e89891..00000000 Binary files a/sdk/java/.gradle/8.1.1/fileHashes/fileHashes.lock and /dev/null differ diff --git a/sdk/java/.gradle/8.7/checksums/checksums.lock b/sdk/java/.gradle/8.7/checksums/checksums.lock deleted file mode 100644 index 9729ef89..00000000 Binary files a/sdk/java/.gradle/8.7/checksums/checksums.lock and /dev/null differ diff --git a/sdk/java/.gradle/8.7/executionHistory/executionHistory.bin b/sdk/java/.gradle/8.7/executionHistory/executionHistory.bin deleted file mode 100644 index f142b986..00000000 Binary files a/sdk/java/.gradle/8.7/executionHistory/executionHistory.bin and /dev/null differ diff --git a/sdk/java/.gradle/8.7/executionHistory/executionHistory.lock b/sdk/java/.gradle/8.7/executionHistory/executionHistory.lock deleted file mode 100644 index 392c3374..00000000 Binary files a/sdk/java/.gradle/8.7/executionHistory/executionHistory.lock and /dev/null differ diff --git a/sdk/java/.gradle/8.7/fileChanges/last-build.bin b/sdk/java/.gradle/8.7/fileChanges/last-build.bin deleted file mode 100644 index f76dd238..00000000 Binary files a/sdk/java/.gradle/8.7/fileChanges/last-build.bin and /dev/null differ diff --git a/sdk/java/.gradle/8.7/fileHashes/fileHashes.bin b/sdk/java/.gradle/8.7/fileHashes/fileHashes.bin deleted file mode 100644 index 4c53dd2c..00000000 Binary files a/sdk/java/.gradle/8.7/fileHashes/fileHashes.bin and /dev/null differ diff --git a/sdk/java/.gradle/8.7/fileHashes/fileHashes.lock b/sdk/java/.gradle/8.7/fileHashes/fileHashes.lock deleted file mode 100644 index f509234a..00000000 Binary files a/sdk/java/.gradle/8.7/fileHashes/fileHashes.lock and /dev/null differ diff --git a/sdk/java/.gradle/8.7/fileHashes/resourceHashesCache.bin b/sdk/java/.gradle/8.7/fileHashes/resourceHashesCache.bin deleted file mode 100644 index e5b2a95e..00000000 Binary files a/sdk/java/.gradle/8.7/fileHashes/resourceHashesCache.bin and /dev/null differ diff --git a/sdk/java/.gradle/8.7/gc.properties b/sdk/java/.gradle/8.7/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/sdk/java/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/sdk/java/.gradle/buildOutputCleanup/buildOutputCleanup.lock deleted file mode 100644 index 022259f1..00000000 Binary files a/sdk/java/.gradle/buildOutputCleanup/buildOutputCleanup.lock and /dev/null differ diff --git a/sdk/java/.gradle/buildOutputCleanup/cache.properties b/sdk/java/.gradle/buildOutputCleanup/cache.properties deleted file mode 100644 index e6f5e656..00000000 --- a/sdk/java/.gradle/buildOutputCleanup/cache.properties +++ /dev/null @@ -1,2 +0,0 @@ -#Fri Apr 05 12:04:55 EDT 2024 -gradle.version=8.1.1 diff --git a/sdk/java/.gradle/vcs-1/gc.properties b/sdk/java/.gradle/vcs-1/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifier.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifier.class deleted file mode 100644 index 147a5593..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifier.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifierArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifierArgs$Builder.class deleted file mode 100644 index fc73af50..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifierArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifierArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifierArgs.class deleted file mode 100644 index 7e2c6034..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BlackholeAlertNotifierArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Bucket.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Bucket.class deleted file mode 100644 index f4075c03..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Bucket.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BucketArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BucketArgs$Builder.class deleted file mode 100644 index f5b14cff..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BucketArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BucketArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BucketArgs.class deleted file mode 100644 index 0d04ab84..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/BucketArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ChronosphereFunctions.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ChronosphereFunctions.class deleted file mode 100644 index 9955fecf..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ChronosphereFunctions.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboard.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboard.class deleted file mode 100644 index 9259e251..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboard.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboardArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboardArgs$Builder.class deleted file mode 100644 index 7c94fbb8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboardArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboardArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboardArgs.class deleted file mode 100644 index 08e12f41..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ClassicDashboardArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Collection.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Collection.class deleted file mode 100644 index 656c841d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Collection.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/CollectionArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/CollectionArgs$Builder.class deleted file mode 100644 index e21002f6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/CollectionArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/CollectionArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/CollectionArgs.class deleted file mode 100644 index 2c1c79d6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/CollectionArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Config.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Config.class deleted file mode 100644 index fa99158f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Config.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Dashboard.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Dashboard.class deleted file mode 100644 index 5237f274..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Dashboard.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DashboardArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DashboardArgs$Builder.class deleted file mode 100644 index 9b8f8db8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DashboardArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DashboardArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DashboardArgs.class deleted file mode 100644 index 051a9dd3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DashboardArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabel.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabel.class deleted file mode 100644 index 8ba43c79..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabel.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabelArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabelArgs$Builder.class deleted file mode 100644 index b46485d8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabelArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabelArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabelArgs.class deleted file mode 100644 index ab5da327..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedLabelArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetric.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetric.class deleted file mode 100644 index 9f1a7aae..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetric.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetricArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetricArgs$Builder.class deleted file mode 100644 index fdb6c05f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetricArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetricArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetricArgs.class deleted file mode 100644 index 7f64ecf6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DerivedMetricArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRule.class deleted file mode 100644 index c1d6d0d9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRuleArgs$Builder.class deleted file mode 100644 index 5cc56358..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRuleArgs.class deleted file mode 100644 index ae8edb45..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/DropRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifier.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifier.class deleted file mode 100644 index 19652b27..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifier.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifierArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifierArgs$Builder.class deleted file mode 100644 index 7be2eb39..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifierArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifierArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifierArgs.class deleted file mode 100644 index 15273806..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/EmailAlertNotifierArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegration.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegration.class deleted file mode 100644 index e94c6832..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegration.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegrationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegrationArgs$Builder.class deleted file mode 100644 index d36b5617..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegrationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegrationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegrationArgs.class deleted file mode 100644 index 332e99ef..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GcpMetricsIntegrationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboard.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboard.class deleted file mode 100644 index 83d3d8e6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboard.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboardArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboardArgs$Builder.class deleted file mode 100644 index 8170a9c3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboardArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboardArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboardArgs.class deleted file mode 100644 index 31693940..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/GrafanaDashboardArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRule.class deleted file mode 100644 index e4fd1c76..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRuleArgs$Builder.class deleted file mode 100644 index a1fbd027..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRuleArgs.class deleted file mode 100644 index d2723706..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MappingRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Monitor.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Monitor.class deleted file mode 100644 index 2f2cc77a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Monitor.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MonitorArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MonitorArgs$Builder.class deleted file mode 100644 index 82fd0f4b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MonitorArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MonitorArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MonitorArgs.class deleted file mode 100644 index a38b083b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/MonitorArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicy.class deleted file mode 100644 index 305a5967..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicyArgs$Builder.class deleted file mode 100644 index 83e49a52..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicyArgs.class deleted file mode 100644 index 76f0c17a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/NotificationPolicyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifier.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifier.class deleted file mode 100644 index 8be957ac..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifier.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifierArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifierArgs$Builder.class deleted file mode 100644 index 7df4744b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifierArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifierArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifierArgs.class deleted file mode 100644 index 873ad85c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/OpsgenieAlertNotifierArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifier.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifier.class deleted file mode 100644 index 4d87623a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifier.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifierArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifierArgs$Builder.class deleted file mode 100644 index 922fc2c7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifierArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifierArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifierArgs.class deleted file mode 100644 index 5ea3b580..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/PagerdutyAlertNotifierArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Provider.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Provider.class deleted file mode 100644 index 65f85227..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Provider.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ProviderArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ProviderArgs$Builder.class deleted file mode 100644 index 02fea434..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ProviderArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ProviderArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ProviderArgs.class deleted file mode 100644 index 10bc1af2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ProviderArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRule.class deleted file mode 100644 index 817f01de..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRuleArgs$Builder.class deleted file mode 100644 index d2fa9519..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRuleArgs.class deleted file mode 100644 index 9718897b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RecordingRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfig.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfig.class deleted file mode 100644 index 72eaa945..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfig.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfigArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfigArgs$Builder.class deleted file mode 100644 index 7c1bf8bd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfigArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfigArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfigArgs.class deleted file mode 100644 index 0863d5f7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ResourcePoolsConfigArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRule.class deleted file mode 100644 index 0db9193e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRuleArgs$Builder.class deleted file mode 100644 index 86bb943d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRuleArgs.class deleted file mode 100644 index 007f61a6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/RollupRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccount.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccount.class deleted file mode 100644 index 0e82b7af..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccount.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccountArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccountArgs$Builder.class deleted file mode 100644 index c08b00d4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccountArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccountArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccountArgs.class deleted file mode 100644 index 988688c2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/ServiceAccountArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifier.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifier.class deleted file mode 100644 index 0f47759d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifier.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifierArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifierArgs$Builder.class deleted file mode 100644 index 24d304ca..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifierArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifierArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifierArgs.class deleted file mode 100644 index 0950ae9b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/SlackAlertNotifierArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Team.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Team.class deleted file mode 100644 index 446b8262..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Team.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TeamArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TeamArgs$Builder.class deleted file mode 100644 index 71b5d44f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TeamArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TeamArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TeamArgs.class deleted file mode 100644 index c57403bd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TeamArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategy.class deleted file mode 100644 index 0b5f8e84..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategyArgs$Builder.class deleted file mode 100644 index 65285a27..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategyArgs.class deleted file mode 100644 index 49efdd55..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceJaegerRemoteSamplingStrategyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRule.class deleted file mode 100644 index 86ec6a81..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRuleArgs$Builder.class deleted file mode 100644 index e564bbe0..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRuleArgs.class deleted file mode 100644 index b3bddcec..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceMetricsRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRules.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRules.class deleted file mode 100644 index e392f615..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRules.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRulesArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRulesArgs$Builder.class deleted file mode 100644 index 37855b19..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRulesArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRulesArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRulesArgs.class deleted file mode 100644 index 4b047cdf..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/TraceTailSamplingRulesArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Utilities.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Utilities.class deleted file mode 100644 index ebccc105..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/Utilities.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifier.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifier.class deleted file mode 100644 index c86c3b90..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifier.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifierArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifierArgs$Builder.class deleted file mode 100644 index 7bd899f5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifierArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifierArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifierArgs.class deleted file mode 100644 index 7a752d2b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/VictoropsAlertNotifierArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifier.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifier.class deleted file mode 100644 index 2414cc32..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifier.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifierArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifierArgs$Builder.class deleted file mode 100644 index 8fdd0149..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifierArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifierArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifierArgs.class deleted file mode 100644 index 0981657e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/WebhookAlertNotifierArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BlackholeAlertNotifierState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BlackholeAlertNotifierState$Builder.class deleted file mode 100644 index 07f44a94..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BlackholeAlertNotifierState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BlackholeAlertNotifierState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BlackholeAlertNotifierState.class deleted file mode 100644 index 77c2a63c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BlackholeAlertNotifierState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourceArgs$Builder.class deleted file mode 100644 index fa69f93a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourceArgs.class deleted file mode 100644 index e4e16f41..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourcePlainArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourcePlainArgs$Builder.class deleted file mode 100644 index f6e7904a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourcePlainArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourcePlainArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourcePlainArgs.class deleted file mode 100644 index b0e27ee8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketDataSourcePlainArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketState$Builder.class deleted file mode 100644 index 0c2411c3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketState.class deleted file mode 100644 index 4629f3ea..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/BucketState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ClassicDashboardState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ClassicDashboardState$Builder.class deleted file mode 100644 index 5431df0e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ClassicDashboardState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ClassicDashboardState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ClassicDashboardState.class deleted file mode 100644 index 67f2c1c1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ClassicDashboardState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/CollectionState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/CollectionState$Builder.class deleted file mode 100644 index 688ef036..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/CollectionState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/CollectionState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/CollectionState.class deleted file mode 100644 index b34ef5bd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/CollectionState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DashboardState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DashboardState$Builder.class deleted file mode 100644 index 514e3d1a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DashboardState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DashboardState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DashboardState.class deleted file mode 100644 index aa8f8173..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DashboardState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelArgs$Builder.class deleted file mode 100644 index ae0e4d41..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelArgs.class deleted file mode 100644 index fbb79f41..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelArgs$Builder.class deleted file mode 100644 index 82fed9d3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelArgs.class deleted file mode 100644 index fa3731b4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs$Builder.class deleted file mode 100644 index 3c993f6a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs.class deleted file mode 100644 index 8e9dddfb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs$Builder.class deleted file mode 100644 index 635aeece..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs.class deleted file mode 100644 index 95e94ab2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelArgs$Builder.class deleted file mode 100644 index 8d989d62..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelArgs.class deleted file mode 100644 index ba645a27..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingArgs$Builder.class deleted file mode 100644 index 724982ef..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingArgs.class deleted file mode 100644 index cc0c4401..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs$Builder.class deleted file mode 100644 index b5428943..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs.class deleted file mode 100644 index b129decd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs$Builder.class deleted file mode 100644 index fe88e503..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs.class deleted file mode 100644 index c2cc0695..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelValueMappingArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelValueMappingArgs$Builder.class deleted file mode 100644 index 6e808036..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelValueMappingArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelValueMappingArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelValueMappingArgs.class deleted file mode 100644 index fb25cc4b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelMetricLabelMappingLabelValueMappingArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelState$Builder.class deleted file mode 100644 index f317e4c6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelState.class deleted file mode 100644 index 40753147..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedLabelState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryArgs$Builder.class deleted file mode 100644 index eec7b5a2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryArgs.class deleted file mode 100644 index a339f0f0..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryArgs$Builder.class deleted file mode 100644 index e64e827f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryArgs.class deleted file mode 100644 index ff54bf59..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryVariableArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryVariableArgs$Builder.class deleted file mode 100644 index b36664cc..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryVariableArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryVariableArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryVariableArgs.class deleted file mode 100644 index c3c4b3ba..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQueryQueryVariableArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQuerySelectorArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQuerySelectorArgs$Builder.class deleted file mode 100644 index 48ec83b3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQuerySelectorArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQuerySelectorArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQuerySelectorArgs.class deleted file mode 100644 index 75485703..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricQuerySelectorArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricState$Builder.class deleted file mode 100644 index 2e823320..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricState.class deleted file mode 100644 index ff4d3757..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DerivedMetricState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleState$Builder.class deleted file mode 100644 index 20eb96cf..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleState.class deleted file mode 100644 index 0432777a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleValueBasedDropArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleValueBasedDropArgs$Builder.class deleted file mode 100644 index 8a871ffb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleValueBasedDropArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleValueBasedDropArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleValueBasedDropArgs.class deleted file mode 100644 index ed9b2fd1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/DropRuleValueBasedDropArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/EmailAlertNotifierState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/EmailAlertNotifierState$Builder.class deleted file mode 100644 index 5944ac89..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/EmailAlertNotifierState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/EmailAlertNotifierState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/EmailAlertNotifierState.class deleted file mode 100644 index 2c914bbd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/EmailAlertNotifierState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationMetricGroupArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationMetricGroupArgs$Builder.class deleted file mode 100644 index bd74b245..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationMetricGroupArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationMetricGroupArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationMetricGroupArgs.class deleted file mode 100644 index 936b6013..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationMetricGroupArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationServiceAccountArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationServiceAccountArgs$Builder.class deleted file mode 100644 index 817ee973..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationServiceAccountArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationServiceAccountArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationServiceAccountArgs.class deleted file mode 100644 index 255ab70f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationServiceAccountArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationState$Builder.class deleted file mode 100644 index e0a28dcb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationState.class deleted file mode 100644 index 956265d3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GcpMetricsIntegrationState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GrafanaDashboardState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GrafanaDashboardState$Builder.class deleted file mode 100644 index 34d56451..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GrafanaDashboardState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GrafanaDashboardState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GrafanaDashboardState.class deleted file mode 100644 index b11500f8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/GrafanaDashboardState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleState$Builder.class deleted file mode 100644 index 9fd35155..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleState.class deleted file mode 100644 index f46b8816..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleStoragePolicyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleStoragePolicyArgs$Builder.class deleted file mode 100644 index 43d8bd59..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleStoragePolicyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleStoragePolicyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleStoragePolicyArgs.class deleted file mode 100644 index f2ef65a7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MappingRuleStoragePolicyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorQueryArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorQueryArgs$Builder.class deleted file mode 100644 index 46a28a9b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorQueryArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorQueryArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorQueryArgs.class deleted file mode 100644 index 579d4c41..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorQueryArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleArgs$Builder.class deleted file mode 100644 index 2319aedb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleArgs.class deleted file mode 100644 index f11fff72..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleRangeArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleRangeArgs$Builder.class deleted file mode 100644 index 306b19bf..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleRangeArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleRangeArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleRangeArgs.class deleted file mode 100644 index 6bc5cec4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorScheduleRangeArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsArgs$Builder.class deleted file mode 100644 index 9669350c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsArgs.class deleted file mode 100644 index b8fca6a8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsConditionArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsConditionArgs$Builder.class deleted file mode 100644 index 8de29909..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsConditionArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsConditionArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsConditionArgs.class deleted file mode 100644 index 4c00ddf9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsConditionArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideArgs$Builder.class deleted file mode 100644 index 17458771..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideArgs.class deleted file mode 100644 index 901f2464..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideConditionArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideConditionArgs$Builder.class deleted file mode 100644 index 9ed6c0a6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideConditionArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideConditionArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideConditionArgs.class deleted file mode 100644 index 4b3dbe7d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideConditionArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideLabelMatcherArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideLabelMatcherArgs$Builder.class deleted file mode 100644 index 117ab0d8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideLabelMatcherArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideLabelMatcherArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideLabelMatcherArgs.class deleted file mode 100644 index 3e49c788..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSeriesConditionsOverrideLabelMatcherArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSignalGroupingArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSignalGroupingArgs$Builder.class deleted file mode 100644 index ccff3d1a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSignalGroupingArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSignalGroupingArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSignalGroupingArgs.class deleted file mode 100644 index 8a81112d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorSignalGroupingArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorState$Builder.class deleted file mode 100644 index d7a46c07..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorState.class deleted file mode 100644 index 5f088ef0..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/MonitorState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceArgs$Builder.class deleted file mode 100644 index 88d46ce4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceArgs.class deleted file mode 100644 index 1d56d0b7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverride$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverride$Builder.class deleted file mode 100644 index 577bd701..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverride$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverride.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverride.class deleted file mode 100644 index adebe15c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverride.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher$Builder.class deleted file mode 100644 index f34bafe5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher.class deleted file mode 100644 index 7cd723eb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs$Builder.class deleted file mode 100644 index 25b8de18..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs.class deleted file mode 100644 index 6e34cf8c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideArgs$Builder.class deleted file mode 100644 index 8200df5e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideArgs.class deleted file mode 100644 index eb5b4216..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRoute$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRoute$Builder.class deleted file mode 100644 index 5728447b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRoute$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRoute.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRoute.class deleted file mode 100644 index ceaff29c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRoute.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRouteArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRouteArgs$Builder.class deleted file mode 100644 index 72726cf5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRouteArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRouteArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRouteArgs.class deleted file mode 100644 index 3c0cce28..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceOverrideRouteArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourcePlainArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourcePlainArgs$Builder.class deleted file mode 100644 index 9f226209..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourcePlainArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourcePlainArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourcePlainArgs.class deleted file mode 100644 index 68e1cfb5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourcePlainArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRoute$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRoute$Builder.class deleted file mode 100644 index 6cf4d231..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRoute$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRoute.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRoute.class deleted file mode 100644 index 2829372c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRoute.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRouteArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRouteArgs$Builder.class deleted file mode 100644 index da4dfb59..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRouteArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRouteArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRouteArgs.class deleted file mode 100644 index a1dac0a9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRouteArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRule$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRule$Builder.class deleted file mode 100644 index 25b7dfc5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRule$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRule.class deleted file mode 100644 index dad747e6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRuleArgs$Builder.class deleted file mode 100644 index 218e4ba6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRuleArgs.class deleted file mode 100644 index da1d5413..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyDataSourceRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideAlertLabelMatcherArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideAlertLabelMatcherArgs$Builder.class deleted file mode 100644 index 1b29802f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideAlertLabelMatcherArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideAlertLabelMatcherArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideAlertLabelMatcherArgs.class deleted file mode 100644 index 0be04e03..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideAlertLabelMatcherArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideArgs$Builder.class deleted file mode 100644 index 36a7b679..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideArgs.class deleted file mode 100644 index 18d512d3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideRouteArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideRouteArgs$Builder.class deleted file mode 100644 index 08e7da43..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideRouteArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideRouteArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideRouteArgs.class deleted file mode 100644 index 37e97773..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyOverrideRouteArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRouteArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRouteArgs$Builder.class deleted file mode 100644 index 1bea5877..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRouteArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRouteArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRouteArgs.class deleted file mode 100644 index 3c5399fa..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRouteArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRuleArgs$Builder.class deleted file mode 100644 index 8c2fe352..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRuleArgs.class deleted file mode 100644 index cf8dd0d5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyState$Builder.class deleted file mode 100644 index 1cf713b9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyState.class deleted file mode 100644 index fdbb1a26..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/NotificationPolicyState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierResponderArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierResponderArgs$Builder.class deleted file mode 100644 index aab8f80a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierResponderArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierResponderArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierResponderArgs.class deleted file mode 100644 index 9c0f37b8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierResponderArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierState$Builder.class deleted file mode 100644 index ff824b4b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierState.class deleted file mode 100644 index bd0beeb6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/OpsgenieAlertNotifierState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierImageArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierImageArgs$Builder.class deleted file mode 100644 index 4172a6b7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierImageArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierImageArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierImageArgs.class deleted file mode 100644 index d6fd17df..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierImageArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierLinkArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierLinkArgs$Builder.class deleted file mode 100644 index 566ae6ce..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierLinkArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierLinkArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierLinkArgs.class deleted file mode 100644 index fa527f80..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierLinkArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierState$Builder.class deleted file mode 100644 index 50a3eebc..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierState.class deleted file mode 100644 index 0ed75788..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/PagerdutyAlertNotifierState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RecordingRuleState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RecordingRuleState$Builder.class deleted file mode 100644 index d2f64b4b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RecordingRuleState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RecordingRuleState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RecordingRuleState.class deleted file mode 100644 index 2ea0b711..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RecordingRuleState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolAllocationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolAllocationArgs$Builder.class deleted file mode 100644 index 20d0a02c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolAllocationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolAllocationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolAllocationArgs.class deleted file mode 100644 index 42d762f0..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolAllocationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolArgs$Builder.class deleted file mode 100644 index 5224739e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolArgs.class deleted file mode 100644 index 63652000..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolPrioritiesArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolPrioritiesArgs$Builder.class deleted file mode 100644 index 476df681..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolPrioritiesArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolPrioritiesArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolPrioritiesArgs.class deleted file mode 100644 index 3462e31c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigDefaultPoolPrioritiesArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolAllocationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolAllocationArgs$Builder.class deleted file mode 100644 index 81cde5f6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolAllocationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolAllocationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolAllocationArgs.class deleted file mode 100644 index 3aa13cca..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolAllocationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolArgs$Builder.class deleted file mode 100644 index 83785b47..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolArgs.class deleted file mode 100644 index c62acb24..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolPrioritiesArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolPrioritiesArgs$Builder.class deleted file mode 100644 index ab51467d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolPrioritiesArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolPrioritiesArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolPrioritiesArgs.class deleted file mode 100644 index f4a2e3ad..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigPoolPrioritiesArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigState$Builder.class deleted file mode 100644 index 4eaa8200..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigState.class deleted file mode 100644 index 6aa8ef8c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ResourcePoolsConfigState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleState$Builder.class deleted file mode 100644 index 63e096e5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleState.class deleted file mode 100644 index 7857ac71..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleStoragePoliciesArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleStoragePoliciesArgs$Builder.class deleted file mode 100644 index 2faaac5f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleStoragePoliciesArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleStoragePoliciesArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleStoragePoliciesArgs.class deleted file mode 100644 index aa9990ff..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/RollupRuleStoragePoliciesArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountRestrictionArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountRestrictionArgs$Builder.class deleted file mode 100644 index a721b379..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountRestrictionArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountRestrictionArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountRestrictionArgs.class deleted file mode 100644 index e97e2be9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountRestrictionArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountState$Builder.class deleted file mode 100644 index a5e2b5ca..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountState.class deleted file mode 100644 index 7c7d3d39..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceAccountState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourceArgs$Builder.class deleted file mode 100644 index d01a0696..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourceArgs.class deleted file mode 100644 index 4ed3fc2b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourcePlainArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourcePlainArgs$Builder.class deleted file mode 100644 index 4e1a4d67..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourcePlainArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourcePlainArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourcePlainArgs.class deleted file mode 100644 index dac15aa3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/ServiceDataSourcePlainArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierActionArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierActionArgs$Builder.class deleted file mode 100644 index 87ad7431..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierActionArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierActionArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierActionArgs.class deleted file mode 100644 index ecf89832..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierActionArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierFieldArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierFieldArgs$Builder.class deleted file mode 100644 index 4005a1a8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierFieldArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierFieldArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierFieldArgs.class deleted file mode 100644 index eb437233..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierFieldArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierState$Builder.class deleted file mode 100644 index cec59267..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierState.class deleted file mode 100644 index 0cfa5c6f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/SlackAlertNotifierState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TeamState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TeamState$Builder.class deleted file mode 100644 index 02cedc9f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TeamState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TeamState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TeamState.class deleted file mode 100644 index 051866d7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TeamState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs$Builder.class deleted file mode 100644 index 3d5a0bef..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs.class deleted file mode 100644 index 1961b9ae..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs$Builder.class deleted file mode 100644 index 961603cd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs.class deleted file mode 100644 index dc05ebc1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs$Builder.class deleted file mode 100644 index 94308921..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs.class deleted file mode 100644 index fd1b37ce..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs$Builder.class deleted file mode 100644 index 337b8a63..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs.class deleted file mode 100644 index 9ed9c91c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs$Builder.class deleted file mode 100644 index 10c47a76..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs.class deleted file mode 100644 index 750dd4aa..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs$Builder.class deleted file mode 100644 index e7cb82cd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs.class deleted file mode 100644 index 9ae593a6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyState$Builder.class deleted file mode 100644 index 3b70cabc..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyState.class deleted file mode 100644 index 15261bf7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceJaegerRemoteSamplingStrategyState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByArgs$Builder.class deleted file mode 100644 index 9a45be59..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByArgs.class deleted file mode 100644 index ce7b4295..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByKeyArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByKeyArgs$Builder.class deleted file mode 100644 index eb9def53..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByKeyArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByKeyArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByKeyArgs.class deleted file mode 100644 index e16bb85f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleGroupByKeyArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleState$Builder.class deleted file mode 100644 index 55c724c9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleState.class deleted file mode 100644 index cd7e6433..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterArgs$Builder.class deleted file mode 100644 index 195e717d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterArgs.class deleted file mode 100644 index 8883929a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanArgs$Builder.class deleted file mode 100644 index 5cc0d335..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanArgs.class deleted file mode 100644 index 37439398..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanDurationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanDurationArgs$Builder.class deleted file mode 100644 index 1c5f20ee..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanDurationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanDurationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanDurationArgs.class deleted file mode 100644 index bd401375..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanDurationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanErrorArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanErrorArgs$Builder.class deleted file mode 100644 index 61e2cb69..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanErrorArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanErrorArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanErrorArgs.class deleted file mode 100644 index b7c93ebb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanErrorArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanOperationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanOperationArgs$Builder.class deleted file mode 100644 index 77f907df..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanOperationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanOperationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanOperationArgs.class deleted file mode 100644 index 099c64ae..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanOperationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentOperationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentOperationArgs$Builder.class deleted file mode 100644 index 9b2c3336..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentOperationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentOperationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentOperationArgs.class deleted file mode 100644 index 20f2ed3e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentOperationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentServiceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentServiceArgs$Builder.class deleted file mode 100644 index 3b8a495f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentServiceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentServiceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentServiceArgs.class deleted file mode 100644 index d64fa343..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanParentServiceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanServiceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanServiceArgs$Builder.class deleted file mode 100644 index 6a9f934c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanServiceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanServiceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanServiceArgs.class deleted file mode 100644 index c23ae213..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanServiceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanSpanCountArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanSpanCountArgs$Builder.class deleted file mode 100644 index db99c4ee..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanSpanCountArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanSpanCountArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanSpanCountArgs.class deleted file mode 100644 index e8fb1277..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanSpanCountArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagArgs$Builder.class deleted file mode 100644 index 3691c129..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagArgs.class deleted file mode 100644 index ac2f99eb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagNumericValueArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagNumericValueArgs$Builder.class deleted file mode 100644 index 1c555780..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagNumericValueArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagNumericValueArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagNumericValueArgs.class deleted file mode 100644 index a58fc82a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagNumericValueArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagValueArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagValueArgs$Builder.class deleted file mode 100644 index f4d536c8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagValueArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagValueArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagValueArgs.class deleted file mode 100644 index a3ef5a99..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterSpanTagValueArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceArgs$Builder.class deleted file mode 100644 index 43ec585d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceArgs.class deleted file mode 100644 index 6b4666ef..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceDurationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceDurationArgs$Builder.class deleted file mode 100644 index ffaea08a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceDurationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceDurationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceDurationArgs.class deleted file mode 100644 index 4c32629e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceDurationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceErrorArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceErrorArgs$Builder.class deleted file mode 100644 index e8bcd800..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceErrorArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceErrorArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceErrorArgs.class deleted file mode 100644 index 684e9340..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceMetricsRuleTraceFilterTraceErrorArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesDefaultSampleRateArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesDefaultSampleRateArgs$Builder.class deleted file mode 100644 index bbc42f4e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesDefaultSampleRateArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesDefaultSampleRateArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesDefaultSampleRateArgs.class deleted file mode 100644 index b0ca1b3a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesDefaultSampleRateArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleArgs$Builder.class deleted file mode 100644 index 8618e1e8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleArgs.class deleted file mode 100644 index 68c7c915..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterArgs$Builder.class deleted file mode 100644 index 18df9cb8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterArgs.class deleted file mode 100644 index 0464a959..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanArgs$Builder.class deleted file mode 100644 index dbfa78ba..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanArgs.class deleted file mode 100644 index b3bfea45..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanDurationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanDurationArgs$Builder.class deleted file mode 100644 index f50011c4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanDurationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanDurationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanDurationArgs.class deleted file mode 100644 index 2c5996e1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanDurationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanErrorArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanErrorArgs$Builder.class deleted file mode 100644 index 1b9e024f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanErrorArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanErrorArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanErrorArgs.class deleted file mode 100644 index cb99a12a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanErrorArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanOperationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanOperationArgs$Builder.class deleted file mode 100644 index 4db6d868..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanOperationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanOperationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanOperationArgs.class deleted file mode 100644 index 8a8c28e2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanOperationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentOperationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentOperationArgs$Builder.class deleted file mode 100644 index 528dee34..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentOperationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentOperationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentOperationArgs.class deleted file mode 100644 index 4aeaba64..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentOperationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentServiceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentServiceArgs$Builder.class deleted file mode 100644 index 552c415b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentServiceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentServiceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentServiceArgs.class deleted file mode 100644 index b48a64ee..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanParentServiceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanServiceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanServiceArgs$Builder.class deleted file mode 100644 index f477dd53..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanServiceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanServiceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanServiceArgs.class deleted file mode 100644 index e23a6ad2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanServiceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanSpanCountArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanSpanCountArgs$Builder.class deleted file mode 100644 index 5792b516..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanSpanCountArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanSpanCountArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanSpanCountArgs.class deleted file mode 100644 index 9859f35b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanSpanCountArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagArgs$Builder.class deleted file mode 100644 index 0941ea40..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagArgs.class deleted file mode 100644 index b049090a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs$Builder.class deleted file mode 100644 index 29ecd650..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs.class deleted file mode 100644 index 8900ef88..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagValueArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagValueArgs$Builder.class deleted file mode 100644 index a9df3a63..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagValueArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagValueArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagValueArgs.class deleted file mode 100644 index 6bd52d4a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterSpanTagValueArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceArgs$Builder.class deleted file mode 100644 index 5d848404..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceArgs.class deleted file mode 100644 index 6a344094..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceDurationArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceDurationArgs$Builder.class deleted file mode 100644 index f9d38e53..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceDurationArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceDurationArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceDurationArgs.class deleted file mode 100644 index c6d064b1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceDurationArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceErrorArgs$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceErrorArgs$Builder.class deleted file mode 100644 index bac95609..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceErrorArgs$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceErrorArgs.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceErrorArgs.class deleted file mode 100644 index 34076d6a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesRuleFilterTraceErrorArgs.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesState$Builder.class deleted file mode 100644 index 49c77235..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesState.class deleted file mode 100644 index 3019f334..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/TraceTailSamplingRulesState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/VictoropsAlertNotifierState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/VictoropsAlertNotifierState$Builder.class deleted file mode 100644 index d88398b8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/VictoropsAlertNotifierState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/VictoropsAlertNotifierState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/VictoropsAlertNotifierState.class deleted file mode 100644 index 987d4b22..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/VictoropsAlertNotifierState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/WebhookAlertNotifierState$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/WebhookAlertNotifierState$Builder.class deleted file mode 100644 index 433b9065..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/WebhookAlertNotifierState$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/WebhookAlertNotifierState.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/WebhookAlertNotifierState.class deleted file mode 100644 index 59fb9fa5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/inputs/WebhookAlertNotifierState.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/BucketDataSourceResult$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/BucketDataSourceResult$Builder.class deleted file mode 100644 index fc6182dc..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/BucketDataSourceResult$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/BucketDataSourceResult.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/BucketDataSourceResult.class deleted file mode 100644 index 82cbc8a1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/BucketDataSourceResult.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabel$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabel$Builder.class deleted file mode 100644 index c1a4f8ca..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabel$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabel.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabel.class deleted file mode 100644 index edd0df16..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabel.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabel$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabel$Builder.class deleted file mode 100644 index e2637bca..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabel$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabel.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabel.class deleted file mode 100644 index 1f254cd6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabel.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinition$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinition$Builder.class deleted file mode 100644 index 56cc05a9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinition$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinition.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinition.class deleted file mode 100644 index 4b981a12..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinition.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter$Builder.class deleted file mode 100644 index 4e99683e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter.class deleted file mode 100644 index 4a7685f2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabel$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabel$Builder.class deleted file mode 100644 index 501a6d0e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabel$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabel.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabel.class deleted file mode 100644 index 234f5c23..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabel.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMapping$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMapping$Builder.class deleted file mode 100644 index c5880eae..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMapping$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMapping.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMapping.class deleted file mode 100644 index a18bdcbc..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMapping.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingFilter$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingFilter$Builder.class deleted file mode 100644 index d25da348..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingFilter$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingFilter.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingFilter.class deleted file mode 100644 index 7b0d0ad8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingFilter.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMapping$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMapping$Builder.class deleted file mode 100644 index 6e16da0b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMapping$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMapping.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMapping.class deleted file mode 100644 index a3f0b0c3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelNameMappingValueMapping.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelValueMapping$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelValueMapping$Builder.class deleted file mode 100644 index 6c02401d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelValueMapping$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelValueMapping.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelValueMapping.class deleted file mode 100644 index 463ecd5c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedLabelMetricLabelMappingLabelValueMapping.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuery$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuery$Builder.class deleted file mode 100644 index 10bc7b51..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuery$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuery.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuery.class deleted file mode 100644 index 5798774a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuery.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQuery$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQuery$Builder.class deleted file mode 100644 index 3485ef98..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQuery$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQuery.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQuery.class deleted file mode 100644 index 05d33e37..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQuery.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQueryVariable$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQueryVariable$Builder.class deleted file mode 100644 index 7247f845..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQueryVariable$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQueryVariable.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQueryVariable.class deleted file mode 100644 index aee7fe44..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQueryQueryVariable.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuerySelector$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuerySelector$Builder.class deleted file mode 100644 index 1fdfa4fb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuerySelector$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuerySelector.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuerySelector.class deleted file mode 100644 index 59666d24..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DerivedMetricQuerySelector.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DropRuleValueBasedDrop$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DropRuleValueBasedDrop$Builder.class deleted file mode 100644 index 39e4b05f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DropRuleValueBasedDrop$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DropRuleValueBasedDrop.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DropRuleValueBasedDrop.class deleted file mode 100644 index c891da50..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/DropRuleValueBasedDrop.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationMetricGroup$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationMetricGroup$Builder.class deleted file mode 100644 index 9cafe70e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationMetricGroup$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationMetricGroup.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationMetricGroup.class deleted file mode 100644 index 1ecc2de1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationMetricGroup.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationServiceAccount$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationServiceAccount$Builder.class deleted file mode 100644 index d6a8a721..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationServiceAccount$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationServiceAccount.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationServiceAccount.class deleted file mode 100644 index f82bdad4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/GcpMetricsIntegrationServiceAccount.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MappingRuleStoragePolicy$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MappingRuleStoragePolicy$Builder.class deleted file mode 100644 index 3485976f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MappingRuleStoragePolicy$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MappingRuleStoragePolicy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MappingRuleStoragePolicy.class deleted file mode 100644 index 3135fb65..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MappingRuleStoragePolicy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorQuery$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorQuery$Builder.class deleted file mode 100644 index 065583c9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorQuery$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorQuery.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorQuery.class deleted file mode 100644 index ac900049..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorQuery.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSchedule$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSchedule$Builder.class deleted file mode 100644 index 77439e64..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSchedule$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSchedule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSchedule.class deleted file mode 100644 index ffb793d7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSchedule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorScheduleRange$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorScheduleRange$Builder.class deleted file mode 100644 index 43bb1fbf..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorScheduleRange$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorScheduleRange.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorScheduleRange.class deleted file mode 100644 index 9e65898d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorScheduleRange.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditions$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditions$Builder.class deleted file mode 100644 index 0bbe62c7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditions$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditions.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditions.class deleted file mode 100644 index 036352fe..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditions.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsCondition$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsCondition$Builder.class deleted file mode 100644 index 846a76e7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsCondition$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsCondition.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsCondition.class deleted file mode 100644 index 0c36d5df..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsCondition.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverride$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverride$Builder.class deleted file mode 100644 index 15e33e47..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverride$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverride.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverride.class deleted file mode 100644 index b9f1c4a1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverride.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideCondition$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideCondition$Builder.class deleted file mode 100644 index 8f949b70..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideCondition$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideCondition.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideCondition.class deleted file mode 100644 index e82db476..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideCondition.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideLabelMatcher$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideLabelMatcher$Builder.class deleted file mode 100644 index 0359da9d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideLabelMatcher$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideLabelMatcher.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideLabelMatcher.class deleted file mode 100644 index 712b43f9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSeriesConditionsOverrideLabelMatcher.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSignalGrouping$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSignalGrouping$Builder.class deleted file mode 100644 index fe92e3ec..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSignalGrouping$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSignalGrouping.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSignalGrouping.class deleted file mode 100644 index 5358de3b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/MonitorSignalGrouping.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverride$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverride$Builder.class deleted file mode 100644 index da5ac30d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverride$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverride.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverride.class deleted file mode 100644 index a8788ce1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverride.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher$Builder.class deleted file mode 100644 index 75d80d48..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher.class deleted file mode 100644 index 65e27310..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideAlertLabelMatcher.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideRoute$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideRoute$Builder.class deleted file mode 100644 index 7daaf0d5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideRoute$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideRoute.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideRoute.class deleted file mode 100644 index e5d5cc9c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceOverrideRoute.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceResult$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceResult$Builder.class deleted file mode 100644 index e43aaed2..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceResult$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceResult.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceResult.class deleted file mode 100644 index 89efdfce..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceResult.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRoute$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRoute$Builder.class deleted file mode 100644 index a8f80761..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRoute$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRoute.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRoute.class deleted file mode 100644 index 3df52382..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRoute.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRule$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRule$Builder.class deleted file mode 100644 index 78ec7d3c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRule$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRule.class deleted file mode 100644 index 03c201e6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyDataSourceRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverride$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverride$Builder.class deleted file mode 100644 index 303654ce..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverride$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverride.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverride.class deleted file mode 100644 index d55180f7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverride.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideAlertLabelMatcher$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideAlertLabelMatcher$Builder.class deleted file mode 100644 index 3413f649..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideAlertLabelMatcher$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideAlertLabelMatcher.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideAlertLabelMatcher.class deleted file mode 100644 index cdaf5c3e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideAlertLabelMatcher.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideRoute$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideRoute$Builder.class deleted file mode 100644 index e5c4175a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideRoute$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideRoute.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideRoute.class deleted file mode 100644 index 8d087d10..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyOverrideRoute.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRoute$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRoute$Builder.class deleted file mode 100644 index 83c5f93a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRoute$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRoute.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRoute.class deleted file mode 100644 index 1f39cd3c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRoute.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRule$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRule$Builder.class deleted file mode 100644 index b210f5f3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRule$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRule.class deleted file mode 100644 index c72fa0d9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/NotificationPolicyRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/OpsgenieAlertNotifierResponder$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/OpsgenieAlertNotifierResponder$Builder.class deleted file mode 100644 index f41367f1..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/OpsgenieAlertNotifierResponder$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/OpsgenieAlertNotifierResponder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/OpsgenieAlertNotifierResponder.class deleted file mode 100644 index 7518e325..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/OpsgenieAlertNotifierResponder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierImage$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierImage$Builder.class deleted file mode 100644 index 6d2a6afb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierImage$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierImage.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierImage.class deleted file mode 100644 index bb1dfdac..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierImage.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierLink$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierLink$Builder.class deleted file mode 100644 index 13222324..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierLink$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierLink.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierLink.class deleted file mode 100644 index 410ef9c4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/PagerdutyAlertNotifierLink.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPool$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPool$Builder.class deleted file mode 100644 index d5bbc4a7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPool$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPool.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPool.class deleted file mode 100644 index a5616a59..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPool.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolAllocation$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolAllocation$Builder.class deleted file mode 100644 index 242dd28f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolAllocation$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolAllocation.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolAllocation.class deleted file mode 100644 index 76470813..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolAllocation.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolPriorities$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolPriorities$Builder.class deleted file mode 100644 index cd86c1e7..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolPriorities$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolPriorities.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolPriorities.class deleted file mode 100644 index 839f0aae..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigDefaultPoolPriorities.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPool$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPool$Builder.class deleted file mode 100644 index b47622b4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPool$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPool.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPool.class deleted file mode 100644 index d0dcfbf8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPool.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolAllocation$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolAllocation$Builder.class deleted file mode 100644 index e66cd5ce..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolAllocation$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolAllocation.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolAllocation.class deleted file mode 100644 index 598c7e18..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolAllocation.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolPriorities$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolPriorities$Builder.class deleted file mode 100644 index 926ea7df..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolPriorities$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolPriorities.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolPriorities.class deleted file mode 100644 index ffcb2334..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ResourcePoolsConfigPoolPriorities.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/RollupRuleStoragePolicies$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/RollupRuleStoragePolicies$Builder.class deleted file mode 100644 index 3e81fc6d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/RollupRuleStoragePolicies$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/RollupRuleStoragePolicies.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/RollupRuleStoragePolicies.class deleted file mode 100644 index 26dfe2b8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/RollupRuleStoragePolicies.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceAccountRestriction$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceAccountRestriction$Builder.class deleted file mode 100644 index 532fb962..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceAccountRestriction$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceAccountRestriction.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceAccountRestriction.class deleted file mode 100644 index 6873a6c5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceAccountRestriction.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceDataSourceResult$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceDataSourceResult$Builder.class deleted file mode 100644 index 40b439d5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceDataSourceResult$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceDataSourceResult.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceDataSourceResult.class deleted file mode 100644 index ba128342..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/ServiceDataSourceResult.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierAction$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierAction$Builder.class deleted file mode 100644 index 9c41cadf..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierAction$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierAction.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierAction.class deleted file mode 100644 index de5369c5..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierAction.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierField$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierField$Builder.class deleted file mode 100644 index a72ecb8d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierField$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierField.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierField.class deleted file mode 100644 index c3d7a119..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/SlackAlertNotifierField.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategy$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategy$Builder.class deleted file mode 100644 index c320181d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategy$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategy.class deleted file mode 100644 index 6c2675d9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies$Builder.class deleted file mode 100644 index 19cea60b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies.class deleted file mode 100644 index 4f61bc46..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy$Builder.class deleted file mode 100644 index bd923137..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy.class deleted file mode 100644 index 962b3c6e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy$Builder.class deleted file mode 100644 index 41cc82e9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy.class deleted file mode 100644 index f858aed4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy$Builder.class deleted file mode 100644 index 9d1c6f46..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy.class deleted file mode 100644 index d6ee46bb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy$Builder.class deleted file mode 100644 index 1e18256c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy.class deleted file mode 100644 index 54456cf8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupBy$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupBy$Builder.class deleted file mode 100644 index 88b3f04f..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupBy$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupBy.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupBy.class deleted file mode 100644 index 83fdd8ff..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupBy.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupByKey$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupByKey$Builder.class deleted file mode 100644 index f0b2cc67..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupByKey$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupByKey.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupByKey.class deleted file mode 100644 index 4d24d317..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleGroupByKey.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilter$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilter$Builder.class deleted file mode 100644 index b9a17036..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilter$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilter.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilter.class deleted file mode 100644 index fc7d8bfe..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilter.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpan$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpan$Builder.class deleted file mode 100644 index 84c7b8bd..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpan$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpan.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpan.class deleted file mode 100644 index 8b9aad93..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpan.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanDuration$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanDuration$Builder.class deleted file mode 100644 index aaeb6a2a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanDuration$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanDuration.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanDuration.class deleted file mode 100644 index 9347bf0b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanDuration.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanError$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanError$Builder.class deleted file mode 100644 index d43cee9b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanError$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanError.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanError.class deleted file mode 100644 index 5d6e20ec..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanError.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanOperation$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanOperation$Builder.class deleted file mode 100644 index 890a0b87..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanOperation$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanOperation.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanOperation.class deleted file mode 100644 index e398bbcb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanOperation.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentOperation$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentOperation$Builder.class deleted file mode 100644 index 95c37ad9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentOperation$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentOperation.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentOperation.class deleted file mode 100644 index 7a0a3d09..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentOperation.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentService$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentService$Builder.class deleted file mode 100644 index 1bc8308b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentService$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentService.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentService.class deleted file mode 100644 index 7ae24867..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanParentService.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanService$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanService$Builder.class deleted file mode 100644 index d5efc61c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanService$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanService.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanService.class deleted file mode 100644 index ca19516e..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanService.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanSpanCount$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanSpanCount$Builder.class deleted file mode 100644 index 6006310a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanSpanCount$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanSpanCount.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanSpanCount.class deleted file mode 100644 index 8807fc01..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanSpanCount.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTag$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTag$Builder.class deleted file mode 100644 index 69445b65..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTag$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTag.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTag.class deleted file mode 100644 index 031e31d3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTag.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagNumericValue$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagNumericValue$Builder.class deleted file mode 100644 index f25da967..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagNumericValue$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagNumericValue.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagNumericValue.class deleted file mode 100644 index a1153170..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagNumericValue.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagValue$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagValue$Builder.class deleted file mode 100644 index 21673ea9..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagValue$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagValue.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagValue.class deleted file mode 100644 index 687020b3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterSpanTagValue.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTrace$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTrace$Builder.class deleted file mode 100644 index b0ef45a8..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTrace$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTrace.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTrace.class deleted file mode 100644 index bd5c547c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTrace.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceDuration$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceDuration$Builder.class deleted file mode 100644 index 6d979909..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceDuration$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceDuration.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceDuration.class deleted file mode 100644 index fb91e990..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceDuration.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceError$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceError$Builder.class deleted file mode 100644 index bb0db16a..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceError$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceError.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceError.class deleted file mode 100644 index db782e3c..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceMetricsRuleTraceFilterTraceError.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesDefaultSampleRate$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesDefaultSampleRate$Builder.class deleted file mode 100644 index 9a401057..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesDefaultSampleRate$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesDefaultSampleRate.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesDefaultSampleRate.class deleted file mode 100644 index 22c58663..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesDefaultSampleRate.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRule$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRule$Builder.class deleted file mode 100644 index f4d7f668..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRule$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRule.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRule.class deleted file mode 100644 index a7d70294..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRule.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilter$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilter$Builder.class deleted file mode 100644 index 52331011..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilter$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilter.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilter.class deleted file mode 100644 index ca29e4c3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilter.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpan$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpan$Builder.class deleted file mode 100644 index 6c9fd290..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpan$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpan.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpan.class deleted file mode 100644 index 891077e4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpan.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanDuration$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanDuration$Builder.class deleted file mode 100644 index aa9e43d6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanDuration$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanDuration.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanDuration.class deleted file mode 100644 index a63d8bdc..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanDuration.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanError$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanError$Builder.class deleted file mode 100644 index d2ed4ff4..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanError$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanError.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanError.class deleted file mode 100644 index f7dbc272..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanError.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanOperation$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanOperation$Builder.class deleted file mode 100644 index bafa24ff..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanOperation$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanOperation.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanOperation.class deleted file mode 100644 index 2ab4c733..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanOperation.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentOperation$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentOperation$Builder.class deleted file mode 100644 index d25658c3..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentOperation$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentOperation.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentOperation.class deleted file mode 100644 index cbd8d2c0..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentOperation.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentService$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentService$Builder.class deleted file mode 100644 index 1c4cd790..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentService$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentService.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentService.class deleted file mode 100644 index 8083b558..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanParentService.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanService$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanService$Builder.class deleted file mode 100644 index 3ce1222d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanService$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanService.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanService.class deleted file mode 100644 index 57542f06..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanService.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanSpanCount$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanSpanCount$Builder.class deleted file mode 100644 index 42b8f321..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanSpanCount$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanSpanCount.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanSpanCount.class deleted file mode 100644 index e2b53175..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanSpanCount.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTag$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTag$Builder.class deleted file mode 100644 index 27a574cf..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTag$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTag.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTag.class deleted file mode 100644 index 5a43bd67..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTag.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValue$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValue$Builder.class deleted file mode 100644 index 243cc0ad..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValue$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValue.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValue.class deleted file mode 100644 index cc3d55c6..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagNumericValue.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagValue$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagValue$Builder.class deleted file mode 100644 index 274eb574..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagValue$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagValue.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagValue.class deleted file mode 100644 index ac2a3b2d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterSpanTagValue.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTrace$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTrace$Builder.class deleted file mode 100644 index a379345d..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTrace$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTrace.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTrace.class deleted file mode 100644 index d2b75613..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTrace.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceDuration$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceDuration$Builder.class deleted file mode 100644 index 2b6e27fb..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceDuration$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceDuration.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceDuration.class deleted file mode 100644 index cbc98305..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceDuration.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceError$Builder.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceError$Builder.class deleted file mode 100644 index 639cf14b..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceError$Builder.class and /dev/null differ diff --git a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceError.class b/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceError.class deleted file mode 100644 index e3d87edc..00000000 Binary files a/sdk/java/build/classes/java/main/io/chronosphere/chronosphere/outputs/TraceTailSamplingRulesRuleFilterTraceError.class and /dev/null differ diff --git a/sdk/java/build/libs/io.chronosphere.chronosphere.jar b/sdk/java/build/libs/io.chronosphere.chronosphere.jar deleted file mode 100644 index 378226db..00000000 Binary files a/sdk/java/build/libs/io.chronosphere.chronosphere.jar and /dev/null differ diff --git a/sdk/java/build/resources/main/io/chronosphere/chronosphere/plugin.json b/sdk/java/build/resources/main/io/chronosphere/chronosphere/plugin.json deleted file mode 100644 index 82204cf6..00000000 --- a/sdk/java/build/resources/main/io/chronosphere/chronosphere/plugin.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "resource": true, - "version": "0.0.1", - "name": "chronosphere" -} \ No newline at end of file diff --git a/sdk/java/build/resources/main/io/chronosphere/chronosphere/version.txt b/sdk/java/build/resources/main/io/chronosphere/chronosphere/version.txt deleted file mode 100644 index 8a9ecc2e..00000000 --- a/sdk/java/build/resources/main/io/chronosphere/chronosphere/version.txt +++ /dev/null @@ -1 +0,0 @@ -0.0.1 \ No newline at end of file diff --git a/sdk/java/build/tmp/compileJava/previous-compilation-data.bin b/sdk/java/build/tmp/compileJava/previous-compilation-data.bin deleted file mode 100644 index 745affc5..00000000 Binary files a/sdk/java/build/tmp/compileJava/previous-compilation-data.bin and /dev/null differ diff --git a/sdk/java/build/tmp/jar/MANIFEST.MF b/sdk/java/build/tmp/jar/MANIFEST.MF deleted file mode 100644 index 58630c02..00000000 --- a/sdk/java/build/tmp/jar/MANIFEST.MF +++ /dev/null @@ -1,2 +0,0 @@ -Manifest-Version: 1.0 - diff --git a/sdk/nodejs/yarn.lock b/sdk/nodejs/yarn.lock index 0f9a9fe2..be5d3e7b 100644 --- a/sdk/nodejs/yarn.lock +++ b/sdk/nodejs/yarn.lock @@ -59,20 +59,21 @@ socks-proxy-agent "^8.0.3" "@npmcli/arborist@^7.3.1": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-7.4.1.tgz#1562c347e41e60939b4a2139cd3a16842de1e92e" - integrity sha512-5/+bbRol8fvhyebwjqzmwjToAvTOR+k/hzAGFcGlV8k94H1PISNVyOGeSQl6MOMuxPo3BMMYVa39NZp2eNyzUQ== + version "7.5.0" + resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-7.5.0.tgz#31cb45f593fac3b76e8ae7f24ac9e956431e8687" + integrity sha512-Uu1hkXEVjz85gJfYqa0d2upTihR+Nw18ozkIuKb5oZXb8+wpCtuRUxP2mV20GYX7ZoWZym6QgC0jxUDLdHaTVQ== dependencies: "@isaacs/string-locale-compare" "^1.1.0" "@npmcli/fs" "^3.1.0" - "@npmcli/installed-package-contents" "^2.0.2" + "@npmcli/installed-package-contents" "^2.1.0" "@npmcli/map-workspaces" "^3.0.2" - "@npmcli/metavuln-calculator" "^7.0.0" + "@npmcli/metavuln-calculator" "^7.1.0" "@npmcli/name-from-folder" "^2.0.0" "@npmcli/node-gyp" "^3.0.0" - "@npmcli/package-json" "^5.0.0" + "@npmcli/package-json" "^5.1.0" "@npmcli/query" "^3.1.0" - "@npmcli/run-script" "^7.0.2" + "@npmcli/redact" "^1.1.0" + "@npmcli/run-script" "^8.0.0" bin-links "^4.0.1" cacache "^18.0.0" common-ancestor-path "^1.0.1" @@ -82,13 +83,13 @@ minimatch "^9.0.4" nopt "^7.0.0" npm-install-checks "^6.2.0" - npm-package-arg "^11.0.1" + npm-package-arg "^11.0.2" npm-pick-manifest "^9.0.0" - npm-registry-fetch "^16.2.0" - npmlog "^7.0.1" - pacote "^17.0.4" + npm-registry-fetch "^16.2.1" + pacote "^18.0.1" parse-conflict-json "^3.0.0" - proc-log "^3.0.0" + proc-log "^4.2.0" + proggy "^2.0.0" promise-all-reject-late "^1.0.0" promise-call-limit "^3.0.1" read-package-json-fast "^3.0.2" @@ -105,45 +106,46 @@ semver "^7.3.5" "@npmcli/git@^5.0.0": - version "5.0.4" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-5.0.4.tgz#d18c50f99649e6e89e8b427318134f582498700c" - integrity sha512-nr6/WezNzuYUppzXRaYu/W4aT5rLxdXqEFupbh6e/ovlYFQ8hpu1UUPV3Ir/YTl+74iXl2ZOMlGzudh9ZPUchQ== + version "5.0.6" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-5.0.6.tgz#d7b24eb2cff98754c8868faab40405abfa1abe28" + integrity sha512-4x/182sKXmQkf0EtXxT26GEsaOATpD7WVtza5hrYivWZeo6QefC6xq9KAXrnjtFKBZ4rZwR7aX/zClYYXgtwLw== dependencies: "@npmcli/promise-spawn" "^7.0.0" lru-cache "^10.0.1" npm-pick-manifest "^9.0.0" - proc-log "^3.0.0" + proc-log "^4.0.0" promise-inflight "^1.0.1" promise-retry "^2.0.1" semver "^7.3.5" which "^4.0.0" -"@npmcli/installed-package-contents@^2.0.1", "@npmcli/installed-package-contents@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz#bfd817eccd9e8df200919e73f57f9e3d9e4f9e33" - integrity sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ== +"@npmcli/installed-package-contents@^2.0.1", "@npmcli/installed-package-contents@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-2.1.0.tgz#63048e5f6e40947a3a88dcbcb4fd9b76fdd37c17" + integrity sha512-c8UuGLeZpm69BryRykLuKRyKFZYJsZSCT4aVY5ds4omyZqJ172ApzgfKJ5eV/r3HgLdUYgFVe54KSFVjKoe27w== dependencies: npm-bundled "^3.0.0" npm-normalize-package-bin "^3.0.0" "@npmcli/map-workspaces@^3.0.2": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-3.0.4.tgz#15ad7d854292e484f7ba04bc30187a8320dba799" - integrity sha512-Z0TbvXkRbacjFFLpVpV0e2mheCh+WzQpcqL+4xp49uNJOxOnIAPZyXtUxZ5Qn3QBTGKA11Exjd9a5411rBrhDg== + version "3.0.6" + resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-3.0.6.tgz#27dc06c20c35ef01e45a08909cab9cb3da08cea6" + integrity sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA== dependencies: "@npmcli/name-from-folder" "^2.0.0" glob "^10.2.2" minimatch "^9.0.0" read-package-json-fast "^3.0.0" -"@npmcli/metavuln-calculator@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-7.0.0.tgz#fb59245926d7f677db904177f9aca15ac883d6cb" - integrity sha512-Pw0tyX02VkpqlIQlG2TeiJNsdrecYeUU0ubZZa9pi3N37GCsxI+en43u4hYFdq+eSx1A9a9vwFAUyqEtKFsbHQ== +"@npmcli/metavuln-calculator@^7.1.0": + version "7.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-7.1.0.tgz#70aad00623d47297cd2c950a686ef4220e4a9040" + integrity sha512-D4VZzVLZ4Mw+oUCWyQ6qzlm5SGlrLnhKtZscDwQXFFc1FUPvw69Ibo2E5ZpJAmjFSYkA5UlCievWmREW0JLC3w== dependencies: cacache "^18.0.0" json-parse-even-better-errors "^3.0.0" - pacote "^17.0.0" + pacote "^18.0.0" + proc-log "^4.1.0" semver "^7.3.5" "@npmcli/name-from-folder@^2.0.0": @@ -156,17 +158,17 @@ resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz#101b2d0490ef1aa20ed460e4c0813f0db560545a" integrity sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA== -"@npmcli/package-json@^5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-5.0.0.tgz#77d0f8b17096763ccbd8af03b7117ba6e34d6e91" - integrity sha512-OI2zdYBLhQ7kpNPaJxiflofYIpkNLi+lnGdzqUOfRmCF3r2l1nadcjtCYMJKv/Utm/ZtlffaUuTiAktPHbc17g== +"@npmcli/package-json@^5.0.0", "@npmcli/package-json@^5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-5.1.0.tgz#10d117b5fb175acc14c70901a151c52deffc843e" + integrity sha512-1aL4TuVrLS9sf8quCLerU3H9J4vtCtgu8VauYozrmEyU57i/EdKleCnsQ7vpnABIH6c9mnTxcH5sFkO3BlV8wQ== dependencies: "@npmcli/git" "^5.0.0" glob "^10.2.2" hosted-git-info "^7.0.0" json-parse-even-better-errors "^3.0.0" normalize-package-data "^6.0.0" - proc-log "^3.0.0" + proc-log "^4.0.0" semver "^7.5.3" "@npmcli/promise-spawn@^7.0.0": @@ -188,15 +190,16 @@ resolved "https://registry.yarnpkg.com/@npmcli/redact/-/redact-1.1.0.tgz#78e53a6a34f013543a73827a07ebdc3a6f10454b" integrity sha512-PfnWuOkQgu7gCbnSsAisaX7hKOdZ4wSAhAzH3/ph5dSGau52kCRrMMGbiSQLwyTZpgldkZ49b0brkOr1AzGBHQ== -"@npmcli/run-script@^7.0.0", "@npmcli/run-script@^7.0.2": - version "7.0.4" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-7.0.4.tgz#9f29aaf4bfcf57f7de2a9e28d1ef091d14b2e6eb" - integrity sha512-9ApYM/3+rBt9V80aYg6tZfzj3UWdiYyCt7gJUD1VJKvWF5nwKDSICXbYIQbspFTq6TOpbsEtIC0LArB8d9PFmg== +"@npmcli/run-script@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-8.0.0.tgz#644f8e28fd3cde25e40a79d3b35cb14076ec848b" + integrity sha512-5noc+eCQmX1W9nlFUe65n5MIteikd3vOA2sEPdXtlUv68KWyHNFZnT/LDRXu/E4nZ5yxjciP30pADr/GQ97W1w== dependencies: "@npmcli/node-gyp" "^3.0.0" "@npmcli/package-json" "^5.0.0" "@npmcli/promise-spawn" "^7.0.0" node-gyp "^10.0.0" + proc-log "^4.0.0" which "^4.0.0" "@opentelemetry/api-metrics@0.32.0": @@ -211,27 +214,27 @@ resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.8.0.tgz#5aa7abb48f23f693068ed2999ae627d2f7d902ec" integrity sha512-I/s6F7yKUDdtMsoBWXJe8Qz40Tui5vsuKCWJEWVL+5q9sSWRzzx6v2KeNsOBEwd94j0eWkpWCH4yB6rZg9Mf0w== -"@opentelemetry/context-async-hooks@1.23.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/context-async-hooks/-/context-async-hooks-1.23.0.tgz#4c4627fe2857324459b0a78b5a83cbc64a415d14" - integrity sha512-wazGJZDRevibOJ+VgyrT+9+8sybZAxpZx2G7vy30OAtk92OpZCg7HgNxT11NUx0VBDWcRx1dOatMYGOVplQ7QA== +"@opentelemetry/context-async-hooks@1.24.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/context-async-hooks/-/context-async-hooks-1.24.0.tgz#f5f8cc15038d293a8e9b570543c1f36aa4ee17ec" + integrity sha512-s7xaQ9ifDpJvwbWRLkZD/J5hY35w+MECm4TQUkg6szRcny9lf6oVhWij4w3JJFQgvHQMXU7oXOpX8Z05HxV/8g== -"@opentelemetry/core@1.23.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/core/-/core-1.23.0.tgz#f2e7ada7f35750f3c1674aef1e52c879005c0731" - integrity sha512-hdQ/a9TMzMQF/BO8Cz1juA43/L5YGtCSiKoOHmrTEf7VMDAZgy8ucpWx3eQTnQ3gBloRcWtzvcrMZABC3PTSKQ== +"@opentelemetry/core@1.24.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/core/-/core-1.24.0.tgz#5568b6c1328a6b9c94a77f9b2c7f872b852bba40" + integrity sha512-FP2oN7mVPqcdxJDTTnKExj4mi91EH+DNuArKfHTjPuJWe2K1JfMIVXNfahw1h3onJxQnxS8K0stKkogX05s+Aw== dependencies: - "@opentelemetry/semantic-conventions" "1.23.0" + "@opentelemetry/semantic-conventions" "1.24.0" "@opentelemetry/exporter-zipkin@^1.6.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/exporter-zipkin/-/exporter-zipkin-1.23.0.tgz#0e3f44007bd1d5040ef7925908b4bfcf1d7f7825" - integrity sha512-2LOGvNUGONuIcWhynFaJorVyqv03uZkURScciLmOxvBf2lWTNPEj77br1dCpShIWBM+YlrH7Tc+JXAs+GC7DqA== + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/exporter-zipkin/-/exporter-zipkin-1.24.0.tgz#16c31815671bd05e9ba7ccc5a5220529b6ac4409" + integrity sha512-QeGv0PHONswmu567pf9QliJ6s6DgCu5+ziF+soNS1LTcr1VRRVLViYLmGxmzDFUC48sjNTu7sumcKT0nJXsGBw== dependencies: - "@opentelemetry/core" "1.23.0" - "@opentelemetry/resources" "1.23.0" - "@opentelemetry/sdk-trace-base" "1.23.0" - "@opentelemetry/semantic-conventions" "1.23.0" + "@opentelemetry/core" "1.24.0" + "@opentelemetry/resources" "1.24.0" + "@opentelemetry/sdk-trace-base" "1.24.0" + "@opentelemetry/semantic-conventions" "1.24.0" "@opentelemetry/instrumentation-grpc@^0.32.0": version "0.32.0" @@ -252,53 +255,53 @@ semver "^7.3.2" shimmer "^1.2.1" -"@opentelemetry/propagator-b3@1.23.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/propagator-b3/-/propagator-b3-1.23.0.tgz#436c1e33b68e6b0964853d0dc3e4f5f0b785c47e" - integrity sha512-cZ6rl8y2bdxYQ4e+zP2CQ+QmuPebaLBLO1skjFpj3eEu7zar+6hBzUP3llMOUupkQeQSwXz+4c8dZ26OhYfG/g== +"@opentelemetry/propagator-b3@1.24.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/propagator-b3/-/propagator-b3-1.24.0.tgz#88a2ffede42ac6df7c409bacec0c9f9cc181bc13" + integrity sha512-7TMIDE4+NO5vnkor+zned42wqca+hmhW5gWKhmYjUHC5B5uojo1PvtmBrd7kigFu96XvL4ZUWVzibWRWIQ/++Q== dependencies: - "@opentelemetry/core" "1.23.0" + "@opentelemetry/core" "1.24.0" -"@opentelemetry/propagator-jaeger@1.23.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.23.0.tgz#a29679073f04777139e259f9f652e56cf5f9bf28" - integrity sha512-6iArixfgIl3ZgzeltQ5jyiKbjZygM+MbM84pXi1HL0Qs4x4Ck5rM6wEtjhZffFnlDMWEkEqrnM0xF6bTfbiMAQ== +"@opentelemetry/propagator-jaeger@1.24.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.24.0.tgz#e67fe6f8f2f1d74335909a7f7352d0761039ab79" + integrity sha512-r3MX3AmJiUeiWTXSDOdwBeaO+ahvWcFCpuKxmhhsH8Q8LqDnjhNd3krqBh4Qsq9wa0WhWtiQaDs/NOCWoMOlOw== dependencies: - "@opentelemetry/core" "1.23.0" + "@opentelemetry/core" "1.24.0" -"@opentelemetry/resources@1.23.0", "@opentelemetry/resources@^1.6.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/resources/-/resources-1.23.0.tgz#4c71430f3e20c4d88b67ef5629759fae108485e5" - integrity sha512-iPRLfVfcEQynYGo7e4Di+ti+YQTAY0h5mQEUJcHlU9JOqpb4x965O6PZ+wMcwYVY63G96KtdS86YCM1BF1vQZg== +"@opentelemetry/resources@1.24.0", "@opentelemetry/resources@^1.6.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/resources/-/resources-1.24.0.tgz#f27911af0917986da5716775021eae0a872ba98e" + integrity sha512-mxC7E7ocUS1tLzepnA7O9/G8G6ZTdjCH2pXme1DDDuCuk6n2/53GADX+GWBuyX0dfIxeMInIbJAdjlfN9GNr6A== dependencies: - "@opentelemetry/core" "1.23.0" - "@opentelemetry/semantic-conventions" "1.23.0" + "@opentelemetry/core" "1.24.0" + "@opentelemetry/semantic-conventions" "1.24.0" -"@opentelemetry/sdk-trace-base@1.23.0", "@opentelemetry/sdk-trace-base@^1.6.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.23.0.tgz#ff0a0f8ec47205e0b14b3b765ea2a34de1ad01dd" - integrity sha512-PzBmZM8hBomUqvCddF/5Olyyviayka44O5nDWq673np3ctnvwMOvNrsUORZjKja1zJbwEuD9niAGbnVrz3jwRQ== +"@opentelemetry/sdk-trace-base@1.24.0", "@opentelemetry/sdk-trace-base@^1.6.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.24.0.tgz#e2de869e33fd224f6d9f39bafa4172074d1086c8" + integrity sha512-H9sLETZ4jw9UJ3totV8oM5R0m4CW0ZIOLfp4NV3g0CM8HD5zGZcaW88xqzWDgiYRpctFxd+WmHtGX/Upoa2vRg== dependencies: - "@opentelemetry/core" "1.23.0" - "@opentelemetry/resources" "1.23.0" - "@opentelemetry/semantic-conventions" "1.23.0" + "@opentelemetry/core" "1.24.0" + "@opentelemetry/resources" "1.24.0" + "@opentelemetry/semantic-conventions" "1.24.0" "@opentelemetry/sdk-trace-node@^1.6.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.23.0.tgz#7787f32722e8c77774bfb8a31b88be03e2df0b0d" - integrity sha512-dwnin5Go2r6VzJZkVc9JBPupssWp7j2EFto+S7qRkwQ00WDykWeq3x2Skk7I1Jr448FeBSvGCQVPgV5e6s6O3w== - dependencies: - "@opentelemetry/context-async-hooks" "1.23.0" - "@opentelemetry/core" "1.23.0" - "@opentelemetry/propagator-b3" "1.23.0" - "@opentelemetry/propagator-jaeger" "1.23.0" - "@opentelemetry/sdk-trace-base" "1.23.0" + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.24.0.tgz#34c56f092f98a16e0e045152c9a4baf50ed8dcee" + integrity sha512-QgByHmM9uloTpcYEEyW9YJEIMKHFSIM677RH9pJPWWwtM2NQFbEp/8HIJw80Ymtaz6cAxg1Kay1ByqIVzq3t5g== + dependencies: + "@opentelemetry/context-async-hooks" "1.24.0" + "@opentelemetry/core" "1.24.0" + "@opentelemetry/propagator-b3" "1.24.0" + "@opentelemetry/propagator-jaeger" "1.24.0" + "@opentelemetry/sdk-trace-base" "1.24.0" semver "^7.5.2" -"@opentelemetry/semantic-conventions@1.23.0", "@opentelemetry/semantic-conventions@^1.6.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/semantic-conventions/-/semantic-conventions-1.23.0.tgz#627f2721b960fe586b7f72a07912cb7699f06eef" - integrity sha512-MiqFvfOzfR31t8cc74CTP1OZfz7MbqpAnLCra8NqQoaHJX6ncIRTdYOQYBDQ2uFISDq0WY8Y9dDTWvsgzzBYRg== +"@opentelemetry/semantic-conventions@1.24.0", "@opentelemetry/semantic-conventions@^1.6.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/semantic-conventions/-/semantic-conventions-1.24.0.tgz#f074db930a7feb4d64103a9a576c5fbad046fcac" + integrity sha512-yL0jI6Ltuz8R+Opj7jClGrul6pOoYrdfVmzQS4SITXRPH7I5IRZbrwe/6/v8v4WYMa6MYZG480S1+uc/IGfqsA== "@opentelemetry/semantic-conventions@1.6.0": version "1.6.0" @@ -364,9 +367,9 @@ integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== "@pulumi/pulumi@^3.0.0": - version "3.112.0" - resolved "https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.112.0.tgz#372500c1d92a5fa4c1f64a3ae5e0009f2b37c24e" - integrity sha512-RfAIT0k6Ny7vVjgWP4dauG6EmNz/hkiNXXrVQIYSiD5EfZRwoMML7uhijWf8H5lWUkZwKTcvZdlVkwwgdsJdww== + version "3.113.3" + resolved "https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.113.3.tgz#3611c667e94db46726ddcc8b5dd1aaeff134d8df" + integrity sha512-q7Agc4nkIKNuoOmzIvmvbH3axIkdhEbVA+GPlosRM0MUJkJdRlU82hO4EGBhkyGbBPbLWvirqCjXOAQ66LgCfg== dependencies: "@grpc/grpc-js" "^1.10.1" "@logdna/tail-file" "^2.0.6" @@ -397,8 +400,6 @@ semver "^7.5.2" source-map-support "^0.5.6" tmp "^0.2.1" - ts-node "^7.0.1" - typescript "~3.8.3" upath "^1.1.0" "@pulumi/query@^0.3.0": @@ -508,9 +509,9 @@ integrity sha512-Jus9s4CDbqwocc5pOAnh8ShfrnMcPHuJYzVcSUU7lrh8Ni5HuIqX3oilL86p3dlTrk0LzHRCgA/GQ7uNCw6l2Q== "@types/node@*", "@types/node@>=13.7.0": - version "20.12.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.4.tgz#af5921bd75ccdf3a3d8b3fa75bf3d3359268cd11" - integrity sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw== + version "20.12.7" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.7.tgz#04080362fa3dd6c5822061aa3124f5c152cff384" + integrity sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg== dependencies: undici-types "~5.26.4" @@ -578,16 +579,6 @@ ansi-styles@^6.1.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== -"aproba@^1.0.3 || ^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" - integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== - -are-we-there-yet@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-4.0.2.tgz#aed25dd0eae514660d49ac2b2366b175c614785a" - integrity sha512-ncSWAawFhKMJDTdoAeOV+jyW1VCMj5QIAwULIBV0SSR7B/RLPPEQiknKcg/RIIZlUQrxELpsxMiTUoAQ4sIUyg== - argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -595,11 +586,6 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" -arrify@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -622,15 +608,15 @@ brace-expansion@^2.0.1: dependencies: balanced-match "^1.0.0" -buffer-from@^1.0.0, buffer-from@^1.1.0: +buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== builtins@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" - integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== + version "5.1.0" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.1.0.tgz#6d85eeb360c4ebc166c3fdef922a15aa7316a5e8" + integrity sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg== dependencies: semver "^7.0.0" @@ -713,21 +699,11 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-support@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== - common-ancestor-path@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== -console-control-strings@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== - cross-spawn@^7.0.0, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -761,11 +737,6 @@ defer-to-connect@^2.0.0: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== -diff@^3.1.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" - integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== - eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" @@ -875,20 +846,6 @@ function-bind@^1.1.2: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -gauge@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-5.0.1.tgz#1efc801b8ff076b86ef3e9a7a280a975df572112" - integrity sha512-CmykPMJGuNan/3S4kZOpvvPYSNqSHANiWnh9XcMU2pSjtBfF0XzZ2p1bFAxTbnFxyBuPxQYHhzwaoOmUdqzvxQ== - dependencies: - aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.3" - console-control-strings "^1.1.0" - has-unicode "^2.0.1" - signal-exit "^4.0.1" - string-width "^4.2.3" - strip-ansi "^6.0.1" - wide-align "^1.1.5" - get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -944,11 +901,6 @@ graceful-fs@^4.2.6: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== -has-unicode@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== - hasown@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" @@ -1148,9 +1100,9 @@ lowercase-keys@^2.0.0: integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== lru-cache@^10.0.1, lru-cache@^10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" - integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + version "10.2.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.1.tgz#e8d901141f22937968e45a6533d52824070151e4" + integrity sha512-tS24spDe/zXhWbNPErCHs/AGOzbKGHT+ybSBqmdLm8WZ1xXLWvH8Qn71QPAlqVhd0qUTWjy+Kl9JmISgDdEjsA== lru-cache@^6.0.0: version "6.0.0" @@ -1159,11 +1111,6 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -make-error@^1.1.1: - version "1.3.6" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== - make-fetch-happen@^13.0.0: version "13.0.0" resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-13.0.0.tgz#705d6f6cbd7faecb8eac2432f551e49475bfedf0" @@ -1208,7 +1155,7 @@ minimatch@^9.0.0, minimatch@^9.0.1, minimatch@^9.0.3, minimatch@^9.0.4: dependencies: brace-expansion "^2.0.1" -minimist@^1.2.0, minimist@^1.2.6: +minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== @@ -1285,13 +1232,6 @@ minizlib@^2.1.1, minizlib@^2.1.2: minipass "^3.0.0" yallist "^4.0.0" -mkdirp@^0.5.1: - version "0.5.6" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" - mkdirp@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" @@ -1369,13 +1309,13 @@ npm-normalize-package-bin@^3.0.0: resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz#25447e32a9a7de1f51362c61a559233b89947832" integrity sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ== -npm-package-arg@^11.0.0, npm-package-arg@^11.0.1: - version "11.0.1" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-11.0.1.tgz#f208b0022c29240a1c532a449bdde3f0a4708ebc" - integrity sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ== +npm-package-arg@^11.0.0, npm-package-arg@^11.0.2: + version "11.0.2" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-11.0.2.tgz#1ef8006c4a9e9204ddde403035f7ff7d718251ca" + integrity sha512-IGN0IAwmhDJwy13Wc8k+4PEbTPhpJnMtfR53ZbOyjkvmEcLS4nCwp6mvMWjS5sUjeiW3mpx6cHmuhKEu9XmcQw== dependencies: hosted-git-info "^7.0.0" - proc-log "^3.0.0" + proc-log "^4.0.0" semver "^7.3.5" validate-npm-package-name "^5.0.0" @@ -1396,10 +1336,10 @@ npm-pick-manifest@^9.0.0: npm-package-arg "^11.0.0" semver "^7.3.5" -npm-registry-fetch@^16.0.0, npm-registry-fetch@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-16.2.0.tgz#f9302e0a0e0e47138c29b5d801ea928f6f6edb8b" - integrity sha512-zVH+G0q1O2hqgQBUvQ2LWp6ujr6VJAeDnmWxqiMlCguvLexEzBnuQIwC70r04vcvCMAcYEIpA/rO9YyVi+fmJQ== +npm-registry-fetch@^16.0.0, npm-registry-fetch@^16.2.1: + version "16.2.1" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-16.2.1.tgz#c367df2d770f915da069ff19fd31762f4bca3ef1" + integrity sha512-8l+7jxhim55S85fjiDGJ1rZXBWGtRLi1OSb4Z3BPLObPuIaeKRlPRiYMSHU4/81ck3t71Z+UwDDl47gcpmfQQA== dependencies: "@npmcli/redact" "^1.1.0" make-fetch-happen "^13.0.0" @@ -1408,7 +1348,7 @@ npm-registry-fetch@^16.0.0, npm-registry-fetch@^16.2.0: minipass-json-stream "^1.0.1" minizlib "^2.1.2" npm-package-arg "^11.0.0" - proc-log "^3.0.0" + proc-log "^4.0.0" npm-run-path@^4.0.1: version "4.0.1" @@ -1417,16 +1357,6 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -npmlog@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-7.0.1.tgz#7372151a01ccb095c47d8bf1d0771a4ff1f53ac8" - integrity sha512-uJ0YFk/mCQpLBt+bxN88AKd+gyqZvZDbtiNxk6Waqcj2aPRyfVx8ITawkyQynxUagInjdYT1+qj4NfA5KJJUxg== - dependencies: - are-we-there-yet "^4.0.0" - console-control-strings "^1.1.0" - gauge "^5.0.0" - set-blocking "^2.0.0" - once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -1467,15 +1397,16 @@ p-map@^4.0.0: dependencies: aggregate-error "^3.0.0" -pacote@^17.0.0, pacote@^17.0.4: - version "17.0.6" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-17.0.6.tgz#874bb59cda5d44ab784d0b6530fcb4a7d9b76a60" - integrity sha512-cJKrW21VRE8vVTRskJo78c/RCvwJCn1f4qgfxL4w77SOWrTCRcmfkYHlHtS0gqpgjv3zhXflRtgsrUCX5xwNnQ== +pacote@^18.0.0, pacote@^18.0.1: + version "18.0.2" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-18.0.2.tgz#ac78b9d6a441788f024c14179e193e170a8af964" + integrity sha512-oMxnZQCOZqFZyEh5oJtpMepoub4hoI6EfMUCdbwkBqkFuJ1Dwfz5IMQD344dKbwPPBNZWKwGL/kNvmDubZyvug== dependencies: "@npmcli/git" "^5.0.0" "@npmcli/installed-package-contents" "^2.0.1" + "@npmcli/package-json" "^5.1.0" "@npmcli/promise-spawn" "^7.0.0" - "@npmcli/run-script" "^7.0.0" + "@npmcli/run-script" "^8.0.0" cacache "^18.0.0" fs-minipass "^3.0.0" minipass "^7.0.2" @@ -1483,10 +1414,8 @@ pacote@^17.0.0, pacote@^17.0.4: npm-packlist "^8.0.0" npm-pick-manifest "^9.0.0" npm-registry-fetch "^16.0.0" - proc-log "^3.0.0" + proc-log "^4.0.0" promise-retry "^2.0.1" - read-package-json "^7.0.0" - read-package-json-fast "^3.0.0" sigstore "^2.2.0" ssri "^10.0.0" tar "^6.1.11" @@ -1548,6 +1477,16 @@ proc-log@^3.0.0: resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== +proc-log@^4.0.0, proc-log@^4.1.0, proc-log@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-4.2.0.tgz#b6f461e4026e75fdfe228b265e9f7a00779d7034" + integrity sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA== + +proggy@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/proggy/-/proggy-2.0.0.tgz#154bb0e41d3125b518ef6c79782455c2c47d94e1" + integrity sha512-69agxLtnI8xBs9gUGqEnK26UfiexpHy+KUpBQWabiytQjnn5wFY8rklAi7GRfABIuPNnQ/ik48+LGLkYYJcy4A== + promise-all-reject-late@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" @@ -1615,16 +1554,6 @@ read-package-json-fast@^3.0.0, read-package-json-fast@^3.0.2: json-parse-even-better-errors "^3.0.0" npm-normalize-package-bin "^3.0.0" -read-package-json@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-7.0.0.tgz#d605c9dcf6bc5856da24204aa4e9518ee9714be0" - integrity sha512-uL4Z10OKV4p6vbdvIXB+OzhInYtIozl/VxUBPgNkBuUi2DeRonnuspmaVAMcrkmfjKGNmRndyQAbE7/AmzGwFg== - dependencies: - glob "^10.2.2" - json-parse-even-better-errors "^3.0.0" - normalize-package-data "^6.0.0" - npm-normalize-package-bin "^3.0.0" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -1682,11 +1611,6 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semve dependencies: lru-cache "^6.0.0" -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -1741,9 +1665,9 @@ socks-proxy-agent@^8.0.3: socks "^2.7.1" socks@^2.7.1: - version "2.8.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.1.tgz#22c7d9dd7882649043cba0eafb49ae144e3457af" - integrity sha512-B6w7tkwNid7ToxjZ08rQMT8M9BJAf8DKx8Ft4NivzH0zBUfd6jldGcisJn/RLgxcX3FPNDdNQCUEMMT79b+oCQ== + version "2.8.3" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.3.tgz#1ebd0f09c52ba95a09750afe3f3f9f724a800cb5" + integrity sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw== dependencies: ip-address "^9.0.5" smart-buffer "^4.2.0" @@ -1804,7 +1728,7 @@ ssri@^10.0.0, ssri@^10.0.5: dependencies: minipass "^7.0.3" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -1868,20 +1792,6 @@ treeverse@^3.0.0: resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-3.0.0.tgz#dd82de9eb602115c6ebd77a574aae67003cb48c8" integrity sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ== -ts-node@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-7.0.1.tgz#9562dc2d1e6d248d24bc55f773e3f614337d9baf" - integrity sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw== - dependencies: - arrify "^1.0.0" - buffer-from "^1.1.0" - diff "^3.1.0" - make-error "^1.1.1" - minimist "^1.2.0" - mkdirp "^0.5.1" - source-map-support "^0.5.6" - yn "^2.0.0" - tuf-js@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/tuf-js/-/tuf-js-2.2.0.tgz#4daaa8620ba7545501d04dfa933c98abbcc959b9" @@ -1896,11 +1806,6 @@ typescript@^4.3.5: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== -typescript@~3.8.3: - version "3.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" - integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== - undici-types@~5.26.4: version "5.26.5" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" @@ -1964,13 +1869,6 @@ which@^4.0.0: dependencies: isexe "^3.1.1" -wide-align@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" - integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== - dependencies: - string-width "^1.0.2 || 2 || 3 || 4" - "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -2030,11 +1928,6 @@ yargs@^17.7.2: y18n "^5.0.5" yargs-parser "^21.1.1" -yn@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/yn/-/yn-2.0.0.tgz#e5adabc8acf408f6385fc76495684c88e6af689a" - integrity sha512-uTv8J/wiWTgUTg+9vLTi//leUl5vDQS6uii/emeTb2ssY7vl6QWf2fFbIIGjnhjvbdKlU0ed7QPgY1htTC86jQ== - yocto-queue@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" diff --git a/sdk/java/.gradle/8.1.1/gc.properties b/sdk/python/Pulumi.yaml similarity index 100% rename from sdk/java/.gradle/8.1.1/gc.properties rename to sdk/python/Pulumi.yaml diff --git a/sdk/python/README.md b/sdk/python/README.md new file mode 100644 index 00000000..07a8d1be --- /dev/null +++ b/sdk/python/README.md @@ -0,0 +1,9 @@ +# A Pulumi Resource Provider for Chronosphere + +The Chronosphere Pulumi Provider allows [Pulumi](https://www.pulumi.com/) to manage supported [Chronosphere resources](https://docs.chronosphere.io/administer). + +- [Documentation](https://docs.chronosphere.io/administer) + +## Contact support + +[Contact Chronosphere support](https://docs.chronosphere.io/support/contact-support) to ask questions, report bugs, or suggest feature requests. diff --git a/sdk/python/chronosphereio_chronosphere/README.md b/sdk/python/chronosphereio_chronosphere/README.md new file mode 100644 index 00000000..30603e7c --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/README.md @@ -0,0 +1,4 @@ +> This provider is a derived work of the [Terraform Provider](https://github.com/chronosphereio/terraform-provider-chronosphere) +> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, +> first check the [`pulumi-chronosphere` repo](https://github.com/chronosphereio/pulumi-chronosphere/issues); however, if that doesn't turn up anything, +> please consult the source [`terraform-provider-chronosphere` repo](https://github.com/chronosphereio/terraform-provider-chronosphere/issues). \ No newline at end of file diff --git a/sdk/python/chronosphereio_chronosphere/__init__.py b/sdk/python/chronosphereio_chronosphere/__init__.py new file mode 100644 index 00000000..2360f05e --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/__init__.py @@ -0,0 +1,280 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from . import _utilities +import typing +# Export this package's modules as members: +from .blackhole_alert_notifier import * +from .bucket import * +from .bucket_data_source import * +from .classic_dashboard import * +from .collection import * +from .dashboard import * +from .derived_label import * +from .derived_metric import * +from .drop_rule import * +from .email_alert_notifier import * +from .gcp_metrics_integration import * +from .grafana_dashboard import * +from .mapping_rule import * +from .monitor import * +from .notification_policy import * +from .notification_policy_data_source import * +from .opsgenie_alert_notifier import * +from .pagerduty_alert_notifier import * +from .provider import * +from .recording_rule import * +from .resource_pools_config import * +from .rollup_rule import * +from .service_account import * +from .service_data_source import * +from .slack_alert_notifier import * +from .team import * +from .trace_jaeger_remote_sampling_strategy import * +from .trace_metrics_rule import * +from .trace_tail_sampling_rules import * +from .victorops_alert_notifier import * +from .webhook_alert_notifier import * +from ._inputs import * +from . import outputs + +# Make subpackages available: +if typing.TYPE_CHECKING: + import chronosphereio_chronosphere.config as __config + config = __config +else: + config = _utilities.lazy_import('chronosphereio_chronosphere.config') + +_utilities.register( + resource_modules=""" +[ + { + "pkg": "chronosphere", + "mod": "index/blackholeAlertNotifier", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/blackholeAlertNotifier:BlackholeAlertNotifier": "BlackholeAlertNotifier" + } + }, + { + "pkg": "chronosphere", + "mod": "index/bucket", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/bucket:Bucket": "Bucket" + } + }, + { + "pkg": "chronosphere", + "mod": "index/classicDashboard", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/classicDashboard:ClassicDashboard": "ClassicDashboard" + } + }, + { + "pkg": "chronosphere", + "mod": "index/collection", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/collection:Collection": "Collection" + } + }, + { + "pkg": "chronosphere", + "mod": "index/dashboard", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/dashboard:Dashboard": "Dashboard" + } + }, + { + "pkg": "chronosphere", + "mod": "index/derivedLabel", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/derivedLabel:DerivedLabel": "DerivedLabel" + } + }, + { + "pkg": "chronosphere", + "mod": "index/derivedMetric", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/derivedMetric:DerivedMetric": "DerivedMetric" + } + }, + { + "pkg": "chronosphere", + "mod": "index/dropRule", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/dropRule:DropRule": "DropRule" + } + }, + { + "pkg": "chronosphere", + "mod": "index/emailAlertNotifier", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/emailAlertNotifier:EmailAlertNotifier": "EmailAlertNotifier" + } + }, + { + "pkg": "chronosphere", + "mod": "index/gcpMetricsIntegration", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/gcpMetricsIntegration:GcpMetricsIntegration": "GcpMetricsIntegration" + } + }, + { + "pkg": "chronosphere", + "mod": "index/grafanaDashboard", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/grafanaDashboard:GrafanaDashboard": "GrafanaDashboard" + } + }, + { + "pkg": "chronosphere", + "mod": "index/mappingRule", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/mappingRule:MappingRule": "MappingRule" + } + }, + { + "pkg": "chronosphere", + "mod": "index/monitor", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/monitor:Monitor": "Monitor" + } + }, + { + "pkg": "chronosphere", + "mod": "index/notificationPolicy", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/notificationPolicy:NotificationPolicy": "NotificationPolicy" + } + }, + { + "pkg": "chronosphere", + "mod": "index/opsgenieAlertNotifier", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/opsgenieAlertNotifier:OpsgenieAlertNotifier": "OpsgenieAlertNotifier" + } + }, + { + "pkg": "chronosphere", + "mod": "index/pagerdutyAlertNotifier", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/pagerdutyAlertNotifier:PagerdutyAlertNotifier": "PagerdutyAlertNotifier" + } + }, + { + "pkg": "chronosphere", + "mod": "index/recordingRule", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/recordingRule:RecordingRule": "RecordingRule" + } + }, + { + "pkg": "chronosphere", + "mod": "index/resourcePoolsConfig", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/resourcePoolsConfig:ResourcePoolsConfig": "ResourcePoolsConfig" + } + }, + { + "pkg": "chronosphere", + "mod": "index/rollupRule", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/rollupRule:RollupRule": "RollupRule" + } + }, + { + "pkg": "chronosphere", + "mod": "index/serviceAccount", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/serviceAccount:ServiceAccount": "ServiceAccount" + } + }, + { + "pkg": "chronosphere", + "mod": "index/slackAlertNotifier", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/slackAlertNotifier:SlackAlertNotifier": "SlackAlertNotifier" + } + }, + { + "pkg": "chronosphere", + "mod": "index/team", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/team:Team": "Team" + } + }, + { + "pkg": "chronosphere", + "mod": "index/traceJaegerRemoteSamplingStrategy", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/traceJaegerRemoteSamplingStrategy:TraceJaegerRemoteSamplingStrategy": "TraceJaegerRemoteSamplingStrategy" + } + }, + { + "pkg": "chronosphere", + "mod": "index/traceMetricsRule", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/traceMetricsRule:TraceMetricsRule": "TraceMetricsRule" + } + }, + { + "pkg": "chronosphere", + "mod": "index/traceTailSamplingRules", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/traceTailSamplingRules:TraceTailSamplingRules": "TraceTailSamplingRules" + } + }, + { + "pkg": "chronosphere", + "mod": "index/victoropsAlertNotifier", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/victoropsAlertNotifier:VictoropsAlertNotifier": "VictoropsAlertNotifier" + } + }, + { + "pkg": "chronosphere", + "mod": "index/webhookAlertNotifier", + "fqn": "chronosphereio_chronosphere", + "classes": { + "chronosphere:index/webhookAlertNotifier:WebhookAlertNotifier": "WebhookAlertNotifier" + } + } +] +""", + resource_packages=""" +[ + { + "pkg": "chronosphere", + "token": "pulumi:providers:chronosphere", + "fqn": "chronosphereio_chronosphere", + "class": "Provider" + } +] +""" +) diff --git a/sdk/python/chronosphereio_chronosphere/_inputs.py b/sdk/python/chronosphereio_chronosphere/_inputs.py new file mode 100644 index 00000000..7b4f1f47 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/_inputs.py @@ -0,0 +1,3078 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = [ + 'DerivedLabelMetricLabelArgs', + 'DerivedLabelMetricLabelConstructedLabelArgs', + 'DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs', + 'DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs', + 'DerivedLabelMetricLabelMappingLabelArgs', + 'DerivedLabelMetricLabelMappingLabelNameMappingArgs', + 'DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs', + 'DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs', + 'DerivedLabelMetricLabelMappingLabelValueMappingArgs', + 'DerivedMetricQueryArgs', + 'DerivedMetricQueryQueryArgs', + 'DerivedMetricQueryQueryVariableArgs', + 'DerivedMetricQuerySelectorArgs', + 'DropRuleValueBasedDropArgs', + 'GcpMetricsIntegrationMetricGroupArgs', + 'GcpMetricsIntegrationServiceAccountArgs', + 'MappingRuleStoragePolicyArgs', + 'MonitorQueryArgs', + 'MonitorScheduleArgs', + 'MonitorScheduleRangeArgs', + 'MonitorSeriesConditionsArgs', + 'MonitorSeriesConditionsConditionArgs', + 'MonitorSeriesConditionsOverrideArgs', + 'MonitorSeriesConditionsOverrideConditionArgs', + 'MonitorSeriesConditionsOverrideLabelMatcherArgs', + 'MonitorSignalGroupingArgs', + 'NotificationPolicyDataSourceOverrideArgs', + 'NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs', + 'NotificationPolicyDataSourceOverrideRouteArgs', + 'NotificationPolicyDataSourceRouteArgs', + 'NotificationPolicyDataSourceRuleArgs', + 'NotificationPolicyOverrideArgs', + 'NotificationPolicyOverrideAlertLabelMatcherArgs', + 'NotificationPolicyOverrideRouteArgs', + 'NotificationPolicyRouteArgs', + 'NotificationPolicyRuleArgs', + 'OpsgenieAlertNotifierResponderArgs', + 'PagerdutyAlertNotifierImageArgs', + 'PagerdutyAlertNotifierLinkArgs', + 'ResourcePoolsConfigDefaultPoolArgs', + 'ResourcePoolsConfigDefaultPoolAllocationArgs', + 'ResourcePoolsConfigDefaultPoolPrioritiesArgs', + 'ResourcePoolsConfigPoolArgs', + 'ResourcePoolsConfigPoolAllocationArgs', + 'ResourcePoolsConfigPoolPrioritiesArgs', + 'RollupRuleStoragePoliciesArgs', + 'ServiceAccountRestrictionArgs', + 'SlackAlertNotifierActionArgs', + 'SlackAlertNotifierFieldArgs', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs', + 'TraceMetricsRuleGroupByArgs', + 'TraceMetricsRuleGroupByKeyArgs', + 'TraceMetricsRuleTraceFilterArgs', + 'TraceMetricsRuleTraceFilterSpanArgs', + 'TraceMetricsRuleTraceFilterSpanDurationArgs', + 'TraceMetricsRuleTraceFilterSpanErrorArgs', + 'TraceMetricsRuleTraceFilterSpanOperationArgs', + 'TraceMetricsRuleTraceFilterSpanParentOperationArgs', + 'TraceMetricsRuleTraceFilterSpanParentServiceArgs', + 'TraceMetricsRuleTraceFilterSpanServiceArgs', + 'TraceMetricsRuleTraceFilterSpanSpanCountArgs', + 'TraceMetricsRuleTraceFilterSpanTagArgs', + 'TraceMetricsRuleTraceFilterSpanTagNumericValueArgs', + 'TraceMetricsRuleTraceFilterSpanTagValueArgs', + 'TraceMetricsRuleTraceFilterTraceArgs', + 'TraceMetricsRuleTraceFilterTraceDurationArgs', + 'TraceMetricsRuleTraceFilterTraceErrorArgs', + 'TraceTailSamplingRulesDefaultSampleRateArgs', + 'TraceTailSamplingRulesRuleArgs', + 'TraceTailSamplingRulesRuleFilterArgs', + 'TraceTailSamplingRulesRuleFilterSpanArgs', + 'TraceTailSamplingRulesRuleFilterSpanDurationArgs', + 'TraceTailSamplingRulesRuleFilterSpanErrorArgs', + 'TraceTailSamplingRulesRuleFilterSpanOperationArgs', + 'TraceTailSamplingRulesRuleFilterSpanParentOperationArgs', + 'TraceTailSamplingRulesRuleFilterSpanParentServiceArgs', + 'TraceTailSamplingRulesRuleFilterSpanServiceArgs', + 'TraceTailSamplingRulesRuleFilterSpanSpanCountArgs', + 'TraceTailSamplingRulesRuleFilterSpanTagArgs', + 'TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs', + 'TraceTailSamplingRulesRuleFilterSpanTagValueArgs', + 'TraceTailSamplingRulesRuleFilterTraceArgs', + 'TraceTailSamplingRulesRuleFilterTraceDurationArgs', + 'TraceTailSamplingRulesRuleFilterTraceErrorArgs', +] + +@pulumi.input_type +class DerivedLabelMetricLabelArgs: + def __init__(__self__, *, + constructed_label: Optional[pulumi.Input['DerivedLabelMetricLabelConstructedLabelArgs']] = None, + mapping_label: Optional[pulumi.Input['DerivedLabelMetricLabelMappingLabelArgs']] = None): + if constructed_label is not None: + pulumi.set(__self__, "constructed_label", constructed_label) + if mapping_label is not None: + pulumi.set(__self__, "mapping_label", mapping_label) + + @property + @pulumi.getter(name="constructedLabel") + def constructed_label(self) -> Optional[pulumi.Input['DerivedLabelMetricLabelConstructedLabelArgs']]: + return pulumi.get(self, "constructed_label") + + @constructed_label.setter + def constructed_label(self, value: Optional[pulumi.Input['DerivedLabelMetricLabelConstructedLabelArgs']]): + pulumi.set(self, "constructed_label", value) + + @property + @pulumi.getter(name="mappingLabel") + def mapping_label(self) -> Optional[pulumi.Input['DerivedLabelMetricLabelMappingLabelArgs']]: + return pulumi.get(self, "mapping_label") + + @mapping_label.setter + def mapping_label(self, value: Optional[pulumi.Input['DerivedLabelMetricLabelMappingLabelArgs']]): + pulumi.set(self, "mapping_label", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelConstructedLabelArgs: + def __init__(__self__, *, + value_definitions: pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs']]]): + pulumi.set(__self__, "value_definitions", value_definitions) + + @property + @pulumi.getter(name="valueDefinitions") + def value_definitions(self) -> pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs']]]: + return pulumi.get(self, "value_definitions") + + @value_definitions.setter + def value_definitions(self, value: pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs']]]): + pulumi.set(self, "value_definitions", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelConstructedLabelValueDefinitionArgs: + def __init__(__self__, *, + filters: pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs']]], + value: pulumi.Input[str]): + pulumi.set(__self__, "filters", filters) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def filters(self) -> pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs']]]: + return pulumi.get(self, "filters") + + @filters.setter + def filters(self, value: pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs']]]): + pulumi.set(self, "filters", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelConstructedLabelValueDefinitionFilterArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + value_glob: pulumi.Input[str]): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value_glob", value_glob) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="valueGlob") + def value_glob(self) -> pulumi.Input[str]: + return pulumi.get(self, "value_glob") + + @value_glob.setter + def value_glob(self, value: pulumi.Input[str]): + pulumi.set(self, "value_glob", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelMappingLabelArgs: + def __init__(__self__, *, + name_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingArgs']]]] = None, + value_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelValueMappingArgs']]]] = None): + if name_mappings is not None: + pulumi.set(__self__, "name_mappings", name_mappings) + if value_mappings is not None: + pulumi.set(__self__, "value_mappings", value_mappings) + + @property + @pulumi.getter(name="nameMappings") + def name_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingArgs']]]]: + return pulumi.get(self, "name_mappings") + + @name_mappings.setter + def name_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingArgs']]]]): + pulumi.set(self, "name_mappings", value) + + @property + @pulumi.getter(name="valueMappings") + def value_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelValueMappingArgs']]]]: + return pulumi.get(self, "value_mappings") + + @value_mappings.setter + def value_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelValueMappingArgs']]]]): + pulumi.set(self, "value_mappings", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelMappingLabelNameMappingArgs: + def __init__(__self__, *, + filters: pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs']]], + source_label: pulumi.Input[str], + value_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs']]]] = None): + pulumi.set(__self__, "filters", filters) + pulumi.set(__self__, "source_label", source_label) + if value_mappings is not None: + pulumi.set(__self__, "value_mappings", value_mappings) + + @property + @pulumi.getter + def filters(self) -> pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs']]]: + return pulumi.get(self, "filters") + + @filters.setter + def filters(self, value: pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs']]]): + pulumi.set(self, "filters", value) + + @property + @pulumi.getter(name="sourceLabel") + def source_label(self) -> pulumi.Input[str]: + return pulumi.get(self, "source_label") + + @source_label.setter + def source_label(self, value: pulumi.Input[str]): + pulumi.set(self, "source_label", value) + + @property + @pulumi.getter(name="valueMappings") + def value_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs']]]]: + return pulumi.get(self, "value_mappings") + + @value_mappings.setter + def value_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs']]]]): + pulumi.set(self, "value_mappings", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelMappingLabelNameMappingFilterArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + value_glob: pulumi.Input[str]): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value_glob", value_glob) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="valueGlob") + def value_glob(self) -> pulumi.Input[str]: + return pulumi.get(self, "value_glob") + + @value_glob.setter + def value_glob(self, value: pulumi.Input[str]): + pulumi.set(self, "value_glob", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelMappingLabelNameMappingValueMappingArgs: + def __init__(__self__, *, + source_value_globs: pulumi.Input[Sequence[pulumi.Input[str]]], + target_value: pulumi.Input[str]): + pulumi.set(__self__, "source_value_globs", source_value_globs) + pulumi.set(__self__, "target_value", target_value) + + @property + @pulumi.getter(name="sourceValueGlobs") + def source_value_globs(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "source_value_globs") + + @source_value_globs.setter + def source_value_globs(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "source_value_globs", value) + + @property + @pulumi.getter(name="targetValue") + def target_value(self) -> pulumi.Input[str]: + return pulumi.get(self, "target_value") + + @target_value.setter + def target_value(self, value: pulumi.Input[str]): + pulumi.set(self, "target_value", value) + + +@pulumi.input_type +class DerivedLabelMetricLabelMappingLabelValueMappingArgs: + def __init__(__self__, *, + source_value_globs: pulumi.Input[Sequence[pulumi.Input[str]]], + target_value: pulumi.Input[str]): + pulumi.set(__self__, "source_value_globs", source_value_globs) + pulumi.set(__self__, "target_value", target_value) + + @property + @pulumi.getter(name="sourceValueGlobs") + def source_value_globs(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "source_value_globs") + + @source_value_globs.setter + def source_value_globs(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "source_value_globs", value) + + @property + @pulumi.getter(name="targetValue") + def target_value(self) -> pulumi.Input[str]: + return pulumi.get(self, "target_value") + + @target_value.setter + def target_value(self, value: pulumi.Input[str]): + pulumi.set(self, "target_value", value) + + +@pulumi.input_type +class DerivedMetricQueryArgs: + def __init__(__self__, *, + query: pulumi.Input['DerivedMetricQueryQueryArgs'], + selector: Optional[pulumi.Input['DerivedMetricQuerySelectorArgs']] = None): + pulumi.set(__self__, "query", query) + if selector is not None: + pulumi.set(__self__, "selector", selector) + + @property + @pulumi.getter + def query(self) -> pulumi.Input['DerivedMetricQueryQueryArgs']: + return pulumi.get(self, "query") + + @query.setter + def query(self, value: pulumi.Input['DerivedMetricQueryQueryArgs']): + pulumi.set(self, "query", value) + + @property + @pulumi.getter + def selector(self) -> Optional[pulumi.Input['DerivedMetricQuerySelectorArgs']]: + return pulumi.get(self, "selector") + + @selector.setter + def selector(self, value: Optional[pulumi.Input['DerivedMetricQuerySelectorArgs']]): + pulumi.set(self, "selector", value) + + +@pulumi.input_type +class DerivedMetricQueryQueryArgs: + def __init__(__self__, *, + expr: pulumi.Input[str], + variables: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryQueryVariableArgs']]]] = None): + pulumi.set(__self__, "expr", expr) + if variables is not None: + pulumi.set(__self__, "variables", variables) + + @property + @pulumi.getter + def expr(self) -> pulumi.Input[str]: + return pulumi.get(self, "expr") + + @expr.setter + def expr(self, value: pulumi.Input[str]): + pulumi.set(self, "expr", value) + + @property + @pulumi.getter + def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryQueryVariableArgs']]]]: + return pulumi.get(self, "variables") + + @variables.setter + def variables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryQueryVariableArgs']]]]): + pulumi.set(self, "variables", value) + + +@pulumi.input_type +class DerivedMetricQueryQueryVariableArgs: + def __init__(__self__, *, + default_selector: pulumi.Input[str], + name: pulumi.Input[str]): + pulumi.set(__self__, "default_selector", default_selector) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="defaultSelector") + def default_selector(self) -> pulumi.Input[str]: + return pulumi.get(self, "default_selector") + + @default_selector.setter + def default_selector(self, value: pulumi.Input[str]): + pulumi.set(self, "default_selector", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class DerivedMetricQuerySelectorArgs: + def __init__(__self__, *, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + if labels is not None: + pulumi.set(__self__, "labels", labels) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + +@pulumi.input_type +class DropRuleValueBasedDropArgs: + def __init__(__self__, *, + target_drop_value: pulumi.Input[float]): + pulumi.set(__self__, "target_drop_value", target_drop_value) + + @property + @pulumi.getter(name="targetDropValue") + def target_drop_value(self) -> pulumi.Input[float]: + return pulumi.get(self, "target_drop_value") + + @target_drop_value.setter + def target_drop_value(self, value: pulumi.Input[float]): + pulumi.set(self, "target_drop_value", value) + + +@pulumi.input_type +class GcpMetricsIntegrationMetricGroupArgs: + def __init__(__self__, *, + project_id: pulumi.Input[str], + prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + pulumi.set(__self__, "project_id", project_id) + if prefixes is not None: + pulumi.set(__self__, "prefixes", prefixes) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: pulumi.Input[str]): + pulumi.set(self, "project_id", value) + + @property + @pulumi.getter + def prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "prefixes") + + @prefixes.setter + def prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "prefixes", value) + + +@pulumi.input_type +class GcpMetricsIntegrationServiceAccountArgs: + def __init__(__self__, *, + client_email: pulumi.Input[str]): + pulumi.set(__self__, "client_email", client_email) + + @property + @pulumi.getter(name="clientEmail") + def client_email(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_email") + + @client_email.setter + def client_email(self, value: pulumi.Input[str]): + pulumi.set(self, "client_email", value) + + +@pulumi.input_type +class MappingRuleStoragePolicyArgs: + def __init__(__self__, *, + resolution: pulumi.Input[str], + retention: pulumi.Input[str]): + pulumi.set(__self__, "resolution", resolution) + pulumi.set(__self__, "retention", retention) + + @property + @pulumi.getter + def resolution(self) -> pulumi.Input[str]: + return pulumi.get(self, "resolution") + + @resolution.setter + def resolution(self, value: pulumi.Input[str]): + pulumi.set(self, "resolution", value) + + @property + @pulumi.getter + def retention(self) -> pulumi.Input[str]: + return pulumi.get(self, "retention") + + @retention.setter + def retention(self, value: pulumi.Input[str]): + pulumi.set(self, "retention", value) + + +@pulumi.input_type +class MonitorQueryArgs: + def __init__(__self__, *, + graphite_expr: Optional[pulumi.Input[str]] = None, + prometheus_expr: Optional[pulumi.Input[str]] = None): + if graphite_expr is not None: + pulumi.set(__self__, "graphite_expr", graphite_expr) + if prometheus_expr is not None: + pulumi.set(__self__, "prometheus_expr", prometheus_expr) + + @property + @pulumi.getter(name="graphiteExpr") + def graphite_expr(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "graphite_expr") + + @graphite_expr.setter + def graphite_expr(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "graphite_expr", value) + + @property + @pulumi.getter(name="prometheusExpr") + def prometheus_expr(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "prometheus_expr") + + @prometheus_expr.setter + def prometheus_expr(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prometheus_expr", value) + + +@pulumi.input_type +class MonitorScheduleArgs: + def __init__(__self__, *, + timezone: pulumi.Input[str], + ranges: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorScheduleRangeArgs']]]] = None): + pulumi.set(__self__, "timezone", timezone) + if ranges is not None: + pulumi.set(__self__, "ranges", ranges) + + @property + @pulumi.getter + def timezone(self) -> pulumi.Input[str]: + return pulumi.get(self, "timezone") + + @timezone.setter + def timezone(self, value: pulumi.Input[str]): + pulumi.set(self, "timezone", value) + + @property + @pulumi.getter + def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitorScheduleRangeArgs']]]]: + return pulumi.get(self, "ranges") + + @ranges.setter + def ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorScheduleRangeArgs']]]]): + pulumi.set(self, "ranges", value) + + +@pulumi.input_type +class MonitorScheduleRangeArgs: + def __init__(__self__, *, + day: pulumi.Input[str], + end: pulumi.Input[str], + start: pulumi.Input[str]): + pulumi.set(__self__, "day", day) + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def day(self) -> pulumi.Input[str]: + return pulumi.get(self, "day") + + @day.setter + def day(self, value: pulumi.Input[str]): + pulumi.set(self, "day", value) + + @property + @pulumi.getter + def end(self) -> pulumi.Input[str]: + return pulumi.get(self, "end") + + @end.setter + def end(self, value: pulumi.Input[str]): + pulumi.set(self, "end", value) + + @property + @pulumi.getter + def start(self) -> pulumi.Input[str]: + return pulumi.get(self, "start") + + @start.setter + def start(self, value: pulumi.Input[str]): + pulumi.set(self, "start", value) + + +@pulumi.input_type +class MonitorSeriesConditionsArgs: + def __init__(__self__, *, + conditions: pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsConditionArgs']]], + overrides: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideArgs']]]] = None): + pulumi.set(__self__, "conditions", conditions) + if overrides is not None: + pulumi.set(__self__, "overrides", overrides) + + @property + @pulumi.getter + def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsConditionArgs']]]: + return pulumi.get(self, "conditions") + + @conditions.setter + def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsConditionArgs']]]): + pulumi.set(self, "conditions", value) + + @property + @pulumi.getter + def overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideArgs']]]]: + return pulumi.get(self, "overrides") + + @overrides.setter + def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideArgs']]]]): + pulumi.set(self, "overrides", value) + + +@pulumi.input_type +class MonitorSeriesConditionsConditionArgs: + def __init__(__self__, *, + op: pulumi.Input[str], + severity: pulumi.Input[str], + resolve_sustain: Optional[pulumi.Input[str]] = None, + sustain: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None): + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "severity", severity) + if resolve_sustain is not None: + pulumi.set(__self__, "resolve_sustain", resolve_sustain) + if sustain is not None: + pulumi.set(__self__, "sustain", sustain) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def op(self) -> pulumi.Input[str]: + return pulumi.get(self, "op") + + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[str]: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[str]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter(name="resolveSustain") + def resolve_sustain(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resolve_sustain") + + @resolve_sustain.setter + def resolve_sustain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resolve_sustain", value) + + @property + @pulumi.getter + def sustain(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "sustain") + + @sustain.setter + def sustain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sustain", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class MonitorSeriesConditionsOverrideArgs: + def __init__(__self__, *, + conditions: pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideConditionArgs']]], + label_matchers: pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideLabelMatcherArgs']]]): + pulumi.set(__self__, "conditions", conditions) + pulumi.set(__self__, "label_matchers", label_matchers) + + @property + @pulumi.getter + def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideConditionArgs']]]: + return pulumi.get(self, "conditions") + + @conditions.setter + def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideConditionArgs']]]): + pulumi.set(self, "conditions", value) + + @property + @pulumi.getter(name="labelMatchers") + def label_matchers(self) -> pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideLabelMatcherArgs']]]: + return pulumi.get(self, "label_matchers") + + @label_matchers.setter + def label_matchers(self, value: pulumi.Input[Sequence[pulumi.Input['MonitorSeriesConditionsOverrideLabelMatcherArgs']]]): + pulumi.set(self, "label_matchers", value) + + +@pulumi.input_type +class MonitorSeriesConditionsOverrideConditionArgs: + def __init__(__self__, *, + op: pulumi.Input[str], + severity: pulumi.Input[str], + resolve_sustain: Optional[pulumi.Input[str]] = None, + sustain: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None): + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "severity", severity) + if resolve_sustain is not None: + pulumi.set(__self__, "resolve_sustain", resolve_sustain) + if sustain is not None: + pulumi.set(__self__, "sustain", sustain) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def op(self) -> pulumi.Input[str]: + return pulumi.get(self, "op") + + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[str]: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[str]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter(name="resolveSustain") + def resolve_sustain(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resolve_sustain") + + @resolve_sustain.setter + def resolve_sustain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resolve_sustain", value) + + @property + @pulumi.getter + def sustain(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "sustain") + + @sustain.setter + def sustain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sustain", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class MonitorSeriesConditionsOverrideLabelMatcherArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + type: pulumi.Input[str], + value: pulumi.Input[str]): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class MonitorSignalGroupingArgs: + def __init__(__self__, *, + label_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + signal_per_series: Optional[pulumi.Input[bool]] = None): + if label_names is not None: + pulumi.set(__self__, "label_names", label_names) + if signal_per_series is not None: + pulumi.set(__self__, "signal_per_series", signal_per_series) + + @property + @pulumi.getter(name="labelNames") + def label_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "label_names") + + @label_names.setter + def label_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "label_names", value) + + @property + @pulumi.getter(name="signalPerSeries") + def signal_per_series(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "signal_per_series") + + @signal_per_series.setter + def signal_per_series(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "signal_per_series", value) + + +@pulumi.input_type +class NotificationPolicyDataSourceOverrideArgs: + def __init__(__self__, *, + alert_label_matchers: Sequence['NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs'], + routes: Optional[Sequence['NotificationPolicyDataSourceOverrideRouteArgs']] = None): + pulumi.set(__self__, "alert_label_matchers", alert_label_matchers) + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter(name="alertLabelMatchers") + def alert_label_matchers(self) -> Sequence['NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs']: + return pulumi.get(self, "alert_label_matchers") + + @alert_label_matchers.setter + def alert_label_matchers(self, value: Sequence['NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs']): + pulumi.set(self, "alert_label_matchers", value) + + @property + @pulumi.getter + def routes(self) -> Optional[Sequence['NotificationPolicyDataSourceOverrideRouteArgs']]: + return pulumi.get(self, "routes") + + @routes.setter + def routes(self, value: Optional[Sequence['NotificationPolicyDataSourceOverrideRouteArgs']]): + pulumi.set(self, "routes", value) + + +@pulumi.input_type +class NotificationPolicyDataSourceOverrideAlertLabelMatcherArgs: + def __init__(__self__, *, + name: str, + type: str, + value: str): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: str): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: str): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class NotificationPolicyDataSourceOverrideRouteArgs: + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: str): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @notifiers.setter + def notifiers(self, value: Optional[Sequence[str]]): + pulumi.set(self, "notifiers", value) + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + @repeat_interval.setter + def repeat_interval(self, value: Optional[str]): + pulumi.set(self, "repeat_interval", value) + + +@pulumi.input_type +class NotificationPolicyDataSourceRouteArgs: + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: str): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @notifiers.setter + def notifiers(self, value: Optional[Sequence[str]]): + pulumi.set(self, "notifiers", value) + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + @repeat_interval.setter + def repeat_interval(self, value: Optional[str]): + pulumi.set(self, "repeat_interval", value) + + +@pulumi.input_type +class NotificationPolicyDataSourceRuleArgs: + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: str): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @notifiers.setter + def notifiers(self, value: Optional[Sequence[str]]): + pulumi.set(self, "notifiers", value) + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + @repeat_interval.setter + def repeat_interval(self, value: Optional[str]): + pulumi.set(self, "repeat_interval", value) + + +@pulumi.input_type +class NotificationPolicyOverrideArgs: + def __init__(__self__, *, + alert_label_matchers: pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideAlertLabelMatcherArgs']]], + routes: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideRouteArgs']]]] = None): + pulumi.set(__self__, "alert_label_matchers", alert_label_matchers) + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter(name="alertLabelMatchers") + def alert_label_matchers(self) -> pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideAlertLabelMatcherArgs']]]: + return pulumi.get(self, "alert_label_matchers") + + @alert_label_matchers.setter + def alert_label_matchers(self, value: pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideAlertLabelMatcherArgs']]]): + pulumi.set(self, "alert_label_matchers", value) + + @property + @pulumi.getter + def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideRouteArgs']]]]: + return pulumi.get(self, "routes") + + @routes.setter + def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideRouteArgs']]]]): + pulumi.set(self, "routes", value) + + +@pulumi.input_type +class NotificationPolicyOverrideAlertLabelMatcherArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + type: pulumi.Input[str], + value: pulumi.Input[str]): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class NotificationPolicyOverrideRouteArgs: + def __init__(__self__, *, + severity: pulumi.Input[str], + notifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repeat_interval: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[str]: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[str]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def notifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "notifiers") + + @notifiers.setter + def notifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "notifiers", value) + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repeat_interval") + + @repeat_interval.setter + def repeat_interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repeat_interval", value) + + +@pulumi.input_type +class NotificationPolicyRouteArgs: + def __init__(__self__, *, + severity: pulumi.Input[str], + notifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repeat_interval: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[str]: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[str]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def notifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "notifiers") + + @notifiers.setter + def notifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "notifiers", value) + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repeat_interval") + + @repeat_interval.setter + def repeat_interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repeat_interval", value) + + +@pulumi.input_type +class NotificationPolicyRuleArgs: + def __init__(__self__, *, + severity: pulumi.Input[str], + notifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repeat_interval: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[str]: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[str]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def notifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "notifiers") + + @notifiers.setter + def notifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "notifiers", value) + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repeat_interval") + + @repeat_interval.setter + def repeat_interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repeat_interval", value) + + +@pulumi.input_type +class OpsgenieAlertNotifierResponderArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "type", type) + if id is not None: + pulumi.set(__self__, "id", id) + if name is not None: + pulumi.set(__self__, "name", name) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class PagerdutyAlertNotifierImageArgs: + def __init__(__self__, *, + src: pulumi.Input[str], + alt: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "src", src) + if alt is not None: + pulumi.set(__self__, "alt", alt) + if href is not None: + pulumi.set(__self__, "href", href) + + @property + @pulumi.getter + def src(self) -> pulumi.Input[str]: + return pulumi.get(self, "src") + + @src.setter + def src(self, value: pulumi.Input[str]): + pulumi.set(self, "src", value) + + @property + @pulumi.getter + def alt(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "alt") + + @alt.setter + def alt(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alt", value) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + +@pulumi.input_type +class PagerdutyAlertNotifierLinkArgs: + def __init__(__self__, *, + href: pulumi.Input[str], + text: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "href", href) + if text is not None: + pulumi.set(__self__, "text", text) + + @property + @pulumi.getter + def href(self) -> pulumi.Input[str]: + return pulumi.get(self, "href") + + @href.setter + def href(self, value: pulumi.Input[str]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "text", value) + + +@pulumi.input_type +class ResourcePoolsConfigDefaultPoolArgs: + def __init__(__self__, *, + allocation: pulumi.Input['ResourcePoolsConfigDefaultPoolAllocationArgs'], + priorities: Optional[pulumi.Input['ResourcePoolsConfigDefaultPoolPrioritiesArgs']] = None): + pulumi.set(__self__, "allocation", allocation) + if priorities is not None: + pulumi.set(__self__, "priorities", priorities) + + @property + @pulumi.getter + def allocation(self) -> pulumi.Input['ResourcePoolsConfigDefaultPoolAllocationArgs']: + return pulumi.get(self, "allocation") + + @allocation.setter + def allocation(self, value: pulumi.Input['ResourcePoolsConfigDefaultPoolAllocationArgs']): + pulumi.set(self, "allocation", value) + + @property + @pulumi.getter + def priorities(self) -> Optional[pulumi.Input['ResourcePoolsConfigDefaultPoolPrioritiesArgs']]: + return pulumi.get(self, "priorities") + + @priorities.setter + def priorities(self, value: Optional[pulumi.Input['ResourcePoolsConfigDefaultPoolPrioritiesArgs']]): + pulumi.set(self, "priorities", value) + + +@pulumi.input_type +class ResourcePoolsConfigDefaultPoolAllocationArgs: + def __init__(__self__, *, + percent_of_license: pulumi.Input[float]): + pulumi.set(__self__, "percent_of_license", percent_of_license) + + @property + @pulumi.getter(name="percentOfLicense") + def percent_of_license(self) -> pulumi.Input[float]: + return pulumi.get(self, "percent_of_license") + + @percent_of_license.setter + def percent_of_license(self, value: pulumi.Input[float]): + pulumi.set(self, "percent_of_license", value) + + +@pulumi.input_type +class ResourcePoolsConfigDefaultPoolPrioritiesArgs: + def __init__(__self__, *, + high_priority_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + low_priority_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if high_priority_match_rules is not None: + pulumi.set(__self__, "high_priority_match_rules", high_priority_match_rules) + if low_priority_match_rules is not None: + pulumi.set(__self__, "low_priority_match_rules", low_priority_match_rules) + + @property + @pulumi.getter(name="highPriorityMatchRules") + def high_priority_match_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "high_priority_match_rules") + + @high_priority_match_rules.setter + def high_priority_match_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "high_priority_match_rules", value) + + @property + @pulumi.getter(name="lowPriorityMatchRules") + def low_priority_match_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "low_priority_match_rules") + + @low_priority_match_rules.setter + def low_priority_match_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "low_priority_match_rules", value) + + +@pulumi.input_type +class ResourcePoolsConfigPoolArgs: + def __init__(__self__, *, + allocation: pulumi.Input['ResourcePoolsConfigPoolAllocationArgs'], + name: pulumi.Input[str], + match_rule: Optional[pulumi.Input[str]] = None, + match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + priorities: Optional[pulumi.Input['ResourcePoolsConfigPoolPrioritiesArgs']] = None): + pulumi.set(__self__, "allocation", allocation) + pulumi.set(__self__, "name", name) + if match_rule is not None: + warnings.warn("""use match_rules""", DeprecationWarning) + pulumi.log.warn("""match_rule is deprecated: use match_rules""") + if match_rule is not None: + pulumi.set(__self__, "match_rule", match_rule) + if match_rules is not None: + pulumi.set(__self__, "match_rules", match_rules) + if priorities is not None: + pulumi.set(__self__, "priorities", priorities) + + @property + @pulumi.getter + def allocation(self) -> pulumi.Input['ResourcePoolsConfigPoolAllocationArgs']: + return pulumi.get(self, "allocation") + + @allocation.setter + def allocation(self, value: pulumi.Input['ResourcePoolsConfigPoolAllocationArgs']): + pulumi.set(self, "allocation", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="matchRule") + def match_rule(self) -> Optional[pulumi.Input[str]]: + warnings.warn("""use match_rules""", DeprecationWarning) + pulumi.log.warn("""match_rule is deprecated: use match_rules""") + + return pulumi.get(self, "match_rule") + + @match_rule.setter + def match_rule(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match_rule", value) + + @property + @pulumi.getter(name="matchRules") + def match_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "match_rules") + + @match_rules.setter + def match_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_rules", value) + + @property + @pulumi.getter + def priorities(self) -> Optional[pulumi.Input['ResourcePoolsConfigPoolPrioritiesArgs']]: + return pulumi.get(self, "priorities") + + @priorities.setter + def priorities(self, value: Optional[pulumi.Input['ResourcePoolsConfigPoolPrioritiesArgs']]): + pulumi.set(self, "priorities", value) + + +@pulumi.input_type +class ResourcePoolsConfigPoolAllocationArgs: + def __init__(__self__, *, + percent_of_license: pulumi.Input[float]): + pulumi.set(__self__, "percent_of_license", percent_of_license) + + @property + @pulumi.getter(name="percentOfLicense") + def percent_of_license(self) -> pulumi.Input[float]: + return pulumi.get(self, "percent_of_license") + + @percent_of_license.setter + def percent_of_license(self, value: pulumi.Input[float]): + pulumi.set(self, "percent_of_license", value) + + +@pulumi.input_type +class ResourcePoolsConfigPoolPrioritiesArgs: + def __init__(__self__, *, + high_priority_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + low_priority_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if high_priority_match_rules is not None: + pulumi.set(__self__, "high_priority_match_rules", high_priority_match_rules) + if low_priority_match_rules is not None: + pulumi.set(__self__, "low_priority_match_rules", low_priority_match_rules) + + @property + @pulumi.getter(name="highPriorityMatchRules") + def high_priority_match_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "high_priority_match_rules") + + @high_priority_match_rules.setter + def high_priority_match_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "high_priority_match_rules", value) + + @property + @pulumi.getter(name="lowPriorityMatchRules") + def low_priority_match_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "low_priority_match_rules") + + @low_priority_match_rules.setter + def low_priority_match_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "low_priority_match_rules", value) + + +@pulumi.input_type +class RollupRuleStoragePoliciesArgs: + def __init__(__self__, *, + resolution: pulumi.Input[str], + retention: pulumi.Input[str]): + pulumi.set(__self__, "resolution", resolution) + pulumi.set(__self__, "retention", retention) + + @property + @pulumi.getter + def resolution(self) -> pulumi.Input[str]: + return pulumi.get(self, "resolution") + + @resolution.setter + def resolution(self, value: pulumi.Input[str]): + pulumi.set(self, "resolution", value) + + @property + @pulumi.getter + def retention(self) -> pulumi.Input[str]: + return pulumi.get(self, "retention") + + @retention.setter + def retention(self, value: pulumi.Input[str]): + pulumi.set(self, "retention", value) + + +@pulumi.input_type +class ServiceAccountRestrictionArgs: + def __init__(__self__, *, + permission: pulumi.Input[str], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + pulumi.set(__self__, "permission", permission) + if labels is not None: + pulumi.set(__self__, "labels", labels) + + @property + @pulumi.getter + def permission(self) -> pulumi.Input[str]: + return pulumi.get(self, "permission") + + @permission.setter + def permission(self, value: pulumi.Input[str]): + pulumi.set(self, "permission", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + +@pulumi.input_type +class SlackAlertNotifierActionArgs: + def __init__(__self__, *, + action_confirm_dismiss_text: Optional[pulumi.Input[str]] = None, + action_confirm_ok_text: Optional[pulumi.Input[str]] = None, + action_confirm_text: Optional[pulumi.Input[str]] = None, + action_confirm_tile: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + style: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None): + if action_confirm_dismiss_text is not None: + pulumi.set(__self__, "action_confirm_dismiss_text", action_confirm_dismiss_text) + if action_confirm_ok_text is not None: + pulumi.set(__self__, "action_confirm_ok_text", action_confirm_ok_text) + if action_confirm_text is not None: + pulumi.set(__self__, "action_confirm_text", action_confirm_text) + if action_confirm_tile is not None: + pulumi.set(__self__, "action_confirm_tile", action_confirm_tile) + if name is not None: + pulumi.set(__self__, "name", name) + if style is not None: + pulumi.set(__self__, "style", style) + if text is not None: + pulumi.set(__self__, "text", text) + if type is not None: + pulumi.set(__self__, "type", type) + if url is not None: + pulumi.set(__self__, "url", url) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="actionConfirmDismissText") + def action_confirm_dismiss_text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "action_confirm_dismiss_text") + + @action_confirm_dismiss_text.setter + def action_confirm_dismiss_text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action_confirm_dismiss_text", value) + + @property + @pulumi.getter(name="actionConfirmOkText") + def action_confirm_ok_text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "action_confirm_ok_text") + + @action_confirm_ok_text.setter + def action_confirm_ok_text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action_confirm_ok_text", value) + + @property + @pulumi.getter(name="actionConfirmText") + def action_confirm_text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "action_confirm_text") + + @action_confirm_text.setter + def action_confirm_text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action_confirm_text", value) + + @property + @pulumi.getter(name="actionConfirmTile") + def action_confirm_tile(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "action_confirm_tile") + + @action_confirm_tile.setter + def action_confirm_tile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action_confirm_tile", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def style(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "style") + + @style.setter + def style(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "style", value) + + @property + @pulumi.getter + def text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "text", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "url") + + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class SlackAlertNotifierFieldArgs: + def __init__(__self__, *, + short: Optional[pulumi.Input[bool]] = None, + title: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None): + if short is not None: + pulumi.set(__self__, "short", short) + if title is not None: + pulumi.set(__self__, "title", title) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def short(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "short") + + @short.setter + def short(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "short", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs: + def __init__(__self__, *, + per_operation_strategies: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs']] = None, + probabilistic_strategy: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs']] = None, + rate_limiting_strategy: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs']] = None): + if per_operation_strategies is not None: + pulumi.set(__self__, "per_operation_strategies", per_operation_strategies) + if probabilistic_strategy is not None: + pulumi.set(__self__, "probabilistic_strategy", probabilistic_strategy) + if rate_limiting_strategy is not None: + pulumi.set(__self__, "rate_limiting_strategy", rate_limiting_strategy) + + @property + @pulumi.getter(name="perOperationStrategies") + def per_operation_strategies(self) -> Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs']]: + return pulumi.get(self, "per_operation_strategies") + + @per_operation_strategies.setter + def per_operation_strategies(self, value: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs']]): + pulumi.set(self, "per_operation_strategies", value) + + @property + @pulumi.getter(name="probabilisticStrategy") + def probabilistic_strategy(self) -> Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs']]: + return pulumi.get(self, "probabilistic_strategy") + + @probabilistic_strategy.setter + def probabilistic_strategy(self, value: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs']]): + pulumi.set(self, "probabilistic_strategy", value) + + @property + @pulumi.getter(name="rateLimitingStrategy") + def rate_limiting_strategy(self) -> Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs']]: + return pulumi.get(self, "rate_limiting_strategy") + + @rate_limiting_strategy.setter + def rate_limiting_strategy(self, value: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs']]): + pulumi.set(self, "rate_limiting_strategy", value) + + +@pulumi.input_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs: + def __init__(__self__, *, + default_sampling_rate: pulumi.Input[float], + default_lower_bound_traces_per_second: Optional[pulumi.Input[float]] = None, + default_upper_bound_traces_per_second: Optional[pulumi.Input[float]] = None, + per_operation_strategies: Optional[pulumi.Input[Sequence[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs']]]] = None): + pulumi.set(__self__, "default_sampling_rate", default_sampling_rate) + if default_lower_bound_traces_per_second is not None: + pulumi.set(__self__, "default_lower_bound_traces_per_second", default_lower_bound_traces_per_second) + if default_upper_bound_traces_per_second is not None: + pulumi.set(__self__, "default_upper_bound_traces_per_second", default_upper_bound_traces_per_second) + if per_operation_strategies is not None: + pulumi.set(__self__, "per_operation_strategies", per_operation_strategies) + + @property + @pulumi.getter(name="defaultSamplingRate") + def default_sampling_rate(self) -> pulumi.Input[float]: + return pulumi.get(self, "default_sampling_rate") + + @default_sampling_rate.setter + def default_sampling_rate(self, value: pulumi.Input[float]): + pulumi.set(self, "default_sampling_rate", value) + + @property + @pulumi.getter(name="defaultLowerBoundTracesPerSecond") + def default_lower_bound_traces_per_second(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "default_lower_bound_traces_per_second") + + @default_lower_bound_traces_per_second.setter + def default_lower_bound_traces_per_second(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "default_lower_bound_traces_per_second", value) + + @property + @pulumi.getter(name="defaultUpperBoundTracesPerSecond") + def default_upper_bound_traces_per_second(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "default_upper_bound_traces_per_second") + + @default_upper_bound_traces_per_second.setter + def default_upper_bound_traces_per_second(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "default_upper_bound_traces_per_second", value) + + @property + @pulumi.getter(name="perOperationStrategies") + def per_operation_strategies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs']]]]: + return pulumi.get(self, "per_operation_strategies") + + @per_operation_strategies.setter + def per_operation_strategies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs']]]]): + pulumi.set(self, "per_operation_strategies", value) + + +@pulumi.input_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs: + def __init__(__self__, *, + operation: pulumi.Input[str], + probabilistic_strategy: pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs']): + pulumi.set(__self__, "operation", operation) + pulumi.set(__self__, "probabilistic_strategy", probabilistic_strategy) + + @property + @pulumi.getter + def operation(self) -> pulumi.Input[str]: + return pulumi.get(self, "operation") + + @operation.setter + def operation(self, value: pulumi.Input[str]): + pulumi.set(self, "operation", value) + + @property + @pulumi.getter(name="probabilisticStrategy") + def probabilistic_strategy(self) -> pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs']: + return pulumi.get(self, "probabilistic_strategy") + + @probabilistic_strategy.setter + def probabilistic_strategy(self, value: pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs']): + pulumi.set(self, "probabilistic_strategy", value) + + +@pulumi.input_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs: + def __init__(__self__, *, + sampling_rate: pulumi.Input[float]): + pulumi.set(__self__, "sampling_rate", sampling_rate) + + @property + @pulumi.getter(name="samplingRate") + def sampling_rate(self) -> pulumi.Input[float]: + return pulumi.get(self, "sampling_rate") + + @sampling_rate.setter + def sampling_rate(self, value: pulumi.Input[float]): + pulumi.set(self, "sampling_rate", value) + + +@pulumi.input_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs: + def __init__(__self__, *, + sampling_rate: pulumi.Input[float]): + pulumi.set(__self__, "sampling_rate", sampling_rate) + + @property + @pulumi.getter(name="samplingRate") + def sampling_rate(self) -> pulumi.Input[float]: + return pulumi.get(self, "sampling_rate") + + @sampling_rate.setter + def sampling_rate(self, value: pulumi.Input[float]): + pulumi.set(self, "sampling_rate", value) + + +@pulumi.input_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs: + def __init__(__self__, *, + max_traces_per_second: pulumi.Input[int]): + pulumi.set(__self__, "max_traces_per_second", max_traces_per_second) + + @property + @pulumi.getter(name="maxTracesPerSecond") + def max_traces_per_second(self) -> pulumi.Input[int]: + return pulumi.get(self, "max_traces_per_second") + + @max_traces_per_second.setter + def max_traces_per_second(self, value: pulumi.Input[int]): + pulumi.set(self, "max_traces_per_second", value) + + +@pulumi.input_type +class TraceMetricsRuleGroupByArgs: + def __init__(__self__, *, + key: pulumi.Input['TraceMetricsRuleGroupByKeyArgs'], + label: pulumi.Input[str]): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> pulumi.Input['TraceMetricsRuleGroupByKeyArgs']: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input['TraceMetricsRuleGroupByKeyArgs']): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def label(self) -> pulumi.Input[str]: + return pulumi.get(self, "label") + + @label.setter + def label(self, value: pulumi.Input[str]): + pulumi.set(self, "label", value) + + +@pulumi.input_type +class TraceMetricsRuleGroupByKeyArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + named_key: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "type", type) + if named_key is not None: + pulumi.set(__self__, "named_key", named_key) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="namedKey") + def named_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "named_key") + + @named_key.setter + def named_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_key", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterArgs: + def __init__(__self__, *, + spans: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleTraceFilterSpanArgs']]]] = None, + trace: Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceArgs']] = None): + if spans is not None: + pulumi.set(__self__, "spans", spans) + if trace is not None: + pulumi.set(__self__, "trace", trace) + + @property + @pulumi.getter + def spans(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleTraceFilterSpanArgs']]]]: + return pulumi.get(self, "spans") + + @spans.setter + def spans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleTraceFilterSpanArgs']]]]): + pulumi.set(self, "spans", value) + + @property + @pulumi.getter + def trace(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceArgs']]: + return pulumi.get(self, "trace") + + @trace.setter + def trace(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceArgs']]): + pulumi.set(self, "trace", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanArgs: + def __init__(__self__, *, + duration: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanDurationArgs']] = None, + error: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanErrorArgs']] = None, + match_type: Optional[pulumi.Input[str]] = None, + operation: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanOperationArgs']] = None, + parent_operation: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanParentOperationArgs']] = None, + parent_service: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanParentServiceArgs']] = None, + service: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanServiceArgs']] = None, + span_count: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanSpanCountArgs']] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagArgs']]]] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + if match_type is not None: + pulumi.set(__self__, "match_type", match_type) + if operation is not None: + pulumi.set(__self__, "operation", operation) + if parent_operation is not None: + pulumi.set(__self__, "parent_operation", parent_operation) + if parent_service is not None: + pulumi.set(__self__, "parent_service", parent_service) + if service is not None: + pulumi.set(__self__, "service", service) + if span_count is not None: + pulumi.set(__self__, "span_count", span_count) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def duration(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanDurationArgs']]: + return pulumi.get(self, "duration") + + @duration.setter + def duration(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanDurationArgs']]): + pulumi.set(self, "duration", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanErrorArgs']]: + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="matchType") + def match_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match_type") + + @match_type.setter + def match_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match_type", value) + + @property + @pulumi.getter + def operation(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanOperationArgs']]: + return pulumi.get(self, "operation") + + @operation.setter + def operation(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanOperationArgs']]): + pulumi.set(self, "operation", value) + + @property + @pulumi.getter(name="parentOperation") + def parent_operation(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanParentOperationArgs']]: + return pulumi.get(self, "parent_operation") + + @parent_operation.setter + def parent_operation(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanParentOperationArgs']]): + pulumi.set(self, "parent_operation", value) + + @property + @pulumi.getter(name="parentService") + def parent_service(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanParentServiceArgs']]: + return pulumi.get(self, "parent_service") + + @parent_service.setter + def parent_service(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanParentServiceArgs']]): + pulumi.set(self, "parent_service", value) + + @property + @pulumi.getter + def service(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanServiceArgs']]: + return pulumi.get(self, "service") + + @service.setter + def service(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanServiceArgs']]): + pulumi.set(self, "service", value) + + @property + @pulumi.getter(name="spanCount") + def span_count(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanSpanCountArgs']]: + return pulumi.get(self, "span_count") + + @span_count.setter + def span_count(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanSpanCountArgs']]): + pulumi.set(self, "span_count", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagArgs']]]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagArgs']]]]): + pulumi.set(self, "tags", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanDurationArgs: + def __init__(__self__, *, + max_seconds: Optional[pulumi.Input[float]] = None, + min_seconds: Optional[pulumi.Input[float]] = None): + if max_seconds is not None: + pulumi.set(__self__, "max_seconds", max_seconds) + if min_seconds is not None: + pulumi.set(__self__, "min_seconds", min_seconds) + + @property + @pulumi.getter(name="maxSeconds") + def max_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "max_seconds") + + @max_seconds.setter + def max_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_seconds", value) + + @property + @pulumi.getter(name="minSeconds") + def min_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "min_seconds") + + @min_seconds.setter + def min_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "min_seconds", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanErrorArgs: + def __init__(__self__, *, + value: pulumi.Input[bool]): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[bool]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[bool]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanOperationArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanParentOperationArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanParentServiceArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanServiceArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanSpanCountArgs: + def __init__(__self__, *, + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None): + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + + @property + @pulumi.getter + def max(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max") + + @max.setter + def max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max", value) + + @property + @pulumi.getter + def min(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "min") + + @min.setter + def min(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanTagArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + numeric_value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagNumericValueArgs']] = None, + value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagValueArgs']] = None): + pulumi.set(__self__, "key", key) + if numeric_value is not None: + pulumi.set(__self__, "numeric_value", numeric_value) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter(name="numericValue") + def numeric_value(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagNumericValueArgs']]: + return pulumi.get(self, "numeric_value") + + @numeric_value.setter + def numeric_value(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagNumericValueArgs']]): + pulumi.set(self, "numeric_value", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagValueArgs']]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterSpanTagValueArgs']]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanTagNumericValueArgs: + def __init__(__self__, *, + comparison: pulumi.Input[str], + value: pulumi.Input[float]): + pulumi.set(__self__, "comparison", comparison) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def comparison(self) -> pulumi.Input[str]: + return pulumi.get(self, "comparison") + + @comparison.setter + def comparison(self, value: pulumi.Input[str]): + pulumi.set(self, "comparison", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[float]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[float]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterSpanTagValueArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterTraceArgs: + def __init__(__self__, *, + duration: Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceDurationArgs']] = None, + error: Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceErrorArgs']] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter + def duration(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceDurationArgs']]: + return pulumi.get(self, "duration") + + @duration.setter + def duration(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceDurationArgs']]): + pulumi.set(self, "duration", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceErrorArgs']]: + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterTraceErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterTraceDurationArgs: + def __init__(__self__, *, + max_seconds: Optional[pulumi.Input[float]] = None, + min_seconds: Optional[pulumi.Input[float]] = None): + if max_seconds is not None: + pulumi.set(__self__, "max_seconds", max_seconds) + if min_seconds is not None: + pulumi.set(__self__, "min_seconds", min_seconds) + + @property + @pulumi.getter(name="maxSeconds") + def max_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "max_seconds") + + @max_seconds.setter + def max_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_seconds", value) + + @property + @pulumi.getter(name="minSeconds") + def min_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "min_seconds") + + @min_seconds.setter + def min_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "min_seconds", value) + + +@pulumi.input_type +class TraceMetricsRuleTraceFilterTraceErrorArgs: + def __init__(__self__, *, + value: pulumi.Input[bool]): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[bool]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[bool]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceTailSamplingRulesDefaultSampleRateArgs: + def __init__(__self__, *, + sample_rate: pulumi.Input[float], + enabled: Optional[pulumi.Input[bool]] = None): + pulumi.set(__self__, "sample_rate", sample_rate) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="sampleRate") + def sample_rate(self) -> pulumi.Input[float]: + return pulumi.get(self, "sample_rate") + + @sample_rate.setter + def sample_rate(self, value: pulumi.Input[float]): + pulumi.set(self, "sample_rate", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleArgs: + def __init__(__self__, *, + filter: pulumi.Input['TraceTailSamplingRulesRuleFilterArgs'], + sample_rate: pulumi.Input[float], + name: Optional[pulumi.Input[str]] = None, + system_name: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "filter", filter) + pulumi.set(__self__, "sample_rate", sample_rate) + if name is not None: + pulumi.set(__self__, "name", name) + if system_name is not None: + pulumi.set(__self__, "system_name", system_name) + + @property + @pulumi.getter + def filter(self) -> pulumi.Input['TraceTailSamplingRulesRuleFilterArgs']: + return pulumi.get(self, "filter") + + @filter.setter + def filter(self, value: pulumi.Input['TraceTailSamplingRulesRuleFilterArgs']): + pulumi.set(self, "filter", value) + + @property + @pulumi.getter(name="sampleRate") + def sample_rate(self) -> pulumi.Input[float]: + return pulumi.get(self, "sample_rate") + + @sample_rate.setter + def sample_rate(self, value: pulumi.Input[float]): + pulumi.set(self, "sample_rate", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="systemName") + def system_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "system_name") + + @system_name.setter + def system_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "system_name", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterArgs: + def __init__(__self__, *, + spans: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanArgs']]]] = None, + trace: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceArgs']] = None): + if spans is not None: + pulumi.set(__self__, "spans", spans) + if trace is not None: + pulumi.set(__self__, "trace", trace) + + @property + @pulumi.getter + def spans(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanArgs']]]]: + return pulumi.get(self, "spans") + + @spans.setter + def spans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanArgs']]]]): + pulumi.set(self, "spans", value) + + @property + @pulumi.getter + def trace(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceArgs']]: + return pulumi.get(self, "trace") + + @trace.setter + def trace(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceArgs']]): + pulumi.set(self, "trace", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanArgs: + def __init__(__self__, *, + duration: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanDurationArgs']] = None, + error: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanErrorArgs']] = None, + match_type: Optional[pulumi.Input[str]] = None, + operation: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanOperationArgs']] = None, + parent_operation: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanParentOperationArgs']] = None, + parent_service: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanParentServiceArgs']] = None, + service: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanServiceArgs']] = None, + span_count: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanSpanCountArgs']] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagArgs']]]] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + if match_type is not None: + pulumi.set(__self__, "match_type", match_type) + if operation is not None: + pulumi.set(__self__, "operation", operation) + if parent_operation is not None: + pulumi.set(__self__, "parent_operation", parent_operation) + if parent_service is not None: + pulumi.set(__self__, "parent_service", parent_service) + if service is not None: + pulumi.set(__self__, "service", service) + if span_count is not None: + pulumi.set(__self__, "span_count", span_count) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def duration(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanDurationArgs']]: + return pulumi.get(self, "duration") + + @duration.setter + def duration(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanDurationArgs']]): + pulumi.set(self, "duration", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanErrorArgs']]: + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="matchType") + def match_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match_type") + + @match_type.setter + def match_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match_type", value) + + @property + @pulumi.getter + def operation(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanOperationArgs']]: + return pulumi.get(self, "operation") + + @operation.setter + def operation(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanOperationArgs']]): + pulumi.set(self, "operation", value) + + @property + @pulumi.getter(name="parentOperation") + def parent_operation(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanParentOperationArgs']]: + return pulumi.get(self, "parent_operation") + + @parent_operation.setter + def parent_operation(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanParentOperationArgs']]): + pulumi.set(self, "parent_operation", value) + + @property + @pulumi.getter(name="parentService") + def parent_service(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanParentServiceArgs']]: + return pulumi.get(self, "parent_service") + + @parent_service.setter + def parent_service(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanParentServiceArgs']]): + pulumi.set(self, "parent_service", value) + + @property + @pulumi.getter + def service(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanServiceArgs']]: + return pulumi.get(self, "service") + + @service.setter + def service(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanServiceArgs']]): + pulumi.set(self, "service", value) + + @property + @pulumi.getter(name="spanCount") + def span_count(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanSpanCountArgs']]: + return pulumi.get(self, "span_count") + + @span_count.setter + def span_count(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanSpanCountArgs']]): + pulumi.set(self, "span_count", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagArgs']]]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagArgs']]]]): + pulumi.set(self, "tags", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanDurationArgs: + def __init__(__self__, *, + max_secs: Optional[pulumi.Input[float]] = None, + min_secs: Optional[pulumi.Input[float]] = None): + if max_secs is not None: + pulumi.set(__self__, "max_secs", max_secs) + if min_secs is not None: + pulumi.set(__self__, "min_secs", min_secs) + + @property + @pulumi.getter(name="maxSecs") + def max_secs(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "max_secs") + + @max_secs.setter + def max_secs(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_secs", value) + + @property + @pulumi.getter(name="minSecs") + def min_secs(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "min_secs") + + @min_secs.setter + def min_secs(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "min_secs", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanErrorArgs: + def __init__(__self__, *, + value: pulumi.Input[bool]): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[bool]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[bool]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanOperationArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanParentOperationArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanParentServiceArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanServiceArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanSpanCountArgs: + def __init__(__self__, *, + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None): + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + + @property + @pulumi.getter + def max(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max") + + @max.setter + def max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max", value) + + @property + @pulumi.getter + def min(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "min") + + @min.setter + def min(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanTagArgs: + def __init__(__self__, *, + key: Optional[pulumi.Input[str]] = None, + numeric_value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs']] = None, + value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagValueArgs']] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if numeric_value is not None: + pulumi.set(__self__, "numeric_value", numeric_value) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter(name="numericValue") + def numeric_value(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs']]: + return pulumi.get(self, "numeric_value") + + @numeric_value.setter + def numeric_value(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs']]): + pulumi.set(self, "numeric_value", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagValueArgs']]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterSpanTagValueArgs']]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanTagNumericValueArgs: + def __init__(__self__, *, + comparison: pulumi.Input[str], + value: pulumi.Input[float]): + pulumi.set(__self__, "comparison", comparison) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def comparison(self) -> pulumi.Input[str]: + return pulumi.get(self, "comparison") + + @comparison.setter + def comparison(self, value: pulumi.Input[str]): + pulumi.set(self, "comparison", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[float]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[float]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterSpanTagValueArgs: + def __init__(__self__, *, + value: pulumi.Input[str], + match: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def match(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "match") + + @match.setter + def match(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "match", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterTraceArgs: + def __init__(__self__, *, + duration: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceDurationArgs']] = None, + error: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceErrorArgs']] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter + def duration(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceDurationArgs']]: + return pulumi.get(self, "duration") + + @duration.setter + def duration(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceDurationArgs']]): + pulumi.set(self, "duration", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceErrorArgs']]: + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['TraceTailSamplingRulesRuleFilterTraceErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterTraceDurationArgs: + def __init__(__self__, *, + max_secs: Optional[pulumi.Input[float]] = None, + min_secs: Optional[pulumi.Input[float]] = None): + if max_secs is not None: + pulumi.set(__self__, "max_secs", max_secs) + if min_secs is not None: + pulumi.set(__self__, "min_secs", min_secs) + + @property + @pulumi.getter(name="maxSecs") + def max_secs(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "max_secs") + + @max_secs.setter + def max_secs(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_secs", value) + + @property + @pulumi.getter(name="minSecs") + def min_secs(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "min_secs") + + @min_secs.setter + def min_secs(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "min_secs", value) + + +@pulumi.input_type +class TraceTailSamplingRulesRuleFilterTraceErrorArgs: + def __init__(__self__, *, + value: pulumi.Input[bool]): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[bool]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[bool]): + pulumi.set(self, "value", value) + + diff --git a/sdk/python/chronosphereio_chronosphere/_utilities.py b/sdk/python/chronosphereio_chronosphere/_utilities.py new file mode 100644 index 00000000..2d9a3c84 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/_utilities.py @@ -0,0 +1,250 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + + +import importlib.util +import inspect +import json +import os +import pkg_resources +import sys +import typing + +import pulumi +import pulumi.runtime + +from semver import VersionInfo as SemverVersion +from parver import Version as PEP440Version + + +def get_env(*args): + for v in args: + value = os.getenv(v) + if value is not None: + return value + return None + + +def get_env_bool(*args): + str = get_env(*args) + if str is not None: + # NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what + # Terraform uses internally when parsing boolean values. + if str in ["1", "t", "T", "true", "TRUE", "True"]: + return True + if str in ["0", "f", "F", "false", "FALSE", "False"]: + return False + return None + + +def get_env_int(*args): + str = get_env(*args) + if str is not None: + try: + return int(str) + except: + return None + return None + + +def get_env_float(*args): + str = get_env(*args) + if str is not None: + try: + return float(str) + except: + return None + return None + + +def _get_semver_version(): + # __name__ is set to the fully-qualified name of the current module, In our case, it will be + # ._utilities. is the module we want to query the version for. + root_package, *rest = __name__.split('.') + + # pkg_resources uses setuptools to inspect the set of installed packages. We use it here to ask + # for the currently installed version of the root package (i.e. us) and get its version. + + # Unfortunately, PEP440 and semver differ slightly in incompatible ways. The Pulumi engine expects + # to receive a valid semver string when receiving requests from the language host, so it's our + # responsibility as the library to convert our own PEP440 version into a valid semver string. + + pep440_version_string = pkg_resources.require(root_package)[0].version + pep440_version = PEP440Version.parse(pep440_version_string) + (major, minor, patch) = pep440_version.release + prerelease = None + if pep440_version.pre_tag == 'a': + prerelease = f"alpha.{pep440_version.pre}" + elif pep440_version.pre_tag == 'b': + prerelease = f"beta.{pep440_version.pre}" + elif pep440_version.pre_tag == 'rc': + prerelease = f"rc.{pep440_version.pre}" + elif pep440_version.dev is not None: + prerelease = f"dev.{pep440_version.dev}" + + # The only significant difference between PEP440 and semver as it pertains to us is that PEP440 has explicit support + # for dev builds, while semver encodes them as "prerelease" versions. In order to bridge between the two, we convert + # our dev build version into a prerelease tag. This matches what all of our other packages do when constructing + # their own semver string. + return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease) + + +# Determine the version once and cache the value, which measurably improves program performance. +_version = _get_semver_version() +_version_str = str(_version) + + +def get_version(): + return _version_str + +def get_resource_opts_defaults() -> pulumi.ResourceOptions: + return pulumi.ResourceOptions( + version=get_version(), + plugin_download_url=get_plugin_download_url(), + ) + +def get_invoke_opts_defaults() -> pulumi.InvokeOptions: + return pulumi.InvokeOptions( + version=get_version(), + plugin_download_url=get_plugin_download_url(), + ) + +def get_resource_args_opts(resource_args_type, resource_options_type, *args, **kwargs): + """ + Return the resource args and options given the *args and **kwargs of a resource's + __init__ method. + """ + + resource_args, opts = None, None + + # If the first item is the resource args type, save it and remove it from the args list. + if args and isinstance(args[0], resource_args_type): + resource_args, args = args[0], args[1:] + + # Now look at the first item in the args list again. + # If the first item is the resource options class, save it. + if args and isinstance(args[0], resource_options_type): + opts = args[0] + + # If resource_args is None, see if "args" is in kwargs, and, if so, if it's typed as the + # the resource args type. + if resource_args is None: + a = kwargs.get("args") + if isinstance(a, resource_args_type): + resource_args = a + + # If opts is None, look it up in kwargs. + if opts is None: + opts = kwargs.get("opts") + + return resource_args, opts + + +# Temporary: just use pulumi._utils.lazy_import once everyone upgrades. +def lazy_import(fullname): + + import pulumi._utils as u + f = getattr(u, 'lazy_import', None) + if f is None: + f = _lazy_import_temp + + return f(fullname) + + +# Copied from pulumi._utils.lazy_import, see comments there. +def _lazy_import_temp(fullname): + m = sys.modules.get(fullname, None) + if m is not None: + return m + + spec = importlib.util.find_spec(fullname) + + m = sys.modules.get(fullname, None) + if m is not None: + return m + + loader = importlib.util.LazyLoader(spec.loader) + spec.loader = loader + module = importlib.util.module_from_spec(spec) + + m = sys.modules.get(fullname, None) + if m is not None: + return m + + sys.modules[fullname] = module + loader.exec_module(module) + return module + + +class Package(pulumi.runtime.ResourcePackage): + def __init__(self, pkg_info): + super().__init__() + self.pkg_info = pkg_info + + def version(self): + return _version + + def construct_provider(self, name: str, typ: str, urn: str) -> pulumi.ProviderResource: + if typ != self.pkg_info['token']: + raise Exception(f"unknown provider type {typ}") + Provider = getattr(lazy_import(self.pkg_info['fqn']), self.pkg_info['class']) + return Provider(name, pulumi.ResourceOptions(urn=urn)) + + +class Module(pulumi.runtime.ResourceModule): + def __init__(self, mod_info): + super().__init__() + self.mod_info = mod_info + + def version(self): + return _version + + def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: + class_name = self.mod_info['classes'].get(typ, None) + + if class_name is None: + raise Exception(f"unknown resource type {typ}") + + TheClass = getattr(lazy_import(self.mod_info['fqn']), class_name) + return TheClass(name, pulumi.ResourceOptions(urn=urn)) + + +def register(resource_modules, resource_packages): + resource_modules = json.loads(resource_modules) + resource_packages = json.loads(resource_packages) + + for pkg_info in resource_packages: + pulumi.runtime.register_resource_package(pkg_info['pkg'], Package(pkg_info)) + + for mod_info in resource_modules: + pulumi.runtime.register_resource_module( + mod_info['pkg'], + mod_info['mod'], + Module(mod_info)) + + +_F = typing.TypeVar('_F', bound=typing.Callable[..., typing.Any]) + + +def lift_output_func(func: typing.Any) -> typing.Callable[[_F], _F]: + """Decorator internally used on {fn}_output lifted function versions + to implement them automatically from the un-lifted function.""" + + func_sig = inspect.signature(func) + + def lifted_func(*args, opts=None, **kwargs): + bound_args = func_sig.bind(*args, **kwargs) + # Convert tuple to list, see pulumi/pulumi#8172 + args_list = list(bound_args.args) + return pulumi.Output.from_input({ + 'args': args_list, + 'kwargs': bound_args.kwargs + }).apply(lambda resolved_args: func(*resolved_args['args'], + opts=opts, + **resolved_args['kwargs'])) + + return (lambda _: lifted_func) + +def get_plugin_download_url(): + return None diff --git a/sdk/python/chronosphereio_chronosphere/blackhole_alert_notifier.py b/sdk/python/chronosphereio_chronosphere/blackhole_alert_notifier.py new file mode 100644 index 00000000..17e38e9c --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/blackhole_alert_notifier.py @@ -0,0 +1,165 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['BlackholeAlertNotifierArgs', 'BlackholeAlertNotifier'] + +@pulumi.input_type +class BlackholeAlertNotifierArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a BlackholeAlertNotifier resource. + """ + pulumi.set(__self__, "name", name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _BlackholeAlertNotifierState: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering BlackholeAlertNotifier resources. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class BlackholeAlertNotifier(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a BlackholeAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BlackholeAlertNotifierArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a BlackholeAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param BlackholeAlertNotifierArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BlackholeAlertNotifierArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BlackholeAlertNotifierArgs.__new__(BlackholeAlertNotifierArgs) + + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + super(BlackholeAlertNotifier, __self__).__init__( + 'chronosphere:index/blackholeAlertNotifier:BlackholeAlertNotifier', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'BlackholeAlertNotifier': + """ + Get an existing BlackholeAlertNotifier resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _BlackholeAlertNotifierState.__new__(_BlackholeAlertNotifierState) + + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + return BlackholeAlertNotifier(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/bucket.py b/sdk/python/chronosphereio_chronosphere/bucket.py new file mode 100644 index 00000000..528fd195 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/bucket.py @@ -0,0 +1,355 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['BucketArgs', 'Bucket'] + +@pulumi.input_type +class BucketArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Bucket resource. + """ + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if notification_policy_data is not None: + pulumi.set(__self__, "notification_policy_data", notification_policy_data) + if notification_policy_id is not None: + pulumi.set(__self__, "notification_policy_id", notification_policy_id) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter(name="notificationPolicyData") + def notification_policy_data(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_data") + + @notification_policy_data.setter + def notification_policy_data(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_data", value) + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_id") + + @notification_policy_id.setter + def notification_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_id", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "team_id") + + @team_id.setter + def team_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "team_id", value) + + +@pulumi.input_type +class _BucketState: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + notification_policy_slug: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering Bucket resources. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if name is not None: + pulumi.set(__self__, "name", name) + if notification_policy_data is not None: + pulumi.set(__self__, "notification_policy_data", notification_policy_data) + if notification_policy_id is not None: + pulumi.set(__self__, "notification_policy_id", notification_policy_id) + if notification_policy_slug is not None: + pulumi.set(__self__, "notification_policy_slug", notification_policy_slug) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="notificationPolicyData") + def notification_policy_data(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_data") + + @notification_policy_data.setter + def notification_policy_data(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_data", value) + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_id") + + @notification_policy_id.setter + def notification_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_id", value) + + @property + @pulumi.getter(name="notificationPolicySlug") + def notification_policy_slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_slug") + + @notification_policy_slug.setter + def notification_policy_slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_slug", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "team_id") + + @team_id.setter + def team_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "team_id", value) + + +class Bucket(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a Bucket resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BucketArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Bucket resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param BucketArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BucketArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BucketArgs.__new__(BucketArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["labels"] = labels + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_data"] = notification_policy_data + __props__.__dict__["notification_policy_id"] = notification_policy_id + __props__.__dict__["slug"] = slug + __props__.__dict__["team_id"] = team_id + __props__.__dict__["notification_policy_slug"] = None + super(Bucket, __self__).__init__( + 'chronosphere:index/bucket:Bucket', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + notification_policy_slug: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None) -> 'Bucket': + """ + Get an existing Bucket resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _BucketState.__new__(_BucketState) + + __props__.__dict__["description"] = description + __props__.__dict__["labels"] = labels + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_data"] = notification_policy_data + __props__.__dict__["notification_policy_id"] = notification_policy_id + __props__.__dict__["notification_policy_slug"] = notification_policy_slug + __props__.__dict__["slug"] = slug + __props__.__dict__["team_id"] = team_id + return Bucket(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notificationPolicyData") + def notification_policy_data(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "notification_policy_data") + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "notification_policy_id") + + @property + @pulumi.getter(name="notificationPolicySlug") + def notification_policy_slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "notification_policy_slug") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "team_id") + diff --git a/sdk/python/chronosphereio_chronosphere/bucket_data_source.py b/sdk/python/chronosphereio_chronosphere/bucket_data_source.py new file mode 100644 index 00000000..7fd8b167 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/bucket_data_source.py @@ -0,0 +1,113 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = [ + 'BucketDataSourceResult', + 'AwaitableBucketDataSourceResult', + 'bucket_data_source', + 'bucket_data_source_output', +] + +@pulumi.output_type +class BucketDataSourceResult: + """ + A collection of values returned by BucketDataSource. + """ + def __init__(__self__, description=None, id=None, labels=None, name=None, slug=None): + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if labels and not isinstance(labels, dict): + raise TypeError("Expected argument 'labels' to be a dict") + pulumi.set(__self__, "labels", labels) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if slug and not isinstance(slug, str): + raise TypeError("Expected argument 'slug' to be a str") + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def description(self) -> str: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def labels(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> Optional[str]: + return pulumi.get(self, "slug") + + +class AwaitableBucketDataSourceResult(BucketDataSourceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return BucketDataSourceResult( + description=self.description, + id=self.id, + labels=self.labels, + name=self.name, + slug=self.slug) + + +def bucket_data_source(labels: Optional[Mapping[str, str]] = None, + name: Optional[str] = None, + slug: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableBucketDataSourceResult: + """ + Use this data source to access information about an existing resource. + """ + __args__ = dict() + __args__['labels'] = labels + __args__['name'] = name + __args__['slug'] = slug + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('chronosphere:index/bucketDataSource:BucketDataSource', __args__, opts=opts, typ=BucketDataSourceResult).value + + return AwaitableBucketDataSourceResult( + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + labels=pulumi.get(__ret__, 'labels'), + name=pulumi.get(__ret__, 'name'), + slug=pulumi.get(__ret__, 'slug')) + + +@_utilities.lift_output_func(bucket_data_source) +def bucket_data_source_output(labels: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + slug: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[BucketDataSourceResult]: + """ + Use this data source to access information about an existing resource. + """ + ... diff --git a/sdk/python/chronosphereio_chronosphere/classic_dashboard.py b/sdk/python/chronosphereio_chronosphere/classic_dashboard.py new file mode 100644 index 00000000..ce615857 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/classic_dashboard.py @@ -0,0 +1,199 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['ClassicDashboardArgs', 'ClassicDashboard'] + +@pulumi.input_type +class ClassicDashboardArgs: + def __init__(__self__, *, + dashboard_json: pulumi.Input[str], + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ClassicDashboard resource. + """ + pulumi.set(__self__, "dashboard_json", dashboard_json) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> pulumi.Input[str]: + return pulumi.get(self, "dashboard_json") + + @dashboard_json.setter + def dashboard_json(self, value: pulumi.Input[str]): + pulumi.set(self, "dashboard_json", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + +@pulumi.input_type +class _ClassicDashboardState: + def __init__(__self__, *, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering ClassicDashboard resources. + """ + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + if dashboard_json is not None: + pulumi.set(__self__, "dashboard_json", dashboard_json) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "dashboard_json") + + @dashboard_json.setter + def dashboard_json(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dashboard_json", value) + + +class ClassicDashboard(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a ClassicDashboard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ClassicDashboardArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a ClassicDashboard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param ClassicDashboardArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ClassicDashboardArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ClassicDashboardArgs.__new__(ClassicDashboardArgs) + + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["collection_id"] = collection_id + if dashboard_json is None and not opts.urn: + raise TypeError("Missing required property 'dashboard_json'") + __props__.__dict__["dashboard_json"] = dashboard_json + super(ClassicDashboard, __self__).__init__( + 'chronosphere:index/classicDashboard:ClassicDashboard', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None) -> 'ClassicDashboard': + """ + Get an existing ClassicDashboard resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ClassicDashboardState.__new__(_ClassicDashboardState) + + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["collection_id"] = collection_id + __props__.__dict__["dashboard_json"] = dashboard_json + return ClassicDashboard(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bucket_id") + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "collection_id") + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> pulumi.Output[str]: + return pulumi.get(self, "dashboard_json") + diff --git a/sdk/python/chronosphereio_chronosphere/collection.py b/sdk/python/chronosphereio_chronosphere/collection.py new file mode 100644 index 00000000..97634445 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/collection.py @@ -0,0 +1,267 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['CollectionArgs', 'Collection'] + +@pulumi.input_type +class CollectionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Collection resource. + """ + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if notification_policy_id is not None: + pulumi.set(__self__, "notification_policy_id", notification_policy_id) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_id") + + @notification_policy_id.setter + def notification_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_id", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "team_id") + + @team_id.setter + def team_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "team_id", value) + + +@pulumi.input_type +class _CollectionState: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering Collection resources. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + if notification_policy_id is not None: + pulumi.set(__self__, "notification_policy_id", notification_policy_id) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_id") + + @notification_policy_id.setter + def notification_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_id", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "team_id") + + @team_id.setter + def team_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "team_id", value) + + +class Collection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a Collection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CollectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Collection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param CollectionArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(CollectionArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CollectionArgs.__new__(CollectionArgs) + + __props__.__dict__["description"] = description + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_id"] = notification_policy_id + __props__.__dict__["slug"] = slug + __props__.__dict__["team_id"] = team_id + super(Collection, __self__).__init__( + 'chronosphere:index/collection:Collection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None) -> 'Collection': + """ + Get an existing Collection resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _CollectionState.__new__(_CollectionState) + + __props__.__dict__["description"] = description + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_id"] = notification_policy_id + __props__.__dict__["slug"] = slug + __props__.__dict__["team_id"] = team_id + return Collection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "notification_policy_id") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "team_id") + diff --git a/sdk/python/chronosphereio_chronosphere/config/__init__.py b/sdk/python/chronosphereio_chronosphere/config/__init__.py new file mode 100644 index 00000000..18853fcb --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/config/__init__.py @@ -0,0 +1,8 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import sys +from .vars import _ExportableConfig + +sys.modules[__name__].__class__ = _ExportableConfig diff --git a/sdk/python/chronosphereio_chronosphere/config/__init__.pyi b/sdk/python/chronosphereio_chronosphere/config/__init__.pyi new file mode 100644 index 00000000..7f1a49ee --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/config/__init__.pyi @@ -0,0 +1,19 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +apiToken: Optional[str] + +entityNamespace: Optional[str] + +org: Optional[str] + +unstable: Optional[bool] + diff --git a/sdk/python/chronosphereio_chronosphere/config/vars.py b/sdk/python/chronosphereio_chronosphere/config/vars.py new file mode 100644 index 00000000..9a4dfb3d --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/config/vars.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +import types + +__config__ = pulumi.Config('chronosphere') + + +class _ExportableConfig(types.ModuleType): + @property + def api_token(self) -> Optional[str]: + return __config__.get('apiToken') or _utilities.get_env('CHRONOSPHERE_API_TOKEN') + + @property + def entity_namespace(self) -> Optional[str]: + return __config__.get('entityNamespace') + + @property + def org(self) -> Optional[str]: + return __config__.get('org') or _utilities.get_env('CHRONOSPHERE_ORG', 'CHRONOSPHERE_ORG_NAME') + + @property + def unstable(self) -> Optional[bool]: + return __config__.get_bool('unstable') + diff --git a/sdk/python/chronosphereio_chronosphere/dashboard.py b/sdk/python/chronosphereio_chronosphere/dashboard.py new file mode 100644 index 00000000..3045596f --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/dashboard.py @@ -0,0 +1,199 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['DashboardArgs', 'Dashboard'] + +@pulumi.input_type +class DashboardArgs: + def __init__(__self__, *, + dashboard_json: pulumi.Input[str], + collection_id: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Dashboard resource. + """ + pulumi.set(__self__, "dashboard_json", dashboard_json) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> pulumi.Input[str]: + return pulumi.get(self, "dashboard_json") + + @dashboard_json.setter + def dashboard_json(self, value: pulumi.Input[str]): + pulumi.set(self, "dashboard_json", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _DashboardState: + def __init__(__self__, *, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering Dashboard resources. + """ + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + if dashboard_json is not None: + pulumi.set(__self__, "dashboard_json", dashboard_json) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "dashboard_json") + + @dashboard_json.setter + def dashboard_json(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dashboard_json", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class Dashboard(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a Dashboard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DashboardArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Dashboard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param DashboardArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(DashboardArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DashboardArgs.__new__(DashboardArgs) + + __props__.__dict__["collection_id"] = collection_id + if dashboard_json is None and not opts.urn: + raise TypeError("Missing required property 'dashboard_json'") + __props__.__dict__["dashboard_json"] = dashboard_json + __props__.__dict__["slug"] = slug + super(Dashboard, __self__).__init__( + 'chronosphere:index/dashboard:Dashboard', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'Dashboard': + """ + Get an existing Dashboard resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _DashboardState.__new__(_DashboardState) + + __props__.__dict__["collection_id"] = collection_id + __props__.__dict__["dashboard_json"] = dashboard_json + __props__.__dict__["slug"] = slug + return Dashboard(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "collection_id") + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> pulumi.Output[str]: + return pulumi.get(self, "dashboard_json") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/derived_label.py b/sdk/python/chronosphereio_chronosphere/derived_label.py new file mode 100644 index 00000000..f2099f37 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/derived_label.py @@ -0,0 +1,305 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['DerivedLabelArgs', 'DerivedLabel'] + +@pulumi.input_type +class DerivedLabelArgs: + def __init__(__self__, *, + label_name: pulumi.Input[str], + metric_label: pulumi.Input['DerivedLabelMetricLabelArgs'], + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + existing_label_policy: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a DerivedLabel resource. + """ + pulumi.set(__self__, "label_name", label_name) + pulumi.set(__self__, "metric_label", metric_label) + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if existing_label_policy is not None: + pulumi.set(__self__, "existing_label_policy", existing_label_policy) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="labelName") + def label_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "label_name") + + @label_name.setter + def label_name(self, value: pulumi.Input[str]): + pulumi.set(self, "label_name", value) + + @property + @pulumi.getter(name="metricLabel") + def metric_label(self) -> pulumi.Input['DerivedLabelMetricLabelArgs']: + return pulumi.get(self, "metric_label") + + @metric_label.setter + def metric_label(self, value: pulumi.Input['DerivedLabelMetricLabelArgs']): + pulumi.set(self, "metric_label", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="existingLabelPolicy") + def existing_label_policy(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "existing_label_policy") + + @existing_label_policy.setter + def existing_label_policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "existing_label_policy", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _DerivedLabelState: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + existing_label_policy: Optional[pulumi.Input[str]] = None, + label_name: Optional[pulumi.Input[str]] = None, + metric_label: Optional[pulumi.Input['DerivedLabelMetricLabelArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering DerivedLabel resources. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if existing_label_policy is not None: + pulumi.set(__self__, "existing_label_policy", existing_label_policy) + if label_name is not None: + pulumi.set(__self__, "label_name", label_name) + if metric_label is not None: + pulumi.set(__self__, "metric_label", metric_label) + if name is not None: + pulumi.set(__self__, "name", name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="existingLabelPolicy") + def existing_label_policy(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "existing_label_policy") + + @existing_label_policy.setter + def existing_label_policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "existing_label_policy", value) + + @property + @pulumi.getter(name="labelName") + def label_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "label_name") + + @label_name.setter + def label_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label_name", value) + + @property + @pulumi.getter(name="metricLabel") + def metric_label(self) -> Optional[pulumi.Input['DerivedLabelMetricLabelArgs']]: + return pulumi.get(self, "metric_label") + + @metric_label.setter + def metric_label(self, value: Optional[pulumi.Input['DerivedLabelMetricLabelArgs']]): + pulumi.set(self, "metric_label", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class DerivedLabel(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + existing_label_policy: Optional[pulumi.Input[str]] = None, + label_name: Optional[pulumi.Input[str]] = None, + metric_label: Optional[pulumi.Input[pulumi.InputType['DerivedLabelMetricLabelArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a DerivedLabel resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DerivedLabelArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a DerivedLabel resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param DerivedLabelArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(DerivedLabelArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + existing_label_policy: Optional[pulumi.Input[str]] = None, + label_name: Optional[pulumi.Input[str]] = None, + metric_label: Optional[pulumi.Input[pulumi.InputType['DerivedLabelMetricLabelArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DerivedLabelArgs.__new__(DerivedLabelArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["existing_label_policy"] = existing_label_policy + if label_name is None and not opts.urn: + raise TypeError("Missing required property 'label_name'") + __props__.__dict__["label_name"] = label_name + if metric_label is None and not opts.urn: + raise TypeError("Missing required property 'metric_label'") + __props__.__dict__["metric_label"] = metric_label + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + super(DerivedLabel, __self__).__init__( + 'chronosphere:index/derivedLabel:DerivedLabel', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + existing_label_policy: Optional[pulumi.Input[str]] = None, + label_name: Optional[pulumi.Input[str]] = None, + metric_label: Optional[pulumi.Input[pulumi.InputType['DerivedLabelMetricLabelArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'DerivedLabel': + """ + Get an existing DerivedLabel resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _DerivedLabelState.__new__(_DerivedLabelState) + + __props__.__dict__["description"] = description + __props__.__dict__["existing_label_policy"] = existing_label_policy + __props__.__dict__["label_name"] = label_name + __props__.__dict__["metric_label"] = metric_label + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + return DerivedLabel(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="existingLabelPolicy") + def existing_label_policy(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "existing_label_policy") + + @property + @pulumi.getter(name="labelName") + def label_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "label_name") + + @property + @pulumi.getter(name="metricLabel") + def metric_label(self) -> pulumi.Output['outputs.DerivedLabelMetricLabel']: + return pulumi.get(self, "metric_label") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/derived_metric.py b/sdk/python/chronosphereio_chronosphere/derived_metric.py new file mode 100644 index 00000000..3af80504 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/derived_metric.py @@ -0,0 +1,271 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['DerivedMetricArgs', 'DerivedMetric'] + +@pulumi.input_type +class DerivedMetricArgs: + def __init__(__self__, *, + metric_name: pulumi.Input[str], + name: pulumi.Input[str], + queries: pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryArgs']]], + description: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a DerivedMetric resource. + """ + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "queries", queries) + if description is not None: + pulumi.set(__self__, "description", description) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: pulumi.Input[str]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def queries(self) -> pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryArgs']]]: + return pulumi.get(self, "queries") + + @queries.setter + def queries(self, value: pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryArgs']]]): + pulumi.set(self, "queries", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _DerivedMetricState: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryArgs']]]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering DerivedMetric resources. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if metric_name is not None: + pulumi.set(__self__, "metric_name", metric_name) + if name is not None: + pulumi.set(__self__, "name", name) + if queries is not None: + pulumi.set(__self__, "queries", queries) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryArgs']]]]: + return pulumi.get(self, "queries") + + @queries.setter + def queries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DerivedMetricQueryArgs']]]]): + pulumi.set(self, "queries", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class DerivedMetric(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DerivedMetricQueryArgs']]]]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a DerivedMetric resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DerivedMetricArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a DerivedMetric resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param DerivedMetricArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(DerivedMetricArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DerivedMetricQueryArgs']]]]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DerivedMetricArgs.__new__(DerivedMetricArgs) + + __props__.__dict__["description"] = description + if metric_name is None and not opts.urn: + raise TypeError("Missing required property 'metric_name'") + __props__.__dict__["metric_name"] = metric_name + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + if queries is None and not opts.urn: + raise TypeError("Missing required property 'queries'") + __props__.__dict__["queries"] = queries + __props__.__dict__["slug"] = slug + super(DerivedMetric, __self__).__init__( + 'chronosphere:index/derivedMetric:DerivedMetric', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DerivedMetricQueryArgs']]]]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'DerivedMetric': + """ + Get an existing DerivedMetric resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _DerivedMetricState.__new__(_DerivedMetricState) + + __props__.__dict__["description"] = description + __props__.__dict__["metric_name"] = metric_name + __props__.__dict__["name"] = name + __props__.__dict__["queries"] = queries + __props__.__dict__["slug"] = slug + return DerivedMetric(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def queries(self) -> pulumi.Output[Sequence['outputs.DerivedMetricQuery']]: + return pulumi.get(self, "queries") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/drop_rule.py b/sdk/python/chronosphereio_chronosphere/drop_rule.py new file mode 100644 index 00000000..59d7f5a2 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/drop_rule.py @@ -0,0 +1,372 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['DropRuleArgs', 'DropRule'] + +@pulumi.input_type +class DropRuleArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + queries: pulumi.Input[Sequence[pulumi.Input[str]]], + activated_drop_duration: Optional[pulumi.Input[str]] = None, + active: Optional[pulumi.Input[bool]] = None, + conditional_drop: Optional[pulumi.Input[bool]] = None, + rate_limit_threshold: Optional[pulumi.Input[float]] = None, + slug: Optional[pulumi.Input[str]] = None, + value_based_drop: Optional[pulumi.Input['DropRuleValueBasedDropArgs']] = None): + """ + The set of arguments for constructing a DropRule resource. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "queries", queries) + if activated_drop_duration is not None: + pulumi.set(__self__, "activated_drop_duration", activated_drop_duration) + if active is not None: + pulumi.set(__self__, "active", active) + if conditional_drop is not None: + pulumi.set(__self__, "conditional_drop", conditional_drop) + if rate_limit_threshold is not None: + pulumi.set(__self__, "rate_limit_threshold", rate_limit_threshold) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if value_based_drop is not None: + pulumi.set(__self__, "value_based_drop", value_based_drop) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def queries(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "queries") + + @queries.setter + def queries(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "queries", value) + + @property + @pulumi.getter(name="activatedDropDuration") + def activated_drop_duration(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "activated_drop_duration") + + @activated_drop_duration.setter + def activated_drop_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "activated_drop_duration", value) + + @property + @pulumi.getter + def active(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "active") + + @active.setter + def active(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "active", value) + + @property + @pulumi.getter(name="conditionalDrop") + def conditional_drop(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "conditional_drop") + + @conditional_drop.setter + def conditional_drop(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "conditional_drop", value) + + @property + @pulumi.getter(name="rateLimitThreshold") + def rate_limit_threshold(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "rate_limit_threshold") + + @rate_limit_threshold.setter + def rate_limit_threshold(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "rate_limit_threshold", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="valueBasedDrop") + def value_based_drop(self) -> Optional[pulumi.Input['DropRuleValueBasedDropArgs']]: + return pulumi.get(self, "value_based_drop") + + @value_based_drop.setter + def value_based_drop(self, value: Optional[pulumi.Input['DropRuleValueBasedDropArgs']]): + pulumi.set(self, "value_based_drop", value) + + +@pulumi.input_type +class _DropRuleState: + def __init__(__self__, *, + activated_drop_duration: Optional[pulumi.Input[str]] = None, + active: Optional[pulumi.Input[bool]] = None, + conditional_drop: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + rate_limit_threshold: Optional[pulumi.Input[float]] = None, + slug: Optional[pulumi.Input[str]] = None, + value_based_drop: Optional[pulumi.Input['DropRuleValueBasedDropArgs']] = None): + """ + Input properties used for looking up and filtering DropRule resources. + """ + if activated_drop_duration is not None: + pulumi.set(__self__, "activated_drop_duration", activated_drop_duration) + if active is not None: + pulumi.set(__self__, "active", active) + if conditional_drop is not None: + pulumi.set(__self__, "conditional_drop", conditional_drop) + if name is not None: + pulumi.set(__self__, "name", name) + if queries is not None: + pulumi.set(__self__, "queries", queries) + if rate_limit_threshold is not None: + pulumi.set(__self__, "rate_limit_threshold", rate_limit_threshold) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if value_based_drop is not None: + pulumi.set(__self__, "value_based_drop", value_based_drop) + + @property + @pulumi.getter(name="activatedDropDuration") + def activated_drop_duration(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "activated_drop_duration") + + @activated_drop_duration.setter + def activated_drop_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "activated_drop_duration", value) + + @property + @pulumi.getter + def active(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "active") + + @active.setter + def active(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "active", value) + + @property + @pulumi.getter(name="conditionalDrop") + def conditional_drop(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "conditional_drop") + + @conditional_drop.setter + def conditional_drop(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "conditional_drop", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "queries") + + @queries.setter + def queries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "queries", value) + + @property + @pulumi.getter(name="rateLimitThreshold") + def rate_limit_threshold(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "rate_limit_threshold") + + @rate_limit_threshold.setter + def rate_limit_threshold(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "rate_limit_threshold", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="valueBasedDrop") + def value_based_drop(self) -> Optional[pulumi.Input['DropRuleValueBasedDropArgs']]: + return pulumi.get(self, "value_based_drop") + + @value_based_drop.setter + def value_based_drop(self, value: Optional[pulumi.Input['DropRuleValueBasedDropArgs']]): + pulumi.set(self, "value_based_drop", value) + + +class DropRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + activated_drop_duration: Optional[pulumi.Input[str]] = None, + active: Optional[pulumi.Input[bool]] = None, + conditional_drop: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + rate_limit_threshold: Optional[pulumi.Input[float]] = None, + slug: Optional[pulumi.Input[str]] = None, + value_based_drop: Optional[pulumi.Input[pulumi.InputType['DropRuleValueBasedDropArgs']]] = None, + __props__=None): + """ + Create a DropRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DropRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a DropRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param DropRuleArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(DropRuleArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + activated_drop_duration: Optional[pulumi.Input[str]] = None, + active: Optional[pulumi.Input[bool]] = None, + conditional_drop: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + rate_limit_threshold: Optional[pulumi.Input[float]] = None, + slug: Optional[pulumi.Input[str]] = None, + value_based_drop: Optional[pulumi.Input[pulumi.InputType['DropRuleValueBasedDropArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DropRuleArgs.__new__(DropRuleArgs) + + __props__.__dict__["activated_drop_duration"] = activated_drop_duration + __props__.__dict__["active"] = active + __props__.__dict__["conditional_drop"] = conditional_drop + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + if queries is None and not opts.urn: + raise TypeError("Missing required property 'queries'") + __props__.__dict__["queries"] = queries + __props__.__dict__["rate_limit_threshold"] = rate_limit_threshold + __props__.__dict__["slug"] = slug + __props__.__dict__["value_based_drop"] = value_based_drop + super(DropRule, __self__).__init__( + 'chronosphere:index/dropRule:DropRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + activated_drop_duration: Optional[pulumi.Input[str]] = None, + active: Optional[pulumi.Input[bool]] = None, + conditional_drop: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + queries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + rate_limit_threshold: Optional[pulumi.Input[float]] = None, + slug: Optional[pulumi.Input[str]] = None, + value_based_drop: Optional[pulumi.Input[pulumi.InputType['DropRuleValueBasedDropArgs']]] = None) -> 'DropRule': + """ + Get an existing DropRule resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _DropRuleState.__new__(_DropRuleState) + + __props__.__dict__["activated_drop_duration"] = activated_drop_duration + __props__.__dict__["active"] = active + __props__.__dict__["conditional_drop"] = conditional_drop + __props__.__dict__["name"] = name + __props__.__dict__["queries"] = queries + __props__.__dict__["rate_limit_threshold"] = rate_limit_threshold + __props__.__dict__["slug"] = slug + __props__.__dict__["value_based_drop"] = value_based_drop + return DropRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="activatedDropDuration") + def activated_drop_duration(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "activated_drop_duration") + + @property + @pulumi.getter + def active(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "active") + + @property + @pulumi.getter(name="conditionalDrop") + def conditional_drop(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "conditional_drop") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def queries(self) -> pulumi.Output[Sequence[str]]: + return pulumi.get(self, "queries") + + @property + @pulumi.getter(name="rateLimitThreshold") + def rate_limit_threshold(self) -> pulumi.Output[Optional[float]]: + return pulumi.get(self, "rate_limit_threshold") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="valueBasedDrop") + def value_based_drop(self) -> pulumi.Output[Optional['outputs.DropRuleValueBasedDrop']]: + return pulumi.get(self, "value_based_drop") + diff --git a/sdk/python/chronosphereio_chronosphere/email_alert_notifier.py b/sdk/python/chronosphereio_chronosphere/email_alert_notifier.py new file mode 100644 index 00000000..baf8168b --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/email_alert_notifier.py @@ -0,0 +1,302 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['EmailAlertNotifierArgs', 'EmailAlertNotifier'] + +@pulumi.input_type +class EmailAlertNotifierArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + to: pulumi.Input[str], + html: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a EmailAlertNotifier resource. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "to", to) + if html is not None: + pulumi.set(__self__, "html", html) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if text is not None: + pulumi.set(__self__, "text", text) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def to(self) -> pulumi.Input[str]: + return pulumi.get(self, "to") + + @to.setter + def to(self, value: pulumi.Input[str]): + pulumi.set(self, "to", value) + + @property + @pulumi.getter + def html(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "html") + + @html.setter + def html(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "html", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "text", value) + + +@pulumi.input_type +class _EmailAlertNotifierState: + def __init__(__self__, *, + html: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + to: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering EmailAlertNotifier resources. + """ + if html is not None: + pulumi.set(__self__, "html", html) + if name is not None: + pulumi.set(__self__, "name", name) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if text is not None: + pulumi.set(__self__, "text", text) + if to is not None: + pulumi.set(__self__, "to", to) + + @property + @pulumi.getter + def html(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "html") + + @html.setter + def html(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "html", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "text", value) + + @property + @pulumi.getter + def to(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "to") + + @to.setter + def to(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "to", value) + + +class EmailAlertNotifier(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + html: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + to: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a EmailAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EmailAlertNotifierArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a EmailAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param EmailAlertNotifierArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(EmailAlertNotifierArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + html: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + to: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = EmailAlertNotifierArgs.__new__(EmailAlertNotifierArgs) + + __props__.__dict__["html"] = html + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["text"] = text + if to is None and not opts.urn: + raise TypeError("Missing required property 'to'") + __props__.__dict__["to"] = to + super(EmailAlertNotifier, __self__).__init__( + 'chronosphere:index/emailAlertNotifier:EmailAlertNotifier', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + html: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + to: Optional[pulumi.Input[str]] = None) -> 'EmailAlertNotifier': + """ + Get an existing EmailAlertNotifier resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _EmailAlertNotifierState.__new__(_EmailAlertNotifierState) + + __props__.__dict__["html"] = html + __props__.__dict__["name"] = name + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["text"] = text + __props__.__dict__["to"] = to + return EmailAlertNotifier(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def html(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "html") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "send_resolved") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter + def text(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "text") + + @property + @pulumi.getter + def to(self) -> pulumi.Output[str]: + return pulumi.get(self, "to") + diff --git a/sdk/python/chronosphereio_chronosphere/gcp_metrics_integration.py b/sdk/python/chronosphereio_chronosphere/gcp_metrics_integration.py new file mode 100644 index 00000000..d8b71fff --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/gcp_metrics_integration.py @@ -0,0 +1,200 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['GcpMetricsIntegrationArgs', 'GcpMetricsIntegration'] + +@pulumi.input_type +class GcpMetricsIntegrationArgs: + def __init__(__self__, *, + metric_groups: Optional[pulumi.Input[Sequence[pulumi.Input['GcpMetricsIntegrationMetricGroupArgs']]]] = None, + service_account: Optional[pulumi.Input['GcpMetricsIntegrationServiceAccountArgs']] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a GcpMetricsIntegration resource. + """ + if metric_groups is not None: + pulumi.set(__self__, "metric_groups", metric_groups) + if service_account is not None: + pulumi.set(__self__, "service_account", service_account) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="metricGroups") + def metric_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GcpMetricsIntegrationMetricGroupArgs']]]]: + return pulumi.get(self, "metric_groups") + + @metric_groups.setter + def metric_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GcpMetricsIntegrationMetricGroupArgs']]]]): + pulumi.set(self, "metric_groups", value) + + @property + @pulumi.getter(name="serviceAccount") + def service_account(self) -> Optional[pulumi.Input['GcpMetricsIntegrationServiceAccountArgs']]: + return pulumi.get(self, "service_account") + + @service_account.setter + def service_account(self, value: Optional[pulumi.Input['GcpMetricsIntegrationServiceAccountArgs']]): + pulumi.set(self, "service_account", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _GcpMetricsIntegrationState: + def __init__(__self__, *, + metric_groups: Optional[pulumi.Input[Sequence[pulumi.Input['GcpMetricsIntegrationMetricGroupArgs']]]] = None, + service_account: Optional[pulumi.Input['GcpMetricsIntegrationServiceAccountArgs']] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering GcpMetricsIntegration resources. + """ + if metric_groups is not None: + pulumi.set(__self__, "metric_groups", metric_groups) + if service_account is not None: + pulumi.set(__self__, "service_account", service_account) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="metricGroups") + def metric_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GcpMetricsIntegrationMetricGroupArgs']]]]: + return pulumi.get(self, "metric_groups") + + @metric_groups.setter + def metric_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GcpMetricsIntegrationMetricGroupArgs']]]]): + pulumi.set(self, "metric_groups", value) + + @property + @pulumi.getter(name="serviceAccount") + def service_account(self) -> Optional[pulumi.Input['GcpMetricsIntegrationServiceAccountArgs']]: + return pulumi.get(self, "service_account") + + @service_account.setter + def service_account(self, value: Optional[pulumi.Input['GcpMetricsIntegrationServiceAccountArgs']]): + pulumi.set(self, "service_account", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class GcpMetricsIntegration(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + metric_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GcpMetricsIntegrationMetricGroupArgs']]]]] = None, + service_account: Optional[pulumi.Input[pulumi.InputType['GcpMetricsIntegrationServiceAccountArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a GcpMetricsIntegration resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[GcpMetricsIntegrationArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a GcpMetricsIntegration resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param GcpMetricsIntegrationArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(GcpMetricsIntegrationArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + metric_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GcpMetricsIntegrationMetricGroupArgs']]]]] = None, + service_account: Optional[pulumi.Input[pulumi.InputType['GcpMetricsIntegrationServiceAccountArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = GcpMetricsIntegrationArgs.__new__(GcpMetricsIntegrationArgs) + + __props__.__dict__["metric_groups"] = metric_groups + __props__.__dict__["service_account"] = service_account + __props__.__dict__["slug"] = slug + super(GcpMetricsIntegration, __self__).__init__( + 'chronosphere:index/gcpMetricsIntegration:GcpMetricsIntegration', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + metric_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GcpMetricsIntegrationMetricGroupArgs']]]]] = None, + service_account: Optional[pulumi.Input[pulumi.InputType['GcpMetricsIntegrationServiceAccountArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'GcpMetricsIntegration': + """ + Get an existing GcpMetricsIntegration resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _GcpMetricsIntegrationState.__new__(_GcpMetricsIntegrationState) + + __props__.__dict__["metric_groups"] = metric_groups + __props__.__dict__["service_account"] = service_account + __props__.__dict__["slug"] = slug + return GcpMetricsIntegration(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="metricGroups") + def metric_groups(self) -> pulumi.Output[Optional[Sequence['outputs.GcpMetricsIntegrationMetricGroup']]]: + return pulumi.get(self, "metric_groups") + + @property + @pulumi.getter(name="serviceAccount") + def service_account(self) -> pulumi.Output[Optional['outputs.GcpMetricsIntegrationServiceAccount']]: + return pulumi.get(self, "service_account") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/grafana_dashboard.py b/sdk/python/chronosphereio_chronosphere/grafana_dashboard.py new file mode 100644 index 00000000..9a6cbd22 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/grafana_dashboard.py @@ -0,0 +1,199 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['GrafanaDashboardArgs', 'GrafanaDashboard'] + +@pulumi.input_type +class GrafanaDashboardArgs: + def __init__(__self__, *, + dashboard_json: pulumi.Input[str], + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a GrafanaDashboard resource. + """ + pulumi.set(__self__, "dashboard_json", dashboard_json) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> pulumi.Input[str]: + return pulumi.get(self, "dashboard_json") + + @dashboard_json.setter + def dashboard_json(self, value: pulumi.Input[str]): + pulumi.set(self, "dashboard_json", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + +@pulumi.input_type +class _GrafanaDashboardState: + def __init__(__self__, *, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering GrafanaDashboard resources. + """ + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + if dashboard_json is not None: + pulumi.set(__self__, "dashboard_json", dashboard_json) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "dashboard_json") + + @dashboard_json.setter + def dashboard_json(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dashboard_json", value) + + +class GrafanaDashboard(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a GrafanaDashboard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GrafanaDashboardArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a GrafanaDashboard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param GrafanaDashboardArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(GrafanaDashboardArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = GrafanaDashboardArgs.__new__(GrafanaDashboardArgs) + + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["collection_id"] = collection_id + if dashboard_json is None and not opts.urn: + raise TypeError("Missing required property 'dashboard_json'") + __props__.__dict__["dashboard_json"] = dashboard_json + super(GrafanaDashboard, __self__).__init__( + 'chronosphere:index/grafanaDashboard:GrafanaDashboard', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + dashboard_json: Optional[pulumi.Input[str]] = None) -> 'GrafanaDashboard': + """ + Get an existing GrafanaDashboard resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _GrafanaDashboardState.__new__(_GrafanaDashboardState) + + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["collection_id"] = collection_id + __props__.__dict__["dashboard_json"] = dashboard_json + return GrafanaDashboard(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bucket_id") + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "collection_id") + + @property + @pulumi.getter(name="dashboardJson") + def dashboard_json(self) -> pulumi.Output[str]: + return pulumi.get(self, "dashboard_json") + diff --git a/sdk/python/chronosphereio_chronosphere/mapping_rule.py b/sdk/python/chronosphereio_chronosphere/mapping_rule.py new file mode 100644 index 00000000..1d9ae16a --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/mapping_rule.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MappingRuleArgs', 'MappingRule'] + +@pulumi.input_type +class MappingRuleArgs: + def __init__(__self__, *, + filter: pulumi.Input[str], + name: pulumi.Input[str], + aggregations: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop: Optional[pulumi.Input[bool]] = None, + drop_timestamp: Optional[pulumi.Input[bool]] = None, + interval: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policy: Optional[pulumi.Input['MappingRuleStoragePolicyArgs']] = None): + """ + The set of arguments for constructing a MappingRule resource. + """ + pulumi.set(__self__, "filter", filter) + pulumi.set(__self__, "name", name) + if aggregations is not None: + pulumi.set(__self__, "aggregations", aggregations) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if drop is not None: + pulumi.set(__self__, "drop", drop) + if drop_timestamp is not None: + pulumi.set(__self__, "drop_timestamp", drop_timestamp) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if storage_policy is not None: + pulumi.set(__self__, "storage_policy", storage_policy) + + @property + @pulumi.getter + def filter(self) -> pulumi.Input[str]: + return pulumi.get(self, "filter") + + @filter.setter + def filter(self, value: pulumi.Input[str]): + pulumi.set(self, "filter", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def aggregations(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "aggregations") + + @aggregations.setter + def aggregations(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aggregations", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter + def drop(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "drop") + + @drop.setter + def drop(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "drop", value) + + @property + @pulumi.getter(name="dropTimestamp") + def drop_timestamp(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "drop_timestamp") + + @drop_timestamp.setter + def drop_timestamp(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "drop_timestamp", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="storagePolicy") + def storage_policy(self) -> Optional[pulumi.Input['MappingRuleStoragePolicyArgs']]: + return pulumi.get(self, "storage_policy") + + @storage_policy.setter + def storage_policy(self, value: Optional[pulumi.Input['MappingRuleStoragePolicyArgs']]): + pulumi.set(self, "storage_policy", value) + + +@pulumi.input_type +class _MappingRuleState: + def __init__(__self__, *, + aggregations: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop: Optional[pulumi.Input[bool]] = None, + drop_timestamp: Optional[pulumi.Input[bool]] = None, + filter: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policy: Optional[pulumi.Input['MappingRuleStoragePolicyArgs']] = None): + """ + Input properties used for looking up and filtering MappingRule resources. + """ + if aggregations is not None: + pulumi.set(__self__, "aggregations", aggregations) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if drop is not None: + pulumi.set(__self__, "drop", drop) + if drop_timestamp is not None: + pulumi.set(__self__, "drop_timestamp", drop_timestamp) + if filter is not None: + pulumi.set(__self__, "filter", filter) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if name is not None: + pulumi.set(__self__, "name", name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if storage_policy is not None: + pulumi.set(__self__, "storage_policy", storage_policy) + + @property + @pulumi.getter + def aggregations(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "aggregations") + + @aggregations.setter + def aggregations(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aggregations", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter + def drop(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "drop") + + @drop.setter + def drop(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "drop", value) + + @property + @pulumi.getter(name="dropTimestamp") + def drop_timestamp(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "drop_timestamp") + + @drop_timestamp.setter + def drop_timestamp(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "drop_timestamp", value) + + @property + @pulumi.getter + def filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "filter") + + @filter.setter + def filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "filter", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="storagePolicy") + def storage_policy(self) -> Optional[pulumi.Input['MappingRuleStoragePolicyArgs']]: + return pulumi.get(self, "storage_policy") + + @storage_policy.setter + def storage_policy(self, value: Optional[pulumi.Input['MappingRuleStoragePolicyArgs']]): + pulumi.set(self, "storage_policy", value) + + +class MappingRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aggregations: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop: Optional[pulumi.Input[bool]] = None, + drop_timestamp: Optional[pulumi.Input[bool]] = None, + filter: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policy: Optional[pulumi.Input[pulumi.InputType['MappingRuleStoragePolicyArgs']]] = None, + __props__=None): + """ + Create a MappingRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MappingRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a MappingRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param MappingRuleArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MappingRuleArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aggregations: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop: Optional[pulumi.Input[bool]] = None, + drop_timestamp: Optional[pulumi.Input[bool]] = None, + filter: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policy: Optional[pulumi.Input[pulumi.InputType['MappingRuleStoragePolicyArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MappingRuleArgs.__new__(MappingRuleArgs) + + __props__.__dict__["aggregations"] = aggregations + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["drop"] = drop + __props__.__dict__["drop_timestamp"] = drop_timestamp + if filter is None and not opts.urn: + raise TypeError("Missing required property 'filter'") + __props__.__dict__["filter"] = filter + __props__.__dict__["interval"] = interval + __props__.__dict__["mode"] = mode + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + __props__.__dict__["storage_policy"] = storage_policy + super(MappingRule, __self__).__init__( + 'chronosphere:index/mappingRule:MappingRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + aggregations: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop: Optional[pulumi.Input[bool]] = None, + drop_timestamp: Optional[pulumi.Input[bool]] = None, + filter: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policy: Optional[pulumi.Input[pulumi.InputType['MappingRuleStoragePolicyArgs']]] = None) -> 'MappingRule': + """ + Get an existing MappingRule resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _MappingRuleState.__new__(_MappingRuleState) + + __props__.__dict__["aggregations"] = aggregations + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["drop"] = drop + __props__.__dict__["drop_timestamp"] = drop_timestamp + __props__.__dict__["filter"] = filter + __props__.__dict__["interval"] = interval + __props__.__dict__["mode"] = mode + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + __props__.__dict__["storage_policy"] = storage_policy + return MappingRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def aggregations(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "aggregations") + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bucket_id") + + @property + @pulumi.getter + def drop(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "drop") + + @property + @pulumi.getter(name="dropTimestamp") + def drop_timestamp(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "drop_timestamp") + + @property + @pulumi.getter + def filter(self) -> pulumi.Output[str]: + return pulumi.get(self, "filter") + + @property + @pulumi.getter + def interval(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "interval") + + @property + @pulumi.getter + def mode(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "mode") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="storagePolicy") + def storage_policy(self) -> pulumi.Output[Optional['outputs.MappingRuleStoragePolicy']]: + return pulumi.get(self, "storage_policy") + diff --git a/sdk/python/chronosphereio_chronosphere/monitor.py b/sdk/python/chronosphereio_chronosphere/monitor.py new file mode 100644 index 00000000..3862fdf9 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/monitor.py @@ -0,0 +1,509 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitorArgs', 'Monitor'] + +@pulumi.input_type +class MonitorArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + query: pulumi.Input['MonitorQueryArgs'], + series_conditions: pulumi.Input['MonitorSeriesConditionsArgs'], + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input['MonitorScheduleArgs']] = None, + signal_grouping: Optional[pulumi.Input['MonitorSignalGroupingArgs']] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Monitor resource. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "series_conditions", series_conditions) + if annotations is not None: + pulumi.set(__self__, "annotations", annotations) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if notification_policy_id is not None: + pulumi.set(__self__, "notification_policy_id", notification_policy_id) + if schedule is not None: + pulumi.set(__self__, "schedule", schedule) + if signal_grouping is not None: + pulumi.set(__self__, "signal_grouping", signal_grouping) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def query(self) -> pulumi.Input['MonitorQueryArgs']: + return pulumi.get(self, "query") + + @query.setter + def query(self, value: pulumi.Input['MonitorQueryArgs']): + pulumi.set(self, "query", value) + + @property + @pulumi.getter(name="seriesConditions") + def series_conditions(self) -> pulumi.Input['MonitorSeriesConditionsArgs']: + return pulumi.get(self, "series_conditions") + + @series_conditions.setter + def series_conditions(self, value: pulumi.Input['MonitorSeriesConditionsArgs']): + pulumi.set(self, "series_conditions", value) + + @property + @pulumi.getter + def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "annotations") + + @annotations.setter + def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "annotations", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_id") + + @notification_policy_id.setter + def notification_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_id", value) + + @property + @pulumi.getter + def schedule(self) -> Optional[pulumi.Input['MonitorScheduleArgs']]: + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: Optional[pulumi.Input['MonitorScheduleArgs']]): + pulumi.set(self, "schedule", value) + + @property + @pulumi.getter(name="signalGrouping") + def signal_grouping(self) -> Optional[pulumi.Input['MonitorSignalGroupingArgs']]: + return pulumi.get(self, "signal_grouping") + + @signal_grouping.setter + def signal_grouping(self, value: Optional[pulumi.Input['MonitorSignalGroupingArgs']]): + pulumi.set(self, "signal_grouping", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _MonitorState: + def __init__(__self__, *, + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input['MonitorQueryArgs']] = None, + schedule: Optional[pulumi.Input['MonitorScheduleArgs']] = None, + series_conditions: Optional[pulumi.Input['MonitorSeriesConditionsArgs']] = None, + signal_grouping: Optional[pulumi.Input['MonitorSignalGroupingArgs']] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering Monitor resources. + """ + if annotations is not None: + pulumi.set(__self__, "annotations", annotations) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if name is not None: + pulumi.set(__self__, "name", name) + if notification_policy_id is not None: + pulumi.set(__self__, "notification_policy_id", notification_policy_id) + if query is not None: + pulumi.set(__self__, "query", query) + if schedule is not None: + pulumi.set(__self__, "schedule", schedule) + if series_conditions is not None: + pulumi.set(__self__, "series_conditions", series_conditions) + if signal_grouping is not None: + pulumi.set(__self__, "signal_grouping", signal_grouping) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "annotations") + + @annotations.setter + def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "annotations", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_id") + + @notification_policy_id.setter + def notification_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_id", value) + + @property + @pulumi.getter + def query(self) -> Optional[pulumi.Input['MonitorQueryArgs']]: + return pulumi.get(self, "query") + + @query.setter + def query(self, value: Optional[pulumi.Input['MonitorQueryArgs']]): + pulumi.set(self, "query", value) + + @property + @pulumi.getter + def schedule(self) -> Optional[pulumi.Input['MonitorScheduleArgs']]: + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: Optional[pulumi.Input['MonitorScheduleArgs']]): + pulumi.set(self, "schedule", value) + + @property + @pulumi.getter(name="seriesConditions") + def series_conditions(self) -> Optional[pulumi.Input['MonitorSeriesConditionsArgs']]: + return pulumi.get(self, "series_conditions") + + @series_conditions.setter + def series_conditions(self, value: Optional[pulumi.Input['MonitorSeriesConditionsArgs']]): + pulumi.set(self, "series_conditions", value) + + @property + @pulumi.getter(name="signalGrouping") + def signal_grouping(self) -> Optional[pulumi.Input['MonitorSignalGroupingArgs']]: + return pulumi.get(self, "signal_grouping") + + @signal_grouping.setter + def signal_grouping(self, value: Optional[pulumi.Input['MonitorSignalGroupingArgs']]): + pulumi.set(self, "signal_grouping", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class Monitor(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[pulumi.InputType['MonitorQueryArgs']]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['MonitorScheduleArgs']]] = None, + series_conditions: Optional[pulumi.Input[pulumi.InputType['MonitorSeriesConditionsArgs']]] = None, + signal_grouping: Optional[pulumi.Input[pulumi.InputType['MonitorSignalGroupingArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a Monitor resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Monitor resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param MonitorArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitorArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[pulumi.InputType['MonitorQueryArgs']]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['MonitorScheduleArgs']]] = None, + series_conditions: Optional[pulumi.Input[pulumi.InputType['MonitorSeriesConditionsArgs']]] = None, + signal_grouping: Optional[pulumi.Input[pulumi.InputType['MonitorSignalGroupingArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitorArgs.__new__(MonitorArgs) + + __props__.__dict__["annotations"] = annotations + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["collection_id"] = collection_id + __props__.__dict__["interval"] = interval + __props__.__dict__["labels"] = labels + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_id"] = notification_policy_id + if query is None and not opts.urn: + raise TypeError("Missing required property 'query'") + __props__.__dict__["query"] = query + __props__.__dict__["schedule"] = schedule + if series_conditions is None and not opts.urn: + raise TypeError("Missing required property 'series_conditions'") + __props__.__dict__["series_conditions"] = series_conditions + __props__.__dict__["signal_grouping"] = signal_grouping + __props__.__dict__["slug"] = slug + super(Monitor, __self__).__init__( + 'chronosphere:index/monitor:Monitor', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + collection_id: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_id: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[pulumi.InputType['MonitorQueryArgs']]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['MonitorScheduleArgs']]] = None, + series_conditions: Optional[pulumi.Input[pulumi.InputType['MonitorSeriesConditionsArgs']]] = None, + signal_grouping: Optional[pulumi.Input[pulumi.InputType['MonitorSignalGroupingArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'Monitor': + """ + Get an existing Monitor resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _MonitorState.__new__(_MonitorState) + + __props__.__dict__["annotations"] = annotations + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["collection_id"] = collection_id + __props__.__dict__["interval"] = interval + __props__.__dict__["labels"] = labels + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_id"] = notification_policy_id + __props__.__dict__["query"] = query + __props__.__dict__["schedule"] = schedule + __props__.__dict__["series_conditions"] = series_conditions + __props__.__dict__["signal_grouping"] = signal_grouping + __props__.__dict__["slug"] = slug + return Monitor(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "annotations") + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bucket_id") + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "collection_id") + + @property + @pulumi.getter + def interval(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "interval") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notificationPolicyId") + def notification_policy_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "notification_policy_id") + + @property + @pulumi.getter + def query(self) -> pulumi.Output['outputs.MonitorQuery']: + return pulumi.get(self, "query") + + @property + @pulumi.getter + def schedule(self) -> pulumi.Output[Optional['outputs.MonitorSchedule']]: + return pulumi.get(self, "schedule") + + @property + @pulumi.getter(name="seriesConditions") + def series_conditions(self) -> pulumi.Output['outputs.MonitorSeriesConditions']: + return pulumi.get(self, "series_conditions") + + @property + @pulumi.getter(name="signalGrouping") + def signal_grouping(self) -> pulumi.Output[Optional['outputs.MonitorSignalGrouping']]: + return pulumi.get(self, "signal_grouping") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/notification_policy.py b/sdk/python/chronosphereio_chronosphere/notification_policy.py new file mode 100644 index 00000000..1f3d84c8 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/notification_policy.py @@ -0,0 +1,371 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['NotificationPolicyArgs', 'NotificationPolicy'] + +@pulumi.input_type +class NotificationPolicyArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + overrides: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideArgs']]]] = None, + routes: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRouteArgs']]]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRuleArgs']]]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a NotificationPolicy resource. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if notification_policy_data is not None: + pulumi.set(__self__, "notification_policy_data", notification_policy_data) + if overrides is not None: + pulumi.set(__self__, "overrides", overrides) + if routes is not None: + pulumi.set(__self__, "routes", routes) + if rules is not None: + warnings.warn("""`rule` is deprecated, use `route` instead.""", DeprecationWarning) + pulumi.log.warn("""rules is deprecated: `rule` is deprecated, use `route` instead.""") + if rules is not None: + pulumi.set(__self__, "rules", rules) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="notificationPolicyData") + def notification_policy_data(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_data") + + @notification_policy_data.setter + def notification_policy_data(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_data", value) + + @property + @pulumi.getter + def overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideArgs']]]]: + return pulumi.get(self, "overrides") + + @overrides.setter + def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideArgs']]]]): + pulumi.set(self, "overrides", value) + + @property + @pulumi.getter + def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRouteArgs']]]]: + return pulumi.get(self, "routes") + + @routes.setter + def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRouteArgs']]]]): + pulumi.set(self, "routes", value) + + @property + @pulumi.getter + def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRuleArgs']]]]: + warnings.warn("""`rule` is deprecated, use `route` instead.""", DeprecationWarning) + pulumi.log.warn("""rules is deprecated: `rule` is deprecated, use `route` instead.""") + + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRuleArgs']]]]): + pulumi.set(self, "rules", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "team_id") + + @team_id.setter + def team_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "team_id", value) + + +@pulumi.input_type +class _NotificationPolicyState: + def __init__(__self__, *, + is_independent: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + overrides: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideArgs']]]] = None, + routes: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRouteArgs']]]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRuleArgs']]]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering NotificationPolicy resources. + """ + if is_independent is not None: + pulumi.set(__self__, "is_independent", is_independent) + if name is not None: + pulumi.set(__self__, "name", name) + if notification_policy_data is not None: + pulumi.set(__self__, "notification_policy_data", notification_policy_data) + if overrides is not None: + pulumi.set(__self__, "overrides", overrides) + if routes is not None: + pulumi.set(__self__, "routes", routes) + if rules is not None: + warnings.warn("""`rule` is deprecated, use `route` instead.""", DeprecationWarning) + pulumi.log.warn("""rules is deprecated: `rule` is deprecated, use `route` instead.""") + if rules is not None: + pulumi.set(__self__, "rules", rules) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter(name="isIndependent") + def is_independent(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_independent") + + @is_independent.setter + def is_independent(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_independent", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="notificationPolicyData") + def notification_policy_data(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "notification_policy_data") + + @notification_policy_data.setter + def notification_policy_data(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_policy_data", value) + + @property + @pulumi.getter + def overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideArgs']]]]: + return pulumi.get(self, "overrides") + + @overrides.setter + def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyOverrideArgs']]]]): + pulumi.set(self, "overrides", value) + + @property + @pulumi.getter + def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRouteArgs']]]]: + return pulumi.get(self, "routes") + + @routes.setter + def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRouteArgs']]]]): + pulumi.set(self, "routes", value) + + @property + @pulumi.getter + def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRuleArgs']]]]: + warnings.warn("""`rule` is deprecated, use `route` instead.""", DeprecationWarning) + pulumi.log.warn("""rules is deprecated: `rule` is deprecated, use `route` instead.""") + + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPolicyRuleArgs']]]]): + pulumi.set(self, "rules", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "team_id") + + @team_id.setter + def team_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "team_id", value) + + +class NotificationPolicy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyOverrideArgs']]]]] = None, + routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyRouteArgs']]]]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyRuleArgs']]]]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a NotificationPolicy resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[NotificationPolicyArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a NotificationPolicy resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param NotificationPolicyArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(NotificationPolicyArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyOverrideArgs']]]]] = None, + routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyRouteArgs']]]]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyRuleArgs']]]]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = NotificationPolicyArgs.__new__(NotificationPolicyArgs) + + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_data"] = notification_policy_data + __props__.__dict__["overrides"] = overrides + __props__.__dict__["routes"] = routes + __props__.__dict__["rules"] = rules + __props__.__dict__["slug"] = slug + __props__.__dict__["team_id"] = team_id + __props__.__dict__["is_independent"] = None + super(NotificationPolicy, __self__).__init__( + 'chronosphere:index/notificationPolicy:NotificationPolicy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + is_independent: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + notification_policy_data: Optional[pulumi.Input[str]] = None, + overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyOverrideArgs']]]]] = None, + routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyRouteArgs']]]]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationPolicyRuleArgs']]]]] = None, + slug: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None) -> 'NotificationPolicy': + """ + Get an existing NotificationPolicy resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _NotificationPolicyState.__new__(_NotificationPolicyState) + + __props__.__dict__["is_independent"] = is_independent + __props__.__dict__["name"] = name + __props__.__dict__["notification_policy_data"] = notification_policy_data + __props__.__dict__["overrides"] = overrides + __props__.__dict__["routes"] = routes + __props__.__dict__["rules"] = rules + __props__.__dict__["slug"] = slug + __props__.__dict__["team_id"] = team_id + return NotificationPolicy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="isIndependent") + def is_independent(self) -> pulumi.Output[bool]: + return pulumi.get(self, "is_independent") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notificationPolicyData") + def notification_policy_data(self) -> pulumi.Output[str]: + return pulumi.get(self, "notification_policy_data") + + @property + @pulumi.getter + def overrides(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationPolicyOverride']]]: + return pulumi.get(self, "overrides") + + @property + @pulumi.getter + def routes(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationPolicyRoute']]]: + return pulumi.get(self, "routes") + + @property + @pulumi.getter + def rules(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationPolicyRule']]]: + warnings.warn("""`rule` is deprecated, use `route` instead.""", DeprecationWarning) + pulumi.log.warn("""rules is deprecated: `rule` is deprecated, use `route` instead.""") + + return pulumi.get(self, "rules") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "team_id") + diff --git a/sdk/python/chronosphereio_chronosphere/notification_policy_data_source.py b/sdk/python/chronosphereio_chronosphere/notification_policy_data_source.py new file mode 100644 index 00000000..aca3eb8b --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/notification_policy_data_source.py @@ -0,0 +1,170 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'NotificationPolicyDataSourceResult', + 'AwaitableNotificationPolicyDataSourceResult', + 'notification_policy_data_source', + 'notification_policy_data_source_output', +] + +@pulumi.output_type +class NotificationPolicyDataSourceResult: + """ + A collection of values returned by NotificationPolicyDataSource. + """ + def __init__(__self__, id=None, is_independent=None, name=None, notification_policy_data=None, overrides=None, routes=None, rules=None, slug=None, team_id=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_independent and not isinstance(is_independent, bool): + raise TypeError("Expected argument 'is_independent' to be a bool") + pulumi.set(__self__, "is_independent", is_independent) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if notification_policy_data and not isinstance(notification_policy_data, str): + raise TypeError("Expected argument 'notification_policy_data' to be a str") + pulumi.set(__self__, "notification_policy_data", notification_policy_data) + if overrides and not isinstance(overrides, list): + raise TypeError("Expected argument 'overrides' to be a list") + pulumi.set(__self__, "overrides", overrides) + if routes and not isinstance(routes, list): + raise TypeError("Expected argument 'routes' to be a list") + pulumi.set(__self__, "routes", routes) + if rules and not isinstance(rules, list): + raise TypeError("Expected argument 'rules' to be a list") + pulumi.set(__self__, "rules", rules) + if slug and not isinstance(slug, str): + raise TypeError("Expected argument 'slug' to be a str") + pulumi.set(__self__, "slug", slug) + if team_id and not isinstance(team_id, str): + raise TypeError("Expected argument 'team_id' to be a str") + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isIndependent") + def is_independent(self) -> bool: + return pulumi.get(self, "is_independent") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notificationPolicyData") + def notification_policy_data(self) -> str: + return pulumi.get(self, "notification_policy_data") + + @property + @pulumi.getter + def overrides(self) -> Optional[Sequence['outputs.NotificationPolicyDataSourceOverrideResult']]: + return pulumi.get(self, "overrides") + + @property + @pulumi.getter + def routes(self) -> Optional[Sequence['outputs.NotificationPolicyDataSourceRouteResult']]: + return pulumi.get(self, "routes") + + @property + @pulumi.getter + def rules(self) -> Optional[Sequence['outputs.NotificationPolicyDataSourceRuleResult']]: + warnings.warn("""`rule` is deprecated, use `route` instead.""", DeprecationWarning) + pulumi.log.warn("""rules is deprecated: `rule` is deprecated, use `route` instead.""") + + return pulumi.get(self, "rules") + + @property + @pulumi.getter + def slug(self) -> str: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[str]: + return pulumi.get(self, "team_id") + + +class AwaitableNotificationPolicyDataSourceResult(NotificationPolicyDataSourceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return NotificationPolicyDataSourceResult( + id=self.id, + is_independent=self.is_independent, + name=self.name, + notification_policy_data=self.notification_policy_data, + overrides=self.overrides, + routes=self.routes, + rules=self.rules, + slug=self.slug, + team_id=self.team_id) + + +def notification_policy_data_source(name: Optional[str] = None, + notification_policy_data: Optional[str] = None, + overrides: Optional[Sequence[pulumi.InputType['NotificationPolicyDataSourceOverrideArgs']]] = None, + routes: Optional[Sequence[pulumi.InputType['NotificationPolicyDataSourceRouteArgs']]] = None, + rules: Optional[Sequence[pulumi.InputType['NotificationPolicyDataSourceRuleArgs']]] = None, + slug: Optional[str] = None, + team_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableNotificationPolicyDataSourceResult: + """ + Use this data source to access information about an existing resource. + """ + __args__ = dict() + __args__['name'] = name + __args__['notificationPolicyData'] = notification_policy_data + __args__['overrides'] = overrides + __args__['routes'] = routes + __args__['rules'] = rules + __args__['slug'] = slug + __args__['teamId'] = team_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('chronosphere:index/notificationPolicyDataSource:NotificationPolicyDataSource', __args__, opts=opts, typ=NotificationPolicyDataSourceResult).value + + return AwaitableNotificationPolicyDataSourceResult( + id=pulumi.get(__ret__, 'id'), + is_independent=pulumi.get(__ret__, 'is_independent'), + name=pulumi.get(__ret__, 'name'), + notification_policy_data=pulumi.get(__ret__, 'notification_policy_data'), + overrides=pulumi.get(__ret__, 'overrides'), + routes=pulumi.get(__ret__, 'routes'), + rules=pulumi.get(__ret__, 'rules'), + slug=pulumi.get(__ret__, 'slug'), + team_id=pulumi.get(__ret__, 'team_id')) + + +@_utilities.lift_output_func(notification_policy_data_source) +def notification_policy_data_source_output(name: Optional[pulumi.Input[Optional[str]]] = None, + notification_policy_data: Optional[pulumi.Input[Optional[str]]] = None, + overrides: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['NotificationPolicyDataSourceOverrideArgs']]]]] = None, + routes: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['NotificationPolicyDataSourceRouteArgs']]]]] = None, + rules: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['NotificationPolicyDataSourceRuleArgs']]]]] = None, + slug: Optional[pulumi.Input[Optional[str]]] = None, + team_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[NotificationPolicyDataSourceResult]: + """ + Use this data source to access information about an existing resource. + """ + ... diff --git a/sdk/python/chronosphereio_chronosphere/opsgenie_alert_notifier.py b/sdk/python/chronosphereio_chronosphere/opsgenie_alert_notifier.py new file mode 100644 index 00000000..99e8af14 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/opsgenie_alert_notifier.py @@ -0,0 +1,714 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['OpsgenieAlertNotifierArgs', 'OpsgenieAlertNotifier'] + +@pulumi.input_type +class OpsgenieAlertNotifierArgs: + def __init__(__self__, *, + api_key: pulumi.Input[str], + name: pulumi.Input[str], + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + message: Optional[pulumi.Input[str]] = None, + note: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + responders: Optional[pulumi.Input[Sequence[pulumi.Input['OpsgenieAlertNotifierResponderArgs']]]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a OpsgenieAlertNotifier resource. + """ + pulumi.set(__self__, "api_key", api_key) + pulumi.set(__self__, "name", name) + if api_url is not None: + pulumi.set(__self__, "api_url", api_url) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if description is not None: + pulumi.set(__self__, "description", description) + if details is not None: + pulumi.set(__self__, "details", details) + if message is not None: + pulumi.set(__self__, "message", message) + if note is not None: + pulumi.set(__self__, "note", note) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if responders is not None: + pulumi.set(__self__, "responders", responders) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if source is not None: + pulumi.set(__self__, "source", source) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + + @property + @pulumi.getter(name="apiKey") + def api_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "api_key") + + @api_key.setter + def api_key(self, value: pulumi.Input[str]): + pulumi.set(self, "api_key", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_url") + + @api_url.setter + def api_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_url", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def details(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "details") + + @details.setter + def details(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "details", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter + def note(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "note") + + @note.setter + def note(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "note", value) + + @property + @pulumi.getter + def priority(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter + def responders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpsgenieAlertNotifierResponderArgs']]]]: + return pulumi.get(self, "responders") + + @responders.setter + def responders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpsgenieAlertNotifierResponderArgs']]]]): + pulumi.set(self, "responders", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + +@pulumi.input_type +class _OpsgenieAlertNotifierState: + def __init__(__self__, *, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + note: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + responders: Optional[pulumi.Input[Sequence[pulumi.Input['OpsgenieAlertNotifierResponderArgs']]]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None): + """ + Input properties used for looking up and filtering OpsgenieAlertNotifier resources. + """ + if api_key is not None: + pulumi.set(__self__, "api_key", api_key) + if api_url is not None: + pulumi.set(__self__, "api_url", api_url) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if description is not None: + pulumi.set(__self__, "description", description) + if details is not None: + pulumi.set(__self__, "details", details) + if message is not None: + pulumi.set(__self__, "message", message) + if name is not None: + pulumi.set(__self__, "name", name) + if note is not None: + pulumi.set(__self__, "note", note) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if responders is not None: + pulumi.set(__self__, "responders", responders) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if source is not None: + pulumi.set(__self__, "source", source) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + + @property + @pulumi.getter(name="apiKey") + def api_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_key") + + @api_key.setter + def api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_key", value) + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_url") + + @api_url.setter + def api_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_url", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def details(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "details") + + @details.setter + def details(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "details", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def note(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "note") + + @note.setter + def note(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "note", value) + + @property + @pulumi.getter + def priority(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter + def responders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpsgenieAlertNotifierResponderArgs']]]]: + return pulumi.get(self, "responders") + + @responders.setter + def responders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpsgenieAlertNotifierResponderArgs']]]]): + pulumi.set(self, "responders", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + +class OpsgenieAlertNotifier(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + note: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + responders: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpsgenieAlertNotifierResponderArgs']]]]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + __props__=None): + """ + Create a OpsgenieAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OpsgenieAlertNotifierArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a OpsgenieAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param OpsgenieAlertNotifierArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(OpsgenieAlertNotifierArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + note: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + responders: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpsgenieAlertNotifierResponderArgs']]]]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = OpsgenieAlertNotifierArgs.__new__(OpsgenieAlertNotifierArgs) + + if api_key is None and not opts.urn: + raise TypeError("Missing required property 'api_key'") + __props__.__dict__["api_key"] = None if api_key is None else pulumi.Output.secret(api_key) + __props__.__dict__["api_url"] = api_url + __props__.__dict__["basic_auth_password"] = None if basic_auth_password is None else pulumi.Output.secret(basic_auth_password) + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["description"] = description + __props__.__dict__["details"] = details + __props__.__dict__["message"] = message + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["note"] = note + __props__.__dict__["priority"] = priority + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["responders"] = responders + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["source"] = source + __props__.__dict__["tags"] = tags + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey", "basicAuthPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(OpsgenieAlertNotifier, __self__).__init__( + 'chronosphere:index/opsgenieAlertNotifier:OpsgenieAlertNotifier', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + note: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + responders: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpsgenieAlertNotifierResponderArgs']]]]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None) -> 'OpsgenieAlertNotifier': + """ + Get an existing OpsgenieAlertNotifier resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _OpsgenieAlertNotifierState.__new__(_OpsgenieAlertNotifierState) + + __props__.__dict__["api_key"] = api_key + __props__.__dict__["api_url"] = api_url + __props__.__dict__["basic_auth_password"] = basic_auth_password + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["description"] = description + __props__.__dict__["details"] = details + __props__.__dict__["message"] = message + __props__.__dict__["name"] = name + __props__.__dict__["note"] = note + __props__.__dict__["priority"] = priority + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["responders"] = responders + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["source"] = source + __props__.__dict__["tags"] = tags + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + return OpsgenieAlertNotifier(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="apiKey") + def api_key(self) -> pulumi.Output[str]: + return pulumi.get(self, "api_key") + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "api_url") + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_password") + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_username") + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bearer_token") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def details(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "details") + + @property + @pulumi.getter + def message(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "message") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def note(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "note") + + @property + @pulumi.getter + def priority(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "proxy_url") + + @property + @pulumi.getter + def responders(self) -> pulumi.Output[Optional[Sequence['outputs.OpsgenieAlertNotifierResponder']]]: + return pulumi.get(self, "responders") + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "send_resolved") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter + def source(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "source") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + diff --git a/sdk/python/chronosphereio_chronosphere/outputs.py b/sdk/python/chronosphereio_chronosphere/outputs.py new file mode 100644 index 00000000..4afb022b --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/outputs.py @@ -0,0 +1,3010 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs + +__all__ = [ + 'DerivedLabelMetricLabel', + 'DerivedLabelMetricLabelConstructedLabel', + 'DerivedLabelMetricLabelConstructedLabelValueDefinition', + 'DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter', + 'DerivedLabelMetricLabelMappingLabel', + 'DerivedLabelMetricLabelMappingLabelNameMapping', + 'DerivedLabelMetricLabelMappingLabelNameMappingFilter', + 'DerivedLabelMetricLabelMappingLabelNameMappingValueMapping', + 'DerivedLabelMetricLabelMappingLabelValueMapping', + 'DerivedMetricQuery', + 'DerivedMetricQueryQuery', + 'DerivedMetricQueryQueryVariable', + 'DerivedMetricQuerySelector', + 'DropRuleValueBasedDrop', + 'GcpMetricsIntegrationMetricGroup', + 'GcpMetricsIntegrationServiceAccount', + 'MappingRuleStoragePolicy', + 'MonitorQuery', + 'MonitorSchedule', + 'MonitorScheduleRange', + 'MonitorSeriesConditions', + 'MonitorSeriesConditionsCondition', + 'MonitorSeriesConditionsOverride', + 'MonitorSeriesConditionsOverrideCondition', + 'MonitorSeriesConditionsOverrideLabelMatcher', + 'MonitorSignalGrouping', + 'NotificationPolicyDataSourceOverrideResult', + 'NotificationPolicyDataSourceOverrideAlertLabelMatcherResult', + 'NotificationPolicyDataSourceOverrideRouteResult', + 'NotificationPolicyDataSourceRouteResult', + 'NotificationPolicyDataSourceRuleResult', + 'NotificationPolicyOverride', + 'NotificationPolicyOverrideAlertLabelMatcher', + 'NotificationPolicyOverrideRoute', + 'NotificationPolicyRoute', + 'NotificationPolicyRule', + 'OpsgenieAlertNotifierResponder', + 'PagerdutyAlertNotifierImage', + 'PagerdutyAlertNotifierLink', + 'ResourcePoolsConfigDefaultPool', + 'ResourcePoolsConfigDefaultPoolAllocation', + 'ResourcePoolsConfigDefaultPoolPriorities', + 'ResourcePoolsConfigPool', + 'ResourcePoolsConfigPoolAllocation', + 'ResourcePoolsConfigPoolPriorities', + 'RollupRuleStoragePolicies', + 'ServiceAccountRestriction', + 'SlackAlertNotifierAction', + 'SlackAlertNotifierField', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategy', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy', + 'TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy', + 'TraceMetricsRuleGroupBy', + 'TraceMetricsRuleGroupByKey', + 'TraceMetricsRuleTraceFilter', + 'TraceMetricsRuleTraceFilterSpan', + 'TraceMetricsRuleTraceFilterSpanDuration', + 'TraceMetricsRuleTraceFilterSpanError', + 'TraceMetricsRuleTraceFilterSpanOperation', + 'TraceMetricsRuleTraceFilterSpanParentOperation', + 'TraceMetricsRuleTraceFilterSpanParentService', + 'TraceMetricsRuleTraceFilterSpanService', + 'TraceMetricsRuleTraceFilterSpanSpanCount', + 'TraceMetricsRuleTraceFilterSpanTag', + 'TraceMetricsRuleTraceFilterSpanTagNumericValue', + 'TraceMetricsRuleTraceFilterSpanTagValue', + 'TraceMetricsRuleTraceFilterTrace', + 'TraceMetricsRuleTraceFilterTraceDuration', + 'TraceMetricsRuleTraceFilterTraceError', + 'TraceTailSamplingRulesDefaultSampleRate', + 'TraceTailSamplingRulesRule', + 'TraceTailSamplingRulesRuleFilter', + 'TraceTailSamplingRulesRuleFilterSpan', + 'TraceTailSamplingRulesRuleFilterSpanDuration', + 'TraceTailSamplingRulesRuleFilterSpanError', + 'TraceTailSamplingRulesRuleFilterSpanOperation', + 'TraceTailSamplingRulesRuleFilterSpanParentOperation', + 'TraceTailSamplingRulesRuleFilterSpanParentService', + 'TraceTailSamplingRulesRuleFilterSpanService', + 'TraceTailSamplingRulesRuleFilterSpanSpanCount', + 'TraceTailSamplingRulesRuleFilterSpanTag', + 'TraceTailSamplingRulesRuleFilterSpanTagNumericValue', + 'TraceTailSamplingRulesRuleFilterSpanTagValue', + 'TraceTailSamplingRulesRuleFilterTrace', + 'TraceTailSamplingRulesRuleFilterTraceDuration', + 'TraceTailSamplingRulesRuleFilterTraceError', +] + +@pulumi.output_type +class DerivedLabelMetricLabel(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "constructedLabel": + suggest = "constructed_label" + elif key == "mappingLabel": + suggest = "mapping_label" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabel. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabel.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabel.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + constructed_label: Optional['outputs.DerivedLabelMetricLabelConstructedLabel'] = None, + mapping_label: Optional['outputs.DerivedLabelMetricLabelMappingLabel'] = None): + if constructed_label is not None: + pulumi.set(__self__, "constructed_label", constructed_label) + if mapping_label is not None: + pulumi.set(__self__, "mapping_label", mapping_label) + + @property + @pulumi.getter(name="constructedLabel") + def constructed_label(self) -> Optional['outputs.DerivedLabelMetricLabelConstructedLabel']: + return pulumi.get(self, "constructed_label") + + @property + @pulumi.getter(name="mappingLabel") + def mapping_label(self) -> Optional['outputs.DerivedLabelMetricLabelMappingLabel']: + return pulumi.get(self, "mapping_label") + + +@pulumi.output_type +class DerivedLabelMetricLabelConstructedLabel(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "valueDefinitions": + suggest = "value_definitions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabelConstructedLabel. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabelConstructedLabel.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabelConstructedLabel.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + value_definitions: Sequence['outputs.DerivedLabelMetricLabelConstructedLabelValueDefinition']): + pulumi.set(__self__, "value_definitions", value_definitions) + + @property + @pulumi.getter(name="valueDefinitions") + def value_definitions(self) -> Sequence['outputs.DerivedLabelMetricLabelConstructedLabelValueDefinition']: + return pulumi.get(self, "value_definitions") + + +@pulumi.output_type +class DerivedLabelMetricLabelConstructedLabelValueDefinition(dict): + def __init__(__self__, *, + filters: Sequence['outputs.DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter'], + value: str): + pulumi.set(__self__, "filters", filters) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def filters(self) -> Sequence['outputs.DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter']: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + +@pulumi.output_type +class DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "valueGlob": + suggest = "value_glob" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabelConstructedLabelValueDefinitionFilter.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + value_glob: str): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value_glob", value_glob) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="valueGlob") + def value_glob(self) -> str: + return pulumi.get(self, "value_glob") + + +@pulumi.output_type +class DerivedLabelMetricLabelMappingLabel(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "nameMappings": + suggest = "name_mappings" + elif key == "valueMappings": + suggest = "value_mappings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabelMappingLabel. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabelMappingLabel.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabelMappingLabel.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name_mappings: Optional[Sequence['outputs.DerivedLabelMetricLabelMappingLabelNameMapping']] = None, + value_mappings: Optional[Sequence['outputs.DerivedLabelMetricLabelMappingLabelValueMapping']] = None): + if name_mappings is not None: + pulumi.set(__self__, "name_mappings", name_mappings) + if value_mappings is not None: + pulumi.set(__self__, "value_mappings", value_mappings) + + @property + @pulumi.getter(name="nameMappings") + def name_mappings(self) -> Optional[Sequence['outputs.DerivedLabelMetricLabelMappingLabelNameMapping']]: + return pulumi.get(self, "name_mappings") + + @property + @pulumi.getter(name="valueMappings") + def value_mappings(self) -> Optional[Sequence['outputs.DerivedLabelMetricLabelMappingLabelValueMapping']]: + return pulumi.get(self, "value_mappings") + + +@pulumi.output_type +class DerivedLabelMetricLabelMappingLabelNameMapping(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceLabel": + suggest = "source_label" + elif key == "valueMappings": + suggest = "value_mappings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabelMappingLabelNameMapping. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabelMappingLabelNameMapping.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabelMappingLabelNameMapping.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + filters: Sequence['outputs.DerivedLabelMetricLabelMappingLabelNameMappingFilter'], + source_label: str, + value_mappings: Optional[Sequence['outputs.DerivedLabelMetricLabelMappingLabelNameMappingValueMapping']] = None): + pulumi.set(__self__, "filters", filters) + pulumi.set(__self__, "source_label", source_label) + if value_mappings is not None: + pulumi.set(__self__, "value_mappings", value_mappings) + + @property + @pulumi.getter + def filters(self) -> Sequence['outputs.DerivedLabelMetricLabelMappingLabelNameMappingFilter']: + return pulumi.get(self, "filters") + + @property + @pulumi.getter(name="sourceLabel") + def source_label(self) -> str: + return pulumi.get(self, "source_label") + + @property + @pulumi.getter(name="valueMappings") + def value_mappings(self) -> Optional[Sequence['outputs.DerivedLabelMetricLabelMappingLabelNameMappingValueMapping']]: + return pulumi.get(self, "value_mappings") + + +@pulumi.output_type +class DerivedLabelMetricLabelMappingLabelNameMappingFilter(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "valueGlob": + suggest = "value_glob" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabelMappingLabelNameMappingFilter. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabelMappingLabelNameMappingFilter.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabelMappingLabelNameMappingFilter.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + value_glob: str): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value_glob", value_glob) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="valueGlob") + def value_glob(self) -> str: + return pulumi.get(self, "value_glob") + + +@pulumi.output_type +class DerivedLabelMetricLabelMappingLabelNameMappingValueMapping(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceValueGlobs": + suggest = "source_value_globs" + elif key == "targetValue": + suggest = "target_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabelMappingLabelNameMappingValueMapping. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabelMappingLabelNameMappingValueMapping.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabelMappingLabelNameMappingValueMapping.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_value_globs: Sequence[str], + target_value: str): + pulumi.set(__self__, "source_value_globs", source_value_globs) + pulumi.set(__self__, "target_value", target_value) + + @property + @pulumi.getter(name="sourceValueGlobs") + def source_value_globs(self) -> Sequence[str]: + return pulumi.get(self, "source_value_globs") + + @property + @pulumi.getter(name="targetValue") + def target_value(self) -> str: + return pulumi.get(self, "target_value") + + +@pulumi.output_type +class DerivedLabelMetricLabelMappingLabelValueMapping(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceValueGlobs": + suggest = "source_value_globs" + elif key == "targetValue": + suggest = "target_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedLabelMetricLabelMappingLabelValueMapping. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedLabelMetricLabelMappingLabelValueMapping.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedLabelMetricLabelMappingLabelValueMapping.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_value_globs: Sequence[str], + target_value: str): + pulumi.set(__self__, "source_value_globs", source_value_globs) + pulumi.set(__self__, "target_value", target_value) + + @property + @pulumi.getter(name="sourceValueGlobs") + def source_value_globs(self) -> Sequence[str]: + return pulumi.get(self, "source_value_globs") + + @property + @pulumi.getter(name="targetValue") + def target_value(self) -> str: + return pulumi.get(self, "target_value") + + +@pulumi.output_type +class DerivedMetricQuery(dict): + def __init__(__self__, *, + query: 'outputs.DerivedMetricQueryQuery', + selector: Optional['outputs.DerivedMetricQuerySelector'] = None): + pulumi.set(__self__, "query", query) + if selector is not None: + pulumi.set(__self__, "selector", selector) + + @property + @pulumi.getter + def query(self) -> 'outputs.DerivedMetricQueryQuery': + return pulumi.get(self, "query") + + @property + @pulumi.getter + def selector(self) -> Optional['outputs.DerivedMetricQuerySelector']: + return pulumi.get(self, "selector") + + +@pulumi.output_type +class DerivedMetricQueryQuery(dict): + def __init__(__self__, *, + expr: str, + variables: Optional[Sequence['outputs.DerivedMetricQueryQueryVariable']] = None): + pulumi.set(__self__, "expr", expr) + if variables is not None: + pulumi.set(__self__, "variables", variables) + + @property + @pulumi.getter + def expr(self) -> str: + return pulumi.get(self, "expr") + + @property + @pulumi.getter + def variables(self) -> Optional[Sequence['outputs.DerivedMetricQueryQueryVariable']]: + return pulumi.get(self, "variables") + + +@pulumi.output_type +class DerivedMetricQueryQueryVariable(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "defaultSelector": + suggest = "default_selector" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DerivedMetricQueryQueryVariable. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DerivedMetricQueryQueryVariable.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DerivedMetricQueryQueryVariable.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + default_selector: str, + name: str): + pulumi.set(__self__, "default_selector", default_selector) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="defaultSelector") + def default_selector(self) -> str: + return pulumi.get(self, "default_selector") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + +@pulumi.output_type +class DerivedMetricQuerySelector(dict): + def __init__(__self__, *, + labels: Optional[Mapping[str, str]] = None): + if labels is not None: + pulumi.set(__self__, "labels", labels) + + @property + @pulumi.getter + def labels(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "labels") + + +@pulumi.output_type +class DropRuleValueBasedDrop(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "targetDropValue": + suggest = "target_drop_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DropRuleValueBasedDrop. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DropRuleValueBasedDrop.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DropRuleValueBasedDrop.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + target_drop_value: float): + pulumi.set(__self__, "target_drop_value", target_drop_value) + + @property + @pulumi.getter(name="targetDropValue") + def target_drop_value(self) -> float: + return pulumi.get(self, "target_drop_value") + + +@pulumi.output_type +class GcpMetricsIntegrationMetricGroup(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "projectId": + suggest = "project_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GcpMetricsIntegrationMetricGroup. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GcpMetricsIntegrationMetricGroup.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GcpMetricsIntegrationMetricGroup.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + project_id: str, + prefixes: Optional[Sequence[str]] = None): + pulumi.set(__self__, "project_id", project_id) + if prefixes is not None: + pulumi.set(__self__, "prefixes", prefixes) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> str: + return pulumi.get(self, "project_id") + + @property + @pulumi.getter + def prefixes(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "prefixes") + + +@pulumi.output_type +class GcpMetricsIntegrationServiceAccount(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientEmail": + suggest = "client_email" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GcpMetricsIntegrationServiceAccount. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GcpMetricsIntegrationServiceAccount.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GcpMetricsIntegrationServiceAccount.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_email: str): + pulumi.set(__self__, "client_email", client_email) + + @property + @pulumi.getter(name="clientEmail") + def client_email(self) -> str: + return pulumi.get(self, "client_email") + + +@pulumi.output_type +class MappingRuleStoragePolicy(dict): + def __init__(__self__, *, + resolution: str, + retention: str): + pulumi.set(__self__, "resolution", resolution) + pulumi.set(__self__, "retention", retention) + + @property + @pulumi.getter + def resolution(self) -> str: + return pulumi.get(self, "resolution") + + @property + @pulumi.getter + def retention(self) -> str: + return pulumi.get(self, "retention") + + +@pulumi.output_type +class MonitorQuery(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "graphiteExpr": + suggest = "graphite_expr" + elif key == "prometheusExpr": + suggest = "prometheus_expr" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitorQuery. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitorQuery.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitorQuery.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + graphite_expr: Optional[str] = None, + prometheus_expr: Optional[str] = None): + if graphite_expr is not None: + pulumi.set(__self__, "graphite_expr", graphite_expr) + if prometheus_expr is not None: + pulumi.set(__self__, "prometheus_expr", prometheus_expr) + + @property + @pulumi.getter(name="graphiteExpr") + def graphite_expr(self) -> Optional[str]: + return pulumi.get(self, "graphite_expr") + + @property + @pulumi.getter(name="prometheusExpr") + def prometheus_expr(self) -> Optional[str]: + return pulumi.get(self, "prometheus_expr") + + +@pulumi.output_type +class MonitorSchedule(dict): + def __init__(__self__, *, + timezone: str, + ranges: Optional[Sequence['outputs.MonitorScheduleRange']] = None): + pulumi.set(__self__, "timezone", timezone) + if ranges is not None: + pulumi.set(__self__, "ranges", ranges) + + @property + @pulumi.getter + def timezone(self) -> str: + return pulumi.get(self, "timezone") + + @property + @pulumi.getter + def ranges(self) -> Optional[Sequence['outputs.MonitorScheduleRange']]: + return pulumi.get(self, "ranges") + + +@pulumi.output_type +class MonitorScheduleRange(dict): + def __init__(__self__, *, + day: str, + end: str, + start: str): + pulumi.set(__self__, "day", day) + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def day(self) -> str: + return pulumi.get(self, "day") + + @property + @pulumi.getter + def end(self) -> str: + return pulumi.get(self, "end") + + @property + @pulumi.getter + def start(self) -> str: + return pulumi.get(self, "start") + + +@pulumi.output_type +class MonitorSeriesConditions(dict): + def __init__(__self__, *, + conditions: Sequence['outputs.MonitorSeriesConditionsCondition'], + overrides: Optional[Sequence['outputs.MonitorSeriesConditionsOverride']] = None): + pulumi.set(__self__, "conditions", conditions) + if overrides is not None: + pulumi.set(__self__, "overrides", overrides) + + @property + @pulumi.getter + def conditions(self) -> Sequence['outputs.MonitorSeriesConditionsCondition']: + return pulumi.get(self, "conditions") + + @property + @pulumi.getter + def overrides(self) -> Optional[Sequence['outputs.MonitorSeriesConditionsOverride']]: + return pulumi.get(self, "overrides") + + +@pulumi.output_type +class MonitorSeriesConditionsCondition(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resolveSustain": + suggest = "resolve_sustain" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitorSeriesConditionsCondition. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitorSeriesConditionsCondition.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitorSeriesConditionsCondition.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + op: str, + severity: str, + resolve_sustain: Optional[str] = None, + sustain: Optional[str] = None, + value: Optional[float] = None): + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "severity", severity) + if resolve_sustain is not None: + pulumi.set(__self__, "resolve_sustain", resolve_sustain) + if sustain is not None: + pulumi.set(__self__, "sustain", sustain) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def op(self) -> str: + return pulumi.get(self, "op") + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="resolveSustain") + def resolve_sustain(self) -> Optional[str]: + return pulumi.get(self, "resolve_sustain") + + @property + @pulumi.getter + def sustain(self) -> Optional[str]: + return pulumi.get(self, "sustain") + + @property + @pulumi.getter + def value(self) -> Optional[float]: + return pulumi.get(self, "value") + + +@pulumi.output_type +class MonitorSeriesConditionsOverride(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "labelMatchers": + suggest = "label_matchers" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitorSeriesConditionsOverride. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitorSeriesConditionsOverride.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitorSeriesConditionsOverride.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + conditions: Sequence['outputs.MonitorSeriesConditionsOverrideCondition'], + label_matchers: Sequence['outputs.MonitorSeriesConditionsOverrideLabelMatcher']): + pulumi.set(__self__, "conditions", conditions) + pulumi.set(__self__, "label_matchers", label_matchers) + + @property + @pulumi.getter + def conditions(self) -> Sequence['outputs.MonitorSeriesConditionsOverrideCondition']: + return pulumi.get(self, "conditions") + + @property + @pulumi.getter(name="labelMatchers") + def label_matchers(self) -> Sequence['outputs.MonitorSeriesConditionsOverrideLabelMatcher']: + return pulumi.get(self, "label_matchers") + + +@pulumi.output_type +class MonitorSeriesConditionsOverrideCondition(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resolveSustain": + suggest = "resolve_sustain" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitorSeriesConditionsOverrideCondition. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitorSeriesConditionsOverrideCondition.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitorSeriesConditionsOverrideCondition.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + op: str, + severity: str, + resolve_sustain: Optional[str] = None, + sustain: Optional[str] = None, + value: Optional[float] = None): + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "severity", severity) + if resolve_sustain is not None: + pulumi.set(__self__, "resolve_sustain", resolve_sustain) + if sustain is not None: + pulumi.set(__self__, "sustain", sustain) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def op(self) -> str: + return pulumi.get(self, "op") + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="resolveSustain") + def resolve_sustain(self) -> Optional[str]: + return pulumi.get(self, "resolve_sustain") + + @property + @pulumi.getter + def sustain(self) -> Optional[str]: + return pulumi.get(self, "sustain") + + @property + @pulumi.getter + def value(self) -> Optional[float]: + return pulumi.get(self, "value") + + +@pulumi.output_type +class MonitorSeriesConditionsOverrideLabelMatcher(dict): + def __init__(__self__, *, + name: str, + type: str, + value: str): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + +@pulumi.output_type +class MonitorSignalGrouping(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "labelNames": + suggest = "label_names" + elif key == "signalPerSeries": + suggest = "signal_per_series" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitorSignalGrouping. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitorSignalGrouping.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitorSignalGrouping.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + label_names: Optional[Sequence[str]] = None, + signal_per_series: Optional[bool] = None): + if label_names is not None: + pulumi.set(__self__, "label_names", label_names) + if signal_per_series is not None: + pulumi.set(__self__, "signal_per_series", signal_per_series) + + @property + @pulumi.getter(name="labelNames") + def label_names(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "label_names") + + @property + @pulumi.getter(name="signalPerSeries") + def signal_per_series(self) -> Optional[bool]: + return pulumi.get(self, "signal_per_series") + + +@pulumi.output_type +class NotificationPolicyDataSourceOverrideResult(dict): + def __init__(__self__, *, + alert_label_matchers: Sequence['outputs.NotificationPolicyDataSourceOverrideAlertLabelMatcherResult'], + routes: Optional[Sequence['outputs.NotificationPolicyDataSourceOverrideRouteResult']] = None): + pulumi.set(__self__, "alert_label_matchers", alert_label_matchers) + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter(name="alertLabelMatchers") + def alert_label_matchers(self) -> Sequence['outputs.NotificationPolicyDataSourceOverrideAlertLabelMatcherResult']: + return pulumi.get(self, "alert_label_matchers") + + @property + @pulumi.getter + def routes(self) -> Optional[Sequence['outputs.NotificationPolicyDataSourceOverrideRouteResult']]: + return pulumi.get(self, "routes") + + +@pulumi.output_type +class NotificationPolicyDataSourceOverrideAlertLabelMatcherResult(dict): + def __init__(__self__, *, + name: str, + type: str, + value: str): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + +@pulumi.output_type +class NotificationPolicyDataSourceOverrideRouteResult(dict): + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + +@pulumi.output_type +class NotificationPolicyDataSourceRouteResult(dict): + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + +@pulumi.output_type +class NotificationPolicyDataSourceRuleResult(dict): + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + +@pulumi.output_type +class NotificationPolicyOverride(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertLabelMatchers": + suggest = "alert_label_matchers" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NotificationPolicyOverride. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NotificationPolicyOverride.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NotificationPolicyOverride.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alert_label_matchers: Sequence['outputs.NotificationPolicyOverrideAlertLabelMatcher'], + routes: Optional[Sequence['outputs.NotificationPolicyOverrideRoute']] = None): + pulumi.set(__self__, "alert_label_matchers", alert_label_matchers) + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter(name="alertLabelMatchers") + def alert_label_matchers(self) -> Sequence['outputs.NotificationPolicyOverrideAlertLabelMatcher']: + return pulumi.get(self, "alert_label_matchers") + + @property + @pulumi.getter + def routes(self) -> Optional[Sequence['outputs.NotificationPolicyOverrideRoute']]: + return pulumi.get(self, "routes") + + +@pulumi.output_type +class NotificationPolicyOverrideAlertLabelMatcher(dict): + def __init__(__self__, *, + name: str, + type: str, + value: str): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + +@pulumi.output_type +class NotificationPolicyOverrideRoute(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "repeatInterval": + suggest = "repeat_interval" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NotificationPolicyOverrideRoute. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NotificationPolicyOverrideRoute.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NotificationPolicyOverrideRoute.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + +@pulumi.output_type +class NotificationPolicyRoute(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "repeatInterval": + suggest = "repeat_interval" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NotificationPolicyRoute. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NotificationPolicyRoute.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NotificationPolicyRoute.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + +@pulumi.output_type +class NotificationPolicyRule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "repeatInterval": + suggest = "repeat_interval" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NotificationPolicyRule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NotificationPolicyRule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NotificationPolicyRule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + severity: str, + notifiers: Optional[Sequence[str]] = None, + repeat_interval: Optional[str] = None): + pulumi.set(__self__, "severity", severity) + if notifiers is not None: + pulumi.set(__self__, "notifiers", notifiers) + if repeat_interval is not None: + pulumi.set(__self__, "repeat_interval", repeat_interval) + + @property + @pulumi.getter + def severity(self) -> str: + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def notifiers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "notifiers") + + @property + @pulumi.getter(name="repeatInterval") + def repeat_interval(self) -> Optional[str]: + return pulumi.get(self, "repeat_interval") + + +@pulumi.output_type +class OpsgenieAlertNotifierResponder(dict): + def __init__(__self__, *, + type: str, + id: Optional[str] = None, + name: Optional[str] = None, + username: Optional[str] = None): + pulumi.set(__self__, "type", type) + if id is not None: + pulumi.set(__self__, "id", id) + if name is not None: + pulumi.set(__self__, "name", name) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class PagerdutyAlertNotifierImage(dict): + def __init__(__self__, *, + src: str, + alt: Optional[str] = None, + href: Optional[str] = None): + pulumi.set(__self__, "src", src) + if alt is not None: + pulumi.set(__self__, "alt", alt) + if href is not None: + pulumi.set(__self__, "href", href) + + @property + @pulumi.getter + def src(self) -> str: + return pulumi.get(self, "src") + + @property + @pulumi.getter + def alt(self) -> Optional[str]: + return pulumi.get(self, "alt") + + @property + @pulumi.getter + def href(self) -> Optional[str]: + return pulumi.get(self, "href") + + +@pulumi.output_type +class PagerdutyAlertNotifierLink(dict): + def __init__(__self__, *, + href: str, + text: Optional[str] = None): + pulumi.set(__self__, "href", href) + if text is not None: + pulumi.set(__self__, "text", text) + + @property + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") + + @property + @pulumi.getter + def text(self) -> Optional[str]: + return pulumi.get(self, "text") + + +@pulumi.output_type +class ResourcePoolsConfigDefaultPool(dict): + def __init__(__self__, *, + allocation: 'outputs.ResourcePoolsConfigDefaultPoolAllocation', + priorities: Optional['outputs.ResourcePoolsConfigDefaultPoolPriorities'] = None): + pulumi.set(__self__, "allocation", allocation) + if priorities is not None: + pulumi.set(__self__, "priorities", priorities) + + @property + @pulumi.getter + def allocation(self) -> 'outputs.ResourcePoolsConfigDefaultPoolAllocation': + return pulumi.get(self, "allocation") + + @property + @pulumi.getter + def priorities(self) -> Optional['outputs.ResourcePoolsConfigDefaultPoolPriorities']: + return pulumi.get(self, "priorities") + + +@pulumi.output_type +class ResourcePoolsConfigDefaultPoolAllocation(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "percentOfLicense": + suggest = "percent_of_license" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourcePoolsConfigDefaultPoolAllocation. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourcePoolsConfigDefaultPoolAllocation.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourcePoolsConfigDefaultPoolAllocation.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + percent_of_license: float): + pulumi.set(__self__, "percent_of_license", percent_of_license) + + @property + @pulumi.getter(name="percentOfLicense") + def percent_of_license(self) -> float: + return pulumi.get(self, "percent_of_license") + + +@pulumi.output_type +class ResourcePoolsConfigDefaultPoolPriorities(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "highPriorityMatchRules": + suggest = "high_priority_match_rules" + elif key == "lowPriorityMatchRules": + suggest = "low_priority_match_rules" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourcePoolsConfigDefaultPoolPriorities. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourcePoolsConfigDefaultPoolPriorities.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourcePoolsConfigDefaultPoolPriorities.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + high_priority_match_rules: Optional[Sequence[str]] = None, + low_priority_match_rules: Optional[Sequence[str]] = None): + if high_priority_match_rules is not None: + pulumi.set(__self__, "high_priority_match_rules", high_priority_match_rules) + if low_priority_match_rules is not None: + pulumi.set(__self__, "low_priority_match_rules", low_priority_match_rules) + + @property + @pulumi.getter(name="highPriorityMatchRules") + def high_priority_match_rules(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "high_priority_match_rules") + + @property + @pulumi.getter(name="lowPriorityMatchRules") + def low_priority_match_rules(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "low_priority_match_rules") + + +@pulumi.output_type +class ResourcePoolsConfigPool(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "matchRule": + suggest = "match_rule" + elif key == "matchRules": + suggest = "match_rules" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourcePoolsConfigPool. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourcePoolsConfigPool.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourcePoolsConfigPool.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allocation: 'outputs.ResourcePoolsConfigPoolAllocation', + name: str, + match_rule: Optional[str] = None, + match_rules: Optional[Sequence[str]] = None, + priorities: Optional['outputs.ResourcePoolsConfigPoolPriorities'] = None): + pulumi.set(__self__, "allocation", allocation) + pulumi.set(__self__, "name", name) + if match_rule is not None: + pulumi.set(__self__, "match_rule", match_rule) + if match_rules is not None: + pulumi.set(__self__, "match_rules", match_rules) + if priorities is not None: + pulumi.set(__self__, "priorities", priorities) + + @property + @pulumi.getter + def allocation(self) -> 'outputs.ResourcePoolsConfigPoolAllocation': + return pulumi.get(self, "allocation") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="matchRule") + def match_rule(self) -> Optional[str]: + warnings.warn("""use match_rules""", DeprecationWarning) + pulumi.log.warn("""match_rule is deprecated: use match_rules""") + + return pulumi.get(self, "match_rule") + + @property + @pulumi.getter(name="matchRules") + def match_rules(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "match_rules") + + @property + @pulumi.getter + def priorities(self) -> Optional['outputs.ResourcePoolsConfigPoolPriorities']: + return pulumi.get(self, "priorities") + + +@pulumi.output_type +class ResourcePoolsConfigPoolAllocation(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "percentOfLicense": + suggest = "percent_of_license" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourcePoolsConfigPoolAllocation. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourcePoolsConfigPoolAllocation.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourcePoolsConfigPoolAllocation.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + percent_of_license: float): + pulumi.set(__self__, "percent_of_license", percent_of_license) + + @property + @pulumi.getter(name="percentOfLicense") + def percent_of_license(self) -> float: + return pulumi.get(self, "percent_of_license") + + +@pulumi.output_type +class ResourcePoolsConfigPoolPriorities(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "highPriorityMatchRules": + suggest = "high_priority_match_rules" + elif key == "lowPriorityMatchRules": + suggest = "low_priority_match_rules" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourcePoolsConfigPoolPriorities. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourcePoolsConfigPoolPriorities.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourcePoolsConfigPoolPriorities.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + high_priority_match_rules: Optional[Sequence[str]] = None, + low_priority_match_rules: Optional[Sequence[str]] = None): + if high_priority_match_rules is not None: + pulumi.set(__self__, "high_priority_match_rules", high_priority_match_rules) + if low_priority_match_rules is not None: + pulumi.set(__self__, "low_priority_match_rules", low_priority_match_rules) + + @property + @pulumi.getter(name="highPriorityMatchRules") + def high_priority_match_rules(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "high_priority_match_rules") + + @property + @pulumi.getter(name="lowPriorityMatchRules") + def low_priority_match_rules(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "low_priority_match_rules") + + +@pulumi.output_type +class RollupRuleStoragePolicies(dict): + def __init__(__self__, *, + resolution: str, + retention: str): + pulumi.set(__self__, "resolution", resolution) + pulumi.set(__self__, "retention", retention) + + @property + @pulumi.getter + def resolution(self) -> str: + return pulumi.get(self, "resolution") + + @property + @pulumi.getter + def retention(self) -> str: + return pulumi.get(self, "retention") + + +@pulumi.output_type +class ServiceAccountRestriction(dict): + def __init__(__self__, *, + permission: str, + labels: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "permission", permission) + if labels is not None: + pulumi.set(__self__, "labels", labels) + + @property + @pulumi.getter + def permission(self) -> str: + return pulumi.get(self, "permission") + + @property + @pulumi.getter + def labels(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "labels") + + +@pulumi.output_type +class SlackAlertNotifierAction(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionConfirmDismissText": + suggest = "action_confirm_dismiss_text" + elif key == "actionConfirmOkText": + suggest = "action_confirm_ok_text" + elif key == "actionConfirmText": + suggest = "action_confirm_text" + elif key == "actionConfirmTile": + suggest = "action_confirm_tile" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SlackAlertNotifierAction. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SlackAlertNotifierAction.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SlackAlertNotifierAction.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + action_confirm_dismiss_text: Optional[str] = None, + action_confirm_ok_text: Optional[str] = None, + action_confirm_text: Optional[str] = None, + action_confirm_tile: Optional[str] = None, + name: Optional[str] = None, + style: Optional[str] = None, + text: Optional[str] = None, + type: Optional[str] = None, + url: Optional[str] = None, + value: Optional[str] = None): + if action_confirm_dismiss_text is not None: + pulumi.set(__self__, "action_confirm_dismiss_text", action_confirm_dismiss_text) + if action_confirm_ok_text is not None: + pulumi.set(__self__, "action_confirm_ok_text", action_confirm_ok_text) + if action_confirm_text is not None: + pulumi.set(__self__, "action_confirm_text", action_confirm_text) + if action_confirm_tile is not None: + pulumi.set(__self__, "action_confirm_tile", action_confirm_tile) + if name is not None: + pulumi.set(__self__, "name", name) + if style is not None: + pulumi.set(__self__, "style", style) + if text is not None: + pulumi.set(__self__, "text", text) + if type is not None: + pulumi.set(__self__, "type", type) + if url is not None: + pulumi.set(__self__, "url", url) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="actionConfirmDismissText") + def action_confirm_dismiss_text(self) -> Optional[str]: + return pulumi.get(self, "action_confirm_dismiss_text") + + @property + @pulumi.getter(name="actionConfirmOkText") + def action_confirm_ok_text(self) -> Optional[str]: + return pulumi.get(self, "action_confirm_ok_text") + + @property + @pulumi.getter(name="actionConfirmText") + def action_confirm_text(self) -> Optional[str]: + return pulumi.get(self, "action_confirm_text") + + @property + @pulumi.getter(name="actionConfirmTile") + def action_confirm_tile(self) -> Optional[str]: + return pulumi.get(self, "action_confirm_tile") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def style(self) -> Optional[str]: + return pulumi.get(self, "style") + + @property + @pulumi.getter + def text(self) -> Optional[str]: + return pulumi.get(self, "text") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def url(self) -> Optional[str]: + return pulumi.get(self, "url") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + +@pulumi.output_type +class SlackAlertNotifierField(dict): + def __init__(__self__, *, + short: Optional[bool] = None, + title: Optional[str] = None, + value: Optional[str] = None): + if short is not None: + pulumi.set(__self__, "short", short) + if title is not None: + pulumi.set(__self__, "title", title) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def short(self) -> Optional[bool]: + return pulumi.get(self, "short") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + return pulumi.get(self, "title") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "perOperationStrategies": + suggest = "per_operation_strategies" + elif key == "probabilisticStrategy": + suggest = "probabilistic_strategy" + elif key == "rateLimitingStrategy": + suggest = "rate_limiting_strategy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceJaegerRemoteSamplingStrategyAppliedStrategy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + per_operation_strategies: Optional['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies'] = None, + probabilistic_strategy: Optional['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy'] = None, + rate_limiting_strategy: Optional['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy'] = None): + if per_operation_strategies is not None: + pulumi.set(__self__, "per_operation_strategies", per_operation_strategies) + if probabilistic_strategy is not None: + pulumi.set(__self__, "probabilistic_strategy", probabilistic_strategy) + if rate_limiting_strategy is not None: + pulumi.set(__self__, "rate_limiting_strategy", rate_limiting_strategy) + + @property + @pulumi.getter(name="perOperationStrategies") + def per_operation_strategies(self) -> Optional['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies']: + return pulumi.get(self, "per_operation_strategies") + + @property + @pulumi.getter(name="probabilisticStrategy") + def probabilistic_strategy(self) -> Optional['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy']: + return pulumi.get(self, "probabilistic_strategy") + + @property + @pulumi.getter(name="rateLimitingStrategy") + def rate_limiting_strategy(self) -> Optional['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy']: + return pulumi.get(self, "rate_limiting_strategy") + + +@pulumi.output_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "defaultSamplingRate": + suggest = "default_sampling_rate" + elif key == "defaultLowerBoundTracesPerSecond": + suggest = "default_lower_bound_traces_per_second" + elif key == "defaultUpperBoundTracesPerSecond": + suggest = "default_upper_bound_traces_per_second" + elif key == "perOperationStrategies": + suggest = "per_operation_strategies" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + default_sampling_rate: float, + default_lower_bound_traces_per_second: Optional[float] = None, + default_upper_bound_traces_per_second: Optional[float] = None, + per_operation_strategies: Optional[Sequence['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy']] = None): + pulumi.set(__self__, "default_sampling_rate", default_sampling_rate) + if default_lower_bound_traces_per_second is not None: + pulumi.set(__self__, "default_lower_bound_traces_per_second", default_lower_bound_traces_per_second) + if default_upper_bound_traces_per_second is not None: + pulumi.set(__self__, "default_upper_bound_traces_per_second", default_upper_bound_traces_per_second) + if per_operation_strategies is not None: + pulumi.set(__self__, "per_operation_strategies", per_operation_strategies) + + @property + @pulumi.getter(name="defaultSamplingRate") + def default_sampling_rate(self) -> float: + return pulumi.get(self, "default_sampling_rate") + + @property + @pulumi.getter(name="defaultLowerBoundTracesPerSecond") + def default_lower_bound_traces_per_second(self) -> Optional[float]: + return pulumi.get(self, "default_lower_bound_traces_per_second") + + @property + @pulumi.getter(name="defaultUpperBoundTracesPerSecond") + def default_upper_bound_traces_per_second(self) -> Optional[float]: + return pulumi.get(self, "default_upper_bound_traces_per_second") + + @property + @pulumi.getter(name="perOperationStrategies") + def per_operation_strategies(self) -> Optional[Sequence['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy']]: + return pulumi.get(self, "per_operation_strategies") + + +@pulumi.output_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "probabilisticStrategy": + suggest = "probabilistic_strategy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operation: str, + probabilistic_strategy: 'outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy'): + pulumi.set(__self__, "operation", operation) + pulumi.set(__self__, "probabilistic_strategy", probabilistic_strategy) + + @property + @pulumi.getter + def operation(self) -> str: + return pulumi.get(self, "operation") + + @property + @pulumi.getter(name="probabilisticStrategy") + def probabilistic_strategy(self) -> 'outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy': + return pulumi.get(self, "probabilistic_strategy") + + +@pulumi.output_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "samplingRate": + suggest = "sampling_rate" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + sampling_rate: float): + pulumi.set(__self__, "sampling_rate", sampling_rate) + + @property + @pulumi.getter(name="samplingRate") + def sampling_rate(self) -> float: + return pulumi.get(self, "sampling_rate") + + +@pulumi.output_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "samplingRate": + suggest = "sampling_rate" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + sampling_rate: float): + pulumi.set(__self__, "sampling_rate", sampling_rate) + + @property + @pulumi.getter(name="samplingRate") + def sampling_rate(self) -> float: + return pulumi.get(self, "sampling_rate") + + +@pulumi.output_type +class TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxTracesPerSecond": + suggest = "max_traces_per_second" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_traces_per_second: int): + pulumi.set(__self__, "max_traces_per_second", max_traces_per_second) + + @property + @pulumi.getter(name="maxTracesPerSecond") + def max_traces_per_second(self) -> int: + return pulumi.get(self, "max_traces_per_second") + + +@pulumi.output_type +class TraceMetricsRuleGroupBy(dict): + def __init__(__self__, *, + key: 'outputs.TraceMetricsRuleGroupByKey', + label: str): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> 'outputs.TraceMetricsRuleGroupByKey': + return pulumi.get(self, "key") + + @property + @pulumi.getter + def label(self) -> str: + return pulumi.get(self, "label") + + +@pulumi.output_type +class TraceMetricsRuleGroupByKey(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "namedKey": + suggest = "named_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceMetricsRuleGroupByKey. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceMetricsRuleGroupByKey.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceMetricsRuleGroupByKey.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + named_key: Optional[str] = None): + pulumi.set(__self__, "type", type) + if named_key is not None: + pulumi.set(__self__, "named_key", named_key) + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="namedKey") + def named_key(self) -> Optional[str]: + return pulumi.get(self, "named_key") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilter(dict): + def __init__(__self__, *, + spans: Optional[Sequence['outputs.TraceMetricsRuleTraceFilterSpan']] = None, + trace: Optional['outputs.TraceMetricsRuleTraceFilterTrace'] = None): + if spans is not None: + pulumi.set(__self__, "spans", spans) + if trace is not None: + pulumi.set(__self__, "trace", trace) + + @property + @pulumi.getter + def spans(self) -> Optional[Sequence['outputs.TraceMetricsRuleTraceFilterSpan']]: + return pulumi.get(self, "spans") + + @property + @pulumi.getter + def trace(self) -> Optional['outputs.TraceMetricsRuleTraceFilterTrace']: + return pulumi.get(self, "trace") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpan(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "matchType": + suggest = "match_type" + elif key == "parentOperation": + suggest = "parent_operation" + elif key == "parentService": + suggest = "parent_service" + elif key == "spanCount": + suggest = "span_count" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceMetricsRuleTraceFilterSpan. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceMetricsRuleTraceFilterSpan.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceMetricsRuleTraceFilterSpan.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + duration: Optional['outputs.TraceMetricsRuleTraceFilterSpanDuration'] = None, + error: Optional['outputs.TraceMetricsRuleTraceFilterSpanError'] = None, + match_type: Optional[str] = None, + operation: Optional['outputs.TraceMetricsRuleTraceFilterSpanOperation'] = None, + parent_operation: Optional['outputs.TraceMetricsRuleTraceFilterSpanParentOperation'] = None, + parent_service: Optional['outputs.TraceMetricsRuleTraceFilterSpanParentService'] = None, + service: Optional['outputs.TraceMetricsRuleTraceFilterSpanService'] = None, + span_count: Optional['outputs.TraceMetricsRuleTraceFilterSpanSpanCount'] = None, + tags: Optional[Sequence['outputs.TraceMetricsRuleTraceFilterSpanTag']] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + if match_type is not None: + pulumi.set(__self__, "match_type", match_type) + if operation is not None: + pulumi.set(__self__, "operation", operation) + if parent_operation is not None: + pulumi.set(__self__, "parent_operation", parent_operation) + if parent_service is not None: + pulumi.set(__self__, "parent_service", parent_service) + if service is not None: + pulumi.set(__self__, "service", service) + if span_count is not None: + pulumi.set(__self__, "span_count", span_count) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def duration(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanDuration']: + return pulumi.get(self, "duration") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanError']: + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="matchType") + def match_type(self) -> Optional[str]: + return pulumi.get(self, "match_type") + + @property + @pulumi.getter + def operation(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanOperation']: + return pulumi.get(self, "operation") + + @property + @pulumi.getter(name="parentOperation") + def parent_operation(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanParentOperation']: + return pulumi.get(self, "parent_operation") + + @property + @pulumi.getter(name="parentService") + def parent_service(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanParentService']: + return pulumi.get(self, "parent_service") + + @property + @pulumi.getter + def service(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanService']: + return pulumi.get(self, "service") + + @property + @pulumi.getter(name="spanCount") + def span_count(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanSpanCount']: + return pulumi.get(self, "span_count") + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence['outputs.TraceMetricsRuleTraceFilterSpanTag']]: + return pulumi.get(self, "tags") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanDuration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxSeconds": + suggest = "max_seconds" + elif key == "minSeconds": + suggest = "min_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceMetricsRuleTraceFilterSpanDuration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceMetricsRuleTraceFilterSpanDuration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceMetricsRuleTraceFilterSpanDuration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_seconds: Optional[float] = None, + min_seconds: Optional[float] = None): + if max_seconds is not None: + pulumi.set(__self__, "max_seconds", max_seconds) + if min_seconds is not None: + pulumi.set(__self__, "min_seconds", min_seconds) + + @property + @pulumi.getter(name="maxSeconds") + def max_seconds(self) -> Optional[float]: + return pulumi.get(self, "max_seconds") + + @property + @pulumi.getter(name="minSeconds") + def min_seconds(self) -> Optional[float]: + return pulumi.get(self, "min_seconds") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanError(dict): + def __init__(__self__, *, + value: bool): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> bool: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanOperation(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanParentOperation(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanParentService(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanService(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanSpanCount(dict): + def __init__(__self__, *, + max: Optional[int] = None, + min: Optional[int] = None): + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + + @property + @pulumi.getter + def max(self) -> Optional[int]: + return pulumi.get(self, "max") + + @property + @pulumi.getter + def min(self) -> Optional[int]: + return pulumi.get(self, "min") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanTag(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "numericValue": + suggest = "numeric_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceMetricsRuleTraceFilterSpanTag. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceMetricsRuleTraceFilterSpanTag.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceMetricsRuleTraceFilterSpanTag.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key: str, + numeric_value: Optional['outputs.TraceMetricsRuleTraceFilterSpanTagNumericValue'] = None, + value: Optional['outputs.TraceMetricsRuleTraceFilterSpanTagValue'] = None): + pulumi.set(__self__, "key", key) + if numeric_value is not None: + pulumi.set(__self__, "numeric_value", numeric_value) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + @property + @pulumi.getter(name="numericValue") + def numeric_value(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanTagNumericValue']: + return pulumi.get(self, "numeric_value") + + @property + @pulumi.getter + def value(self) -> Optional['outputs.TraceMetricsRuleTraceFilterSpanTagValue']: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanTagNumericValue(dict): + def __init__(__self__, *, + comparison: str, + value: float): + pulumi.set(__self__, "comparison", comparison) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def comparison(self) -> str: + return pulumi.get(self, "comparison") + + @property + @pulumi.getter + def value(self) -> float: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterSpanTagValue(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterTrace(dict): + def __init__(__self__, *, + duration: Optional['outputs.TraceMetricsRuleTraceFilterTraceDuration'] = None, + error: Optional['outputs.TraceMetricsRuleTraceFilterTraceError'] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter + def duration(self) -> Optional['outputs.TraceMetricsRuleTraceFilterTraceDuration']: + return pulumi.get(self, "duration") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.TraceMetricsRuleTraceFilterTraceError']: + return pulumi.get(self, "error") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterTraceDuration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxSeconds": + suggest = "max_seconds" + elif key == "minSeconds": + suggest = "min_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceMetricsRuleTraceFilterTraceDuration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceMetricsRuleTraceFilterTraceDuration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceMetricsRuleTraceFilterTraceDuration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_seconds: Optional[float] = None, + min_seconds: Optional[float] = None): + if max_seconds is not None: + pulumi.set(__self__, "max_seconds", max_seconds) + if min_seconds is not None: + pulumi.set(__self__, "min_seconds", min_seconds) + + @property + @pulumi.getter(name="maxSeconds") + def max_seconds(self) -> Optional[float]: + return pulumi.get(self, "max_seconds") + + @property + @pulumi.getter(name="minSeconds") + def min_seconds(self) -> Optional[float]: + return pulumi.get(self, "min_seconds") + + +@pulumi.output_type +class TraceMetricsRuleTraceFilterTraceError(dict): + def __init__(__self__, *, + value: bool): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> bool: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceTailSamplingRulesDefaultSampleRate(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sampleRate": + suggest = "sample_rate" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceTailSamplingRulesDefaultSampleRate. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceTailSamplingRulesDefaultSampleRate.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceTailSamplingRulesDefaultSampleRate.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + sample_rate: float, + enabled: Optional[bool] = None): + pulumi.set(__self__, "sample_rate", sample_rate) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="sampleRate") + def sample_rate(self) -> float: + return pulumi.get(self, "sample_rate") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class TraceTailSamplingRulesRule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sampleRate": + suggest = "sample_rate" + elif key == "systemName": + suggest = "system_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceTailSamplingRulesRule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceTailSamplingRulesRule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceTailSamplingRulesRule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + filter: 'outputs.TraceTailSamplingRulesRuleFilter', + sample_rate: float, + name: Optional[str] = None, + system_name: Optional[str] = None): + pulumi.set(__self__, "filter", filter) + pulumi.set(__self__, "sample_rate", sample_rate) + if name is not None: + pulumi.set(__self__, "name", name) + if system_name is not None: + pulumi.set(__self__, "system_name", system_name) + + @property + @pulumi.getter + def filter(self) -> 'outputs.TraceTailSamplingRulesRuleFilter': + return pulumi.get(self, "filter") + + @property + @pulumi.getter(name="sampleRate") + def sample_rate(self) -> float: + return pulumi.get(self, "sample_rate") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemName") + def system_name(self) -> Optional[str]: + return pulumi.get(self, "system_name") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilter(dict): + def __init__(__self__, *, + spans: Optional[Sequence['outputs.TraceTailSamplingRulesRuleFilterSpan']] = None, + trace: Optional['outputs.TraceTailSamplingRulesRuleFilterTrace'] = None): + if spans is not None: + pulumi.set(__self__, "spans", spans) + if trace is not None: + pulumi.set(__self__, "trace", trace) + + @property + @pulumi.getter + def spans(self) -> Optional[Sequence['outputs.TraceTailSamplingRulesRuleFilterSpan']]: + return pulumi.get(self, "spans") + + @property + @pulumi.getter + def trace(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterTrace']: + return pulumi.get(self, "trace") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpan(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "matchType": + suggest = "match_type" + elif key == "parentOperation": + suggest = "parent_operation" + elif key == "parentService": + suggest = "parent_service" + elif key == "spanCount": + suggest = "span_count" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceTailSamplingRulesRuleFilterSpan. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceTailSamplingRulesRuleFilterSpan.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceTailSamplingRulesRuleFilterSpan.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + duration: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanDuration'] = None, + error: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanError'] = None, + match_type: Optional[str] = None, + operation: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanOperation'] = None, + parent_operation: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanParentOperation'] = None, + parent_service: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanParentService'] = None, + service: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanService'] = None, + span_count: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanSpanCount'] = None, + tags: Optional[Sequence['outputs.TraceTailSamplingRulesRuleFilterSpanTag']] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + if match_type is not None: + pulumi.set(__self__, "match_type", match_type) + if operation is not None: + pulumi.set(__self__, "operation", operation) + if parent_operation is not None: + pulumi.set(__self__, "parent_operation", parent_operation) + if parent_service is not None: + pulumi.set(__self__, "parent_service", parent_service) + if service is not None: + pulumi.set(__self__, "service", service) + if span_count is not None: + pulumi.set(__self__, "span_count", span_count) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def duration(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanDuration']: + return pulumi.get(self, "duration") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanError']: + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="matchType") + def match_type(self) -> Optional[str]: + return pulumi.get(self, "match_type") + + @property + @pulumi.getter + def operation(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanOperation']: + return pulumi.get(self, "operation") + + @property + @pulumi.getter(name="parentOperation") + def parent_operation(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanParentOperation']: + return pulumi.get(self, "parent_operation") + + @property + @pulumi.getter(name="parentService") + def parent_service(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanParentService']: + return pulumi.get(self, "parent_service") + + @property + @pulumi.getter + def service(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanService']: + return pulumi.get(self, "service") + + @property + @pulumi.getter(name="spanCount") + def span_count(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanSpanCount']: + return pulumi.get(self, "span_count") + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence['outputs.TraceTailSamplingRulesRuleFilterSpanTag']]: + return pulumi.get(self, "tags") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanDuration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxSecs": + suggest = "max_secs" + elif key == "minSecs": + suggest = "min_secs" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceTailSamplingRulesRuleFilterSpanDuration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceTailSamplingRulesRuleFilterSpanDuration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceTailSamplingRulesRuleFilterSpanDuration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_secs: Optional[float] = None, + min_secs: Optional[float] = None): + if max_secs is not None: + pulumi.set(__self__, "max_secs", max_secs) + if min_secs is not None: + pulumi.set(__self__, "min_secs", min_secs) + + @property + @pulumi.getter(name="maxSecs") + def max_secs(self) -> Optional[float]: + return pulumi.get(self, "max_secs") + + @property + @pulumi.getter(name="minSecs") + def min_secs(self) -> Optional[float]: + return pulumi.get(self, "min_secs") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanError(dict): + def __init__(__self__, *, + value: bool): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> bool: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanOperation(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanParentOperation(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanParentService(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanService(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanSpanCount(dict): + def __init__(__self__, *, + max: Optional[int] = None, + min: Optional[int] = None): + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + + @property + @pulumi.getter + def max(self) -> Optional[int]: + return pulumi.get(self, "max") + + @property + @pulumi.getter + def min(self) -> Optional[int]: + return pulumi.get(self, "min") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanTag(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "numericValue": + suggest = "numeric_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceTailSamplingRulesRuleFilterSpanTag. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceTailSamplingRulesRuleFilterSpanTag.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceTailSamplingRulesRuleFilterSpanTag.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key: Optional[str] = None, + numeric_value: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanTagNumericValue'] = None, + value: Optional['outputs.TraceTailSamplingRulesRuleFilterSpanTagValue'] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if numeric_value is not None: + pulumi.set(__self__, "numeric_value", numeric_value) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> Optional[str]: + return pulumi.get(self, "key") + + @property + @pulumi.getter(name="numericValue") + def numeric_value(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanTagNumericValue']: + return pulumi.get(self, "numeric_value") + + @property + @pulumi.getter + def value(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterSpanTagValue']: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanTagNumericValue(dict): + def __init__(__self__, *, + comparison: str, + value: float): + pulumi.set(__self__, "comparison", comparison) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def comparison(self) -> str: + return pulumi.get(self, "comparison") + + @property + @pulumi.getter + def value(self) -> float: + return pulumi.get(self, "value") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterSpanTagValue(dict): + def __init__(__self__, *, + value: str, + match: Optional[str] = None): + pulumi.set(__self__, "value", value) + if match is not None: + pulumi.set(__self__, "match", match) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter + def match(self) -> Optional[str]: + return pulumi.get(self, "match") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterTrace(dict): + def __init__(__self__, *, + duration: Optional['outputs.TraceTailSamplingRulesRuleFilterTraceDuration'] = None, + error: Optional['outputs.TraceTailSamplingRulesRuleFilterTraceError'] = None): + if duration is not None: + pulumi.set(__self__, "duration", duration) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter + def duration(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterTraceDuration']: + return pulumi.get(self, "duration") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.TraceTailSamplingRulesRuleFilterTraceError']: + return pulumi.get(self, "error") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterTraceDuration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxSecs": + suggest = "max_secs" + elif key == "minSecs": + suggest = "min_secs" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TraceTailSamplingRulesRuleFilterTraceDuration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TraceTailSamplingRulesRuleFilterTraceDuration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TraceTailSamplingRulesRuleFilterTraceDuration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_secs: Optional[float] = None, + min_secs: Optional[float] = None): + if max_secs is not None: + pulumi.set(__self__, "max_secs", max_secs) + if min_secs is not None: + pulumi.set(__self__, "min_secs", min_secs) + + @property + @pulumi.getter(name="maxSecs") + def max_secs(self) -> Optional[float]: + return pulumi.get(self, "max_secs") + + @property + @pulumi.getter(name="minSecs") + def min_secs(self) -> Optional[float]: + return pulumi.get(self, "min_secs") + + +@pulumi.output_type +class TraceTailSamplingRulesRuleFilterTraceError(dict): + def __init__(__self__, *, + value: bool): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> bool: + return pulumi.get(self, "value") + + diff --git a/sdk/python/chronosphereio_chronosphere/pagerduty_alert_notifier.py b/sdk/python/chronosphereio_chronosphere/pagerduty_alert_notifier.py new file mode 100644 index 00000000..4c8c2f4d --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/pagerduty_alert_notifier.py @@ -0,0 +1,817 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['PagerdutyAlertNotifierArgs', 'PagerdutyAlertNotifier'] + +@pulumi.input_type +class PagerdutyAlertNotifierArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + severity: pulumi.Input[str], + url: pulumi.Input[str], + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + class_: Optional[pulumi.Input[str]] = None, + client: Optional[pulumi.Input[str]] = None, + client_url: Optional[pulumi.Input[str]] = None, + component: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + group: Optional[pulumi.Input[str]] = None, + images: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierImageArgs']]]] = None, + links: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierLinkArgs']]]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + service_key: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a PagerdutyAlertNotifier resource. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "url", url) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if class_ is not None: + pulumi.set(__self__, "class_", class_) + if client is not None: + pulumi.set(__self__, "client", client) + if client_url is not None: + pulumi.set(__self__, "client_url", client_url) + if component is not None: + pulumi.set(__self__, "component", component) + if description is not None: + pulumi.set(__self__, "description", description) + if details is not None: + pulumi.set(__self__, "details", details) + if group is not None: + pulumi.set(__self__, "group", group) + if images is not None: + pulumi.set(__self__, "images", images) + if links is not None: + pulumi.set(__self__, "links", links) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if routing_key is not None: + pulumi.set(__self__, "routing_key", routing_key) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if service_key is not None: + pulumi.set(__self__, "service_key", service_key) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[str]: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[str]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def url(self) -> pulumi.Input[str]: + return pulumi.get(self, "url") + + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter(name="class") + def class_(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "class_") + + @class_.setter + def class_(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "class_", value) + + @property + @pulumi.getter + def client(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "client") + + @client.setter + def client(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client", value) + + @property + @pulumi.getter(name="clientUrl") + def client_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "client_url") + + @client_url.setter + def client_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_url", value) + + @property + @pulumi.getter + def component(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "component") + + @component.setter + def component(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def details(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "details") + + @details.setter + def details(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "details", value) + + @property + @pulumi.getter + def group(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "group") + + @group.setter + def group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group", value) + + @property + @pulumi.getter + def images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierImageArgs']]]]: + return pulumi.get(self, "images") + + @images.setter + def images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierImageArgs']]]]): + pulumi.set(self, "images", value) + + @property + @pulumi.getter + def links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierLinkArgs']]]]: + return pulumi.get(self, "links") + + @links.setter + def links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierLinkArgs']]]]): + pulumi.set(self, "links", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="routingKey") + def routing_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "routing_key") + + @routing_key.setter + def routing_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "routing_key", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter(name="serviceKey") + def service_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "service_key") + + @service_key.setter + def service_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_key", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + +@pulumi.input_type +class _PagerdutyAlertNotifierState: + def __init__(__self__, *, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + class_: Optional[pulumi.Input[str]] = None, + client: Optional[pulumi.Input[str]] = None, + client_url: Optional[pulumi.Input[str]] = None, + component: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + group: Optional[pulumi.Input[str]] = None, + images: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierImageArgs']]]] = None, + links: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierLinkArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + service_key: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering PagerdutyAlertNotifier resources. + """ + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if class_ is not None: + pulumi.set(__self__, "class_", class_) + if client is not None: + pulumi.set(__self__, "client", client) + if client_url is not None: + pulumi.set(__self__, "client_url", client_url) + if component is not None: + pulumi.set(__self__, "component", component) + if description is not None: + pulumi.set(__self__, "description", description) + if details is not None: + pulumi.set(__self__, "details", details) + if group is not None: + pulumi.set(__self__, "group", group) + if images is not None: + pulumi.set(__self__, "images", images) + if links is not None: + pulumi.set(__self__, "links", links) + if name is not None: + pulumi.set(__self__, "name", name) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if routing_key is not None: + pulumi.set(__self__, "routing_key", routing_key) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if service_key is not None: + pulumi.set(__self__, "service_key", service_key) + if severity is not None: + pulumi.set(__self__, "severity", severity) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + if url is not None: + pulumi.set(__self__, "url", url) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter(name="class") + def class_(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "class_") + + @class_.setter + def class_(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "class_", value) + + @property + @pulumi.getter + def client(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "client") + + @client.setter + def client(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client", value) + + @property + @pulumi.getter(name="clientUrl") + def client_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "client_url") + + @client_url.setter + def client_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_url", value) + + @property + @pulumi.getter + def component(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "component") + + @component.setter + def component(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def details(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "details") + + @details.setter + def details(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "details", value) + + @property + @pulumi.getter + def group(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "group") + + @group.setter + def group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group", value) + + @property + @pulumi.getter + def images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierImageArgs']]]]: + return pulumi.get(self, "images") + + @images.setter + def images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierImageArgs']]]]): + pulumi.set(self, "images", value) + + @property + @pulumi.getter + def links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierLinkArgs']]]]: + return pulumi.get(self, "links") + + @links.setter + def links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PagerdutyAlertNotifierLinkArgs']]]]): + pulumi.set(self, "links", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="routingKey") + def routing_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "routing_key") + + @routing_key.setter + def routing_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "routing_key", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter(name="serviceKey") + def service_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "service_key") + + @service_key.setter + def service_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_key", value) + + @property + @pulumi.getter + def severity(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + @property + @pulumi.getter + def url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "url") + + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) + + +class PagerdutyAlertNotifier(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + class_: Optional[pulumi.Input[str]] = None, + client: Optional[pulumi.Input[str]] = None, + client_url: Optional[pulumi.Input[str]] = None, + component: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + group: Optional[pulumi.Input[str]] = None, + images: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PagerdutyAlertNotifierImageArgs']]]]] = None, + links: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PagerdutyAlertNotifierLinkArgs']]]]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + service_key: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a PagerdutyAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PagerdutyAlertNotifierArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a PagerdutyAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param PagerdutyAlertNotifierArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(PagerdutyAlertNotifierArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + class_: Optional[pulumi.Input[str]] = None, + client: Optional[pulumi.Input[str]] = None, + client_url: Optional[pulumi.Input[str]] = None, + component: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + group: Optional[pulumi.Input[str]] = None, + images: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PagerdutyAlertNotifierImageArgs']]]]] = None, + links: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PagerdutyAlertNotifierLinkArgs']]]]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + service_key: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PagerdutyAlertNotifierArgs.__new__(PagerdutyAlertNotifierArgs) + + __props__.__dict__["basic_auth_password"] = None if basic_auth_password is None else pulumi.Output.secret(basic_auth_password) + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["class_"] = class_ + __props__.__dict__["client"] = client + __props__.__dict__["client_url"] = client_url + __props__.__dict__["component"] = component + __props__.__dict__["description"] = description + __props__.__dict__["details"] = details + __props__.__dict__["group"] = group + __props__.__dict__["images"] = images + __props__.__dict__["links"] = links + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["routing_key"] = routing_key + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["service_key"] = None if service_key is None else pulumi.Output.secret(service_key) + if severity is None and not opts.urn: + raise TypeError("Missing required property 'severity'") + __props__.__dict__["severity"] = severity + __props__.__dict__["slug"] = slug + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + if url is None and not opts.urn: + raise TypeError("Missing required property 'url'") + __props__.__dict__["url"] = url + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["basicAuthPassword", "serviceKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(PagerdutyAlertNotifier, __self__).__init__( + 'chronosphere:index/pagerdutyAlertNotifier:PagerdutyAlertNotifier', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + class_: Optional[pulumi.Input[str]] = None, + client: Optional[pulumi.Input[str]] = None, + client_url: Optional[pulumi.Input[str]] = None, + component: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + group: Optional[pulumi.Input[str]] = None, + images: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PagerdutyAlertNotifierImageArgs']]]]] = None, + links: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PagerdutyAlertNotifierLinkArgs']]]]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + service_key: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None) -> 'PagerdutyAlertNotifier': + """ + Get an existing PagerdutyAlertNotifier resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _PagerdutyAlertNotifierState.__new__(_PagerdutyAlertNotifierState) + + __props__.__dict__["basic_auth_password"] = basic_auth_password + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["class_"] = class_ + __props__.__dict__["client"] = client + __props__.__dict__["client_url"] = client_url + __props__.__dict__["component"] = component + __props__.__dict__["description"] = description + __props__.__dict__["details"] = details + __props__.__dict__["group"] = group + __props__.__dict__["images"] = images + __props__.__dict__["links"] = links + __props__.__dict__["name"] = name + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["routing_key"] = routing_key + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["service_key"] = service_key + __props__.__dict__["severity"] = severity + __props__.__dict__["slug"] = slug + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + __props__.__dict__["url"] = url + return PagerdutyAlertNotifier(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_password") + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_username") + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bearer_token") + + @property + @pulumi.getter(name="class") + def class_(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "class_") + + @property + @pulumi.getter + def client(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "client") + + @property + @pulumi.getter(name="clientUrl") + def client_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "client_url") + + @property + @pulumi.getter + def component(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "component") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def details(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "details") + + @property + @pulumi.getter + def group(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "group") + + @property + @pulumi.getter + def images(self) -> pulumi.Output[Optional[Sequence['outputs.PagerdutyAlertNotifierImage']]]: + return pulumi.get(self, "images") + + @property + @pulumi.getter + def links(self) -> pulumi.Output[Optional[Sequence['outputs.PagerdutyAlertNotifierLink']]]: + return pulumi.get(self, "links") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "proxy_url") + + @property + @pulumi.getter(name="routingKey") + def routing_key(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "routing_key") + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "send_resolved") + + @property + @pulumi.getter(name="serviceKey") + def service_key(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "service_key") + + @property + @pulumi.getter + def severity(self) -> pulumi.Output[str]: + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @property + @pulumi.getter + def url(self) -> pulumi.Output[str]: + return pulumi.get(self, "url") + diff --git a/sdk/python/chronosphereio_chronosphere/provider.py b/sdk/python/chronosphereio_chronosphere/provider.py new file mode 100644 index 00000000..d5c0f8a5 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/provider.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['ProviderArgs', 'Provider'] + +@pulumi.input_type +class ProviderArgs: + def __init__(__self__, *, + api_token: Optional[pulumi.Input[str]] = None, + entity_namespace: Optional[pulumi.Input[str]] = None, + org: Optional[pulumi.Input[str]] = None, + unstable: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a Provider resource. + """ + if api_token is None: + api_token = _utilities.get_env('CHRONOSPHERE_API_TOKEN') + if api_token is not None: + pulumi.set(__self__, "api_token", api_token) + if entity_namespace is not None: + pulumi.set(__self__, "entity_namespace", entity_namespace) + if org is None: + org = _utilities.get_env('CHRONOSPHERE_ORG', 'CHRONOSPHERE_ORG_NAME') + if org is not None: + pulumi.set(__self__, "org", org) + if unstable is not None: + pulumi.set(__self__, "unstable", unstable) + + @property + @pulumi.getter(name="apiToken") + def api_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_token") + + @api_token.setter + def api_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_token", value) + + @property + @pulumi.getter(name="entityNamespace") + def entity_namespace(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "entity_namespace") + + @entity_namespace.setter + def entity_namespace(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_namespace", value) + + @property + @pulumi.getter + def org(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "org") + + @org.setter + def org(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "org", value) + + @property + @pulumi.getter + def unstable(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "unstable") + + @unstable.setter + def unstable(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unstable", value) + + +class Provider(pulumi.ProviderResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + api_token: Optional[pulumi.Input[str]] = None, + entity_namespace: Optional[pulumi.Input[str]] = None, + org: Optional[pulumi.Input[str]] = None, + unstable: Optional[pulumi.Input[bool]] = None, + __props__=None): + """ + The provider type for the chronosphere package. By default, resources use package-wide configuration + settings, however an explicit `Provider` instance may be created and passed during resource + construction to achieve fine-grained programmatic control over provider settings. See the + [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[ProviderArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The provider type for the chronosphere package. By default, resources use package-wide configuration + settings, however an explicit `Provider` instance may be created and passed during resource + construction to achieve fine-grained programmatic control over provider settings. See the + [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. + + :param str resource_name: The name of the resource. + :param ProviderArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ProviderArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + api_token: Optional[pulumi.Input[str]] = None, + entity_namespace: Optional[pulumi.Input[str]] = None, + org: Optional[pulumi.Input[str]] = None, + unstable: Optional[pulumi.Input[bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ProviderArgs.__new__(ProviderArgs) + + if api_token is None: + api_token = _utilities.get_env('CHRONOSPHERE_API_TOKEN') + __props__.__dict__["api_token"] = None if api_token is None else pulumi.Output.secret(api_token) + __props__.__dict__["entity_namespace"] = entity_namespace + if org is None: + org = _utilities.get_env('CHRONOSPHERE_ORG', 'CHRONOSPHERE_ORG_NAME') + __props__.__dict__["org"] = org + __props__.__dict__["unstable"] = pulumi.Output.from_input(unstable).apply(pulumi.runtime.to_json) if unstable is not None else None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiToken"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(Provider, __self__).__init__( + 'chronosphere', + resource_name, + __props__, + opts) + + @property + @pulumi.getter(name="apiToken") + def api_token(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "api_token") + + @property + @pulumi.getter(name="entityNamespace") + def entity_namespace(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "entity_namespace") + + @property + @pulumi.getter + def org(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "org") + diff --git a/sdk/python/chronosphereio_chronosphere/pulumi-plugin.json b/sdk/python/chronosphereio_chronosphere/pulumi-plugin.json new file mode 100644 index 00000000..c466b59c --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/pulumi-plugin.json @@ -0,0 +1,4 @@ +{ + "resource": true, + "name": "chronosphere" +} diff --git a/sdk/java/.gradle/8.7/dependencies-accessors/gc.properties b/sdk/python/chronosphereio_chronosphere/py.typed similarity index 100% rename from sdk/java/.gradle/8.7/dependencies-accessors/gc.properties rename to sdk/python/chronosphereio_chronosphere/py.typed diff --git a/sdk/python/chronosphereio_chronosphere/recording_rule.py b/sdk/python/chronosphereio_chronosphere/recording_rule.py new file mode 100644 index 00000000..31b06d82 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/recording_rule.py @@ -0,0 +1,370 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['RecordingRuleArgs', 'RecordingRule'] + +@pulumi.input_type +class RecordingRuleArgs: + def __init__(__self__, *, + expr: pulumi.Input[str], + name: pulumi.Input[str], + bucket_id: Optional[pulumi.Input[str]] = None, + execution_group: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a RecordingRule resource. + """ + pulumi.set(__self__, "expr", expr) + pulumi.set(__self__, "name", name) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if execution_group is not None: + pulumi.set(__self__, "execution_group", execution_group) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if metric_name is not None: + pulumi.set(__self__, "metric_name", metric_name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def expr(self) -> pulumi.Input[str]: + return pulumi.get(self, "expr") + + @expr.setter + def expr(self, value: pulumi.Input[str]): + pulumi.set(self, "expr", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="executionGroup") + def execution_group(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "execution_group") + + @execution_group.setter + def execution_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "execution_group", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _RecordingRuleState: + def __init__(__self__, *, + bucket_id: Optional[pulumi.Input[str]] = None, + execution_group: Optional[pulumi.Input[str]] = None, + expr: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering RecordingRule resources. + """ + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if execution_group is not None: + pulumi.set(__self__, "execution_group", execution_group) + if expr is not None: + pulumi.set(__self__, "expr", expr) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if metric_name is not None: + pulumi.set(__self__, "metric_name", metric_name) + if name is not None: + pulumi.set(__self__, "name", name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="executionGroup") + def execution_group(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "execution_group") + + @execution_group.setter + def execution_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "execution_group", value) + + @property + @pulumi.getter + def expr(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "expr") + + @expr.setter + def expr(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "expr", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class RecordingRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + execution_group: Optional[pulumi.Input[str]] = None, + expr: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a RecordingRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RecordingRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a RecordingRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param RecordingRuleArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(RecordingRuleArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + execution_group: Optional[pulumi.Input[str]] = None, + expr: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RecordingRuleArgs.__new__(RecordingRuleArgs) + + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["execution_group"] = execution_group + if expr is None and not opts.urn: + raise TypeError("Missing required property 'expr'") + __props__.__dict__["expr"] = expr + __props__.__dict__["interval"] = interval + __props__.__dict__["labels"] = labels + __props__.__dict__["metric_name"] = metric_name + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + super(RecordingRule, __self__).__init__( + 'chronosphere:index/recordingRule:RecordingRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + execution_group: Optional[pulumi.Input[str]] = None, + expr: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'RecordingRule': + """ + Get an existing RecordingRule resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _RecordingRuleState.__new__(_RecordingRuleState) + + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["execution_group"] = execution_group + __props__.__dict__["expr"] = expr + __props__.__dict__["interval"] = interval + __props__.__dict__["labels"] = labels + __props__.__dict__["metric_name"] = metric_name + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + return RecordingRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bucket_id") + + @property + @pulumi.getter(name="executionGroup") + def execution_group(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "execution_group") + + @property + @pulumi.getter + def expr(self) -> pulumi.Output[str]: + return pulumi.get(self, "expr") + + @property + @pulumi.getter + def interval(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "interval") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "labels") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/resource_pools_config.py b/sdk/python/chronosphereio_chronosphere/resource_pools_config.py new file mode 100644 index 00000000..dd0d5f32 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/resource_pools_config.py @@ -0,0 +1,216 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ResourcePoolsConfigArgs', 'ResourcePoolsConfig'] + +@pulumi.input_type +class ResourcePoolsConfigArgs: + def __init__(__self__, *, + default_pool: pulumi.Input['ResourcePoolsConfigDefaultPoolArgs'], + pool: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]] = None, + pools: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]] = None): + """ + The set of arguments for constructing a ResourcePoolsConfig resource. + """ + pulumi.set(__self__, "default_pool", default_pool) + if pool is not None: + pulumi.set(__self__, "pool", pool) + if pools is not None: + warnings.warn("""Use pool instead of pools""", DeprecationWarning) + pulumi.log.warn("""pools is deprecated: Use pool instead of pools""") + if pools is not None: + pulumi.set(__self__, "pools", pools) + + @property + @pulumi.getter(name="defaultPool") + def default_pool(self) -> pulumi.Input['ResourcePoolsConfigDefaultPoolArgs']: + return pulumi.get(self, "default_pool") + + @default_pool.setter + def default_pool(self, value: pulumi.Input['ResourcePoolsConfigDefaultPoolArgs']): + pulumi.set(self, "default_pool", value) + + @property + @pulumi.getter + def pool(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]: + return pulumi.get(self, "pool") + + @pool.setter + def pool(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]): + pulumi.set(self, "pool", value) + + @property + @pulumi.getter + def pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]: + warnings.warn("""Use pool instead of pools""", DeprecationWarning) + pulumi.log.warn("""pools is deprecated: Use pool instead of pools""") + + return pulumi.get(self, "pools") + + @pools.setter + def pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]): + pulumi.set(self, "pools", value) + + +@pulumi.input_type +class _ResourcePoolsConfigState: + def __init__(__self__, *, + default_pool: Optional[pulumi.Input['ResourcePoolsConfigDefaultPoolArgs']] = None, + pool: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]] = None, + pools: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]] = None): + """ + Input properties used for looking up and filtering ResourcePoolsConfig resources. + """ + if default_pool is not None: + pulumi.set(__self__, "default_pool", default_pool) + if pool is not None: + pulumi.set(__self__, "pool", pool) + if pools is not None: + warnings.warn("""Use pool instead of pools""", DeprecationWarning) + pulumi.log.warn("""pools is deprecated: Use pool instead of pools""") + if pools is not None: + pulumi.set(__self__, "pools", pools) + + @property + @pulumi.getter(name="defaultPool") + def default_pool(self) -> Optional[pulumi.Input['ResourcePoolsConfigDefaultPoolArgs']]: + return pulumi.get(self, "default_pool") + + @default_pool.setter + def default_pool(self, value: Optional[pulumi.Input['ResourcePoolsConfigDefaultPoolArgs']]): + pulumi.set(self, "default_pool", value) + + @property + @pulumi.getter + def pool(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]: + return pulumi.get(self, "pool") + + @pool.setter + def pool(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]): + pulumi.set(self, "pool", value) + + @property + @pulumi.getter + def pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]: + warnings.warn("""Use pool instead of pools""", DeprecationWarning) + pulumi.log.warn("""pools is deprecated: Use pool instead of pools""") + + return pulumi.get(self, "pools") + + @pools.setter + def pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourcePoolsConfigPoolArgs']]]]): + pulumi.set(self, "pools", value) + + +class ResourcePoolsConfig(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + default_pool: Optional[pulumi.Input[pulumi.InputType['ResourcePoolsConfigDefaultPoolArgs']]] = None, + pool: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourcePoolsConfigPoolArgs']]]]] = None, + pools: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourcePoolsConfigPoolArgs']]]]] = None, + __props__=None): + """ + Create a ResourcePoolsConfig resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ResourcePoolsConfigArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a ResourcePoolsConfig resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param ResourcePoolsConfigArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ResourcePoolsConfigArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + default_pool: Optional[pulumi.Input[pulumi.InputType['ResourcePoolsConfigDefaultPoolArgs']]] = None, + pool: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourcePoolsConfigPoolArgs']]]]] = None, + pools: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourcePoolsConfigPoolArgs']]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ResourcePoolsConfigArgs.__new__(ResourcePoolsConfigArgs) + + if default_pool is None and not opts.urn: + raise TypeError("Missing required property 'default_pool'") + __props__.__dict__["default_pool"] = default_pool + __props__.__dict__["pool"] = pool + __props__.__dict__["pools"] = pools + super(ResourcePoolsConfig, __self__).__init__( + 'chronosphere:index/resourcePoolsConfig:ResourcePoolsConfig', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + default_pool: Optional[pulumi.Input[pulumi.InputType['ResourcePoolsConfigDefaultPoolArgs']]] = None, + pool: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourcePoolsConfigPoolArgs']]]]] = None, + pools: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourcePoolsConfigPoolArgs']]]]] = None) -> 'ResourcePoolsConfig': + """ + Get an existing ResourcePoolsConfig resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ResourcePoolsConfigState.__new__(_ResourcePoolsConfigState) + + __props__.__dict__["default_pool"] = default_pool + __props__.__dict__["pool"] = pool + __props__.__dict__["pools"] = pools + return ResourcePoolsConfig(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="defaultPool") + def default_pool(self) -> pulumi.Output['outputs.ResourcePoolsConfigDefaultPool']: + return pulumi.get(self, "default_pool") + + @property + @pulumi.getter + def pool(self) -> pulumi.Output[Optional[Sequence['outputs.ResourcePoolsConfigPool']]]: + return pulumi.get(self, "pool") + + @property + @pulumi.getter + def pools(self) -> pulumi.Output[Optional[Sequence['outputs.ResourcePoolsConfigPool']]]: + warnings.warn("""Use pool instead of pools""", DeprecationWarning) + pulumi.log.warn("""pools is deprecated: Use pool instead of pools""") + + return pulumi.get(self, "pools") + diff --git a/sdk/python/chronosphereio_chronosphere/rollup_rule.py b/sdk/python/chronosphereio_chronosphere/rollup_rule.py new file mode 100644 index 00000000..b1873e8e --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/rollup_rule.py @@ -0,0 +1,612 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['RollupRuleArgs', 'RollupRule'] + +@pulumi.input_type +class RollupRuleArgs: + def __init__(__self__, *, + filter: pulumi.Input[str], + metric_type: pulumi.Input[str], + name: pulumi.Input[str], + slug: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop_raw: Optional[pulumi.Input[bool]] = None, + exclude_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + interval: Optional[pulumi.Input[str]] = None, + metric_type_tag: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + new_metric: Optional[pulumi.Input[str]] = None, + permissive: Optional[pulumi.Input[bool]] = None, + storage_policies: Optional[pulumi.Input['RollupRuleStoragePoliciesArgs']] = None): + """ + The set of arguments for constructing a RollupRule resource. + """ + pulumi.set(__self__, "filter", filter) + pulumi.set(__self__, "metric_type", metric_type) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "slug", slug) + if aggregation is not None: + pulumi.set(__self__, "aggregation", aggregation) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if drop_raw is not None: + pulumi.set(__self__, "drop_raw", drop_raw) + if exclude_bies is not None: + pulumi.set(__self__, "exclude_bies", exclude_bies) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if metric_type_tag is not None: + pulumi.set(__self__, "metric_type_tag", metric_type_tag) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if new_metric is not None: + pulumi.set(__self__, "new_metric", new_metric) + if permissive is not None: + pulumi.set(__self__, "permissive", permissive) + if storage_policies is not None: + pulumi.set(__self__, "storage_policies", storage_policies) + + @property + @pulumi.getter + def filter(self) -> pulumi.Input[str]: + return pulumi.get(self, "filter") + + @filter.setter + def filter(self, value: pulumi.Input[str]): + pulumi.set(self, "filter", value) + + @property + @pulumi.getter(name="metricType") + def metric_type(self) -> pulumi.Input[str]: + return pulumi.get(self, "metric_type") + + @metric_type.setter + def metric_type(self, value: pulumi.Input[str]): + pulumi.set(self, "metric_type", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> pulumi.Input[str]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: pulumi.Input[str]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def aggregation(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aggregation", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="dropRaw") + def drop_raw(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "drop_raw") + + @drop_raw.setter + def drop_raw(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "drop_raw", value) + + @property + @pulumi.getter(name="excludeBies") + def exclude_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclude_bies") + + @exclude_bies.setter + def exclude_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclude_bies", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter(name="metricTypeTag") + def metric_type_tag(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "metric_type_tag") + + @metric_type_tag.setter + def metric_type_tag(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "metric_type_tag", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="newMetric") + def new_metric(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "new_metric") + + @new_metric.setter + def new_metric(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "new_metric", value) + + @property + @pulumi.getter + def permissive(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "permissive") + + @permissive.setter + def permissive(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "permissive", value) + + @property + @pulumi.getter(name="storagePolicies") + def storage_policies(self) -> Optional[pulumi.Input['RollupRuleStoragePoliciesArgs']]: + return pulumi.get(self, "storage_policies") + + @storage_policies.setter + def storage_policies(self, value: Optional[pulumi.Input['RollupRuleStoragePoliciesArgs']]): + pulumi.set(self, "storage_policies", value) + + +@pulumi.input_type +class _RollupRuleState: + def __init__(__self__, *, + aggregation: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop_raw: Optional[pulumi.Input[bool]] = None, + exclude_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + filter: Optional[pulumi.Input[str]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + interval: Optional[pulumi.Input[str]] = None, + metric_type: Optional[pulumi.Input[str]] = None, + metric_type_tag: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + new_metric: Optional[pulumi.Input[str]] = None, + permissive: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policies: Optional[pulumi.Input['RollupRuleStoragePoliciesArgs']] = None): + """ + Input properties used for looking up and filtering RollupRule resources. + """ + if aggregation is not None: + pulumi.set(__self__, "aggregation", aggregation) + if bucket_id is not None: + pulumi.set(__self__, "bucket_id", bucket_id) + if drop_raw is not None: + pulumi.set(__self__, "drop_raw", drop_raw) + if exclude_bies is not None: + pulumi.set(__self__, "exclude_bies", exclude_bies) + if filter is not None: + pulumi.set(__self__, "filter", filter) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if interval is not None: + pulumi.set(__self__, "interval", interval) + if metric_type is not None: + pulumi.set(__self__, "metric_type", metric_type) + if metric_type_tag is not None: + pulumi.set(__self__, "metric_type_tag", metric_type_tag) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if name is not None: + pulumi.set(__self__, "name", name) + if new_metric is not None: + pulumi.set(__self__, "new_metric", new_metric) + if permissive is not None: + pulumi.set(__self__, "permissive", permissive) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if storage_policies is not None: + pulumi.set(__self__, "storage_policies", storage_policies) + + @property + @pulumi.getter + def aggregation(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aggregation", value) + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_id") + + @bucket_id.setter + def bucket_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_id", value) + + @property + @pulumi.getter(name="dropRaw") + def drop_raw(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "drop_raw") + + @drop_raw.setter + def drop_raw(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "drop_raw", value) + + @property + @pulumi.getter(name="excludeBies") + def exclude_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclude_bies") + + @exclude_bies.setter + def exclude_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclude_bies", value) + + @property + @pulumi.getter + def filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "filter") + + @filter.setter + def filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "filter", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + @property + @pulumi.getter(name="metricType") + def metric_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metric_type") + + @metric_type.setter + def metric_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_type", value) + + @property + @pulumi.getter(name="metricTypeTag") + def metric_type_tag(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "metric_type_tag") + + @metric_type_tag.setter + def metric_type_tag(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "metric_type_tag", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="newMetric") + def new_metric(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "new_metric") + + @new_metric.setter + def new_metric(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "new_metric", value) + + @property + @pulumi.getter + def permissive(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "permissive") + + @permissive.setter + def permissive(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "permissive", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="storagePolicies") + def storage_policies(self) -> Optional[pulumi.Input['RollupRuleStoragePoliciesArgs']]: + return pulumi.get(self, "storage_policies") + + @storage_policies.setter + def storage_policies(self, value: Optional[pulumi.Input['RollupRuleStoragePoliciesArgs']]): + pulumi.set(self, "storage_policies", value) + + +class RollupRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aggregation: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop_raw: Optional[pulumi.Input[bool]] = None, + exclude_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + filter: Optional[pulumi.Input[str]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + interval: Optional[pulumi.Input[str]] = None, + metric_type: Optional[pulumi.Input[str]] = None, + metric_type_tag: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + new_metric: Optional[pulumi.Input[str]] = None, + permissive: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policies: Optional[pulumi.Input[pulumi.InputType['RollupRuleStoragePoliciesArgs']]] = None, + __props__=None): + """ + Create a RollupRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RollupRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a RollupRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param RollupRuleArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(RollupRuleArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aggregation: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop_raw: Optional[pulumi.Input[bool]] = None, + exclude_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + filter: Optional[pulumi.Input[str]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + interval: Optional[pulumi.Input[str]] = None, + metric_type: Optional[pulumi.Input[str]] = None, + metric_type_tag: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + new_metric: Optional[pulumi.Input[str]] = None, + permissive: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policies: Optional[pulumi.Input[pulumi.InputType['RollupRuleStoragePoliciesArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RollupRuleArgs.__new__(RollupRuleArgs) + + __props__.__dict__["aggregation"] = aggregation + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["drop_raw"] = drop_raw + __props__.__dict__["exclude_bies"] = exclude_bies + if filter is None and not opts.urn: + raise TypeError("Missing required property 'filter'") + __props__.__dict__["filter"] = filter + __props__.__dict__["group_bies"] = group_bies + __props__.__dict__["interval"] = interval + if metric_type is None and not opts.urn: + raise TypeError("Missing required property 'metric_type'") + __props__.__dict__["metric_type"] = metric_type + __props__.__dict__["metric_type_tag"] = metric_type_tag + __props__.__dict__["mode"] = mode + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["new_metric"] = new_metric + __props__.__dict__["permissive"] = permissive + if slug is None and not opts.urn: + raise TypeError("Missing required property 'slug'") + __props__.__dict__["slug"] = slug + __props__.__dict__["storage_policies"] = storage_policies + super(RollupRule, __self__).__init__( + 'chronosphere:index/rollupRule:RollupRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + aggregation: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + drop_raw: Optional[pulumi.Input[bool]] = None, + exclude_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + filter: Optional[pulumi.Input[str]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + interval: Optional[pulumi.Input[str]] = None, + metric_type: Optional[pulumi.Input[str]] = None, + metric_type_tag: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + new_metric: Optional[pulumi.Input[str]] = None, + permissive: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + storage_policies: Optional[pulumi.Input[pulumi.InputType['RollupRuleStoragePoliciesArgs']]] = None) -> 'RollupRule': + """ + Get an existing RollupRule resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _RollupRuleState.__new__(_RollupRuleState) + + __props__.__dict__["aggregation"] = aggregation + __props__.__dict__["bucket_id"] = bucket_id + __props__.__dict__["drop_raw"] = drop_raw + __props__.__dict__["exclude_bies"] = exclude_bies + __props__.__dict__["filter"] = filter + __props__.__dict__["group_bies"] = group_bies + __props__.__dict__["interval"] = interval + __props__.__dict__["metric_type"] = metric_type + __props__.__dict__["metric_type_tag"] = metric_type_tag + __props__.__dict__["mode"] = mode + __props__.__dict__["name"] = name + __props__.__dict__["new_metric"] = new_metric + __props__.__dict__["permissive"] = permissive + __props__.__dict__["slug"] = slug + __props__.__dict__["storage_policies"] = storage_policies + return RollupRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "aggregation") + + @property + @pulumi.getter(name="bucketId") + def bucket_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bucket_id") + + @property + @pulumi.getter(name="dropRaw") + def drop_raw(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "drop_raw") + + @property + @pulumi.getter(name="excludeBies") + def exclude_bies(self) -> pulumi.Output[Optional[Sequence[str]]]: + return pulumi.get(self, "exclude_bies") + + @property + @pulumi.getter + def filter(self) -> pulumi.Output[str]: + return pulumi.get(self, "filter") + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> pulumi.Output[Optional[Sequence[str]]]: + return pulumi.get(self, "group_bies") + + @property + @pulumi.getter + def interval(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "interval") + + @property + @pulumi.getter(name="metricType") + def metric_type(self) -> pulumi.Output[str]: + return pulumi.get(self, "metric_type") + + @property + @pulumi.getter(name="metricTypeTag") + def metric_type_tag(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "metric_type_tag") + + @property + @pulumi.getter + def mode(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "mode") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="newMetric") + def new_metric(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "new_metric") + + @property + @pulumi.getter + def permissive(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "permissive") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="storagePolicies") + def storage_policies(self) -> pulumi.Output['outputs.RollupRuleStoragePolicies']: + return pulumi.get(self, "storage_policies") + diff --git a/sdk/python/chronosphereio_chronosphere/service_account.py b/sdk/python/chronosphereio_chronosphere/service_account.py new file mode 100644 index 00000000..a589c122 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/service_account.py @@ -0,0 +1,277 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ServiceAccountArgs', 'ServiceAccount'] + +@pulumi.input_type +class ServiceAccountArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + restriction: Optional[pulumi.Input['ServiceAccountRestrictionArgs']] = None, + slug: Optional[pulumi.Input[str]] = None, + unrestricted: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a ServiceAccount resource. + """ + pulumi.set(__self__, "name", name) + if restriction is not None: + pulumi.set(__self__, "restriction", restriction) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if unrestricted is not None: + pulumi.set(__self__, "unrestricted", unrestricted) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def restriction(self) -> Optional[pulumi.Input['ServiceAccountRestrictionArgs']]: + return pulumi.get(self, "restriction") + + @restriction.setter + def restriction(self, value: Optional[pulumi.Input['ServiceAccountRestrictionArgs']]): + pulumi.set(self, "restriction", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def unrestricted(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "unrestricted") + + @unrestricted.setter + def unrestricted(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unrestricted", value) + + +@pulumi.input_type +class _ServiceAccountState: + def __init__(__self__, *, + email: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + restriction: Optional[pulumi.Input['ServiceAccountRestrictionArgs']] = None, + slug: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + unrestricted: Optional[pulumi.Input[bool]] = None): + """ + Input properties used for looking up and filtering ServiceAccount resources. + """ + if email is not None: + pulumi.set(__self__, "email", email) + if name is not None: + pulumi.set(__self__, "name", name) + if restriction is not None: + pulumi.set(__self__, "restriction", restriction) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if token is not None: + pulumi.set(__self__, "token", token) + if unrestricted is not None: + pulumi.set(__self__, "unrestricted", unrestricted) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def restriction(self) -> Optional[pulumi.Input['ServiceAccountRestrictionArgs']]: + return pulumi.get(self, "restriction") + + @restriction.setter + def restriction(self, value: Optional[pulumi.Input['ServiceAccountRestrictionArgs']]): + pulumi.set(self, "restriction", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "token") + + @token.setter + def token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token", value) + + @property + @pulumi.getter + def unrestricted(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "unrestricted") + + @unrestricted.setter + def unrestricted(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unrestricted", value) + + +class ServiceAccount(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + restriction: Optional[pulumi.Input[pulumi.InputType['ServiceAccountRestrictionArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None, + unrestricted: Optional[pulumi.Input[bool]] = None, + __props__=None): + """ + Create a ServiceAccount resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ServiceAccountArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a ServiceAccount resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param ServiceAccountArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ServiceAccountArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + restriction: Optional[pulumi.Input[pulumi.InputType['ServiceAccountRestrictionArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None, + unrestricted: Optional[pulumi.Input[bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ServiceAccountArgs.__new__(ServiceAccountArgs) + + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["restriction"] = restriction + __props__.__dict__["slug"] = slug + __props__.__dict__["unrestricted"] = unrestricted + __props__.__dict__["email"] = None + __props__.__dict__["token"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(ServiceAccount, __self__).__init__( + 'chronosphere:index/serviceAccount:ServiceAccount', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + email: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + restriction: Optional[pulumi.Input[pulumi.InputType['ServiceAccountRestrictionArgs']]] = None, + slug: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + unrestricted: Optional[pulumi.Input[bool]] = None) -> 'ServiceAccount': + """ + Get an existing ServiceAccount resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ServiceAccountState.__new__(_ServiceAccountState) + + __props__.__dict__["email"] = email + __props__.__dict__["name"] = name + __props__.__dict__["restriction"] = restriction + __props__.__dict__["slug"] = slug + __props__.__dict__["token"] = token + __props__.__dict__["unrestricted"] = unrestricted + return ServiceAccount(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def email(self) -> pulumi.Output[str]: + return pulumi.get(self, "email") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def restriction(self) -> pulumi.Output[Optional['outputs.ServiceAccountRestriction']]: + return pulumi.get(self, "restriction") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter + def token(self) -> pulumi.Output[str]: + return pulumi.get(self, "token") + + @property + @pulumi.getter + def unrestricted(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "unrestricted") + diff --git a/sdk/python/chronosphereio_chronosphere/service_data_source.py b/sdk/python/chronosphereio_chronosphere/service_data_source.py new file mode 100644 index 00000000..9d9cfea1 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/service_data_source.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = [ + 'ServiceDataSourceResult', + 'AwaitableServiceDataSourceResult', + 'service_data_source', + 'service_data_source_output', +] + +@pulumi.output_type +class ServiceDataSourceResult: + """ + A collection of values returned by ServiceDataSource. + """ + def __init__(__self__, description=None, id=None, name=None, slug=None): + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if slug and not isinstance(slug, str): + raise TypeError("Expected argument 'slug' to be a str") + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter + def description(self) -> str: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> str: + return pulumi.get(self, "slug") + + +class AwaitableServiceDataSourceResult(ServiceDataSourceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ServiceDataSourceResult( + description=self.description, + id=self.id, + name=self.name, + slug=self.slug) + + +def service_data_source(slug: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableServiceDataSourceResult: + """ + Use this data source to access information about an existing resource. + """ + __args__ = dict() + __args__['slug'] = slug + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('chronosphere:index/serviceDataSource:ServiceDataSource', __args__, opts=opts, typ=ServiceDataSourceResult).value + + return AwaitableServiceDataSourceResult( + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + slug=pulumi.get(__ret__, 'slug')) + + +@_utilities.lift_output_func(service_data_source) +def service_data_source_output(slug: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ServiceDataSourceResult]: + """ + Use this data source to access information about an existing resource. + """ + ... diff --git a/sdk/python/chronosphereio_chronosphere/slack_alert_notifier.py b/sdk/python/chronosphereio_chronosphere/slack_alert_notifier.py new file mode 100644 index 00000000..28d95e18 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/slack_alert_notifier.py @@ -0,0 +1,1055 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SlackAlertNotifierArgs', 'SlackAlertNotifier'] + +@pulumi.input_type +class SlackAlertNotifierArgs: + def __init__(__self__, *, + api_url: pulumi.Input[str], + channel: pulumi.Input[str], + name: pulumi.Input[str], + actions: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierActionArgs']]]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + callback_id: Optional[pulumi.Input[str]] = None, + color: Optional[pulumi.Input[str]] = None, + fallback: Optional[pulumi.Input[str]] = None, + fields: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierFieldArgs']]]] = None, + footer: Optional[pulumi.Input[str]] = None, + icon_emoji: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + image_url: Optional[pulumi.Input[str]] = None, + link_names: Optional[pulumi.Input[bool]] = None, + mrkdwn_ins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + pretext: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + short_fields: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + thumb_url: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + title_link: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SlackAlertNotifier resource. + """ + pulumi.set(__self__, "api_url", api_url) + pulumi.set(__self__, "channel", channel) + pulumi.set(__self__, "name", name) + if actions is not None: + pulumi.set(__self__, "actions", actions) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if callback_id is not None: + pulumi.set(__self__, "callback_id", callback_id) + if color is not None: + pulumi.set(__self__, "color", color) + if fallback is not None: + pulumi.set(__self__, "fallback", fallback) + if fields is not None: + pulumi.set(__self__, "fields", fields) + if footer is not None: + pulumi.set(__self__, "footer", footer) + if icon_emoji is not None: + pulumi.set(__self__, "icon_emoji", icon_emoji) + if icon_url is not None: + pulumi.set(__self__, "icon_url", icon_url) + if image_url is not None: + pulumi.set(__self__, "image_url", image_url) + if link_names is not None: + pulumi.set(__self__, "link_names", link_names) + if mrkdwn_ins is not None: + pulumi.set(__self__, "mrkdwn_ins", mrkdwn_ins) + if pretext is not None: + pulumi.set(__self__, "pretext", pretext) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if short_fields is not None: + pulumi.set(__self__, "short_fields", short_fields) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if text is not None: + pulumi.set(__self__, "text", text) + if thumb_url is not None: + pulumi.set(__self__, "thumb_url", thumb_url) + if title is not None: + pulumi.set(__self__, "title", title) + if title_link is not None: + pulumi.set(__self__, "title_link", title_link) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> pulumi.Input[str]: + return pulumi.get(self, "api_url") + + @api_url.setter + def api_url(self, value: pulumi.Input[str]): + pulumi.set(self, "api_url", value) + + @property + @pulumi.getter + def channel(self) -> pulumi.Input[str]: + return pulumi.get(self, "channel") + + @channel.setter + def channel(self, value: pulumi.Input[str]): + pulumi.set(self, "channel", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierActionArgs']]]]: + return pulumi.get(self, "actions") + + @actions.setter + def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierActionArgs']]]]): + pulumi.set(self, "actions", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter(name="callbackId") + def callback_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "callback_id") + + @callback_id.setter + def callback_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "callback_id", value) + + @property + @pulumi.getter + def color(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "color") + + @color.setter + def color(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "color", value) + + @property + @pulumi.getter + def fallback(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "fallback") + + @fallback.setter + def fallback(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fallback", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierFieldArgs']]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierFieldArgs']]]]): + pulumi.set(self, "fields", value) + + @property + @pulumi.getter + def footer(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "footer") + + @footer.setter + def footer(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "footer", value) + + @property + @pulumi.getter(name="iconEmoji") + def icon_emoji(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "icon_emoji") + + @icon_emoji.setter + def icon_emoji(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon_emoji", value) + + @property + @pulumi.getter(name="iconUrl") + def icon_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "icon_url") + + @icon_url.setter + def icon_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon_url", value) + + @property + @pulumi.getter(name="imageUrl") + def image_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "image_url") + + @image_url.setter + def image_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_url", value) + + @property + @pulumi.getter(name="linkNames") + def link_names(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "link_names") + + @link_names.setter + def link_names(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "link_names", value) + + @property + @pulumi.getter(name="mrkdwnIns") + def mrkdwn_ins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "mrkdwn_ins") + + @mrkdwn_ins.setter + def mrkdwn_ins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "mrkdwn_ins", value) + + @property + @pulumi.getter + def pretext(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "pretext") + + @pretext.setter + def pretext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pretext", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter(name="shortFields") + def short_fields(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "short_fields") + + @short_fields.setter + def short_fields(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "short_fields", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "text", value) + + @property + @pulumi.getter(name="thumbUrl") + def thumb_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "thumb_url") + + @thumb_url.setter + def thumb_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "thumb_url", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter(name="titleLink") + def title_link(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "title_link") + + @title_link.setter + def title_link(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title_link", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class _SlackAlertNotifierState: + def __init__(__self__, *, + actions: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierActionArgs']]]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + callback_id: Optional[pulumi.Input[str]] = None, + channel: Optional[pulumi.Input[str]] = None, + color: Optional[pulumi.Input[str]] = None, + fallback: Optional[pulumi.Input[str]] = None, + fields: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierFieldArgs']]]] = None, + footer: Optional[pulumi.Input[str]] = None, + icon_emoji: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + image_url: Optional[pulumi.Input[str]] = None, + link_names: Optional[pulumi.Input[bool]] = None, + mrkdwn_ins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + pretext: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + short_fields: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + thumb_url: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + title_link: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering SlackAlertNotifier resources. + """ + if actions is not None: + pulumi.set(__self__, "actions", actions) + if api_url is not None: + pulumi.set(__self__, "api_url", api_url) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if callback_id is not None: + pulumi.set(__self__, "callback_id", callback_id) + if channel is not None: + pulumi.set(__self__, "channel", channel) + if color is not None: + pulumi.set(__self__, "color", color) + if fallback is not None: + pulumi.set(__self__, "fallback", fallback) + if fields is not None: + pulumi.set(__self__, "fields", fields) + if footer is not None: + pulumi.set(__self__, "footer", footer) + if icon_emoji is not None: + pulumi.set(__self__, "icon_emoji", icon_emoji) + if icon_url is not None: + pulumi.set(__self__, "icon_url", icon_url) + if image_url is not None: + pulumi.set(__self__, "image_url", image_url) + if link_names is not None: + pulumi.set(__self__, "link_names", link_names) + if mrkdwn_ins is not None: + pulumi.set(__self__, "mrkdwn_ins", mrkdwn_ins) + if name is not None: + pulumi.set(__self__, "name", name) + if pretext is not None: + pulumi.set(__self__, "pretext", pretext) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if short_fields is not None: + pulumi.set(__self__, "short_fields", short_fields) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if text is not None: + pulumi.set(__self__, "text", text) + if thumb_url is not None: + pulumi.set(__self__, "thumb_url", thumb_url) + if title is not None: + pulumi.set(__self__, "title", title) + if title_link is not None: + pulumi.set(__self__, "title_link", title_link) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierActionArgs']]]]: + return pulumi.get(self, "actions") + + @actions.setter + def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierActionArgs']]]]): + pulumi.set(self, "actions", value) + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_url") + + @api_url.setter + def api_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_url", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter(name="callbackId") + def callback_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "callback_id") + + @callback_id.setter + def callback_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "callback_id", value) + + @property + @pulumi.getter + def channel(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "channel") + + @channel.setter + def channel(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "channel", value) + + @property + @pulumi.getter + def color(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "color") + + @color.setter + def color(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "color", value) + + @property + @pulumi.getter + def fallback(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "fallback") + + @fallback.setter + def fallback(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fallback", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierFieldArgs']]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SlackAlertNotifierFieldArgs']]]]): + pulumi.set(self, "fields", value) + + @property + @pulumi.getter + def footer(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "footer") + + @footer.setter + def footer(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "footer", value) + + @property + @pulumi.getter(name="iconEmoji") + def icon_emoji(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "icon_emoji") + + @icon_emoji.setter + def icon_emoji(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon_emoji", value) + + @property + @pulumi.getter(name="iconUrl") + def icon_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "icon_url") + + @icon_url.setter + def icon_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon_url", value) + + @property + @pulumi.getter(name="imageUrl") + def image_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "image_url") + + @image_url.setter + def image_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_url", value) + + @property + @pulumi.getter(name="linkNames") + def link_names(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "link_names") + + @link_names.setter + def link_names(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "link_names", value) + + @property + @pulumi.getter(name="mrkdwnIns") + def mrkdwn_ins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "mrkdwn_ins") + + @mrkdwn_ins.setter + def mrkdwn_ins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "mrkdwn_ins", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def pretext(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "pretext") + + @pretext.setter + def pretext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pretext", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter(name="shortFields") + def short_fields(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "short_fields") + + @short_fields.setter + def short_fields(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "short_fields", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def text(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "text", value) + + @property + @pulumi.getter(name="thumbUrl") + def thumb_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "thumb_url") + + @thumb_url.setter + def thumb_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "thumb_url", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter(name="titleLink") + def title_link(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "title_link") + + @title_link.setter + def title_link(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title_link", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +class SlackAlertNotifier(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SlackAlertNotifierActionArgs']]]]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + callback_id: Optional[pulumi.Input[str]] = None, + channel: Optional[pulumi.Input[str]] = None, + color: Optional[pulumi.Input[str]] = None, + fallback: Optional[pulumi.Input[str]] = None, + fields: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SlackAlertNotifierFieldArgs']]]]] = None, + footer: Optional[pulumi.Input[str]] = None, + icon_emoji: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + image_url: Optional[pulumi.Input[str]] = None, + link_names: Optional[pulumi.Input[bool]] = None, + mrkdwn_ins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + pretext: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + short_fields: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + thumb_url: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + title_link: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a SlackAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SlackAlertNotifierArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a SlackAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param SlackAlertNotifierArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SlackAlertNotifierArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SlackAlertNotifierActionArgs']]]]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + callback_id: Optional[pulumi.Input[str]] = None, + channel: Optional[pulumi.Input[str]] = None, + color: Optional[pulumi.Input[str]] = None, + fallback: Optional[pulumi.Input[str]] = None, + fields: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SlackAlertNotifierFieldArgs']]]]] = None, + footer: Optional[pulumi.Input[str]] = None, + icon_emoji: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + image_url: Optional[pulumi.Input[str]] = None, + link_names: Optional[pulumi.Input[bool]] = None, + mrkdwn_ins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + pretext: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + short_fields: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + thumb_url: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + title_link: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SlackAlertNotifierArgs.__new__(SlackAlertNotifierArgs) + + __props__.__dict__["actions"] = actions + if api_url is None and not opts.urn: + raise TypeError("Missing required property 'api_url'") + __props__.__dict__["api_url"] = None if api_url is None else pulumi.Output.secret(api_url) + __props__.__dict__["basic_auth_password"] = None if basic_auth_password is None else pulumi.Output.secret(basic_auth_password) + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["callback_id"] = callback_id + if channel is None and not opts.urn: + raise TypeError("Missing required property 'channel'") + __props__.__dict__["channel"] = channel + __props__.__dict__["color"] = color + __props__.__dict__["fallback"] = fallback + __props__.__dict__["fields"] = fields + __props__.__dict__["footer"] = footer + __props__.__dict__["icon_emoji"] = icon_emoji + __props__.__dict__["icon_url"] = icon_url + __props__.__dict__["image_url"] = image_url + __props__.__dict__["link_names"] = link_names + __props__.__dict__["mrkdwn_ins"] = mrkdwn_ins + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["pretext"] = pretext + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["short_fields"] = short_fields + __props__.__dict__["slug"] = slug + __props__.__dict__["text"] = text + __props__.__dict__["thumb_url"] = thumb_url + __props__.__dict__["title"] = title + __props__.__dict__["title_link"] = title_link + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + __props__.__dict__["username"] = username + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiUrl", "basicAuthPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(SlackAlertNotifier, __self__).__init__( + 'chronosphere:index/slackAlertNotifier:SlackAlertNotifier', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SlackAlertNotifierActionArgs']]]]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + callback_id: Optional[pulumi.Input[str]] = None, + channel: Optional[pulumi.Input[str]] = None, + color: Optional[pulumi.Input[str]] = None, + fallback: Optional[pulumi.Input[str]] = None, + fields: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SlackAlertNotifierFieldArgs']]]]] = None, + footer: Optional[pulumi.Input[str]] = None, + icon_emoji: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + image_url: Optional[pulumi.Input[str]] = None, + link_names: Optional[pulumi.Input[bool]] = None, + mrkdwn_ins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + pretext: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + short_fields: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None, + thumb_url: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + title_link: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None) -> 'SlackAlertNotifier': + """ + Get an existing SlackAlertNotifier resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SlackAlertNotifierState.__new__(_SlackAlertNotifierState) + + __props__.__dict__["actions"] = actions + __props__.__dict__["api_url"] = api_url + __props__.__dict__["basic_auth_password"] = basic_auth_password + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["callback_id"] = callback_id + __props__.__dict__["channel"] = channel + __props__.__dict__["color"] = color + __props__.__dict__["fallback"] = fallback + __props__.__dict__["fields"] = fields + __props__.__dict__["footer"] = footer + __props__.__dict__["icon_emoji"] = icon_emoji + __props__.__dict__["icon_url"] = icon_url + __props__.__dict__["image_url"] = image_url + __props__.__dict__["link_names"] = link_names + __props__.__dict__["mrkdwn_ins"] = mrkdwn_ins + __props__.__dict__["name"] = name + __props__.__dict__["pretext"] = pretext + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["short_fields"] = short_fields + __props__.__dict__["slug"] = slug + __props__.__dict__["text"] = text + __props__.__dict__["thumb_url"] = thumb_url + __props__.__dict__["title"] = title + __props__.__dict__["title_link"] = title_link + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + __props__.__dict__["username"] = username + return SlackAlertNotifier(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def actions(self) -> pulumi.Output[Optional[Sequence['outputs.SlackAlertNotifierAction']]]: + return pulumi.get(self, "actions") + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> pulumi.Output[str]: + return pulumi.get(self, "api_url") + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_password") + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_username") + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bearer_token") + + @property + @pulumi.getter(name="callbackId") + def callback_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "callback_id") + + @property + @pulumi.getter + def channel(self) -> pulumi.Output[str]: + return pulumi.get(self, "channel") + + @property + @pulumi.getter + def color(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "color") + + @property + @pulumi.getter + def fallback(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "fallback") + + @property + @pulumi.getter + def fields(self) -> pulumi.Output[Optional[Sequence['outputs.SlackAlertNotifierField']]]: + return pulumi.get(self, "fields") + + @property + @pulumi.getter + def footer(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "footer") + + @property + @pulumi.getter(name="iconEmoji") + def icon_emoji(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "icon_emoji") + + @property + @pulumi.getter(name="iconUrl") + def icon_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "icon_url") + + @property + @pulumi.getter(name="imageUrl") + def image_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "image_url") + + @property + @pulumi.getter(name="linkNames") + def link_names(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "link_names") + + @property + @pulumi.getter(name="mrkdwnIns") + def mrkdwn_ins(self) -> pulumi.Output[Optional[Sequence[str]]]: + return pulumi.get(self, "mrkdwn_ins") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def pretext(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "pretext") + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "proxy_url") + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "send_resolved") + + @property + @pulumi.getter(name="shortFields") + def short_fields(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "short_fields") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter + def text(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "text") + + @property + @pulumi.getter(name="thumbUrl") + def thumb_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "thumb_url") + + @property + @pulumi.getter + def title(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "title") + + @property + @pulumi.getter(name="titleLink") + def title_link(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "title_link") + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @property + @pulumi.getter + def username(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "username") + diff --git a/sdk/python/chronosphereio_chronosphere/team.py b/sdk/python/chronosphereio_chronosphere/team.py new file mode 100644 index 00000000..27524134 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/team.py @@ -0,0 +1,233 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['TeamArgs', 'Team'] + +@pulumi.input_type +class TeamArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + user_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Team resource. + """ + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if user_emails is not None: + pulumi.set(__self__, "user_emails", user_emails) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="userEmails") + def user_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "user_emails") + + @user_emails.setter + def user_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_emails", value) + + +@pulumi.input_type +class _TeamState: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + user_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Input properties used for looking up and filtering Team resources. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if user_emails is not None: + pulumi.set(__self__, "user_emails", user_emails) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="userEmails") + def user_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "user_emails") + + @user_emails.setter + def user_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_emails", value) + + +class Team(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + user_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + """ + Create a Team resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TeamArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Team resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param TeamArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(TeamArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + user_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = TeamArgs.__new__(TeamArgs) + + __props__.__dict__["description"] = description + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + __props__.__dict__["user_emails"] = user_emails + super(Team, __self__).__init__( + 'chronosphere:index/team:Team', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + user_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Team': + """ + Get an existing Team resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _TeamState.__new__(_TeamState) + + __props__.__dict__["description"] = description + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + __props__.__dict__["user_emails"] = user_emails + return Team(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="userEmails") + def user_emails(self) -> pulumi.Output[Optional[Sequence[str]]]: + return pulumi.get(self, "user_emails") + diff --git a/sdk/python/chronosphereio_chronosphere/trace_jaeger_remote_sampling_strategy.py b/sdk/python/chronosphereio_chronosphere/trace_jaeger_remote_sampling_strategy.py new file mode 100644 index 00000000..74bdbfd4 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/trace_jaeger_remote_sampling_strategy.py @@ -0,0 +1,237 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['TraceJaegerRemoteSamplingStrategyArgs', 'TraceJaegerRemoteSamplingStrategy'] + +@pulumi.input_type +class TraceJaegerRemoteSamplingStrategyArgs: + def __init__(__self__, *, + applied_strategy: pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs'], + name: pulumi.Input[str], + service_name: pulumi.Input[str], + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a TraceJaegerRemoteSamplingStrategy resource. + """ + pulumi.set(__self__, "applied_strategy", applied_strategy) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "service_name", service_name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="appliedStrategy") + def applied_strategy(self) -> pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']: + return pulumi.get(self, "applied_strategy") + + @applied_strategy.setter + def applied_strategy(self, value: pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']): + pulumi.set(self, "applied_strategy", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _TraceJaegerRemoteSamplingStrategyState: + def __init__(__self__, *, + applied_strategy: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering TraceJaegerRemoteSamplingStrategy resources. + """ + if applied_strategy is not None: + pulumi.set(__self__, "applied_strategy", applied_strategy) + if name is not None: + pulumi.set(__self__, "name", name) + if service_name is not None: + pulumi.set(__self__, "service_name", service_name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="appliedStrategy") + def applied_strategy(self) -> Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']]: + return pulumi.get(self, "applied_strategy") + + @applied_strategy.setter + def applied_strategy(self, value: Optional[pulumi.Input['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']]): + pulumi.set(self, "applied_strategy", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +class TraceJaegerRemoteSamplingStrategy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + applied_strategy: Optional[pulumi.Input[pulumi.InputType['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a TraceJaegerRemoteSamplingStrategy resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TraceJaegerRemoteSamplingStrategyArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a TraceJaegerRemoteSamplingStrategy resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param TraceJaegerRemoteSamplingStrategyArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(TraceJaegerRemoteSamplingStrategyArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + applied_strategy: Optional[pulumi.Input[pulumi.InputType['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = TraceJaegerRemoteSamplingStrategyArgs.__new__(TraceJaegerRemoteSamplingStrategyArgs) + + if applied_strategy is None and not opts.urn: + raise TypeError("Missing required property 'applied_strategy'") + __props__.__dict__["applied_strategy"] = applied_strategy + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["slug"] = slug + super(TraceJaegerRemoteSamplingStrategy, __self__).__init__( + 'chronosphere:index/traceJaegerRemoteSamplingStrategy:TraceJaegerRemoteSamplingStrategy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + applied_strategy: Optional[pulumi.Input[pulumi.InputType['TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None) -> 'TraceJaegerRemoteSamplingStrategy': + """ + Get an existing TraceJaegerRemoteSamplingStrategy resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _TraceJaegerRemoteSamplingStrategyState.__new__(_TraceJaegerRemoteSamplingStrategyState) + + __props__.__dict__["applied_strategy"] = applied_strategy + __props__.__dict__["name"] = name + __props__.__dict__["service_name"] = service_name + __props__.__dict__["slug"] = slug + return TraceJaegerRemoteSamplingStrategy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="appliedStrategy") + def applied_strategy(self) -> pulumi.Output['outputs.TraceJaegerRemoteSamplingStrategyAppliedStrategy']: + return pulumi.get(self, "applied_strategy") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "service_name") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + diff --git a/sdk/python/chronosphereio_chronosphere/trace_metrics_rule.py b/sdk/python/chronosphereio_chronosphere/trace_metrics_rule.py new file mode 100644 index 00000000..b7a3be28 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/trace_metrics_rule.py @@ -0,0 +1,339 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['TraceMetricsRuleArgs', 'TraceMetricsRule'] + +@pulumi.input_type +class TraceMetricsRuleArgs: + def __init__(__self__, *, + metric_name: pulumi.Input[str], + name: pulumi.Input[str], + trace_filter: pulumi.Input['TraceMetricsRuleTraceFilterArgs'], + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleGroupByArgs']]]] = None, + histogram_buckets_seconds: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + metric_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + slug: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a TraceMetricsRule resource. + """ + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "trace_filter", trace_filter) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if histogram_buckets_seconds is not None: + pulumi.set(__self__, "histogram_buckets_seconds", histogram_buckets_seconds) + if metric_labels is not None: + pulumi.set(__self__, "metric_labels", metric_labels) + if slug is not None: + pulumi.set(__self__, "slug", slug) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: pulumi.Input[str]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="traceFilter") + def trace_filter(self) -> pulumi.Input['TraceMetricsRuleTraceFilterArgs']: + return pulumi.get(self, "trace_filter") + + @trace_filter.setter + def trace_filter(self, value: pulumi.Input['TraceMetricsRuleTraceFilterArgs']): + pulumi.set(self, "trace_filter", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleGroupByArgs']]]]: + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="histogramBucketsSeconds") + def histogram_buckets_seconds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[float]]]]: + return pulumi.get(self, "histogram_buckets_seconds") + + @histogram_buckets_seconds.setter + def histogram_buckets_seconds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]]): + pulumi.set(self, "histogram_buckets_seconds", value) + + @property + @pulumi.getter(name="metricLabels") + def metric_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "metric_labels") + + @metric_labels.setter + def metric_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "metric_labels", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + +@pulumi.input_type +class _TraceMetricsRuleState: + def __init__(__self__, *, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleGroupByArgs']]]] = None, + histogram_buckets_seconds: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + metric_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + trace_filter: Optional[pulumi.Input['TraceMetricsRuleTraceFilterArgs']] = None): + """ + Input properties used for looking up and filtering TraceMetricsRule resources. + """ + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if histogram_buckets_seconds is not None: + pulumi.set(__self__, "histogram_buckets_seconds", histogram_buckets_seconds) + if metric_labels is not None: + pulumi.set(__self__, "metric_labels", metric_labels) + if metric_name is not None: + pulumi.set(__self__, "metric_name", metric_name) + if name is not None: + pulumi.set(__self__, "name", name) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if trace_filter is not None: + pulumi.set(__self__, "trace_filter", trace_filter) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleGroupByArgs']]]]: + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceMetricsRuleGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="histogramBucketsSeconds") + def histogram_buckets_seconds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[float]]]]: + return pulumi.get(self, "histogram_buckets_seconds") + + @histogram_buckets_seconds.setter + def histogram_buckets_seconds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]]): + pulumi.set(self, "histogram_buckets_seconds", value) + + @property + @pulumi.getter(name="metricLabels") + def metric_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "metric_labels") + + @metric_labels.setter + def metric_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "metric_labels", value) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="traceFilter") + def trace_filter(self) -> Optional[pulumi.Input['TraceMetricsRuleTraceFilterArgs']]: + return pulumi.get(self, "trace_filter") + + @trace_filter.setter + def trace_filter(self, value: Optional[pulumi.Input['TraceMetricsRuleTraceFilterArgs']]): + pulumi.set(self, "trace_filter", value) + + +class TraceMetricsRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TraceMetricsRuleGroupByArgs']]]]] = None, + histogram_buckets_seconds: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + metric_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + trace_filter: Optional[pulumi.Input[pulumi.InputType['TraceMetricsRuleTraceFilterArgs']]] = None, + __props__=None): + """ + Create a TraceMetricsRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TraceMetricsRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a TraceMetricsRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param TraceMetricsRuleArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(TraceMetricsRuleArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TraceMetricsRuleGroupByArgs']]]]] = None, + histogram_buckets_seconds: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + metric_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + trace_filter: Optional[pulumi.Input[pulumi.InputType['TraceMetricsRuleTraceFilterArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = TraceMetricsRuleArgs.__new__(TraceMetricsRuleArgs) + + __props__.__dict__["group_bies"] = group_bies + __props__.__dict__["histogram_buckets_seconds"] = histogram_buckets_seconds + __props__.__dict__["metric_labels"] = metric_labels + if metric_name is None and not opts.urn: + raise TypeError("Missing required property 'metric_name'") + __props__.__dict__["metric_name"] = metric_name + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + if trace_filter is None and not opts.urn: + raise TypeError("Missing required property 'trace_filter'") + __props__.__dict__["trace_filter"] = trace_filter + super(TraceMetricsRule, __self__).__init__( + 'chronosphere:index/traceMetricsRule:TraceMetricsRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TraceMetricsRuleGroupByArgs']]]]] = None, + histogram_buckets_seconds: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + metric_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[str]] = None, + trace_filter: Optional[pulumi.Input[pulumi.InputType['TraceMetricsRuleTraceFilterArgs']]] = None) -> 'TraceMetricsRule': + """ + Get an existing TraceMetricsRule resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _TraceMetricsRuleState.__new__(_TraceMetricsRuleState) + + __props__.__dict__["group_bies"] = group_bies + __props__.__dict__["histogram_buckets_seconds"] = histogram_buckets_seconds + __props__.__dict__["metric_labels"] = metric_labels + __props__.__dict__["metric_name"] = metric_name + __props__.__dict__["name"] = name + __props__.__dict__["slug"] = slug + __props__.__dict__["trace_filter"] = trace_filter + return TraceMetricsRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> pulumi.Output[Optional[Sequence['outputs.TraceMetricsRuleGroupBy']]]: + return pulumi.get(self, "group_bies") + + @property + @pulumi.getter(name="histogramBucketsSeconds") + def histogram_buckets_seconds(self) -> pulumi.Output[Optional[Sequence[float]]]: + return pulumi.get(self, "histogram_buckets_seconds") + + @property + @pulumi.getter(name="metricLabels") + def metric_labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "metric_labels") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="traceFilter") + def trace_filter(self) -> pulumi.Output['outputs.TraceMetricsRuleTraceFilter']: + return pulumi.get(self, "trace_filter") + diff --git a/sdk/python/chronosphereio_chronosphere/trace_tail_sampling_rules.py b/sdk/python/chronosphereio_chronosphere/trace_tail_sampling_rules.py new file mode 100644 index 00000000..297d9913 --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/trace_tail_sampling_rules.py @@ -0,0 +1,166 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['TraceTailSamplingRulesArgs', 'TraceTailSamplingRules'] + +@pulumi.input_type +class TraceTailSamplingRulesArgs: + def __init__(__self__, *, + default_sample_rate: Optional[pulumi.Input['TraceTailSamplingRulesDefaultSampleRateArgs']] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleArgs']]]] = None): + """ + The set of arguments for constructing a TraceTailSamplingRules resource. + """ + if default_sample_rate is not None: + pulumi.set(__self__, "default_sample_rate", default_sample_rate) + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter(name="defaultSampleRate") + def default_sample_rate(self) -> Optional[pulumi.Input['TraceTailSamplingRulesDefaultSampleRateArgs']]: + return pulumi.get(self, "default_sample_rate") + + @default_sample_rate.setter + def default_sample_rate(self, value: Optional[pulumi.Input['TraceTailSamplingRulesDefaultSampleRateArgs']]): + pulumi.set(self, "default_sample_rate", value) + + @property + @pulumi.getter + def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleArgs']]]]: + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleArgs']]]]): + pulumi.set(self, "rules", value) + + +@pulumi.input_type +class _TraceTailSamplingRulesState: + def __init__(__self__, *, + default_sample_rate: Optional[pulumi.Input['TraceTailSamplingRulesDefaultSampleRateArgs']] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleArgs']]]] = None): + """ + Input properties used for looking up and filtering TraceTailSamplingRules resources. + """ + if default_sample_rate is not None: + pulumi.set(__self__, "default_sample_rate", default_sample_rate) + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter(name="defaultSampleRate") + def default_sample_rate(self) -> Optional[pulumi.Input['TraceTailSamplingRulesDefaultSampleRateArgs']]: + return pulumi.get(self, "default_sample_rate") + + @default_sample_rate.setter + def default_sample_rate(self, value: Optional[pulumi.Input['TraceTailSamplingRulesDefaultSampleRateArgs']]): + pulumi.set(self, "default_sample_rate", value) + + @property + @pulumi.getter + def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleArgs']]]]: + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TraceTailSamplingRulesRuleArgs']]]]): + pulumi.set(self, "rules", value) + + +class TraceTailSamplingRules(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + default_sample_rate: Optional[pulumi.Input[pulumi.InputType['TraceTailSamplingRulesDefaultSampleRateArgs']]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TraceTailSamplingRulesRuleArgs']]]]] = None, + __props__=None): + """ + Create a TraceTailSamplingRules resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[TraceTailSamplingRulesArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a TraceTailSamplingRules resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param TraceTailSamplingRulesArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(TraceTailSamplingRulesArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + default_sample_rate: Optional[pulumi.Input[pulumi.InputType['TraceTailSamplingRulesDefaultSampleRateArgs']]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TraceTailSamplingRulesRuleArgs']]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = TraceTailSamplingRulesArgs.__new__(TraceTailSamplingRulesArgs) + + __props__.__dict__["default_sample_rate"] = default_sample_rate + __props__.__dict__["rules"] = rules + super(TraceTailSamplingRules, __self__).__init__( + 'chronosphere:index/traceTailSamplingRules:TraceTailSamplingRules', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + default_sample_rate: Optional[pulumi.Input[pulumi.InputType['TraceTailSamplingRulesDefaultSampleRateArgs']]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TraceTailSamplingRulesRuleArgs']]]]] = None) -> 'TraceTailSamplingRules': + """ + Get an existing TraceTailSamplingRules resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _TraceTailSamplingRulesState.__new__(_TraceTailSamplingRulesState) + + __props__.__dict__["default_sample_rate"] = default_sample_rate + __props__.__dict__["rules"] = rules + return TraceTailSamplingRules(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="defaultSampleRate") + def default_sample_rate(self) -> pulumi.Output[Optional['outputs.TraceTailSamplingRulesDefaultSampleRate']]: + return pulumi.get(self, "default_sample_rate") + + @property + @pulumi.getter + def rules(self) -> pulumi.Output[Optional[Sequence['outputs.TraceTailSamplingRulesRule']]]: + return pulumi.get(self, "rules") + diff --git a/sdk/python/chronosphereio_chronosphere/victorops_alert_notifier.py b/sdk/python/chronosphereio_chronosphere/victorops_alert_notifier.py new file mode 100644 index 00000000..80bea34a --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/victorops_alert_notifier.py @@ -0,0 +1,645 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['VictoropsAlertNotifierArgs', 'VictoropsAlertNotifier'] + +@pulumi.input_type +class VictoropsAlertNotifierArgs: + def __init__(__self__, *, + api_key: pulumi.Input[str], + name: pulumi.Input[str], + routing_key: pulumi.Input[str], + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + custom_fields: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + entity_display_name: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + monitoring_tool: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a VictoropsAlertNotifier resource. + """ + pulumi.set(__self__, "api_key", api_key) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "routing_key", routing_key) + if api_url is not None: + pulumi.set(__self__, "api_url", api_url) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if custom_fields is not None: + pulumi.set(__self__, "custom_fields", custom_fields) + if entity_display_name is not None: + pulumi.set(__self__, "entity_display_name", entity_display_name) + if message_type is not None: + pulumi.set(__self__, "message_type", message_type) + if monitoring_tool is not None: + pulumi.set(__self__, "monitoring_tool", monitoring_tool) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if state_message is not None: + pulumi.set(__self__, "state_message", state_message) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + + @property + @pulumi.getter(name="apiKey") + def api_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "api_key") + + @api_key.setter + def api_key(self, value: pulumi.Input[str]): + pulumi.set(self, "api_key", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="routingKey") + def routing_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "routing_key") + + @routing_key.setter + def routing_key(self, value: pulumi.Input[str]): + pulumi.set(self, "routing_key", value) + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_url") + + @api_url.setter + def api_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_url", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter(name="customFields") + def custom_fields(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "custom_fields") + + @custom_fields.setter + def custom_fields(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_fields", value) + + @property + @pulumi.getter(name="entityDisplayName") + def entity_display_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "entity_display_name") + + @entity_display_name.setter + def entity_display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_display_name", value) + + @property + @pulumi.getter(name="messageType") + def message_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "message_type") + + @message_type.setter + def message_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message_type", value) + + @property + @pulumi.getter(name="monitoringTool") + def monitoring_tool(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "monitoring_tool") + + @monitoring_tool.setter + def monitoring_tool(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitoring_tool", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="stateMessage") + def state_message(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "state_message") + + @state_message.setter + def state_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state_message", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + +@pulumi.input_type +class _VictoropsAlertNotifierState: + def __init__(__self__, *, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + custom_fields: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + entity_display_name: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + monitoring_tool: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None): + """ + Input properties used for looking up and filtering VictoropsAlertNotifier resources. + """ + if api_key is not None: + pulumi.set(__self__, "api_key", api_key) + if api_url is not None: + pulumi.set(__self__, "api_url", api_url) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if custom_fields is not None: + pulumi.set(__self__, "custom_fields", custom_fields) + if entity_display_name is not None: + pulumi.set(__self__, "entity_display_name", entity_display_name) + if message_type is not None: + pulumi.set(__self__, "message_type", message_type) + if monitoring_tool is not None: + pulumi.set(__self__, "monitoring_tool", monitoring_tool) + if name is not None: + pulumi.set(__self__, "name", name) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if routing_key is not None: + pulumi.set(__self__, "routing_key", routing_key) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if state_message is not None: + pulumi.set(__self__, "state_message", state_message) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + + @property + @pulumi.getter(name="apiKey") + def api_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_key") + + @api_key.setter + def api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_key", value) + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_url") + + @api_url.setter + def api_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_url", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter(name="customFields") + def custom_fields(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "custom_fields") + + @custom_fields.setter + def custom_fields(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_fields", value) + + @property + @pulumi.getter(name="entityDisplayName") + def entity_display_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "entity_display_name") + + @entity_display_name.setter + def entity_display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_display_name", value) + + @property + @pulumi.getter(name="messageType") + def message_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "message_type") + + @message_type.setter + def message_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message_type", value) + + @property + @pulumi.getter(name="monitoringTool") + def monitoring_tool(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "monitoring_tool") + + @monitoring_tool.setter + def monitoring_tool(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitoring_tool", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="routingKey") + def routing_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "routing_key") + + @routing_key.setter + def routing_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "routing_key", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="stateMessage") + def state_message(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "state_message") + + @state_message.setter + def state_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state_message", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + +class VictoropsAlertNotifier(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + custom_fields: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + entity_display_name: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + monitoring_tool: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + __props__=None): + """ + Create a VictoropsAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VictoropsAlertNotifierArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a VictoropsAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param VictoropsAlertNotifierArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(VictoropsAlertNotifierArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + custom_fields: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + entity_display_name: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + monitoring_tool: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VictoropsAlertNotifierArgs.__new__(VictoropsAlertNotifierArgs) + + if api_key is None and not opts.urn: + raise TypeError("Missing required property 'api_key'") + __props__.__dict__["api_key"] = None if api_key is None else pulumi.Output.secret(api_key) + __props__.__dict__["api_url"] = api_url + __props__.__dict__["basic_auth_password"] = None if basic_auth_password is None else pulumi.Output.secret(basic_auth_password) + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["custom_fields"] = custom_fields + __props__.__dict__["entity_display_name"] = entity_display_name + __props__.__dict__["message_type"] = message_type + __props__.__dict__["monitoring_tool"] = monitoring_tool + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["proxy_url"] = proxy_url + if routing_key is None and not opts.urn: + raise TypeError("Missing required property 'routing_key'") + __props__.__dict__["routing_key"] = routing_key + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["state_message"] = state_message + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey", "basicAuthPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(VictoropsAlertNotifier, __self__).__init__( + 'chronosphere:index/victoropsAlertNotifier:VictoropsAlertNotifier', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + custom_fields: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + entity_display_name: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + monitoring_tool: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + routing_key: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None) -> 'VictoropsAlertNotifier': + """ + Get an existing VictoropsAlertNotifier resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _VictoropsAlertNotifierState.__new__(_VictoropsAlertNotifierState) + + __props__.__dict__["api_key"] = api_key + __props__.__dict__["api_url"] = api_url + __props__.__dict__["basic_auth_password"] = basic_auth_password + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["custom_fields"] = custom_fields + __props__.__dict__["entity_display_name"] = entity_display_name + __props__.__dict__["message_type"] = message_type + __props__.__dict__["monitoring_tool"] = monitoring_tool + __props__.__dict__["name"] = name + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["routing_key"] = routing_key + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["state_message"] = state_message + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + return VictoropsAlertNotifier(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="apiKey") + def api_key(self) -> pulumi.Output[str]: + return pulumi.get(self, "api_key") + + @property + @pulumi.getter(name="apiUrl") + def api_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "api_url") + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_password") + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_username") + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bearer_token") + + @property + @pulumi.getter(name="customFields") + def custom_fields(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "custom_fields") + + @property + @pulumi.getter(name="entityDisplayName") + def entity_display_name(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "entity_display_name") + + @property + @pulumi.getter(name="messageType") + def message_type(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "message_type") + + @property + @pulumi.getter(name="monitoringTool") + def monitoring_tool(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "monitoring_tool") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "proxy_url") + + @property + @pulumi.getter(name="routingKey") + def routing_key(self) -> pulumi.Output[str]: + return pulumi.get(self, "routing_key") + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "send_resolved") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="stateMessage") + def state_message(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "state_message") + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + diff --git a/sdk/python/chronosphereio_chronosphere/webhook_alert_notifier.py b/sdk/python/chronosphereio_chronosphere/webhook_alert_notifier.py new file mode 100644 index 00000000..9958ce1d --- /dev/null +++ b/sdk/python/chronosphereio_chronosphere/webhook_alert_notifier.py @@ -0,0 +1,406 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['WebhookAlertNotifierArgs', 'WebhookAlertNotifier'] + +@pulumi.input_type +class WebhookAlertNotifierArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + url: pulumi.Input[str], + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a WebhookAlertNotifier resource. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "url", url) + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def url(self) -> pulumi.Input[str]: + return pulumi.get(self, "url") + + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + +@pulumi.input_type +class _WebhookAlertNotifierState: + def __init__(__self__, *, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering WebhookAlertNotifier resources. + """ + if basic_auth_password is not None: + pulumi.set(__self__, "basic_auth_password", basic_auth_password) + if basic_auth_username is not None: + pulumi.set(__self__, "basic_auth_username", basic_auth_username) + if bearer_token is not None: + pulumi.set(__self__, "bearer_token", bearer_token) + if name is not None: + pulumi.set(__self__, "name", name) + if proxy_url is not None: + pulumi.set(__self__, "proxy_url", proxy_url) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if tls_insecure_skip_verify is not None: + pulumi.set(__self__, "tls_insecure_skip_verify", tls_insecure_skip_verify) + if url is not None: + pulumi.set(__self__, "url", url) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_password") + + @basic_auth_password.setter + def basic_auth_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_password", value) + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "basic_auth_username") + + @basic_auth_username.setter + def basic_auth_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "basic_auth_username", value) + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bearer_token") + + @bearer_token.setter + def bearer_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bearer_token", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "proxy_url") + + @proxy_url.setter + def proxy_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proxy_url", value) + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "send_resolved", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @tls_insecure_skip_verify.setter + def tls_insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "tls_insecure_skip_verify", value) + + @property + @pulumi.getter + def url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "url") + + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) + + +class WebhookAlertNotifier(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a WebhookAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WebhookAlertNotifierArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a WebhookAlertNotifier resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param WebhookAlertNotifierArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(WebhookAlertNotifierArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WebhookAlertNotifierArgs.__new__(WebhookAlertNotifierArgs) + + __props__.__dict__["basic_auth_password"] = None if basic_auth_password is None else pulumi.Output.secret(basic_auth_password) + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + if name is None and not opts.urn: + raise TypeError("Missing required property 'name'") + __props__.__dict__["name"] = name + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + if url is None and not opts.urn: + raise TypeError("Missing required property 'url'") + __props__.__dict__["url"] = url + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["basicAuthPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(WebhookAlertNotifier, __self__).__init__( + 'chronosphere:index/webhookAlertNotifier:WebhookAlertNotifier', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + basic_auth_password: Optional[pulumi.Input[str]] = None, + basic_auth_username: Optional[pulumi.Input[str]] = None, + bearer_token: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + proxy_url: Optional[pulumi.Input[str]] = None, + send_resolved: Optional[pulumi.Input[bool]] = None, + slug: Optional[pulumi.Input[str]] = None, + tls_insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None) -> 'WebhookAlertNotifier': + """ + Get an existing WebhookAlertNotifier resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _WebhookAlertNotifierState.__new__(_WebhookAlertNotifierState) + + __props__.__dict__["basic_auth_password"] = basic_auth_password + __props__.__dict__["basic_auth_username"] = basic_auth_username + __props__.__dict__["bearer_token"] = bearer_token + __props__.__dict__["name"] = name + __props__.__dict__["proxy_url"] = proxy_url + __props__.__dict__["send_resolved"] = send_resolved + __props__.__dict__["slug"] = slug + __props__.__dict__["tls_insecure_skip_verify"] = tls_insecure_skip_verify + __props__.__dict__["url"] = url + return WebhookAlertNotifier(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="basicAuthPassword") + def basic_auth_password(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_password") + + @property + @pulumi.getter(name="basicAuthUsername") + def basic_auth_username(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "basic_auth_username") + + @property + @pulumi.getter(name="bearerToken") + def bearer_token(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "bearer_token") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="proxyUrl") + def proxy_url(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "proxy_url") + + @property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "send_resolved") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[str]: + return pulumi.get(self, "slug") + + @property + @pulumi.getter(name="tlsInsecureSkipVerify") + def tls_insecure_skip_verify(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "tls_insecure_skip_verify") + + @property + @pulumi.getter + def url(self) -> pulumi.Output[str]: + return pulumi.get(self, "url") + diff --git a/sdk/python/go.mod b/sdk/python/go.mod new file mode 100644 index 00000000..04a6373d --- /dev/null +++ b/sdk/python/go.mod @@ -0,0 +1,3 @@ +module fake_python_module // Exclude this directory from Go tools + +go 1.21 diff --git a/sdk/python/setup.py b/sdk/python/setup.py new file mode 100644 index 00000000..76357278 --- /dev/null +++ b/sdk/python/setup.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import errno +from setuptools import setup, find_packages +from setuptools.command.install import install +from subprocess import check_call + + +VERSION = "0.0.0" +def readme(): + try: + with open('README.md', encoding='utf-8') as f: + return f.read() + except FileNotFoundError: + return "chronosphere Pulumi Package - Development Version" + + +setup(name='chronosphereio_chronosphere', + python_requires='>=3.7', + version=VERSION, + description="Chronosphere Pulumi Provider", + long_description=readme(), + long_description_content_type='text/markdown', + keywords='chronosphere observability prometheus', + url='https://chronosphere.io', + project_urls={ + 'Repository': 'https://github.com/chronosphereio/pulumi-chronosphere' + }, + license='Apache-2.0', + packages=find_packages(), + package_data={ + 'chronosphereio_chronosphere': [ + 'py.typed', + 'pulumi-plugin.json', + ] + }, + install_requires=[ + 'parver>=0.2.1', + 'pulumi>=3.0.0,<4.0.0', + 'semver>=2.8.1' + ], + zip_safe=False)