From 63a5fb3c24dbd5a4520576208ac6fb3753630ec6 Mon Sep 17 00:00:00 2001 From: "bot@pulumi.com" Date: Sun, 10 Nov 2024 03:12:38 +0000 Subject: [PATCH] make build_sdks --- sdk/dotnet/Cloudflare/IntegrationAccount.cs | 30 + ...IntegrationStsMetricNamespaceConfigArgs.cs | 26 + ...egrationStsMetricNamespaceConfigGetArgs.cs | 26 + sdk/dotnet/Gcp/Integration.cs | 48 + sdk/dotnet/Gcp/IntegrationSts.cs | 78 + .../IntegrationStsMetricNamespaceConfig.cs | 29 + ...shboardWidgetDistributionDefinitionArgs.cs | 12 + ...oardWidgetDistributionDefinitionGetArgs.cs | 12 + ...rdWidgetDistributionDefinitionXaxisArgs.cs | 44 + ...idgetDistributionDefinitionXaxisGetArgs.cs | 44 + ...rdWidgetDistributionDefinitionYaxisArgs.cs | 50 + ...idgetDistributionDefinitionYaxisGetArgs.cs | 50 + ...getListStreamDefinitionRequestQueryArgs.cs | 2 +- ...ListStreamDefinitionRequestQueryGetArgs.cs | 2 +- ...werpackWidgetDistributionDefinitionArgs.cs | 12 + ...packWidgetDistributionDefinitionGetArgs.cs | 12 + ...ckWidgetDistributionDefinitionXaxisArgs.cs | 44 + ...idgetDistributionDefinitionXaxisGetArgs.cs | 44 + ...ckWidgetDistributionDefinitionYaxisArgs.cs | 50 + ...idgetDistributionDefinitionYaxisGetArgs.cs | 50 + ...getListStreamDefinitionRequestQueryArgs.cs | 2 +- ...ListStreamDefinitionRequestQueryGetArgs.cs | 2 +- .../Inputs/RestrictionPolicyBindingArgs.cs | 2 +- .../Inputs/RestrictionPolicyBindingGetArgs.cs | 2 +- ...ecurityMonitoringRuleReferenceTableArgs.cs | 50 + ...rityMonitoringRuleReferenceTableGetArgs.cs | 50 + .../DashboardWidgetDistributionDefinition.cs | 16 +- ...hboardWidgetDistributionDefinitionXaxis.cs | 49 + ...hboardWidgetDistributionDefinitionYaxis.cs | 56 + ...dWidgetListStreamDefinitionRequestQuery.cs | 2 +- ...MonitoringRulesRuleReferenceTableResult.cs | 56 + .../GetSecurityMonitoringRulesRuleResult.cs | 7 + .../PowerpackWidgetDistributionDefinition.cs | 16 +- ...erpackWidgetDistributionDefinitionXaxis.cs | 49 + ...erpackWidgetDistributionDefinitionYaxis.cs | 56 + ...kWidgetListStreamDefinitionRequestQuery.cs | 2 +- .../Outputs/RestrictionPolicyBinding.cs | 2 +- .../SecurityMonitoringRuleReferenceTable.cs | 56 + sdk/dotnet/SecurityMonitoringRule.cs | 30 + sdk/dotnet/SyntheticsTest.cs | 6 +- .../datadog/cloudflare/integrationAccount.go | 15 + sdk/go/datadog/gcp/integration.go | 30 + sdk/go/datadog/gcp/integrationSts.go | 47 + sdk/go/datadog/gcp/pulumiTypes.go | 121 ++ sdk/go/datadog/pulumiTypes.go | 907 ++++++------ sdk/go/datadog/pulumiTypes1.go | 1263 +++++++++++------ sdk/go/datadog/pulumiTypes2.go | 725 ++++++++++ sdk/go/datadog/securityMonitoringRule.go | 17 + sdk/go/datadog/syntheticsTest.go | 12 +- sdk/java/build.gradle | 2 +- .../datadog/SecurityMonitoringRule.java | 15 + .../datadog/SecurityMonitoringRuleArgs.java | 48 + .../com/pulumi/datadog/SyntheticsTest.java | 4 +- .../pulumi/datadog/SyntheticsTestArgs.java | 8 +- .../cloudflare/IntegrationAccount.java | 14 + .../cloudflare/IntegrationAccountArgs.java | 48 + .../inputs/IntegrationAccountState.java | 48 + .../com/pulumi/datadog/gcp/Integration.java | 29 + .../pulumi/datadog/gcp/IntegrationArgs.java | 85 ++ .../pulumi/datadog/gcp/IntegrationSts.java | 43 + .../datadog/gcp/IntegrationStsArgs.java | 132 ++ .../datadog/gcp/inputs/IntegrationState.java | 85 ++ ...tegrationStsMetricNamespaceConfigArgs.java | 86 ++ .../gcp/inputs/IntegrationStsState.java | 132 ++ .../IntegrationStsMetricNamespaceConfig.java | 66 + ...boardWidgetDistributionDefinitionArgs.java | 76 + ...WidgetDistributionDefinitionXaxisArgs.java | 195 +++ ...WidgetDistributionDefinitionYaxisArgs.java | 232 +++ ...tListStreamDefinitionRequestQueryArgs.java | 8 +- ...rpackWidgetDistributionDefinitionArgs.java | 76 + ...WidgetDistributionDefinitionXaxisArgs.java | 195 +++ ...WidgetDistributionDefinitionYaxisArgs.java | 232 +++ ...tListStreamDefinitionRequestQueryArgs.java | 8 +- .../inputs/RestrictionPolicyBindingArgs.java | 10 +- ...urityMonitoringRuleReferenceTableArgs.java | 246 ++++ .../inputs/SecurityMonitoringRuleState.java | 48 + .../datadog/inputs/SyntheticsTestState.java | 8 +- ...DashboardWidgetDistributionDefinition.java | 44 + ...oardWidgetDistributionDefinitionXaxis.java | 121 ++ ...oardWidgetDistributionDefinitionYaxis.java | 142 ++ ...idgetListStreamDefinitionRequestQuery.java | 4 +- .../GetSecurityMonitoringRulesRule.java | 25 + ...rityMonitoringRulesRuleReferenceTable.java | 151 ++ ...PowerpackWidgetDistributionDefinition.java | 44 + ...packWidgetDistributionDefinitionXaxis.java | 121 ++ ...packWidgetDistributionDefinitionYaxis.java | 142 ++ ...idgetListStreamDefinitionRequestQuery.java | 4 +- .../outputs/RestrictionPolicyBinding.java | 4 +- .../SecurityMonitoringRuleReferenceTable.java | 151 ++ sdk/nodejs/cloudflare/integrationAccount.ts | 14 + sdk/nodejs/gcp/integration.ts | 28 + sdk/nodejs/gcp/integrationSts.ts | 44 + sdk/nodejs/securityMonitoringRule.ts | 14 + sdk/nodejs/syntheticsTest.ts | 6 +- sdk/nodejs/types/input.ts | 136 +- sdk/nodejs/types/output.ts | 164 ++- sdk/python/pulumi_datadog/_inputs.py | 627 +++++++- .../cloudflare/integration_account.py | 53 +- sdk/python/pulumi_datadog/gcp/__init__.py | 2 + sdk/python/pulumi_datadog/gcp/_inputs.py | 57 + sdk/python/pulumi_datadog/gcp/integration.py | 94 ++ .../pulumi_datadog/gcp/integration_sts.py | 143 ++ sdk/python/pulumi_datadog/gcp/outputs.py | 39 + sdk/python/pulumi_datadog/outputs.py | 543 ++++++- .../security_monitoring_rule.py | 47 + sdk/python/pulumi_datadog/synthetics_test.py | 14 +- 106 files changed, 8534 insertions(+), 936 deletions(-) create mode 100644 sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigArgs.cs create mode 100644 sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigGetArgs.cs create mode 100644 sdk/dotnet/Gcp/Outputs/IntegrationStsMetricNamespaceConfig.cs create mode 100644 sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisArgs.cs create mode 100644 sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisGetArgs.cs create mode 100644 sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisArgs.cs create mode 100644 sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisGetArgs.cs create mode 100644 sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.cs create mode 100644 sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisGetArgs.cs create mode 100644 sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.cs create mode 100644 sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisGetArgs.cs create mode 100644 sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableArgs.cs create mode 100644 sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableGetArgs.cs create mode 100644 sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionXaxis.cs create mode 100644 sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionYaxis.cs create mode 100644 sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleReferenceTableResult.cs create mode 100644 sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionXaxis.cs create mode 100644 sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionYaxis.cs create mode 100644 sdk/dotnet/Outputs/SecurityMonitoringRuleReferenceTable.cs create mode 100644 sdk/go/datadog/gcp/pulumiTypes.go create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsMetricNamespaceConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/gcp/outputs/IntegrationStsMetricNamespaceConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionXaxisArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionYaxisArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleReferenceTableArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionXaxis.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionYaxis.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRuleReferenceTable.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionXaxis.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionYaxis.java create mode 100644 sdk/java/src/main/java/com/pulumi/datadog/outputs/SecurityMonitoringRuleReferenceTable.java create mode 100644 sdk/python/pulumi_datadog/gcp/_inputs.py create mode 100644 sdk/python/pulumi_datadog/gcp/outputs.py diff --git a/sdk/dotnet/Cloudflare/IntegrationAccount.cs b/sdk/dotnet/Cloudflare/IntegrationAccount.cs index 21c9896e7..04e2eee94 100644 --- a/sdk/dotnet/Cloudflare/IntegrationAccount.cs +++ b/sdk/dotnet/Cloudflare/IntegrationAccount.cs @@ -60,6 +60,12 @@ public partial class IntegrationAccount : global::Pulumi.CustomResource [Output("name")] public Output Name { get; private set; } = null!; + /// + /// An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + /// + [Output("resources")] + public Output> Resources { get; private set; } = null!; + /// /// Create a IntegrationAccount resource with the given unique name, arguments, and options. @@ -138,6 +144,18 @@ public Input? ApiKey [Input("name", required: true)] public Input Name { get; set; } = null!; + [Input("resources")] + private InputList? _resources; + + /// + /// An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + /// + public InputList Resources + { + get => _resources ?? (_resources = new InputList()); + set => _resources = value; + } + public IntegrationAccountArgs() { } @@ -174,6 +192,18 @@ public Input? ApiKey [Input("name")] public Input? Name { get; set; } + [Input("resources")] + private InputList? _resources; + + /// + /// An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + /// + public InputList Resources + { + get => _resources ?? (_resources = new InputList()); + set => _resources = value; + } + public IntegrationAccountState() { } diff --git a/sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigArgs.cs b/sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigArgs.cs new file mode 100644 index 000000000..bef5c5fe6 --- /dev/null +++ b/sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigArgs.cs @@ -0,0 +1,26 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Gcp.Inputs +{ + + public sealed class IntegrationStsMetricNamespaceConfigArgs : global::Pulumi.ResourceArgs + { + [Input("disabled", required: true)] + public Input Disabled { get; set; } = null!; + + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public IntegrationStsMetricNamespaceConfigArgs() + { + } + public static new IntegrationStsMetricNamespaceConfigArgs Empty => new IntegrationStsMetricNamespaceConfigArgs(); + } +} diff --git a/sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigGetArgs.cs b/sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigGetArgs.cs new file mode 100644 index 000000000..90abda72a --- /dev/null +++ b/sdk/dotnet/Gcp/Inputs/IntegrationStsMetricNamespaceConfigGetArgs.cs @@ -0,0 +1,26 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Gcp.Inputs +{ + + public sealed class IntegrationStsMetricNamespaceConfigGetArgs : global::Pulumi.ResourceArgs + { + [Input("disabled", required: true)] + public Input Disabled { get; set; } = null!; + + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public IntegrationStsMetricNamespaceConfigGetArgs() + { + } + public static new IntegrationStsMetricNamespaceConfigGetArgs Empty => new IntegrationStsMetricNamespaceConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Gcp/Integration.cs b/sdk/dotnet/Gcp/Integration.cs index 988b2b2c1..3920acc26 100644 --- a/sdk/dotnet/Gcp/Integration.cs +++ b/sdk/dotnet/Gcp/Integration.cs @@ -41,6 +41,12 @@ public partial class Integration : global::Pulumi.CustomResource [Output("clientId")] public Output ClientId { get; private set; } = null!; + /// + /// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + /// + [Output("cloudRunRevisionFilters")] + public Output> CloudRunRevisionFilters { get; private set; } = null!; + /// /// Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. /// @@ -53,6 +59,12 @@ public partial class Integration : global::Pulumi.CustomResource [Output("hostFilters")] public Output HostFilters { get; private set; } = null!; + /// + /// When enabled, Datadog scans for all resource change data in your Google Cloud environment. + /// + [Output("isResourceChangeCollectionEnabled")] + public Output IsResourceChangeCollectionEnabled { get; private set; } = null!; + /// /// When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. /// @@ -151,6 +163,18 @@ public sealed class IntegrationArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("cloudRunRevisionFilters")] + private InputList? _cloudRunRevisionFilters; + + /// + /// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + /// + public InputList CloudRunRevisionFilters + { + get => _cloudRunRevisionFilters ?? (_cloudRunRevisionFilters = new InputList()); + set => _cloudRunRevisionFilters = value; + } + /// /// Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. /// @@ -163,6 +187,12 @@ public sealed class IntegrationArgs : global::Pulumi.ResourceArgs [Input("hostFilters")] public Input? HostFilters { get; set; } + /// + /// When enabled, Datadog scans for all resource change data in your Google Cloud environment. + /// + [Input("isResourceChangeCollectionEnabled")] + public Input? IsResourceChangeCollectionEnabled { get; set; } + /// /// When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. /// @@ -229,6 +259,18 @@ public sealed class IntegrationState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("cloudRunRevisionFilters")] + private InputList? _cloudRunRevisionFilters; + + /// + /// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + /// + public InputList CloudRunRevisionFilters + { + get => _cloudRunRevisionFilters ?? (_cloudRunRevisionFilters = new InputList()); + set => _cloudRunRevisionFilters = value; + } + /// /// Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. /// @@ -241,6 +283,12 @@ public sealed class IntegrationState : global::Pulumi.ResourceArgs [Input("hostFilters")] public Input? HostFilters { get; set; } + /// + /// When enabled, Datadog scans for all resource change data in your Google Cloud environment. + /// + [Input("isResourceChangeCollectionEnabled")] + public Input? IsResourceChangeCollectionEnabled { get; set; } + /// /// When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. /// diff --git a/sdk/dotnet/Gcp/IntegrationSts.cs b/sdk/dotnet/Gcp/IntegrationSts.cs index 845a82fe9..9aca222ef 100644 --- a/sdk/dotnet/Gcp/IntegrationSts.cs +++ b/sdk/dotnet/Gcp/IntegrationSts.cs @@ -39,6 +39,12 @@ public partial class IntegrationSts : global::Pulumi.CustomResource [Output("clientEmail")] public Output ClientEmail { get; private set; } = null!; + /// + /// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + /// + [Output("cloudRunRevisionFilters")] + public Output> CloudRunRevisionFilters { get; private set; } = null!; + /// /// Datadog's STS Delegate Email. /// @@ -57,12 +63,24 @@ public partial class IntegrationSts : global::Pulumi.CustomResource [Output("isCspmEnabled")] public Output IsCspmEnabled { get; private set; } = null!; + /// + /// When enabled, Datadog scans for all resource change data in your Google Cloud environment. + /// + [Output("isResourceChangeCollectionEnabled")] + public Output IsResourceChangeCollectionEnabled { get; private set; } = null!; + /// /// When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. /// [Output("isSecurityCommandCenterEnabled")] public Output IsSecurityCommandCenterEnabled { get; private set; } = null!; + /// + /// Configuration for a GCP metric namespace. + /// + [Output("metricNamespaceConfigs")] + public Output> MetricNamespaceConfigs { get; private set; } = null!; + /// /// When enabled, Datadog scans for all resources in your GCP environment. /// @@ -139,6 +157,18 @@ public InputList AccountTags [Input("clientEmail", required: true)] public Input ClientEmail { get; set; } = null!; + [Input("cloudRunRevisionFilters")] + private InputList? _cloudRunRevisionFilters; + + /// + /// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + /// + public InputList CloudRunRevisionFilters + { + get => _cloudRunRevisionFilters ?? (_cloudRunRevisionFilters = new InputList()); + set => _cloudRunRevisionFilters = value; + } + [Input("hostFilters")] private InputList? _hostFilters; @@ -157,12 +187,30 @@ public InputList HostFilters [Input("isCspmEnabled")] public Input? IsCspmEnabled { get; set; } + /// + /// When enabled, Datadog scans for all resource change data in your Google Cloud environment. + /// + [Input("isResourceChangeCollectionEnabled")] + public Input? IsResourceChangeCollectionEnabled { get; set; } + /// /// When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. /// [Input("isSecurityCommandCenterEnabled")] public Input? IsSecurityCommandCenterEnabled { get; set; } + [Input("metricNamespaceConfigs")] + private InputList? _metricNamespaceConfigs; + + /// + /// Configuration for a GCP metric namespace. + /// + public InputList MetricNamespaceConfigs + { + get => _metricNamespaceConfigs ?? (_metricNamespaceConfigs = new InputList()); + set => _metricNamespaceConfigs = value; + } + /// /// When enabled, Datadog scans for all resources in your GCP environment. /// @@ -201,6 +249,18 @@ public InputList AccountTags [Input("clientEmail")] public Input? ClientEmail { get; set; } + [Input("cloudRunRevisionFilters")] + private InputList? _cloudRunRevisionFilters; + + /// + /// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + /// + public InputList CloudRunRevisionFilters + { + get => _cloudRunRevisionFilters ?? (_cloudRunRevisionFilters = new InputList()); + set => _cloudRunRevisionFilters = value; + } + /// /// Datadog's STS Delegate Email. /// @@ -225,12 +285,30 @@ public InputList HostFilters [Input("isCspmEnabled")] public Input? IsCspmEnabled { get; set; } + /// + /// When enabled, Datadog scans for all resource change data in your Google Cloud environment. + /// + [Input("isResourceChangeCollectionEnabled")] + public Input? IsResourceChangeCollectionEnabled { get; set; } + /// /// When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. /// [Input("isSecurityCommandCenterEnabled")] public Input? IsSecurityCommandCenterEnabled { get; set; } + [Input("metricNamespaceConfigs")] + private InputList? _metricNamespaceConfigs; + + /// + /// Configuration for a GCP metric namespace. + /// + public InputList MetricNamespaceConfigs + { + get => _metricNamespaceConfigs ?? (_metricNamespaceConfigs = new InputList()); + set => _metricNamespaceConfigs = value; + } + /// /// When enabled, Datadog scans for all resources in your GCP environment. /// diff --git a/sdk/dotnet/Gcp/Outputs/IntegrationStsMetricNamespaceConfig.cs b/sdk/dotnet/Gcp/Outputs/IntegrationStsMetricNamespaceConfig.cs new file mode 100644 index 000000000..71add0517 --- /dev/null +++ b/sdk/dotnet/Gcp/Outputs/IntegrationStsMetricNamespaceConfig.cs @@ -0,0 +1,29 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Gcp.Outputs +{ + + [OutputType] + public sealed class IntegrationStsMetricNamespaceConfig + { + public readonly bool Disabled; + public readonly string Id; + + [OutputConstructor] + private IntegrationStsMetricNamespaceConfig( + bool disabled, + + string id) + { + Disabled = disabled; + Id = id; + } + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionArgs.cs index 2b7409f10..02607b3b7 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionArgs.cs @@ -60,6 +60,18 @@ public InputList Reques [Input("titleSize")] public Input? TitleSize { get; set; } + /// + /// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("xaxis")] + public Input? Xaxis { get; set; } + + /// + /// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("yaxis")] + public Input? Yaxis { get; set; } + public DashboardWidgetDistributionDefinitionArgs() { } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionGetArgs.cs index 0a4d24358..f6000964f 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionGetArgs.cs @@ -60,6 +60,18 @@ public InputList Req [Input("titleSize")] public Input? TitleSize { get; set; } + /// + /// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("xaxis")] + public Input? Xaxis { get; set; } + + /// + /// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("yaxis")] + public Input? Yaxis { get; set; } + public DashboardWidgetDistributionDefinitionGetArgs() { } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisArgs.cs new file mode 100644 index 000000000..9bedf1454 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisArgs.cs @@ -0,0 +1,44 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetDistributionDefinitionXaxisArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public DashboardWidgetDistributionDefinitionXaxisArgs() + { + } + public static new DashboardWidgetDistributionDefinitionXaxisArgs Empty => new DashboardWidgetDistributionDefinitionXaxisArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisGetArgs.cs new file mode 100644 index 000000000..937fcac1f --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionXaxisGetArgs.cs @@ -0,0 +1,44 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetDistributionDefinitionXaxisGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public DashboardWidgetDistributionDefinitionXaxisGetArgs() + { + } + public static new DashboardWidgetDistributionDefinitionXaxisGetArgs Empty => new DashboardWidgetDistributionDefinitionXaxisGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisArgs.cs new file mode 100644 index 000000000..e36e3a71d --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisArgs.cs @@ -0,0 +1,50 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetDistributionDefinitionYaxisArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// The label of the axis to display on the graph. + /// + [Input("label")] + public Input? Label { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public DashboardWidgetDistributionDefinitionYaxisArgs() + { + } + public static new DashboardWidgetDistributionDefinitionYaxisArgs Empty => new DashboardWidgetDistributionDefinitionYaxisArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisGetArgs.cs new file mode 100644 index 000000000..db342fce3 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionYaxisGetArgs.cs @@ -0,0 +1,50 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetDistributionDefinitionYaxisGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// The label of the axis to display on the graph. + /// + [Input("label")] + public Input? Label { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public DashboardWidgetDistributionDefinitionYaxisGetArgs() + { + } + public static new DashboardWidgetDistributionDefinitionYaxisGetArgs Empty => new DashboardWidgetDistributionDefinitionYaxisGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.cs index 4139cc1ed..e45219480 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Datadog.Inputs public sealed class DashboardWidgetListStreamDefinitionRequestQueryArgs : global::Pulumi.ResourceArgs { /// - /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. /// [Input("dataSource", required: true)] public Input DataSource { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryGetArgs.cs index 8a574f840..3be786036 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetListStreamDefinitionRequestQueryGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Datadog.Inputs public sealed class DashboardWidgetListStreamDefinitionRequestQueryGetArgs : global::Pulumi.ResourceArgs { /// - /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. /// [Input("dataSource", required: true)] public Input DataSource { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionArgs.cs index 2ea7cba49..4ab4207df 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionArgs.cs @@ -60,6 +60,18 @@ public InputList Reques [Input("titleSize")] public Input? TitleSize { get; set; } + /// + /// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("xaxis")] + public Input? Xaxis { get; set; } + + /// + /// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("yaxis")] + public Input? Yaxis { get; set; } + public PowerpackWidgetDistributionDefinitionArgs() { } diff --git a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionGetArgs.cs index 02b77bd08..f62c5085c 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionGetArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionGetArgs.cs @@ -60,6 +60,18 @@ public InputList Req [Input("titleSize")] public Input? TitleSize { get; set; } + /// + /// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("xaxis")] + public Input? Xaxis { get; set; } + + /// + /// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + [Input("yaxis")] + public Input? Yaxis { get; set; } + public PowerpackWidgetDistributionDefinitionGetArgs() { } diff --git a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.cs new file mode 100644 index 000000000..4f9ce2dcb --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.cs @@ -0,0 +1,44 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetDistributionDefinitionXaxisArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public PowerpackWidgetDistributionDefinitionXaxisArgs() + { + } + public static new PowerpackWidgetDistributionDefinitionXaxisArgs Empty => new PowerpackWidgetDistributionDefinitionXaxisArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisGetArgs.cs new file mode 100644 index 000000000..911c900d7 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionXaxisGetArgs.cs @@ -0,0 +1,44 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetDistributionDefinitionXaxisGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public PowerpackWidgetDistributionDefinitionXaxisGetArgs() + { + } + public static new PowerpackWidgetDistributionDefinitionXaxisGetArgs Empty => new PowerpackWidgetDistributionDefinitionXaxisGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.cs new file mode 100644 index 000000000..124bb54fe --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.cs @@ -0,0 +1,50 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetDistributionDefinitionYaxisArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// The label of the axis to display on the graph. + /// + [Input("label")] + public Input? Label { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public PowerpackWidgetDistributionDefinitionYaxisArgs() + { + } + public static new PowerpackWidgetDistributionDefinitionYaxisArgs Empty => new PowerpackWidgetDistributionDefinitionYaxisArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisGetArgs.cs new file mode 100644 index 000000000..45b9f5089 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetDistributionDefinitionYaxisGetArgs.cs @@ -0,0 +1,50 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetDistributionDefinitionYaxisGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Always include zero or fit the axis to the data range. + /// + [Input("includeZero")] + public Input? IncludeZero { get; set; } + + /// + /// The label of the axis to display on the graph. + /// + [Input("label")] + public Input? Label { get; set; } + + /// + /// Specify the maximum value to show on the Y-axis. + /// + [Input("max")] + public Input? Max { get; set; } + + /// + /// Specify the minimum value to show on the Y-axis. + /// + [Input("min")] + public Input? Min { get; set; } + + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + [Input("scale")] + public Input? Scale { get; set; } + + public PowerpackWidgetDistributionDefinitionYaxisGetArgs() + { + } + public static new PowerpackWidgetDistributionDefinitionYaxisGetArgs Empty => new PowerpackWidgetDistributionDefinitionYaxisGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.cs index a121604dc..7dbe5c215 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Datadog.Inputs public sealed class PowerpackWidgetListStreamDefinitionRequestQueryArgs : global::Pulumi.ResourceArgs { /// - /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. /// [Input("dataSource", required: true)] public Input DataSource { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryGetArgs.cs index 883040b93..2b115237b 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetListStreamDefinitionRequestQueryGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Datadog.Inputs public sealed class PowerpackWidgetListStreamDefinitionRequestQueryGetArgs : global::Pulumi.ResourceArgs { /// - /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. /// [Input("dataSource", required: true)] public Input DataSource { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/RestrictionPolicyBindingArgs.cs b/sdk/dotnet/Inputs/RestrictionPolicyBindingArgs.cs index b8baca2b5..b5ad7a4c6 100644 --- a/sdk/dotnet/Inputs/RestrictionPolicyBindingArgs.cs +++ b/sdk/dotnet/Inputs/RestrictionPolicyBindingArgs.cs @@ -16,7 +16,7 @@ public sealed class RestrictionPolicyBindingArgs : global::Pulumi.ResourceArgs private InputList? _principals; /// - /// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + /// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. /// public InputList Principals { diff --git a/sdk/dotnet/Inputs/RestrictionPolicyBindingGetArgs.cs b/sdk/dotnet/Inputs/RestrictionPolicyBindingGetArgs.cs index 99cb4a5f1..e82304fd5 100644 --- a/sdk/dotnet/Inputs/RestrictionPolicyBindingGetArgs.cs +++ b/sdk/dotnet/Inputs/RestrictionPolicyBindingGetArgs.cs @@ -16,7 +16,7 @@ public sealed class RestrictionPolicyBindingGetArgs : global::Pulumi.ResourceArg private InputList? _principals; /// - /// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + /// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. /// public InputList Principals { diff --git a/sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableArgs.cs b/sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableArgs.cs new file mode 100644 index 000000000..21ac0ddad --- /dev/null +++ b/sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableArgs.cs @@ -0,0 +1,50 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class SecurityMonitoringRuleReferenceTableArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to include or exclude logs that match the reference table. + /// + [Input("checkPresence", required: true)] + public Input CheckPresence { get; set; } = null!; + + /// + /// The name of the column in the reference table. + /// + [Input("columnName", required: true)] + public Input ColumnName { get; set; } = null!; + + /// + /// The field in the log that should be matched against the reference table. + /// + [Input("logFieldPath", required: true)] + public Input LogFieldPath { get; set; } = null!; + + /// + /// The name of the query to filter. + /// + [Input("ruleQueryName", required: true)] + public Input RuleQueryName { get; set; } = null!; + + /// + /// The name of the reference table. + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + public SecurityMonitoringRuleReferenceTableArgs() + { + } + public static new SecurityMonitoringRuleReferenceTableArgs Empty => new SecurityMonitoringRuleReferenceTableArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableGetArgs.cs b/sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableGetArgs.cs new file mode 100644 index 000000000..c638f5543 --- /dev/null +++ b/sdk/dotnet/Inputs/SecurityMonitoringRuleReferenceTableGetArgs.cs @@ -0,0 +1,50 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class SecurityMonitoringRuleReferenceTableGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to include or exclude logs that match the reference table. + /// + [Input("checkPresence", required: true)] + public Input CheckPresence { get; set; } = null!; + + /// + /// The name of the column in the reference table. + /// + [Input("columnName", required: true)] + public Input ColumnName { get; set; } = null!; + + /// + /// The field in the log that should be matched against the reference table. + /// + [Input("logFieldPath", required: true)] + public Input LogFieldPath { get; set; } = null!; + + /// + /// The name of the query to filter. + /// + [Input("ruleQueryName", required: true)] + public Input RuleQueryName { get; set; } = null!; + + /// + /// The name of the reference table. + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + public SecurityMonitoringRuleReferenceTableGetArgs() + { + } + public static new SecurityMonitoringRuleReferenceTableGetArgs Empty => new SecurityMonitoringRuleReferenceTableGetArgs(); + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinition.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinition.cs index 9c8b6aaca..398e79713 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinition.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinition.cs @@ -41,6 +41,14 @@ public sealed class DashboardWidgetDistributionDefinition /// The size of the widget's title (defaults to 16). /// public readonly string? TitleSize; + /// + /// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + public readonly Outputs.DashboardWidgetDistributionDefinitionXaxis? Xaxis; + /// + /// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + public readonly Outputs.DashboardWidgetDistributionDefinitionYaxis? Yaxis; [OutputConstructor] private DashboardWidgetDistributionDefinition( @@ -56,7 +64,11 @@ private DashboardWidgetDistributionDefinition( string? titleAlign, - string? titleSize) + string? titleSize, + + Outputs.DashboardWidgetDistributionDefinitionXaxis? xaxis, + + Outputs.DashboardWidgetDistributionDefinitionYaxis? yaxis) { LegendSize = legendSize; LiveSpan = liveSpan; @@ -65,6 +77,8 @@ private DashboardWidgetDistributionDefinition( Title = title; TitleAlign = titleAlign; TitleSize = titleSize; + Xaxis = xaxis; + Yaxis = yaxis; } } } diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionXaxis.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionXaxis.cs new file mode 100644 index 000000000..6ba7bdc19 --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionXaxis.cs @@ -0,0 +1,49 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class DashboardWidgetDistributionDefinitionXaxis + { + /// + /// Always include zero or fit the axis to the data range. + /// + public readonly bool? IncludeZero; + /// + /// Specify the maximum value to show on the Y-axis. + /// + public readonly string? Max; + /// + /// Specify the minimum value to show on the Y-axis. + /// + public readonly string? Min; + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + public readonly string? Scale; + + [OutputConstructor] + private DashboardWidgetDistributionDefinitionXaxis( + bool? includeZero, + + string? max, + + string? min, + + string? scale) + { + IncludeZero = includeZero; + Max = max; + Min = min; + Scale = scale; + } + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionYaxis.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionYaxis.cs new file mode 100644 index 000000000..575ce1280 --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionYaxis.cs @@ -0,0 +1,56 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class DashboardWidgetDistributionDefinitionYaxis + { + /// + /// Always include zero or fit the axis to the data range. + /// + public readonly bool? IncludeZero; + /// + /// The label of the axis to display on the graph. + /// + public readonly string? Label; + /// + /// Specify the maximum value to show on the Y-axis. + /// + public readonly string? Max; + /// + /// Specify the minimum value to show on the Y-axis. + /// + public readonly string? Min; + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + public readonly string? Scale; + + [OutputConstructor] + private DashboardWidgetDistributionDefinitionYaxis( + bool? includeZero, + + string? label, + + string? max, + + string? min, + + string? scale) + { + IncludeZero = includeZero; + Label = label; + Max = max; + Min = min; + Scale = scale; + } + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetListStreamDefinitionRequestQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetListStreamDefinitionRequestQuery.cs index 9a717e519..4b1b1d3ba 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetListStreamDefinitionRequestQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetListStreamDefinitionRequestQuery.cs @@ -14,7 +14,7 @@ namespace Pulumi.Datadog.Outputs public sealed class DashboardWidgetListStreamDefinitionRequestQuery { /// - /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. /// public readonly string DataSource; /// diff --git a/sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleReferenceTableResult.cs b/sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleReferenceTableResult.cs new file mode 100644 index 000000000..170935371 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleReferenceTableResult.cs @@ -0,0 +1,56 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class GetSecurityMonitoringRulesRuleReferenceTableResult + { + /// + /// Whether to include or exclude logs that match the reference table. + /// + public readonly bool CheckPresence; + /// + /// The name of the column in the reference table. + /// + public readonly string ColumnName; + /// + /// The field in the log that should be matched against the reference table. + /// + public readonly string LogFieldPath; + /// + /// The name of the query to filter. + /// + public readonly string RuleQueryName; + /// + /// The name of the reference table. + /// + public readonly string TableName; + + [OutputConstructor] + private GetSecurityMonitoringRulesRuleReferenceTableResult( + bool checkPresence, + + string columnName, + + string logFieldPath, + + string ruleQueryName, + + string tableName) + { + CheckPresence = checkPresence; + ColumnName = columnName; + LogFieldPath = logFieldPath; + RuleQueryName = ruleQueryName; + TableName = tableName; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleResult.cs b/sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleResult.cs index 3deb8eca6..4e368e540 100644 --- a/sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleResult.cs +++ b/sdk/dotnet/Outputs/GetSecurityMonitoringRulesRuleResult.cs @@ -46,6 +46,10 @@ public sealed class GetSecurityMonitoringRulesRuleResult /// public readonly ImmutableArray Queries; /// + /// Reference tables for filtering query results. + /// + public readonly ImmutableArray ReferenceTables; + /// /// Queries for selecting logs which are part of the rule. /// public readonly ImmutableArray SignalQueries; @@ -80,6 +84,8 @@ private GetSecurityMonitoringRulesRuleResult( ImmutableArray queries, + ImmutableArray referenceTables, + ImmutableArray signalQueries, ImmutableArray tags, @@ -96,6 +102,7 @@ private GetSecurityMonitoringRulesRuleResult( Name = name; Options = options; Queries = queries; + ReferenceTables = referenceTables; SignalQueries = signalQueries; Tags = tags; ThirdPartyCases = thirdPartyCases; diff --git a/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinition.cs b/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinition.cs index d85c4c5c6..6687b7fab 100644 --- a/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinition.cs +++ b/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinition.cs @@ -41,6 +41,14 @@ public sealed class PowerpackWidgetDistributionDefinition /// The size of the widget's title (defaults to 16). /// public readonly string? TitleSize; + /// + /// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + public readonly Outputs.PowerpackWidgetDistributionDefinitionXaxis? Xaxis; + /// + /// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + /// + public readonly Outputs.PowerpackWidgetDistributionDefinitionYaxis? Yaxis; [OutputConstructor] private PowerpackWidgetDistributionDefinition( @@ -56,7 +64,11 @@ private PowerpackWidgetDistributionDefinition( string? titleAlign, - string? titleSize) + string? titleSize, + + Outputs.PowerpackWidgetDistributionDefinitionXaxis? xaxis, + + Outputs.PowerpackWidgetDistributionDefinitionYaxis? yaxis) { LegendSize = legendSize; LiveSpan = liveSpan; @@ -65,6 +77,8 @@ private PowerpackWidgetDistributionDefinition( Title = title; TitleAlign = titleAlign; TitleSize = titleSize; + Xaxis = xaxis; + Yaxis = yaxis; } } } diff --git a/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionXaxis.cs b/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionXaxis.cs new file mode 100644 index 000000000..040f58007 --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionXaxis.cs @@ -0,0 +1,49 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class PowerpackWidgetDistributionDefinitionXaxis + { + /// + /// Always include zero or fit the axis to the data range. + /// + public readonly bool? IncludeZero; + /// + /// Specify the maximum value to show on the Y-axis. + /// + public readonly string? Max; + /// + /// Specify the minimum value to show on the Y-axis. + /// + public readonly string? Min; + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + public readonly string? Scale; + + [OutputConstructor] + private PowerpackWidgetDistributionDefinitionXaxis( + bool? includeZero, + + string? max, + + string? min, + + string? scale) + { + IncludeZero = includeZero; + Max = max; + Min = min; + Scale = scale; + } + } +} diff --git a/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionYaxis.cs b/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionYaxis.cs new file mode 100644 index 000000000..5b1b749cb --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetDistributionDefinitionYaxis.cs @@ -0,0 +1,56 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class PowerpackWidgetDistributionDefinitionYaxis + { + /// + /// Always include zero or fit the axis to the data range. + /// + public readonly bool? IncludeZero; + /// + /// The label of the axis to display on the graph. + /// + public readonly string? Label; + /// + /// Specify the maximum value to show on the Y-axis. + /// + public readonly string? Max; + /// + /// Specify the minimum value to show on the Y-axis. + /// + public readonly string? Min; + /// + /// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + /// + public readonly string? Scale; + + [OutputConstructor] + private PowerpackWidgetDistributionDefinitionYaxis( + bool? includeZero, + + string? label, + + string? max, + + string? min, + + string? scale) + { + IncludeZero = includeZero; + Label = label; + Max = max; + Min = min; + Scale = scale; + } + } +} diff --git a/sdk/dotnet/Outputs/PowerpackWidgetListStreamDefinitionRequestQuery.cs b/sdk/dotnet/Outputs/PowerpackWidgetListStreamDefinitionRequestQuery.cs index e6e7398a2..c0c070e9e 100644 --- a/sdk/dotnet/Outputs/PowerpackWidgetListStreamDefinitionRequestQuery.cs +++ b/sdk/dotnet/Outputs/PowerpackWidgetListStreamDefinitionRequestQuery.cs @@ -14,7 +14,7 @@ namespace Pulumi.Datadog.Outputs public sealed class PowerpackWidgetListStreamDefinitionRequestQuery { /// - /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + /// Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. /// public readonly string DataSource; /// diff --git a/sdk/dotnet/Outputs/RestrictionPolicyBinding.cs b/sdk/dotnet/Outputs/RestrictionPolicyBinding.cs index 37cefd74e..c039b0005 100644 --- a/sdk/dotnet/Outputs/RestrictionPolicyBinding.cs +++ b/sdk/dotnet/Outputs/RestrictionPolicyBinding.cs @@ -14,7 +14,7 @@ namespace Pulumi.Datadog.Outputs public sealed class RestrictionPolicyBinding { /// - /// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + /// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. /// public readonly ImmutableArray Principals; /// diff --git a/sdk/dotnet/Outputs/SecurityMonitoringRuleReferenceTable.cs b/sdk/dotnet/Outputs/SecurityMonitoringRuleReferenceTable.cs new file mode 100644 index 000000000..323fc17a7 --- /dev/null +++ b/sdk/dotnet/Outputs/SecurityMonitoringRuleReferenceTable.cs @@ -0,0 +1,56 @@ +// *** 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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class SecurityMonitoringRuleReferenceTable + { + /// + /// Whether to include or exclude logs that match the reference table. + /// + public readonly bool CheckPresence; + /// + /// The name of the column in the reference table. + /// + public readonly string ColumnName; + /// + /// The field in the log that should be matched against the reference table. + /// + public readonly string LogFieldPath; + /// + /// The name of the query to filter. + /// + public readonly string RuleQueryName; + /// + /// The name of the reference table. + /// + public readonly string TableName; + + [OutputConstructor] + private SecurityMonitoringRuleReferenceTable( + bool checkPresence, + + string columnName, + + string logFieldPath, + + string ruleQueryName, + + string tableName) + { + CheckPresence = checkPresence; + ColumnName = columnName; + LogFieldPath = logFieldPath; + RuleQueryName = ruleQueryName; + TableName = tableName; + } + } +} diff --git a/sdk/dotnet/SecurityMonitoringRule.cs b/sdk/dotnet/SecurityMonitoringRule.cs index 50aad4d75..d1c0e6a88 100644 --- a/sdk/dotnet/SecurityMonitoringRule.cs +++ b/sdk/dotnet/SecurityMonitoringRule.cs @@ -136,6 +136,12 @@ public partial class SecurityMonitoringRule : global::Pulumi.CustomResource [Output("queries")] public Output> Queries { get; private set; } = null!; + /// + /// Reference tables for filtering query results. + /// + [Output("referenceTables")] + public Output> ReferenceTables { get; private set; } = null!; + /// /// Queries for selecting logs which are part of the rule. /// @@ -278,6 +284,18 @@ public InputList Queries set => _queries = value; } + [Input("referenceTables")] + private InputList? _referenceTables; + + /// + /// Reference tables for filtering query results. + /// + public InputList ReferenceTables + { + get => _referenceTables ?? (_referenceTables = new InputList()); + set => _referenceTables = value; + } + [Input("signalQueries")] private InputList? _signalQueries; @@ -400,6 +418,18 @@ public InputList Queries set => _queries = value; } + [Input("referenceTables")] + private InputList? _referenceTables; + + /// + /// Reference tables for filtering query results. + /// + public InputList ReferenceTables + { + get => _referenceTables ?? (_referenceTables = new InputList()); + set => _referenceTables = value; + } + [Input("signalQueries")] private InputList? _signalQueries; diff --git a/sdk/dotnet/SyntheticsTest.cs b/sdk/dotnet/SyntheticsTest.cs index 85fd03b15..cf11c86c7 100644 --- a/sdk/dotnet/SyntheticsTest.cs +++ b/sdk/dotnet/SyntheticsTest.cs @@ -777,7 +777,7 @@ public partial class SyntheticsTest : global::Pulumi.CustomResource public Output> Tags { get; private set; } = null!; /// - /// Synthetics test type. Valid values are `api`, `browser`. + /// Synthetics test type. Valid values are `api`, `browser`, `mobile`. /// [Output("type")] public Output Type { get; private set; } = null!; @@ -1042,7 +1042,7 @@ public InputList Tags } /// - /// Synthetics test type. Valid values are `api`, `browser`. + /// Synthetics test type. Valid values are `api`, `browser`, `mobile`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; @@ -1275,7 +1275,7 @@ public InputList Tags } /// - /// Synthetics test type. Valid values are `api`, `browser`. + /// Synthetics test type. Valid values are `api`, `browser`, `mobile`. /// [Input("type")] public Input? Type { get; set; } diff --git a/sdk/go/datadog/cloudflare/integrationAccount.go b/sdk/go/datadog/cloudflare/integrationAccount.go index c067190d3..664270516 100644 --- a/sdk/go/datadog/cloudflare/integrationAccount.go +++ b/sdk/go/datadog/cloudflare/integrationAccount.go @@ -57,6 +57,8 @@ type IntegrationAccount struct { Email pulumi.StringPtrOutput `pulumi:"email"` // The name of the Cloudflare account. Name pulumi.StringOutput `pulumi:"name"` + // An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + Resources pulumi.StringArrayOutput `pulumi:"resources"` } // NewIntegrationAccount registers a new resource with the given unique name, arguments, and options. @@ -108,6 +110,8 @@ type integrationAccountState struct { Email *string `pulumi:"email"` // The name of the Cloudflare account. Name *string `pulumi:"name"` + // An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + Resources []string `pulumi:"resources"` } type IntegrationAccountState struct { @@ -117,6 +121,8 @@ type IntegrationAccountState struct { Email pulumi.StringPtrInput // The name of the Cloudflare account. Name pulumi.StringPtrInput + // An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + Resources pulumi.StringArrayInput } func (IntegrationAccountState) ElementType() reflect.Type { @@ -130,6 +136,8 @@ type integrationAccountArgs struct { Email *string `pulumi:"email"` // The name of the Cloudflare account. Name string `pulumi:"name"` + // An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + Resources []string `pulumi:"resources"` } // The set of arguments for constructing a IntegrationAccount resource. @@ -140,6 +148,8 @@ type IntegrationAccountArgs struct { Email pulumi.StringPtrInput // The name of the Cloudflare account. Name pulumi.StringInput + // An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + Resources pulumi.StringArrayInput } func (IntegrationAccountArgs) ElementType() reflect.Type { @@ -244,6 +254,11 @@ func (o IntegrationAccountOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *IntegrationAccount) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } +// An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) +func (o IntegrationAccountOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IntegrationAccount) pulumi.StringArrayOutput { return v.Resources }).(pulumi.StringArrayOutput) +} + type IntegrationAccountArrayOutput struct{ *pulumi.OutputState } func (IntegrationAccountArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/datadog/gcp/integration.go b/sdk/go/datadog/gcp/integration.go index bda6a0c18..79f040157 100644 --- a/sdk/go/datadog/gcp/integration.go +++ b/sdk/go/datadog/gcp/integration.go @@ -30,10 +30,14 @@ type Integration struct { ClientEmail pulumi.StringOutput `pulumi:"clientEmail"` // Your ID found in your JSON service account key. ClientId pulumi.StringOutput `pulumi:"clientId"` + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters pulumi.StringArrayOutput `pulumi:"cloudRunRevisionFilters"` // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. CspmResourceCollectionEnabled pulumi.BoolOutput `pulumi:"cspmResourceCollectionEnabled"` // Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. HostFilters pulumi.StringOutput `pulumi:"hostFilters"` + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled pulumi.BoolOutput `pulumi:"isResourceChangeCollectionEnabled"` // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled pulumi.BoolOutput `pulumi:"isSecurityCommandCenterEnabled"` // Your private key name found in your JSON service account key. @@ -104,10 +108,14 @@ type integrationState struct { ClientEmail *string `pulumi:"clientEmail"` // Your ID found in your JSON service account key. ClientId *string `pulumi:"clientId"` + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters []string `pulumi:"cloudRunRevisionFilters"` // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. CspmResourceCollectionEnabled *bool `pulumi:"cspmResourceCollectionEnabled"` // Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. HostFilters *string `pulumi:"hostFilters"` + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled *bool `pulumi:"isResourceChangeCollectionEnabled"` // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled *bool `pulumi:"isSecurityCommandCenterEnabled"` // Your private key name found in your JSON service account key. @@ -127,10 +135,14 @@ type IntegrationState struct { ClientEmail pulumi.StringPtrInput // Your ID found in your JSON service account key. ClientId pulumi.StringPtrInput + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters pulumi.StringArrayInput // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. CspmResourceCollectionEnabled pulumi.BoolPtrInput // Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. HostFilters pulumi.StringPtrInput + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled pulumi.BoolPtrInput // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled pulumi.BoolPtrInput // Your private key name found in your JSON service account key. @@ -154,10 +166,14 @@ type integrationArgs struct { ClientEmail string `pulumi:"clientEmail"` // Your ID found in your JSON service account key. ClientId string `pulumi:"clientId"` + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters []string `pulumi:"cloudRunRevisionFilters"` // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. CspmResourceCollectionEnabled *bool `pulumi:"cspmResourceCollectionEnabled"` // Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. HostFilters *string `pulumi:"hostFilters"` + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled *bool `pulumi:"isResourceChangeCollectionEnabled"` // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled *bool `pulumi:"isSecurityCommandCenterEnabled"` // Your private key name found in your JSON service account key. @@ -178,10 +194,14 @@ type IntegrationArgs struct { ClientEmail pulumi.StringInput // Your ID found in your JSON service account key. ClientId pulumi.StringInput + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters pulumi.StringArrayInput // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. CspmResourceCollectionEnabled pulumi.BoolPtrInput // Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. HostFilters pulumi.StringPtrInput + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled pulumi.BoolPtrInput // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled pulumi.BoolPtrInput // Your private key name found in your JSON service account key. @@ -296,6 +316,11 @@ func (o IntegrationOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *Integration) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) } +// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. +func (o IntegrationOutput) CloudRunRevisionFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Integration) pulumi.StringArrayOutput { return v.CloudRunRevisionFilters }).(pulumi.StringArrayOutput) +} + // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. func (o IntegrationOutput) CspmResourceCollectionEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Integration) pulumi.BoolOutput { return v.CspmResourceCollectionEnabled }).(pulumi.BoolOutput) @@ -306,6 +331,11 @@ func (o IntegrationOutput) HostFilters() pulumi.StringOutput { return o.ApplyT(func(v *Integration) pulumi.StringOutput { return v.HostFilters }).(pulumi.StringOutput) } +// When enabled, Datadog scans for all resource change data in your Google Cloud environment. +func (o IntegrationOutput) IsResourceChangeCollectionEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *Integration) pulumi.BoolOutput { return v.IsResourceChangeCollectionEnabled }).(pulumi.BoolOutput) +} + // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. func (o IntegrationOutput) IsSecurityCommandCenterEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Integration) pulumi.BoolOutput { return v.IsSecurityCommandCenterEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/datadog/gcp/integrationSts.go b/sdk/go/datadog/gcp/integrationSts.go index c70a46d46..1d9bcab6f 100644 --- a/sdk/go/datadog/gcp/integrationSts.go +++ b/sdk/go/datadog/gcp/integrationSts.go @@ -28,14 +28,20 @@ type IntegrationSts struct { Automute pulumi.BoolOutput `pulumi:"automute"` // Your service account email address. ClientEmail pulumi.StringOutput `pulumi:"clientEmail"` + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters pulumi.StringArrayOutput `pulumi:"cloudRunRevisionFilters"` // Datadog's STS Delegate Email. DelegateAccountEmail pulumi.StringOutput `pulumi:"delegateAccountEmail"` // Your Host Filters. HostFilters pulumi.StringArrayOutput `pulumi:"hostFilters"` // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. IsCspmEnabled pulumi.BoolOutput `pulumi:"isCspmEnabled"` + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled pulumi.BoolOutput `pulumi:"isResourceChangeCollectionEnabled"` // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled pulumi.BoolOutput `pulumi:"isSecurityCommandCenterEnabled"` + // Configuration for a GCP metric namespace. + MetricNamespaceConfigs IntegrationStsMetricNamespaceConfigArrayOutput `pulumi:"metricNamespaceConfigs"` // When enabled, Datadog scans for all resources in your GCP environment. ResourceCollectionEnabled pulumi.BoolOutput `pulumi:"resourceCollectionEnabled"` } @@ -79,14 +85,20 @@ type integrationStsState struct { Automute *bool `pulumi:"automute"` // Your service account email address. ClientEmail *string `pulumi:"clientEmail"` + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters []string `pulumi:"cloudRunRevisionFilters"` // Datadog's STS Delegate Email. DelegateAccountEmail *string `pulumi:"delegateAccountEmail"` // Your Host Filters. HostFilters []string `pulumi:"hostFilters"` // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. IsCspmEnabled *bool `pulumi:"isCspmEnabled"` + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled *bool `pulumi:"isResourceChangeCollectionEnabled"` // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled *bool `pulumi:"isSecurityCommandCenterEnabled"` + // Configuration for a GCP metric namespace. + MetricNamespaceConfigs []IntegrationStsMetricNamespaceConfig `pulumi:"metricNamespaceConfigs"` // When enabled, Datadog scans for all resources in your GCP environment. ResourceCollectionEnabled *bool `pulumi:"resourceCollectionEnabled"` } @@ -98,14 +110,20 @@ type IntegrationStsState struct { Automute pulumi.BoolPtrInput // Your service account email address. ClientEmail pulumi.StringPtrInput + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters pulumi.StringArrayInput // Datadog's STS Delegate Email. DelegateAccountEmail pulumi.StringPtrInput // Your Host Filters. HostFilters pulumi.StringArrayInput // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. IsCspmEnabled pulumi.BoolPtrInput + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled pulumi.BoolPtrInput // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled pulumi.BoolPtrInput + // Configuration for a GCP metric namespace. + MetricNamespaceConfigs IntegrationStsMetricNamespaceConfigArrayInput // When enabled, Datadog scans for all resources in your GCP environment. ResourceCollectionEnabled pulumi.BoolPtrInput } @@ -121,12 +139,18 @@ type integrationStsArgs struct { Automute *bool `pulumi:"automute"` // Your service account email address. ClientEmail string `pulumi:"clientEmail"` + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters []string `pulumi:"cloudRunRevisionFilters"` // Your Host Filters. HostFilters []string `pulumi:"hostFilters"` // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. IsCspmEnabled *bool `pulumi:"isCspmEnabled"` + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled *bool `pulumi:"isResourceChangeCollectionEnabled"` // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled *bool `pulumi:"isSecurityCommandCenterEnabled"` + // Configuration for a GCP metric namespace. + MetricNamespaceConfigs []IntegrationStsMetricNamespaceConfig `pulumi:"metricNamespaceConfigs"` // When enabled, Datadog scans for all resources in your GCP environment. ResourceCollectionEnabled *bool `pulumi:"resourceCollectionEnabled"` } @@ -139,12 +163,18 @@ type IntegrationStsArgs struct { Automute pulumi.BoolPtrInput // Your service account email address. ClientEmail pulumi.StringInput + // Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + CloudRunRevisionFilters pulumi.StringArrayInput // Your Host Filters. HostFilters pulumi.StringArrayInput // Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. IsCspmEnabled pulumi.BoolPtrInput + // When enabled, Datadog scans for all resource change data in your Google Cloud environment. + IsResourceChangeCollectionEnabled pulumi.BoolPtrInput // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. IsSecurityCommandCenterEnabled pulumi.BoolPtrInput + // Configuration for a GCP metric namespace. + MetricNamespaceConfigs IntegrationStsMetricNamespaceConfigArrayInput // When enabled, Datadog scans for all resources in your GCP environment. ResourceCollectionEnabled pulumi.BoolPtrInput } @@ -251,6 +281,11 @@ func (o IntegrationStsOutput) ClientEmail() pulumi.StringOutput { return o.ApplyT(func(v *IntegrationSts) pulumi.StringOutput { return v.ClientEmail }).(pulumi.StringOutput) } +// Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. +func (o IntegrationStsOutput) CloudRunRevisionFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IntegrationSts) pulumi.StringArrayOutput { return v.CloudRunRevisionFilters }).(pulumi.StringArrayOutput) +} + // Datadog's STS Delegate Email. func (o IntegrationStsOutput) DelegateAccountEmail() pulumi.StringOutput { return o.ApplyT(func(v *IntegrationSts) pulumi.StringOutput { return v.DelegateAccountEmail }).(pulumi.StringOutput) @@ -266,11 +301,23 @@ func (o IntegrationStsOutput) IsCspmEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *IntegrationSts) pulumi.BoolOutput { return v.IsCspmEnabled }).(pulumi.BoolOutput) } +// When enabled, Datadog scans for all resource change data in your Google Cloud environment. +func (o IntegrationStsOutput) IsResourceChangeCollectionEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *IntegrationSts) pulumi.BoolOutput { return v.IsResourceChangeCollectionEnabled }).(pulumi.BoolOutput) +} + // When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. func (o IntegrationStsOutput) IsSecurityCommandCenterEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *IntegrationSts) pulumi.BoolOutput { return v.IsSecurityCommandCenterEnabled }).(pulumi.BoolOutput) } +// Configuration for a GCP metric namespace. +func (o IntegrationStsOutput) MetricNamespaceConfigs() IntegrationStsMetricNamespaceConfigArrayOutput { + return o.ApplyT(func(v *IntegrationSts) IntegrationStsMetricNamespaceConfigArrayOutput { + return v.MetricNamespaceConfigs + }).(IntegrationStsMetricNamespaceConfigArrayOutput) +} + // When enabled, Datadog scans for all resources in your GCP environment. func (o IntegrationStsOutput) ResourceCollectionEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *IntegrationSts) pulumi.BoolOutput { return v.ResourceCollectionEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/datadog/gcp/pulumiTypes.go b/sdk/go/datadog/gcp/pulumiTypes.go new file mode 100644 index 000000000..cec436494 --- /dev/null +++ b/sdk/go/datadog/gcp/pulumiTypes.go @@ -0,0 +1,121 @@ +// 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 gcp + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +var _ = internal.GetEnvOrDefault + +type IntegrationStsMetricNamespaceConfig struct { + Disabled bool `pulumi:"disabled"` + Id string `pulumi:"id"` +} + +// IntegrationStsMetricNamespaceConfigInput is an input type that accepts IntegrationStsMetricNamespaceConfigArgs and IntegrationStsMetricNamespaceConfigOutput values. +// You can construct a concrete instance of `IntegrationStsMetricNamespaceConfigInput` via: +// +// IntegrationStsMetricNamespaceConfigArgs{...} +type IntegrationStsMetricNamespaceConfigInput interface { + pulumi.Input + + ToIntegrationStsMetricNamespaceConfigOutput() IntegrationStsMetricNamespaceConfigOutput + ToIntegrationStsMetricNamespaceConfigOutputWithContext(context.Context) IntegrationStsMetricNamespaceConfigOutput +} + +type IntegrationStsMetricNamespaceConfigArgs struct { + Disabled pulumi.BoolInput `pulumi:"disabled"` + Id pulumi.StringInput `pulumi:"id"` +} + +func (IntegrationStsMetricNamespaceConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IntegrationStsMetricNamespaceConfig)(nil)).Elem() +} + +func (i IntegrationStsMetricNamespaceConfigArgs) ToIntegrationStsMetricNamespaceConfigOutput() IntegrationStsMetricNamespaceConfigOutput { + return i.ToIntegrationStsMetricNamespaceConfigOutputWithContext(context.Background()) +} + +func (i IntegrationStsMetricNamespaceConfigArgs) ToIntegrationStsMetricNamespaceConfigOutputWithContext(ctx context.Context) IntegrationStsMetricNamespaceConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(IntegrationStsMetricNamespaceConfigOutput) +} + +// IntegrationStsMetricNamespaceConfigArrayInput is an input type that accepts IntegrationStsMetricNamespaceConfigArray and IntegrationStsMetricNamespaceConfigArrayOutput values. +// You can construct a concrete instance of `IntegrationStsMetricNamespaceConfigArrayInput` via: +// +// IntegrationStsMetricNamespaceConfigArray{ IntegrationStsMetricNamespaceConfigArgs{...} } +type IntegrationStsMetricNamespaceConfigArrayInput interface { + pulumi.Input + + ToIntegrationStsMetricNamespaceConfigArrayOutput() IntegrationStsMetricNamespaceConfigArrayOutput + ToIntegrationStsMetricNamespaceConfigArrayOutputWithContext(context.Context) IntegrationStsMetricNamespaceConfigArrayOutput +} + +type IntegrationStsMetricNamespaceConfigArray []IntegrationStsMetricNamespaceConfigInput + +func (IntegrationStsMetricNamespaceConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IntegrationStsMetricNamespaceConfig)(nil)).Elem() +} + +func (i IntegrationStsMetricNamespaceConfigArray) ToIntegrationStsMetricNamespaceConfigArrayOutput() IntegrationStsMetricNamespaceConfigArrayOutput { + return i.ToIntegrationStsMetricNamespaceConfigArrayOutputWithContext(context.Background()) +} + +func (i IntegrationStsMetricNamespaceConfigArray) ToIntegrationStsMetricNamespaceConfigArrayOutputWithContext(ctx context.Context) IntegrationStsMetricNamespaceConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IntegrationStsMetricNamespaceConfigArrayOutput) +} + +type IntegrationStsMetricNamespaceConfigOutput struct{ *pulumi.OutputState } + +func (IntegrationStsMetricNamespaceConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IntegrationStsMetricNamespaceConfig)(nil)).Elem() +} + +func (o IntegrationStsMetricNamespaceConfigOutput) ToIntegrationStsMetricNamespaceConfigOutput() IntegrationStsMetricNamespaceConfigOutput { + return o +} + +func (o IntegrationStsMetricNamespaceConfigOutput) ToIntegrationStsMetricNamespaceConfigOutputWithContext(ctx context.Context) IntegrationStsMetricNamespaceConfigOutput { + return o +} + +func (o IntegrationStsMetricNamespaceConfigOutput) Disabled() pulumi.BoolOutput { + return o.ApplyT(func(v IntegrationStsMetricNamespaceConfig) bool { return v.Disabled }).(pulumi.BoolOutput) +} + +func (o IntegrationStsMetricNamespaceConfigOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v IntegrationStsMetricNamespaceConfig) string { return v.Id }).(pulumi.StringOutput) +} + +type IntegrationStsMetricNamespaceConfigArrayOutput struct{ *pulumi.OutputState } + +func (IntegrationStsMetricNamespaceConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IntegrationStsMetricNamespaceConfig)(nil)).Elem() +} + +func (o IntegrationStsMetricNamespaceConfigArrayOutput) ToIntegrationStsMetricNamespaceConfigArrayOutput() IntegrationStsMetricNamespaceConfigArrayOutput { + return o +} + +func (o IntegrationStsMetricNamespaceConfigArrayOutput) ToIntegrationStsMetricNamespaceConfigArrayOutputWithContext(ctx context.Context) IntegrationStsMetricNamespaceConfigArrayOutput { + return o +} + +func (o IntegrationStsMetricNamespaceConfigArrayOutput) Index(i pulumi.IntInput) IntegrationStsMetricNamespaceConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IntegrationStsMetricNamespaceConfig { + return vs[0].([]IntegrationStsMetricNamespaceConfig)[vs[1].(int)] + }).(IntegrationStsMetricNamespaceConfigOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IntegrationStsMetricNamespaceConfigInput)(nil)).Elem(), IntegrationStsMetricNamespaceConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IntegrationStsMetricNamespaceConfigArrayInput)(nil)).Elem(), IntegrationStsMetricNamespaceConfigArray{}) + pulumi.RegisterOutputType(IntegrationStsMetricNamespaceConfigOutput{}) + pulumi.RegisterOutputType(IntegrationStsMetricNamespaceConfigArrayOutput{}) +} diff --git a/sdk/go/datadog/pulumiTypes.go b/sdk/go/datadog/pulumiTypes.go index d120fafd1..faae627bc 100644 --- a/sdk/go/datadog/pulumiTypes.go +++ b/sdk/go/datadog/pulumiTypes.go @@ -7688,6 +7688,10 @@ type DashboardWidgetDistributionDefinition struct { TitleAlign *string `pulumi:"titleAlign"` // The size of the widget's title (defaults to 16). TitleSize *string `pulumi:"titleSize"` + // A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + Xaxis *DashboardWidgetDistributionDefinitionXaxis `pulumi:"xaxis"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis *DashboardWidgetDistributionDefinitionYaxis `pulumi:"yaxis"` } // DashboardWidgetDistributionDefinitionInput is an input type that accepts DashboardWidgetDistributionDefinitionArgs and DashboardWidgetDistributionDefinitionOutput values. @@ -7716,6 +7720,10 @@ type DashboardWidgetDistributionDefinitionArgs struct { TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` // The size of the widget's title (defaults to 16). TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` + // A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + Xaxis DashboardWidgetDistributionDefinitionXaxisPtrInput `pulumi:"xaxis"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis DashboardWidgetDistributionDefinitionYaxisPtrInput `pulumi:"yaxis"` } func (DashboardWidgetDistributionDefinitionArgs) ElementType() reflect.Type { @@ -7832,6 +7840,20 @@ func (o DashboardWidgetDistributionDefinitionOutput) TitleSize() pulumi.StringPt return o.ApplyT(func(v DashboardWidgetDistributionDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } +// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o DashboardWidgetDistributionDefinitionOutput) Xaxis() DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinition) *DashboardWidgetDistributionDefinitionXaxis { + return v.Xaxis + }).(DashboardWidgetDistributionDefinitionXaxisPtrOutput) +} + +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o DashboardWidgetDistributionDefinitionOutput) Yaxis() DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinition) *DashboardWidgetDistributionDefinitionYaxis { + return v.Yaxis + }).(DashboardWidgetDistributionDefinitionYaxisPtrOutput) +} + type DashboardWidgetDistributionDefinitionPtrOutput struct{ *pulumi.OutputState } func (DashboardWidgetDistributionDefinitionPtrOutput) ElementType() reflect.Type { @@ -7926,6 +7948,26 @@ func (o DashboardWidgetDistributionDefinitionPtrOutput) TitleSize() pulumi.Strin }).(pulumi.StringPtrOutput) } +// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o DashboardWidgetDistributionDefinitionPtrOutput) Xaxis() DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinition) *DashboardWidgetDistributionDefinitionXaxis { + if v == nil { + return nil + } + return v.Xaxis + }).(DashboardWidgetDistributionDefinitionXaxisPtrOutput) +} + +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o DashboardWidgetDistributionDefinitionPtrOutput) Yaxis() DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinition) *DashboardWidgetDistributionDefinitionYaxis { + if v == nil { + return nil + } + return v.Yaxis + }).(DashboardWidgetDistributionDefinitionYaxisPtrOutput) +} + type DashboardWidgetDistributionDefinitionRequest struct { // The query to use for this widget. ApmQuery *DashboardWidgetApmQuery `pulumi:"apmQuery"` @@ -8801,6 +8843,413 @@ func (o DashboardWidgetDistributionDefinitionRequestStylePtrOutput) Palette() pu }).(pulumi.StringPtrOutput) } +type DashboardWidgetDistributionDefinitionXaxis struct { + // Always include zero or fit the axis to the data range. + IncludeZero *bool `pulumi:"includeZero"` + // Specify the maximum value to show on the Y-axis. + Max *string `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min *string `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale *string `pulumi:"scale"` +} + +// DashboardWidgetDistributionDefinitionXaxisInput is an input type that accepts DashboardWidgetDistributionDefinitionXaxisArgs and DashboardWidgetDistributionDefinitionXaxisOutput values. +// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionXaxisInput` via: +// +// DashboardWidgetDistributionDefinitionXaxisArgs{...} +type DashboardWidgetDistributionDefinitionXaxisInput interface { + pulumi.Input + + ToDashboardWidgetDistributionDefinitionXaxisOutput() DashboardWidgetDistributionDefinitionXaxisOutput + ToDashboardWidgetDistributionDefinitionXaxisOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionXaxisOutput +} + +type DashboardWidgetDistributionDefinitionXaxisArgs struct { + // Always include zero or fit the axis to the data range. + IncludeZero pulumi.BoolPtrInput `pulumi:"includeZero"` + // Specify the maximum value to show on the Y-axis. + Max pulumi.StringPtrInput `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min pulumi.StringPtrInput `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale pulumi.StringPtrInput `pulumi:"scale"` +} + +func (DashboardWidgetDistributionDefinitionXaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (i DashboardWidgetDistributionDefinitionXaxisArgs) ToDashboardWidgetDistributionDefinitionXaxisOutput() DashboardWidgetDistributionDefinitionXaxisOutput { + return i.ToDashboardWidgetDistributionDefinitionXaxisOutputWithContext(context.Background()) +} + +func (i DashboardWidgetDistributionDefinitionXaxisArgs) ToDashboardWidgetDistributionDefinitionXaxisOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionXaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionXaxisOutput) +} + +func (i DashboardWidgetDistributionDefinitionXaxisArgs) ToDashboardWidgetDistributionDefinitionXaxisPtrOutput() DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return i.ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetDistributionDefinitionXaxisArgs) ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionXaxisOutput).ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx) +} + +// DashboardWidgetDistributionDefinitionXaxisPtrInput is an input type that accepts DashboardWidgetDistributionDefinitionXaxisArgs, DashboardWidgetDistributionDefinitionXaxisPtr and DashboardWidgetDistributionDefinitionXaxisPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionXaxisPtrInput` via: +// +// DashboardWidgetDistributionDefinitionXaxisArgs{...} +// +// or: +// +// nil +type DashboardWidgetDistributionDefinitionXaxisPtrInput interface { + pulumi.Input + + ToDashboardWidgetDistributionDefinitionXaxisPtrOutput() DashboardWidgetDistributionDefinitionXaxisPtrOutput + ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionXaxisPtrOutput +} + +type dashboardWidgetDistributionDefinitionXaxisPtrType DashboardWidgetDistributionDefinitionXaxisArgs + +func DashboardWidgetDistributionDefinitionXaxisPtr(v *DashboardWidgetDistributionDefinitionXaxisArgs) DashboardWidgetDistributionDefinitionXaxisPtrInput { + return (*dashboardWidgetDistributionDefinitionXaxisPtrType)(v) +} + +func (*dashboardWidgetDistributionDefinitionXaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (i *dashboardWidgetDistributionDefinitionXaxisPtrType) ToDashboardWidgetDistributionDefinitionXaxisPtrOutput() DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return i.ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetDistributionDefinitionXaxisPtrType) ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionXaxisPtrOutput) +} + +type DashboardWidgetDistributionDefinitionXaxisOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetDistributionDefinitionXaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (o DashboardWidgetDistributionDefinitionXaxisOutput) ToDashboardWidgetDistributionDefinitionXaxisOutput() DashboardWidgetDistributionDefinitionXaxisOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionXaxisOutput) ToDashboardWidgetDistributionDefinitionXaxisOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionXaxisOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionXaxisOutput) ToDashboardWidgetDistributionDefinitionXaxisPtrOutput() DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return o.ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetDistributionDefinitionXaxisOutput) ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetDistributionDefinitionXaxis) *DashboardWidgetDistributionDefinitionXaxis { + return &v + }).(DashboardWidgetDistributionDefinitionXaxisPtrOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetDistributionDefinitionXaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionXaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionXaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionXaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionXaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionXaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetDistributionDefinitionXaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionXaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetDistributionDefinitionXaxisPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetDistributionDefinitionXaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (o DashboardWidgetDistributionDefinitionXaxisPtrOutput) ToDashboardWidgetDistributionDefinitionXaxisPtrOutput() DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionXaxisPtrOutput) ToDashboardWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionXaxisPtrOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionXaxisPtrOutput) Elem() DashboardWidgetDistributionDefinitionXaxisOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionXaxis) DashboardWidgetDistributionDefinitionXaxis { + if v != nil { + return *v + } + var ret DashboardWidgetDistributionDefinitionXaxis + return ret + }).(DashboardWidgetDistributionDefinitionXaxisOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetDistributionDefinitionXaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionXaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionXaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionXaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionXaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionXaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetDistributionDefinitionXaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionXaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetDistributionDefinitionYaxis struct { + // Always include zero or fit the axis to the data range. + IncludeZero *bool `pulumi:"includeZero"` + // The label of the axis to display on the graph. + Label *string `pulumi:"label"` + // Specify the maximum value to show on the Y-axis. + Max *string `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min *string `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale *string `pulumi:"scale"` +} + +// DashboardWidgetDistributionDefinitionYaxisInput is an input type that accepts DashboardWidgetDistributionDefinitionYaxisArgs and DashboardWidgetDistributionDefinitionYaxisOutput values. +// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionYaxisInput` via: +// +// DashboardWidgetDistributionDefinitionYaxisArgs{...} +type DashboardWidgetDistributionDefinitionYaxisInput interface { + pulumi.Input + + ToDashboardWidgetDistributionDefinitionYaxisOutput() DashboardWidgetDistributionDefinitionYaxisOutput + ToDashboardWidgetDistributionDefinitionYaxisOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionYaxisOutput +} + +type DashboardWidgetDistributionDefinitionYaxisArgs struct { + // Always include zero or fit the axis to the data range. + IncludeZero pulumi.BoolPtrInput `pulumi:"includeZero"` + // The label of the axis to display on the graph. + Label pulumi.StringPtrInput `pulumi:"label"` + // Specify the maximum value to show on the Y-axis. + Max pulumi.StringPtrInput `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min pulumi.StringPtrInput `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale pulumi.StringPtrInput `pulumi:"scale"` +} + +func (DashboardWidgetDistributionDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (i DashboardWidgetDistributionDefinitionYaxisArgs) ToDashboardWidgetDistributionDefinitionYaxisOutput() DashboardWidgetDistributionDefinitionYaxisOutput { + return i.ToDashboardWidgetDistributionDefinitionYaxisOutputWithContext(context.Background()) +} + +func (i DashboardWidgetDistributionDefinitionYaxisArgs) ToDashboardWidgetDistributionDefinitionYaxisOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionYaxisOutput) +} + +func (i DashboardWidgetDistributionDefinitionYaxisArgs) ToDashboardWidgetDistributionDefinitionYaxisPtrOutput() DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return i.ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetDistributionDefinitionYaxisArgs) ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionYaxisOutput).ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx) +} + +// DashboardWidgetDistributionDefinitionYaxisPtrInput is an input type that accepts DashboardWidgetDistributionDefinitionYaxisArgs, DashboardWidgetDistributionDefinitionYaxisPtr and DashboardWidgetDistributionDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionYaxisPtrInput` via: +// +// DashboardWidgetDistributionDefinitionYaxisArgs{...} +// +// or: +// +// nil +type DashboardWidgetDistributionDefinitionYaxisPtrInput interface { + pulumi.Input + + ToDashboardWidgetDistributionDefinitionYaxisPtrOutput() DashboardWidgetDistributionDefinitionYaxisPtrOutput + ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionYaxisPtrOutput +} + +type dashboardWidgetDistributionDefinitionYaxisPtrType DashboardWidgetDistributionDefinitionYaxisArgs + +func DashboardWidgetDistributionDefinitionYaxisPtr(v *DashboardWidgetDistributionDefinitionYaxisArgs) DashboardWidgetDistributionDefinitionYaxisPtrInput { + return (*dashboardWidgetDistributionDefinitionYaxisPtrType)(v) +} + +func (*dashboardWidgetDistributionDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (i *dashboardWidgetDistributionDefinitionYaxisPtrType) ToDashboardWidgetDistributionDefinitionYaxisPtrOutput() DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return i.ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetDistributionDefinitionYaxisPtrType) ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionYaxisPtrOutput) +} + +type DashboardWidgetDistributionDefinitionYaxisOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetDistributionDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (o DashboardWidgetDistributionDefinitionYaxisOutput) ToDashboardWidgetDistributionDefinitionYaxisOutput() DashboardWidgetDistributionDefinitionYaxisOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionYaxisOutput) ToDashboardWidgetDistributionDefinitionYaxisOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionYaxisOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionYaxisOutput) ToDashboardWidgetDistributionDefinitionYaxisPtrOutput() DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return o.ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetDistributionDefinitionYaxisOutput) ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetDistributionDefinitionYaxis) *DashboardWidgetDistributionDefinitionYaxis { + return &v + }).(DashboardWidgetDistributionDefinitionYaxisPtrOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetDistributionDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o DashboardWidgetDistributionDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetDistributionDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetDistributionDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetDistributionDefinitionYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) ToDashboardWidgetDistributionDefinitionYaxisPtrOutput() DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) ToDashboardWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionYaxisPtrOutput { + return o +} + +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) Elem() DashboardWidgetDistributionDefinitionYaxisOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionYaxis) DashboardWidgetDistributionDefinitionYaxis { + if v != nil { + return *v + } + var ret DashboardWidgetDistributionDefinitionYaxis + return ret + }).(DashboardWidgetDistributionDefinitionYaxisOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionYaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetDistributionDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) +} + type DashboardWidgetEventStreamDefinition struct { // The size to use to display an event. Valid values are `s`, `l`. EventSize *string `pulumi:"eventSize"` @@ -21360,7 +21809,7 @@ func (o DashboardWidgetListStreamDefinitionRequestColumnArrayOutput) Index(i pul } type DashboardWidgetListStreamDefinitionRequestQuery struct { - // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. DataSource string `pulumi:"dataSource"` // Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. EventSize *string `pulumi:"eventSize"` @@ -21386,7 +21835,7 @@ type DashboardWidgetListStreamDefinitionRequestQueryInput interface { } type DashboardWidgetListStreamDefinitionRequestQueryArgs struct { - // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. EventSize pulumi.StringPtrInput `pulumi:"eventSize"` @@ -21426,7 +21875,7 @@ func (o DashboardWidgetListStreamDefinitionRequestQueryOutput) ToDashboardWidget return o } -// Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. +// Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. func (o DashboardWidgetListStreamDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { return o.ApplyT(func(v DashboardWidgetListStreamDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) } @@ -89876,6 +90325,10 @@ type PowerpackWidgetDistributionDefinition struct { TitleAlign *string `pulumi:"titleAlign"` // The size of the widget's title (defaults to 16). TitleSize *string `pulumi:"titleSize"` + // A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + Xaxis *PowerpackWidgetDistributionDefinitionXaxis `pulumi:"xaxis"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis *PowerpackWidgetDistributionDefinitionYaxis `pulumi:"yaxis"` } // PowerpackWidgetDistributionDefinitionInput is an input type that accepts PowerpackWidgetDistributionDefinitionArgs and PowerpackWidgetDistributionDefinitionOutput values. @@ -89904,6 +90357,10 @@ type PowerpackWidgetDistributionDefinitionArgs struct { TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` // The size of the widget's title (defaults to 16). TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` + // A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + Xaxis PowerpackWidgetDistributionDefinitionXaxisPtrInput `pulumi:"xaxis"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis PowerpackWidgetDistributionDefinitionYaxisPtrInput `pulumi:"yaxis"` } func (PowerpackWidgetDistributionDefinitionArgs) ElementType() reflect.Type { @@ -90020,6 +90477,20 @@ func (o PowerpackWidgetDistributionDefinitionOutput) TitleSize() pulumi.StringPt return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } +// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionOutput) Xaxis() PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *PowerpackWidgetDistributionDefinitionXaxis { + return v.Xaxis + }).(PowerpackWidgetDistributionDefinitionXaxisPtrOutput) +} + +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionOutput) Yaxis() PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *PowerpackWidgetDistributionDefinitionYaxis { + return v.Yaxis + }).(PowerpackWidgetDistributionDefinitionYaxisPtrOutput) +} + type PowerpackWidgetDistributionDefinitionPtrOutput struct{ *pulumi.OutputState } func (PowerpackWidgetDistributionDefinitionPtrOutput) ElementType() reflect.Type { @@ -90114,6 +90585,26 @@ func (o PowerpackWidgetDistributionDefinitionPtrOutput) TitleSize() pulumi.Strin }).(pulumi.StringPtrOutput) } +// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionPtrOutput) Xaxis() PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *PowerpackWidgetDistributionDefinitionXaxis { + if v == nil { + return nil + } + return v.Xaxis + }).(PowerpackWidgetDistributionDefinitionXaxisPtrOutput) +} + +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionPtrOutput) Yaxis() PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *PowerpackWidgetDistributionDefinitionYaxis { + if v == nil { + return nil + } + return v.Yaxis + }).(PowerpackWidgetDistributionDefinitionYaxisPtrOutput) +} + type PowerpackWidgetDistributionDefinitionRequest struct { // The query to use for this widget. ApmQuery *PowerpackWidgetDistributionDefinitionRequestApmQuery `pulumi:"apmQuery"` @@ -92464,400 +92955,6 @@ func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) Searc }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` - // The name of the index to query. - Index string `pulumi:"index"` - // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. - MultiComputes []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` - // The name of the index to query. - Index pulumi.StringInput `pulumi:"index"` - // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. - MultiComputes PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput -} - -type powerpackWidgetDistributionDefinitionRequestRumQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestRumQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType)(v) -} - -func (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQuery { - return &v - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) PowerpackWidgetDistributionDefinitionRequestRumQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestRumQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { - if v == nil { - return nil - } - return &v.Index - }).(pulumi.StringPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Define the time interval in seconds. - Interval *int `pulumi:"interval"` -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` -} - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput -} - -type powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { - return &v - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApmRetentionFilterFilterInput)(nil)).Elem(), ApmRetentionFilterFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ApmRetentionFilterFilterPtrInput)(nil)).Elem(), ApmRetentionFilterFilterArgs{}) @@ -92957,6 +93054,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestProcessQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestStyleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestStylePtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionXaxisInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionXaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionXaxisPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionXaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionYaxisInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionYaxisPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionYaxisArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetEventStreamDefinitionInput)(nil)).Elem(), DashboardWidgetEventStreamDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetEventStreamDefinitionPtrInput)(nil)).Elem(), DashboardWidgetEventStreamDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetEventTimelineDefinitionInput)(nil)).Elem(), DashboardWidgetEventTimelineDefinitionArgs{}) @@ -93849,10 +93950,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestProcessQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterOutputType(ApmRetentionFilterFilterOutput{}) pulumi.RegisterOutputType(ApmRetentionFilterFilterPtrOutput{}) pulumi.RegisterOutputType(ChildOrganizationApiKeyOutput{}) @@ -93951,6 +94048,10 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestProcessQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestStyleOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestStylePtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionXaxisOutput{}) + pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionXaxisPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionYaxisOutput{}) + pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionYaxisPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetEventStreamDefinitionOutput{}) pulumi.RegisterOutputType(DashboardWidgetEventStreamDefinitionPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetEventTimelineDefinitionOutput{}) @@ -94843,8 +94944,4 @@ func init() { pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput{}) } diff --git a/sdk/go/datadog/pulumiTypes1.go b/sdk/go/datadog/pulumiTypes1.go index 6fa4beda5..89cac242f 100644 --- a/sdk/go/datadog/pulumiTypes1.go +++ b/sdk/go/datadog/pulumiTypes1.go @@ -13,6 +13,400 @@ import ( var _ = internal.GetEnvOrDefault +type PowerpackWidgetDistributionDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + // The name of the index to query. + Index string `pulumi:"index"` + // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. + MultiComputes []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetDistributionDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + // The name of the index to query. + Index pulumi.StringInput `pulumi:"index"` + // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. + MultiComputes PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput +} + +type powerpackWidgetDistributionDefinitionRequestRumQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryArgs + +func PowerpackWidgetDistributionDefinitionRequestRumQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType)(v) +} + +func (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +} + +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQuery { + return &v + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) PowerpackWidgetDistributionDefinitionRequestRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionRequestRumQuery + return ret + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` +} + +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` +} + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput +} + +type powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs + +func PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType)(v) +} + +func (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { + return &v + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery + return ret + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) +} + +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` @@ -1370,6 +1764,413 @@ func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) Palette() pu }).(pulumi.StringPtrOutput) } +type PowerpackWidgetDistributionDefinitionXaxis struct { + // Always include zero or fit the axis to the data range. + IncludeZero *bool `pulumi:"includeZero"` + // Specify the maximum value to show on the Y-axis. + Max *string `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min *string `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale *string `pulumi:"scale"` +} + +// PowerpackWidgetDistributionDefinitionXaxisInput is an input type that accepts PowerpackWidgetDistributionDefinitionXaxisArgs and PowerpackWidgetDistributionDefinitionXaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionXaxisInput` via: +// +// PowerpackWidgetDistributionDefinitionXaxisArgs{...} +type PowerpackWidgetDistributionDefinitionXaxisInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionXaxisOutput() PowerpackWidgetDistributionDefinitionXaxisOutput + ToPowerpackWidgetDistributionDefinitionXaxisOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionXaxisOutput +} + +type PowerpackWidgetDistributionDefinitionXaxisArgs struct { + // Always include zero or fit the axis to the data range. + IncludeZero pulumi.BoolPtrInput `pulumi:"includeZero"` + // Specify the maximum value to show on the Y-axis. + Max pulumi.StringPtrInput `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min pulumi.StringPtrInput `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale pulumi.StringPtrInput `pulumi:"scale"` +} + +func (PowerpackWidgetDistributionDefinitionXaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (i PowerpackWidgetDistributionDefinitionXaxisArgs) ToPowerpackWidgetDistributionDefinitionXaxisOutput() PowerpackWidgetDistributionDefinitionXaxisOutput { + return i.ToPowerpackWidgetDistributionDefinitionXaxisOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionXaxisArgs) ToPowerpackWidgetDistributionDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionXaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionXaxisOutput) +} + +func (i PowerpackWidgetDistributionDefinitionXaxisArgs) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutput() PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionXaxisArgs) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionXaxisOutput).ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx) +} + +// PowerpackWidgetDistributionDefinitionXaxisPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionXaxisArgs, PowerpackWidgetDistributionDefinitionXaxisPtr and PowerpackWidgetDistributionDefinitionXaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionXaxisPtrInput` via: +// +// PowerpackWidgetDistributionDefinitionXaxisArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionXaxisPtrInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionXaxisPtrOutput() PowerpackWidgetDistributionDefinitionXaxisPtrOutput + ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionXaxisPtrOutput +} + +type powerpackWidgetDistributionDefinitionXaxisPtrType PowerpackWidgetDistributionDefinitionXaxisArgs + +func PowerpackWidgetDistributionDefinitionXaxisPtr(v *PowerpackWidgetDistributionDefinitionXaxisArgs) PowerpackWidgetDistributionDefinitionXaxisPtrInput { + return (*powerpackWidgetDistributionDefinitionXaxisPtrType)(v) +} + +func (*powerpackWidgetDistributionDefinitionXaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (i *powerpackWidgetDistributionDefinitionXaxisPtrType) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutput() PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetDistributionDefinitionXaxisPtrType) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionXaxisPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionXaxisOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionXaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) ToPowerpackWidgetDistributionDefinitionXaxisOutput() PowerpackWidgetDistributionDefinitionXaxisOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) ToPowerpackWidgetDistributionDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionXaxisOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutput() PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionXaxis) *PowerpackWidgetDistributionDefinitionXaxis { + return &v + }).(PowerpackWidgetDistributionDefinitionXaxisPtrOutput) +} + +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionXaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionXaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionXaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetDistributionDefinitionXaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionXaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionXaxisPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionXaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionXaxis)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionXaxisPtrOutput) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutput() PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionXaxisPtrOutput) ToPowerpackWidgetDistributionDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionXaxisPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionXaxisPtrOutput) Elem() PowerpackWidgetDistributionDefinitionXaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionXaxis) PowerpackWidgetDistributionDefinitionXaxis { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionXaxis + return ret + }).(PowerpackWidgetDistributionDefinitionXaxisOutput) +} + +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetDistributionDefinitionXaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionXaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionXaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionXaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionXaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionXaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetDistributionDefinitionXaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionXaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionYaxis struct { + // Always include zero or fit the axis to the data range. + IncludeZero *bool `pulumi:"includeZero"` + // The label of the axis to display on the graph. + Label *string `pulumi:"label"` + // Specify the maximum value to show on the Y-axis. + Max *string `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min *string `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale *string `pulumi:"scale"` +} + +// PowerpackWidgetDistributionDefinitionYaxisInput is an input type that accepts PowerpackWidgetDistributionDefinitionYaxisArgs and PowerpackWidgetDistributionDefinitionYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionYaxisInput` via: +// +// PowerpackWidgetDistributionDefinitionYaxisArgs{...} +type PowerpackWidgetDistributionDefinitionYaxisInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionYaxisOutput() PowerpackWidgetDistributionDefinitionYaxisOutput + ToPowerpackWidgetDistributionDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionYaxisOutput +} + +type PowerpackWidgetDistributionDefinitionYaxisArgs struct { + // Always include zero or fit the axis to the data range. + IncludeZero pulumi.BoolPtrInput `pulumi:"includeZero"` + // The label of the axis to display on the graph. + Label pulumi.StringPtrInput `pulumi:"label"` + // Specify the maximum value to show on the Y-axis. + Max pulumi.StringPtrInput `pulumi:"max"` + // Specify the minimum value to show on the Y-axis. + Min pulumi.StringPtrInput `pulumi:"min"` + // Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + Scale pulumi.StringPtrInput `pulumi:"scale"` +} + +func (PowerpackWidgetDistributionDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (i PowerpackWidgetDistributionDefinitionYaxisArgs) ToPowerpackWidgetDistributionDefinitionYaxisOutput() PowerpackWidgetDistributionDefinitionYaxisOutput { + return i.ToPowerpackWidgetDistributionDefinitionYaxisOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionYaxisArgs) ToPowerpackWidgetDistributionDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionYaxisOutput) +} + +func (i PowerpackWidgetDistributionDefinitionYaxisArgs) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutput() PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionYaxisArgs) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionYaxisOutput).ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx) +} + +// PowerpackWidgetDistributionDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionYaxisArgs, PowerpackWidgetDistributionDefinitionYaxisPtr and PowerpackWidgetDistributionDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionYaxisPtrInput` via: +// +// PowerpackWidgetDistributionDefinitionYaxisArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionYaxisPtrInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionYaxisPtrOutput() PowerpackWidgetDistributionDefinitionYaxisPtrOutput + ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionYaxisPtrOutput +} + +type powerpackWidgetDistributionDefinitionYaxisPtrType PowerpackWidgetDistributionDefinitionYaxisArgs + +func PowerpackWidgetDistributionDefinitionYaxisPtr(v *PowerpackWidgetDistributionDefinitionYaxisArgs) PowerpackWidgetDistributionDefinitionYaxisPtrInput { + return (*powerpackWidgetDistributionDefinitionYaxisPtrType)(v) +} + +func (*powerpackWidgetDistributionDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (i *powerpackWidgetDistributionDefinitionYaxisPtrType) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutput() PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetDistributionDefinitionYaxisPtrType) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionYaxisPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionYaxisOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) ToPowerpackWidgetDistributionDefinitionYaxisOutput() PowerpackWidgetDistributionDefinitionYaxisOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) ToPowerpackWidgetDistributionDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionYaxisOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutput() PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionYaxis) *PowerpackWidgetDistributionDefinitionYaxis { + return &v + }).(PowerpackWidgetDistributionDefinitionYaxisPtrOutput) +} + +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetDistributionDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionYaxis)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutput() PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) ToPowerpackWidgetDistributionDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionYaxisPtrOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) Elem() PowerpackWidgetDistributionDefinitionYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionYaxis) PowerpackWidgetDistributionDefinitionYaxis { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionYaxis + return ret + }).(PowerpackWidgetDistributionDefinitionYaxisOutput) +} + +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionYaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetDistributionDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) +} + type PowerpackWidgetEventStreamDefinition struct { // The size to use to display an event. Valid values are `s`, `l`. EventSize *string `pulumi:"eventSize"` @@ -24300,7 +25101,7 @@ func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) Index(i pul } type PowerpackWidgetListStreamDefinitionRequestQuery struct { - // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. DataSource string `pulumi:"dataSource"` // Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. EventSize *string `pulumi:"eventSize"` @@ -24326,7 +25127,7 @@ type PowerpackWidgetListStreamDefinitionRequestQueryInput interface { } type PowerpackWidgetListStreamDefinitionRequestQueryArgs struct { - // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. EventSize pulumi.StringPtrInput `pulumi:"eventSize"` @@ -24366,7 +25167,7 @@ func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidget return o } -// Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. +// Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) } @@ -88598,431 +89399,11 @@ func (o ProviderDefaultTagsPtrOutput) Tags() pulumi.StringMapOutput { }).(pulumi.StringMapOutput) } -type RestrictionPolicyBinding struct { - // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. - Principals []string `pulumi:"principals"` - // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources - Relation string `pulumi:"relation"` -} - -// RestrictionPolicyBindingInput is an input type that accepts RestrictionPolicyBindingArgs and RestrictionPolicyBindingOutput values. -// You can construct a concrete instance of `RestrictionPolicyBindingInput` via: -// -// RestrictionPolicyBindingArgs{...} -type RestrictionPolicyBindingInput interface { - pulumi.Input - - ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput - ToRestrictionPolicyBindingOutputWithContext(context.Context) RestrictionPolicyBindingOutput -} - -type RestrictionPolicyBindingArgs struct { - // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. - Principals pulumi.StringArrayInput `pulumi:"principals"` - // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources - Relation pulumi.StringInput `pulumi:"relation"` -} - -func (RestrictionPolicyBindingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() -} - -func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { - return i.ToRestrictionPolicyBindingOutputWithContext(context.Background()) -} - -func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingOutput) -} - -// RestrictionPolicyBindingArrayInput is an input type that accepts RestrictionPolicyBindingArray and RestrictionPolicyBindingArrayOutput values. -// You can construct a concrete instance of `RestrictionPolicyBindingArrayInput` via: -// -// RestrictionPolicyBindingArray{ RestrictionPolicyBindingArgs{...} } -type RestrictionPolicyBindingArrayInput interface { - pulumi.Input - - ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput - ToRestrictionPolicyBindingArrayOutputWithContext(context.Context) RestrictionPolicyBindingArrayOutput -} - -type RestrictionPolicyBindingArray []RestrictionPolicyBindingInput - -func (RestrictionPolicyBindingArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() -} - -func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { - return i.ToRestrictionPolicyBindingArrayOutputWithContext(context.Background()) -} - -func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingArrayOutput) -} - -type RestrictionPolicyBindingOutput struct{ *pulumi.OutputState } - -func (RestrictionPolicyBindingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() -} - -func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { - return o -} - -func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { - return o -} - -// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. -func (o RestrictionPolicyBindingOutput) Principals() pulumi.StringArrayOutput { - return o.ApplyT(func(v RestrictionPolicyBinding) []string { return v.Principals }).(pulumi.StringArrayOutput) -} - -// The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources -func (o RestrictionPolicyBindingOutput) Relation() pulumi.StringOutput { - return o.ApplyT(func(v RestrictionPolicyBinding) string { return v.Relation }).(pulumi.StringOutput) -} - -type RestrictionPolicyBindingArrayOutput struct{ *pulumi.OutputState } - -func (RestrictionPolicyBindingArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() -} - -func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { - return o -} - -func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { - return o -} - -func (o RestrictionPolicyBindingArrayOutput) Index(i pulumi.IntInput) RestrictionPolicyBindingOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RestrictionPolicyBinding { - return vs[0].([]RestrictionPolicyBinding)[vs[1].(int)] - }).(RestrictionPolicyBindingOutput) -} - -type RolePermission struct { - // ID of the permission to assign. - Id string `pulumi:"id"` - // Name of the permission. - Name *string `pulumi:"name"` -} - -// RolePermissionInput is an input type that accepts RolePermissionArgs and RolePermissionOutput values. -// You can construct a concrete instance of `RolePermissionInput` via: -// -// RolePermissionArgs{...} -type RolePermissionInput interface { - pulumi.Input - - ToRolePermissionOutput() RolePermissionOutput - ToRolePermissionOutputWithContext(context.Context) RolePermissionOutput -} - -type RolePermissionArgs struct { - // ID of the permission to assign. - Id pulumi.StringInput `pulumi:"id"` - // Name of the permission. - Name pulumi.StringPtrInput `pulumi:"name"` -} - -func (RolePermissionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RolePermission)(nil)).Elem() -} - -func (i RolePermissionArgs) ToRolePermissionOutput() RolePermissionOutput { - return i.ToRolePermissionOutputWithContext(context.Background()) -} - -func (i RolePermissionArgs) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { - return pulumi.ToOutputWithContext(ctx, i).(RolePermissionOutput) -} - -// RolePermissionArrayInput is an input type that accepts RolePermissionArray and RolePermissionArrayOutput values. -// You can construct a concrete instance of `RolePermissionArrayInput` via: -// -// RolePermissionArray{ RolePermissionArgs{...} } -type RolePermissionArrayInput interface { - pulumi.Input - - ToRolePermissionArrayOutput() RolePermissionArrayOutput - ToRolePermissionArrayOutputWithContext(context.Context) RolePermissionArrayOutput -} - -type RolePermissionArray []RolePermissionInput - -func (RolePermissionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RolePermission)(nil)).Elem() -} - -func (i RolePermissionArray) ToRolePermissionArrayOutput() RolePermissionArrayOutput { - return i.ToRolePermissionArrayOutputWithContext(context.Background()) -} - -func (i RolePermissionArray) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RolePermissionArrayOutput) -} - -type RolePermissionOutput struct{ *pulumi.OutputState } - -func (RolePermissionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RolePermission)(nil)).Elem() -} - -func (o RolePermissionOutput) ToRolePermissionOutput() RolePermissionOutput { - return o -} - -func (o RolePermissionOutput) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { - return o -} - -// ID of the permission to assign. -func (o RolePermissionOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v RolePermission) string { return v.Id }).(pulumi.StringOutput) -} - -// Name of the permission. -func (o RolePermissionOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v RolePermission) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -type RolePermissionArrayOutput struct{ *pulumi.OutputState } - -func (RolePermissionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RolePermission)(nil)).Elem() -} - -func (o RolePermissionArrayOutput) ToRolePermissionArrayOutput() RolePermissionArrayOutput { - return o -} - -func (o RolePermissionArrayOutput) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { - return o -} - -func (o RolePermissionArrayOutput) Index(i pulumi.IntInput) RolePermissionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RolePermission { - return vs[0].([]RolePermission)[vs[1].(int)] - }).(RolePermissionOutput) -} - -type SecurityMonitoringDefaultRuleCase struct { - // Notification targets for each rule case. - Notifications []string `pulumi:"notifications"` - // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. - Status string `pulumi:"status"` -} - -// SecurityMonitoringDefaultRuleCaseInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArgs and SecurityMonitoringDefaultRuleCaseOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseInput` via: -// -// SecurityMonitoringDefaultRuleCaseArgs{...} -type SecurityMonitoringDefaultRuleCaseInput interface { - pulumi.Input - - ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput - ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseOutput -} - -type SecurityMonitoringDefaultRuleCaseArgs struct { - // Notification targets for each rule case. - Notifications pulumi.StringArrayInput `pulumi:"notifications"` - // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. - Status pulumi.StringInput `pulumi:"status"` -} - -func (SecurityMonitoringDefaultRuleCaseArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() -} - -func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { - return i.ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Background()) -} - -func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseOutput) -} - -// SecurityMonitoringDefaultRuleCaseArrayInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArray and SecurityMonitoringDefaultRuleCaseArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseArrayInput` via: -// -// SecurityMonitoringDefaultRuleCaseArray{ SecurityMonitoringDefaultRuleCaseArgs{...} } -type SecurityMonitoringDefaultRuleCaseArrayInput interface { - pulumi.Input - - ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput - ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput -} - -type SecurityMonitoringDefaultRuleCaseArray []SecurityMonitoringDefaultRuleCaseInput - -func (SecurityMonitoringDefaultRuleCaseArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() -} - -func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { - return i.ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Background()) -} - -func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseArrayOutput) -} - -type SecurityMonitoringDefaultRuleCaseOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringDefaultRuleCaseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() -} - -func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { - return o -} - -func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { - return o -} - -// Notification targets for each rule case. -func (o SecurityMonitoringDefaultRuleCaseOutput) Notifications() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) []string { return v.Notifications }).(pulumi.StringArrayOutput) -} - -// Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. -func (o SecurityMonitoringDefaultRuleCaseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) string { return v.Status }).(pulumi.StringOutput) -} - -type SecurityMonitoringDefaultRuleCaseArrayOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringDefaultRuleCaseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() -} - -func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { - return o -} - -func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { - return o -} - -func (o SecurityMonitoringDefaultRuleCaseArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleCaseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleCase { - return vs[0].([]SecurityMonitoringDefaultRuleCase)[vs[1].(int)] - }).(SecurityMonitoringDefaultRuleCaseOutput) -} - -type SecurityMonitoringDefaultRuleFilter struct { - // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. - Action string `pulumi:"action"` - // Query for selecting logs to apply the filtering action. - Query string `pulumi:"query"` -} - -// SecurityMonitoringDefaultRuleFilterInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArgs and SecurityMonitoringDefaultRuleFilterOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterInput` via: -// -// SecurityMonitoringDefaultRuleFilterArgs{...} -type SecurityMonitoringDefaultRuleFilterInput interface { - pulumi.Input - - ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput - ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterOutput -} - -type SecurityMonitoringDefaultRuleFilterArgs struct { - // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. - Action pulumi.StringInput `pulumi:"action"` - // Query for selecting logs to apply the filtering action. - Query pulumi.StringInput `pulumi:"query"` -} - -func (SecurityMonitoringDefaultRuleFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() -} - -func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { - return i.ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Background()) -} - -func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterOutput) -} - -// SecurityMonitoringDefaultRuleFilterArrayInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArray and SecurityMonitoringDefaultRuleFilterArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterArrayInput` via: -// -// SecurityMonitoringDefaultRuleFilterArray{ SecurityMonitoringDefaultRuleFilterArgs{...} } -type SecurityMonitoringDefaultRuleFilterArrayInput interface { - pulumi.Input - - ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput - ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput -} - -type SecurityMonitoringDefaultRuleFilterArray []SecurityMonitoringDefaultRuleFilterInput - -func (SecurityMonitoringDefaultRuleFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() -} - -func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { - return i.ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Background()) -} - -func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterArrayOutput) -} - -type SecurityMonitoringDefaultRuleFilterOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringDefaultRuleFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() -} - -func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { - return o -} - -func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { - return o -} - -// The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. -func (o SecurityMonitoringDefaultRuleFilterOutput) Action() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Action }).(pulumi.StringOutput) -} - -// Query for selecting logs to apply the filtering action. -func (o SecurityMonitoringDefaultRuleFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Query }).(pulumi.StringOutput) -} - -type SecurityMonitoringDefaultRuleFilterArrayOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringDefaultRuleFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() -} - -func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { - return o -} - -func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { - return o -} - -func (o SecurityMonitoringDefaultRuleFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleFilter { - return vs[0].([]SecurityMonitoringDefaultRuleFilter)[vs[1].(int)] - }).(SecurityMonitoringDefaultRuleFilterOutput) -} - func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{}) @@ -89041,6 +89422,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyleInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestStyleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStylePtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionXaxisInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionXaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionXaxisPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionXaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionYaxisInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionYaxisPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionYaxisArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetEventStreamDefinitionInput)(nil)).Elem(), PowerpackWidgetEventStreamDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetEventStreamDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetEventStreamDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetEventTimelineDefinitionInput)(nil)).Elem(), PowerpackWidgetEventTimelineDefinitionArgs{}) @@ -90013,14 +90398,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetWidgetLayoutPtrInput)(nil)).Elem(), PowerpackWidgetWidgetLayoutArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ProviderDefaultTagsInput)(nil)).Elem(), ProviderDefaultTagsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ProviderDefaultTagsPtrInput)(nil)).Elem(), ProviderDefaultTagsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*RestrictionPolicyBindingInput)(nil)).Elem(), RestrictionPolicyBindingArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*RestrictionPolicyBindingArrayInput)(nil)).Elem(), RestrictionPolicyBindingArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RolePermissionInput)(nil)).Elem(), RolePermissionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*RolePermissionArrayInput)(nil)).Elem(), RolePermissionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleCaseInput)(nil)).Elem(), SecurityMonitoringDefaultRuleCaseArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleCaseArrayInput)(nil)).Elem(), SecurityMonitoringDefaultRuleCaseArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleFilterInput)(nil)).Elem(), SecurityMonitoringDefaultRuleFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleFilterArrayInput)(nil)).Elem(), SecurityMonitoringDefaultRuleFilterArray{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput{}) @@ -90039,6 +90420,10 @@ func init() { pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestStyleOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionXaxisOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionXaxisPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionYaxisOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionYaxisPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetEventStreamDefinitionOutput{}) pulumi.RegisterOutputType(PowerpackWidgetEventStreamDefinitionPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetEventTimelineDefinitionOutput{}) @@ -91011,12 +91396,4 @@ func init() { pulumi.RegisterOutputType(PowerpackWidgetWidgetLayoutPtrOutput{}) pulumi.RegisterOutputType(ProviderDefaultTagsOutput{}) pulumi.RegisterOutputType(ProviderDefaultTagsPtrOutput{}) - pulumi.RegisterOutputType(RestrictionPolicyBindingOutput{}) - pulumi.RegisterOutputType(RestrictionPolicyBindingArrayOutput{}) - pulumi.RegisterOutputType(RolePermissionOutput{}) - pulumi.RegisterOutputType(RolePermissionArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleCaseOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleCaseArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleFilterOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleFilterArrayOutput{}) } diff --git a/sdk/go/datadog/pulumiTypes2.go b/sdk/go/datadog/pulumiTypes2.go index 2e7dc97a8..f18bb718b 100644 --- a/sdk/go/datadog/pulumiTypes2.go +++ b/sdk/go/datadog/pulumiTypes2.go @@ -13,6 +13,430 @@ import ( var _ = internal.GetEnvOrDefault +type RestrictionPolicyBinding struct { + // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. + Principals []string `pulumi:"principals"` + // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources + Relation string `pulumi:"relation"` +} + +// RestrictionPolicyBindingInput is an input type that accepts RestrictionPolicyBindingArgs and RestrictionPolicyBindingOutput values. +// You can construct a concrete instance of `RestrictionPolicyBindingInput` via: +// +// RestrictionPolicyBindingArgs{...} +type RestrictionPolicyBindingInput interface { + pulumi.Input + + ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput + ToRestrictionPolicyBindingOutputWithContext(context.Context) RestrictionPolicyBindingOutput +} + +type RestrictionPolicyBindingArgs struct { + // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. + Principals pulumi.StringArrayInput `pulumi:"principals"` + // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources + Relation pulumi.StringInput `pulumi:"relation"` +} + +func (RestrictionPolicyBindingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() +} + +func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { + return i.ToRestrictionPolicyBindingOutputWithContext(context.Background()) +} + +func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingOutput) +} + +// RestrictionPolicyBindingArrayInput is an input type that accepts RestrictionPolicyBindingArray and RestrictionPolicyBindingArrayOutput values. +// You can construct a concrete instance of `RestrictionPolicyBindingArrayInput` via: +// +// RestrictionPolicyBindingArray{ RestrictionPolicyBindingArgs{...} } +type RestrictionPolicyBindingArrayInput interface { + pulumi.Input + + ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput + ToRestrictionPolicyBindingArrayOutputWithContext(context.Context) RestrictionPolicyBindingArrayOutput +} + +type RestrictionPolicyBindingArray []RestrictionPolicyBindingInput + +func (RestrictionPolicyBindingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() +} + +func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { + return i.ToRestrictionPolicyBindingArrayOutputWithContext(context.Background()) +} + +func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingArrayOutput) +} + +type RestrictionPolicyBindingOutput struct{ *pulumi.OutputState } + +func (RestrictionPolicyBindingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() +} + +func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { + return o +} + +func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { + return o +} + +// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. +func (o RestrictionPolicyBindingOutput) Principals() pulumi.StringArrayOutput { + return o.ApplyT(func(v RestrictionPolicyBinding) []string { return v.Principals }).(pulumi.StringArrayOutput) +} + +// The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources +func (o RestrictionPolicyBindingOutput) Relation() pulumi.StringOutput { + return o.ApplyT(func(v RestrictionPolicyBinding) string { return v.Relation }).(pulumi.StringOutput) +} + +type RestrictionPolicyBindingArrayOutput struct{ *pulumi.OutputState } + +func (RestrictionPolicyBindingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() +} + +func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { + return o +} + +func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { + return o +} + +func (o RestrictionPolicyBindingArrayOutput) Index(i pulumi.IntInput) RestrictionPolicyBindingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RestrictionPolicyBinding { + return vs[0].([]RestrictionPolicyBinding)[vs[1].(int)] + }).(RestrictionPolicyBindingOutput) +} + +type RolePermission struct { + // ID of the permission to assign. + Id string `pulumi:"id"` + // Name of the permission. + Name *string `pulumi:"name"` +} + +// RolePermissionInput is an input type that accepts RolePermissionArgs and RolePermissionOutput values. +// You can construct a concrete instance of `RolePermissionInput` via: +// +// RolePermissionArgs{...} +type RolePermissionInput interface { + pulumi.Input + + ToRolePermissionOutput() RolePermissionOutput + ToRolePermissionOutputWithContext(context.Context) RolePermissionOutput +} + +type RolePermissionArgs struct { + // ID of the permission to assign. + Id pulumi.StringInput `pulumi:"id"` + // Name of the permission. + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (RolePermissionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RolePermission)(nil)).Elem() +} + +func (i RolePermissionArgs) ToRolePermissionOutput() RolePermissionOutput { + return i.ToRolePermissionOutputWithContext(context.Background()) +} + +func (i RolePermissionArgs) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { + return pulumi.ToOutputWithContext(ctx, i).(RolePermissionOutput) +} + +// RolePermissionArrayInput is an input type that accepts RolePermissionArray and RolePermissionArrayOutput values. +// You can construct a concrete instance of `RolePermissionArrayInput` via: +// +// RolePermissionArray{ RolePermissionArgs{...} } +type RolePermissionArrayInput interface { + pulumi.Input + + ToRolePermissionArrayOutput() RolePermissionArrayOutput + ToRolePermissionArrayOutputWithContext(context.Context) RolePermissionArrayOutput +} + +type RolePermissionArray []RolePermissionInput + +func (RolePermissionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RolePermission)(nil)).Elem() +} + +func (i RolePermissionArray) ToRolePermissionArrayOutput() RolePermissionArrayOutput { + return i.ToRolePermissionArrayOutputWithContext(context.Background()) +} + +func (i RolePermissionArray) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RolePermissionArrayOutput) +} + +type RolePermissionOutput struct{ *pulumi.OutputState } + +func (RolePermissionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RolePermission)(nil)).Elem() +} + +func (o RolePermissionOutput) ToRolePermissionOutput() RolePermissionOutput { + return o +} + +func (o RolePermissionOutput) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { + return o +} + +// ID of the permission to assign. +func (o RolePermissionOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v RolePermission) string { return v.Id }).(pulumi.StringOutput) +} + +// Name of the permission. +func (o RolePermissionOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v RolePermission) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type RolePermissionArrayOutput struct{ *pulumi.OutputState } + +func (RolePermissionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RolePermission)(nil)).Elem() +} + +func (o RolePermissionArrayOutput) ToRolePermissionArrayOutput() RolePermissionArrayOutput { + return o +} + +func (o RolePermissionArrayOutput) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { + return o +} + +func (o RolePermissionArrayOutput) Index(i pulumi.IntInput) RolePermissionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RolePermission { + return vs[0].([]RolePermission)[vs[1].(int)] + }).(RolePermissionOutput) +} + +type SecurityMonitoringDefaultRuleCase struct { + // Notification targets for each rule case. + Notifications []string `pulumi:"notifications"` + // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. + Status string `pulumi:"status"` +} + +// SecurityMonitoringDefaultRuleCaseInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArgs and SecurityMonitoringDefaultRuleCaseOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseInput` via: +// +// SecurityMonitoringDefaultRuleCaseArgs{...} +type SecurityMonitoringDefaultRuleCaseInput interface { + pulumi.Input + + ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput + ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseOutput +} + +type SecurityMonitoringDefaultRuleCaseArgs struct { + // Notification targets for each rule case. + Notifications pulumi.StringArrayInput `pulumi:"notifications"` + // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. + Status pulumi.StringInput `pulumi:"status"` +} + +func (SecurityMonitoringDefaultRuleCaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() +} + +func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { + return i.ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseOutput) +} + +// SecurityMonitoringDefaultRuleCaseArrayInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArray and SecurityMonitoringDefaultRuleCaseArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseArrayInput` via: +// +// SecurityMonitoringDefaultRuleCaseArray{ SecurityMonitoringDefaultRuleCaseArgs{...} } +type SecurityMonitoringDefaultRuleCaseArrayInput interface { + pulumi.Input + + ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput + ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput +} + +type SecurityMonitoringDefaultRuleCaseArray []SecurityMonitoringDefaultRuleCaseInput + +func (SecurityMonitoringDefaultRuleCaseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() +} + +func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { + return i.ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseArrayOutput) +} + +type SecurityMonitoringDefaultRuleCaseOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringDefaultRuleCaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() +} + +func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { + return o +} + +// Notification targets for each rule case. +func (o SecurityMonitoringDefaultRuleCaseOutput) Notifications() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) []string { return v.Notifications }).(pulumi.StringArrayOutput) +} + +// Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. +func (o SecurityMonitoringDefaultRuleCaseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) string { return v.Status }).(pulumi.StringOutput) +} + +type SecurityMonitoringDefaultRuleCaseArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringDefaultRuleCaseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() +} + +func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleCaseArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleCaseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleCase { + return vs[0].([]SecurityMonitoringDefaultRuleCase)[vs[1].(int)] + }).(SecurityMonitoringDefaultRuleCaseOutput) +} + +type SecurityMonitoringDefaultRuleFilter struct { + // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. + Action string `pulumi:"action"` + // Query for selecting logs to apply the filtering action. + Query string `pulumi:"query"` +} + +// SecurityMonitoringDefaultRuleFilterInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArgs and SecurityMonitoringDefaultRuleFilterOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterInput` via: +// +// SecurityMonitoringDefaultRuleFilterArgs{...} +type SecurityMonitoringDefaultRuleFilterInput interface { + pulumi.Input + + ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput + ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterOutput +} + +type SecurityMonitoringDefaultRuleFilterArgs struct { + // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. + Action pulumi.StringInput `pulumi:"action"` + // Query for selecting logs to apply the filtering action. + Query pulumi.StringInput `pulumi:"query"` +} + +func (SecurityMonitoringDefaultRuleFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +} + +func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { + return i.ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterOutput) +} + +// SecurityMonitoringDefaultRuleFilterArrayInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArray and SecurityMonitoringDefaultRuleFilterArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterArrayInput` via: +// +// SecurityMonitoringDefaultRuleFilterArray{ SecurityMonitoringDefaultRuleFilterArgs{...} } +type SecurityMonitoringDefaultRuleFilterArrayInput interface { + pulumi.Input + + ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput + ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput +} + +type SecurityMonitoringDefaultRuleFilterArray []SecurityMonitoringDefaultRuleFilterInput + +func (SecurityMonitoringDefaultRuleFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +} + +func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { + return i.ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterArrayOutput) +} + +type SecurityMonitoringDefaultRuleFilterOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringDefaultRuleFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +} + +func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { + return o +} + +// The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. +func (o SecurityMonitoringDefaultRuleFilterOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Action }).(pulumi.StringOutput) +} + +// Query for selecting logs to apply the filtering action. +func (o SecurityMonitoringDefaultRuleFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Query }).(pulumi.StringOutput) +} + +type SecurityMonitoringDefaultRuleFilterArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringDefaultRuleFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +} + +func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleFilter { + return vs[0].([]SecurityMonitoringDefaultRuleFilter)[vs[1].(int)] + }).(SecurityMonitoringDefaultRuleFilterOutput) +} + type SecurityMonitoringDefaultRuleOptions struct { // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. DecreaseCriticalityBasedOnEnv *bool `pulumi:"decreaseCriticalityBasedOnEnv"` @@ -1673,6 +2097,139 @@ func (o SecurityMonitoringRuleQueryAgentRuleArrayOutput) Index(i pulumi.IntInput }).(SecurityMonitoringRuleQueryAgentRuleOutput) } +type SecurityMonitoringRuleReferenceTable struct { + // Whether to include or exclude logs that match the reference table. + CheckPresence bool `pulumi:"checkPresence"` + // The name of the column in the reference table. + ColumnName string `pulumi:"columnName"` + // The field in the log that should be matched against the reference table. + LogFieldPath string `pulumi:"logFieldPath"` + // The name of the query to filter. + RuleQueryName string `pulumi:"ruleQueryName"` + // The name of the reference table. + TableName string `pulumi:"tableName"` +} + +// SecurityMonitoringRuleReferenceTableInput is an input type that accepts SecurityMonitoringRuleReferenceTableArgs and SecurityMonitoringRuleReferenceTableOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleReferenceTableInput` via: +// +// SecurityMonitoringRuleReferenceTableArgs{...} +type SecurityMonitoringRuleReferenceTableInput interface { + pulumi.Input + + ToSecurityMonitoringRuleReferenceTableOutput() SecurityMonitoringRuleReferenceTableOutput + ToSecurityMonitoringRuleReferenceTableOutputWithContext(context.Context) SecurityMonitoringRuleReferenceTableOutput +} + +type SecurityMonitoringRuleReferenceTableArgs struct { + // Whether to include or exclude logs that match the reference table. + CheckPresence pulumi.BoolInput `pulumi:"checkPresence"` + // The name of the column in the reference table. + ColumnName pulumi.StringInput `pulumi:"columnName"` + // The field in the log that should be matched against the reference table. + LogFieldPath pulumi.StringInput `pulumi:"logFieldPath"` + // The name of the query to filter. + RuleQueryName pulumi.StringInput `pulumi:"ruleQueryName"` + // The name of the reference table. + TableName pulumi.StringInput `pulumi:"tableName"` +} + +func (SecurityMonitoringRuleReferenceTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleReferenceTable)(nil)).Elem() +} + +func (i SecurityMonitoringRuleReferenceTableArgs) ToSecurityMonitoringRuleReferenceTableOutput() SecurityMonitoringRuleReferenceTableOutput { + return i.ToSecurityMonitoringRuleReferenceTableOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleReferenceTableArgs) ToSecurityMonitoringRuleReferenceTableOutputWithContext(ctx context.Context) SecurityMonitoringRuleReferenceTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleReferenceTableOutput) +} + +// SecurityMonitoringRuleReferenceTableArrayInput is an input type that accepts SecurityMonitoringRuleReferenceTableArray and SecurityMonitoringRuleReferenceTableArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleReferenceTableArrayInput` via: +// +// SecurityMonitoringRuleReferenceTableArray{ SecurityMonitoringRuleReferenceTableArgs{...} } +type SecurityMonitoringRuleReferenceTableArrayInput interface { + pulumi.Input + + ToSecurityMonitoringRuleReferenceTableArrayOutput() SecurityMonitoringRuleReferenceTableArrayOutput + ToSecurityMonitoringRuleReferenceTableArrayOutputWithContext(context.Context) SecurityMonitoringRuleReferenceTableArrayOutput +} + +type SecurityMonitoringRuleReferenceTableArray []SecurityMonitoringRuleReferenceTableInput + +func (SecurityMonitoringRuleReferenceTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleReferenceTable)(nil)).Elem() +} + +func (i SecurityMonitoringRuleReferenceTableArray) ToSecurityMonitoringRuleReferenceTableArrayOutput() SecurityMonitoringRuleReferenceTableArrayOutput { + return i.ToSecurityMonitoringRuleReferenceTableArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleReferenceTableArray) ToSecurityMonitoringRuleReferenceTableArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleReferenceTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleReferenceTableArrayOutput) +} + +type SecurityMonitoringRuleReferenceTableOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleReferenceTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleReferenceTable)(nil)).Elem() +} + +func (o SecurityMonitoringRuleReferenceTableOutput) ToSecurityMonitoringRuleReferenceTableOutput() SecurityMonitoringRuleReferenceTableOutput { + return o +} + +func (o SecurityMonitoringRuleReferenceTableOutput) ToSecurityMonitoringRuleReferenceTableOutputWithContext(ctx context.Context) SecurityMonitoringRuleReferenceTableOutput { + return o +} + +// Whether to include or exclude logs that match the reference table. +func (o SecurityMonitoringRuleReferenceTableOutput) CheckPresence() pulumi.BoolOutput { + return o.ApplyT(func(v SecurityMonitoringRuleReferenceTable) bool { return v.CheckPresence }).(pulumi.BoolOutput) +} + +// The name of the column in the reference table. +func (o SecurityMonitoringRuleReferenceTableOutput) ColumnName() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleReferenceTable) string { return v.ColumnName }).(pulumi.StringOutput) +} + +// The field in the log that should be matched against the reference table. +func (o SecurityMonitoringRuleReferenceTableOutput) LogFieldPath() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleReferenceTable) string { return v.LogFieldPath }).(pulumi.StringOutput) +} + +// The name of the query to filter. +func (o SecurityMonitoringRuleReferenceTableOutput) RuleQueryName() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleReferenceTable) string { return v.RuleQueryName }).(pulumi.StringOutput) +} + +// The name of the reference table. +func (o SecurityMonitoringRuleReferenceTableOutput) TableName() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleReferenceTable) string { return v.TableName }).(pulumi.StringOutput) +} + +type SecurityMonitoringRuleReferenceTableArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleReferenceTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleReferenceTable)(nil)).Elem() +} + +func (o SecurityMonitoringRuleReferenceTableArrayOutput) ToSecurityMonitoringRuleReferenceTableArrayOutput() SecurityMonitoringRuleReferenceTableArrayOutput { + return o +} + +func (o SecurityMonitoringRuleReferenceTableArrayOutput) ToSecurityMonitoringRuleReferenceTableArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleReferenceTableArrayOutput { + return o +} + +func (o SecurityMonitoringRuleReferenceTableArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleReferenceTableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleReferenceTable { + return vs[0].([]SecurityMonitoringRuleReferenceTable)[vs[1].(int)] + }).(SecurityMonitoringRuleReferenceTableOutput) +} + type SecurityMonitoringRuleSignalQuery struct { // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. Aggregation *string `pulumi:"aggregation"` @@ -15620,6 +16177,8 @@ type GetSecurityMonitoringRulesRule struct { Options *GetSecurityMonitoringRulesRuleOptions `pulumi:"options"` // Queries for selecting logs which are part of the rule. Queries []GetSecurityMonitoringRulesRuleQuery `pulumi:"queries"` + // Reference tables for filtering query results. + ReferenceTables []GetSecurityMonitoringRulesRuleReferenceTable `pulumi:"referenceTables"` // Queries for selecting logs which are part of the rule. SignalQueries []GetSecurityMonitoringRulesRuleSignalQuery `pulumi:"signalQueries"` // Tags for generated signals. @@ -15658,6 +16217,8 @@ type GetSecurityMonitoringRulesRuleArgs struct { Options GetSecurityMonitoringRulesRuleOptionsPtrInput `pulumi:"options"` // Queries for selecting logs which are part of the rule. Queries GetSecurityMonitoringRulesRuleQueryArrayInput `pulumi:"queries"` + // Reference tables for filtering query results. + ReferenceTables GetSecurityMonitoringRulesRuleReferenceTableArrayInput `pulumi:"referenceTables"` // Queries for selecting logs which are part of the rule. SignalQueries GetSecurityMonitoringRulesRuleSignalQueryArrayInput `pulumi:"signalQueries"` // Tags for generated signals. @@ -15759,6 +16320,13 @@ func (o GetSecurityMonitoringRulesRuleOutput) Queries() GetSecurityMonitoringRul return o.ApplyT(func(v GetSecurityMonitoringRulesRule) []GetSecurityMonitoringRulesRuleQuery { return v.Queries }).(GetSecurityMonitoringRulesRuleQueryArrayOutput) } +// Reference tables for filtering query results. +func (o GetSecurityMonitoringRulesRuleOutput) ReferenceTables() GetSecurityMonitoringRulesRuleReferenceTableArrayOutput { + return o.ApplyT(func(v GetSecurityMonitoringRulesRule) []GetSecurityMonitoringRulesRuleReferenceTable { + return v.ReferenceTables + }).(GetSecurityMonitoringRulesRuleReferenceTableArrayOutput) +} + // Queries for selecting logs which are part of the rule. func (o GetSecurityMonitoringRulesRuleOutput) SignalQueries() GetSecurityMonitoringRulesRuleSignalQueryArrayOutput { return o.ApplyT(func(v GetSecurityMonitoringRulesRule) []GetSecurityMonitoringRulesRuleSignalQuery { @@ -17230,6 +17798,139 @@ func (o GetSecurityMonitoringRulesRuleQueryAgentRuleArrayOutput) Index(i pulumi. }).(GetSecurityMonitoringRulesRuleQueryAgentRuleOutput) } +type GetSecurityMonitoringRulesRuleReferenceTable struct { + // Whether to include or exclude logs that match the reference table. + CheckPresence bool `pulumi:"checkPresence"` + // The name of the column in the reference table. + ColumnName string `pulumi:"columnName"` + // The field in the log that should be matched against the reference table. + LogFieldPath string `pulumi:"logFieldPath"` + // The name of the query to filter. + RuleQueryName string `pulumi:"ruleQueryName"` + // The name of the reference table. + TableName string `pulumi:"tableName"` +} + +// GetSecurityMonitoringRulesRuleReferenceTableInput is an input type that accepts GetSecurityMonitoringRulesRuleReferenceTableArgs and GetSecurityMonitoringRulesRuleReferenceTableOutput values. +// You can construct a concrete instance of `GetSecurityMonitoringRulesRuleReferenceTableInput` via: +// +// GetSecurityMonitoringRulesRuleReferenceTableArgs{...} +type GetSecurityMonitoringRulesRuleReferenceTableInput interface { + pulumi.Input + + ToGetSecurityMonitoringRulesRuleReferenceTableOutput() GetSecurityMonitoringRulesRuleReferenceTableOutput + ToGetSecurityMonitoringRulesRuleReferenceTableOutputWithContext(context.Context) GetSecurityMonitoringRulesRuleReferenceTableOutput +} + +type GetSecurityMonitoringRulesRuleReferenceTableArgs struct { + // Whether to include or exclude logs that match the reference table. + CheckPresence pulumi.BoolInput `pulumi:"checkPresence"` + // The name of the column in the reference table. + ColumnName pulumi.StringInput `pulumi:"columnName"` + // The field in the log that should be matched against the reference table. + LogFieldPath pulumi.StringInput `pulumi:"logFieldPath"` + // The name of the query to filter. + RuleQueryName pulumi.StringInput `pulumi:"ruleQueryName"` + // The name of the reference table. + TableName pulumi.StringInput `pulumi:"tableName"` +} + +func (GetSecurityMonitoringRulesRuleReferenceTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecurityMonitoringRulesRuleReferenceTable)(nil)).Elem() +} + +func (i GetSecurityMonitoringRulesRuleReferenceTableArgs) ToGetSecurityMonitoringRulesRuleReferenceTableOutput() GetSecurityMonitoringRulesRuleReferenceTableOutput { + return i.ToGetSecurityMonitoringRulesRuleReferenceTableOutputWithContext(context.Background()) +} + +func (i GetSecurityMonitoringRulesRuleReferenceTableArgs) ToGetSecurityMonitoringRulesRuleReferenceTableOutputWithContext(ctx context.Context) GetSecurityMonitoringRulesRuleReferenceTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSecurityMonitoringRulesRuleReferenceTableOutput) +} + +// GetSecurityMonitoringRulesRuleReferenceTableArrayInput is an input type that accepts GetSecurityMonitoringRulesRuleReferenceTableArray and GetSecurityMonitoringRulesRuleReferenceTableArrayOutput values. +// You can construct a concrete instance of `GetSecurityMonitoringRulesRuleReferenceTableArrayInput` via: +// +// GetSecurityMonitoringRulesRuleReferenceTableArray{ GetSecurityMonitoringRulesRuleReferenceTableArgs{...} } +type GetSecurityMonitoringRulesRuleReferenceTableArrayInput interface { + pulumi.Input + + ToGetSecurityMonitoringRulesRuleReferenceTableArrayOutput() GetSecurityMonitoringRulesRuleReferenceTableArrayOutput + ToGetSecurityMonitoringRulesRuleReferenceTableArrayOutputWithContext(context.Context) GetSecurityMonitoringRulesRuleReferenceTableArrayOutput +} + +type GetSecurityMonitoringRulesRuleReferenceTableArray []GetSecurityMonitoringRulesRuleReferenceTableInput + +func (GetSecurityMonitoringRulesRuleReferenceTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSecurityMonitoringRulesRuleReferenceTable)(nil)).Elem() +} + +func (i GetSecurityMonitoringRulesRuleReferenceTableArray) ToGetSecurityMonitoringRulesRuleReferenceTableArrayOutput() GetSecurityMonitoringRulesRuleReferenceTableArrayOutput { + return i.ToGetSecurityMonitoringRulesRuleReferenceTableArrayOutputWithContext(context.Background()) +} + +func (i GetSecurityMonitoringRulesRuleReferenceTableArray) ToGetSecurityMonitoringRulesRuleReferenceTableArrayOutputWithContext(ctx context.Context) GetSecurityMonitoringRulesRuleReferenceTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSecurityMonitoringRulesRuleReferenceTableArrayOutput) +} + +type GetSecurityMonitoringRulesRuleReferenceTableOutput struct{ *pulumi.OutputState } + +func (GetSecurityMonitoringRulesRuleReferenceTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecurityMonitoringRulesRuleReferenceTable)(nil)).Elem() +} + +func (o GetSecurityMonitoringRulesRuleReferenceTableOutput) ToGetSecurityMonitoringRulesRuleReferenceTableOutput() GetSecurityMonitoringRulesRuleReferenceTableOutput { + return o +} + +func (o GetSecurityMonitoringRulesRuleReferenceTableOutput) ToGetSecurityMonitoringRulesRuleReferenceTableOutputWithContext(ctx context.Context) GetSecurityMonitoringRulesRuleReferenceTableOutput { + return o +} + +// Whether to include or exclude logs that match the reference table. +func (o GetSecurityMonitoringRulesRuleReferenceTableOutput) CheckPresence() pulumi.BoolOutput { + return o.ApplyT(func(v GetSecurityMonitoringRulesRuleReferenceTable) bool { return v.CheckPresence }).(pulumi.BoolOutput) +} + +// The name of the column in the reference table. +func (o GetSecurityMonitoringRulesRuleReferenceTableOutput) ColumnName() pulumi.StringOutput { + return o.ApplyT(func(v GetSecurityMonitoringRulesRuleReferenceTable) string { return v.ColumnName }).(pulumi.StringOutput) +} + +// The field in the log that should be matched against the reference table. +func (o GetSecurityMonitoringRulesRuleReferenceTableOutput) LogFieldPath() pulumi.StringOutput { + return o.ApplyT(func(v GetSecurityMonitoringRulesRuleReferenceTable) string { return v.LogFieldPath }).(pulumi.StringOutput) +} + +// The name of the query to filter. +func (o GetSecurityMonitoringRulesRuleReferenceTableOutput) RuleQueryName() pulumi.StringOutput { + return o.ApplyT(func(v GetSecurityMonitoringRulesRuleReferenceTable) string { return v.RuleQueryName }).(pulumi.StringOutput) +} + +// The name of the reference table. +func (o GetSecurityMonitoringRulesRuleReferenceTableOutput) TableName() pulumi.StringOutput { + return o.ApplyT(func(v GetSecurityMonitoringRulesRuleReferenceTable) string { return v.TableName }).(pulumi.StringOutput) +} + +type GetSecurityMonitoringRulesRuleReferenceTableArrayOutput struct{ *pulumi.OutputState } + +func (GetSecurityMonitoringRulesRuleReferenceTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSecurityMonitoringRulesRuleReferenceTable)(nil)).Elem() +} + +func (o GetSecurityMonitoringRulesRuleReferenceTableArrayOutput) ToGetSecurityMonitoringRulesRuleReferenceTableArrayOutput() GetSecurityMonitoringRulesRuleReferenceTableArrayOutput { + return o +} + +func (o GetSecurityMonitoringRulesRuleReferenceTableArrayOutput) ToGetSecurityMonitoringRulesRuleReferenceTableArrayOutputWithContext(ctx context.Context) GetSecurityMonitoringRulesRuleReferenceTableArrayOutput { + return o +} + +func (o GetSecurityMonitoringRulesRuleReferenceTableArrayOutput) Index(i pulumi.IntInput) GetSecurityMonitoringRulesRuleReferenceTableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityMonitoringRulesRuleReferenceTable { + return vs[0].([]GetSecurityMonitoringRulesRuleReferenceTable)[vs[1].(int)] + }).(GetSecurityMonitoringRulesRuleReferenceTableOutput) +} + type GetSecurityMonitoringRulesRuleSignalQuery struct { // The aggregation type. For Signal Correlation rules, it must be event_count. Aggregation *string `pulumi:"aggregation"` @@ -18072,6 +18773,14 @@ func (o GetUsersUserArrayOutput) Index(i pulumi.IntInput) GetUsersUserOutput { } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*RestrictionPolicyBindingInput)(nil)).Elem(), RestrictionPolicyBindingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RestrictionPolicyBindingArrayInput)(nil)).Elem(), RestrictionPolicyBindingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RolePermissionInput)(nil)).Elem(), RolePermissionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RolePermissionArrayInput)(nil)).Elem(), RolePermissionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleCaseInput)(nil)).Elem(), SecurityMonitoringDefaultRuleCaseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleCaseArrayInput)(nil)).Elem(), SecurityMonitoringDefaultRuleCaseArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleFilterInput)(nil)).Elem(), SecurityMonitoringDefaultRuleFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleFilterArrayInput)(nil)).Elem(), SecurityMonitoringDefaultRuleFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleOptionsInput)(nil)).Elem(), SecurityMonitoringDefaultRuleOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleOptionsPtrInput)(nil)).Elem(), SecurityMonitoringDefaultRuleOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringFilterExclusionFilterInput)(nil)).Elem(), SecurityMonitoringFilterExclusionFilterArgs{}) @@ -18094,6 +18803,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleQueryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRuleInput)(nil)).Elem(), SecurityMonitoringRuleQueryAgentRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRuleArrayInput)(nil)).Elem(), SecurityMonitoringRuleQueryAgentRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleReferenceTableInput)(nil)).Elem(), SecurityMonitoringRuleReferenceTableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleReferenceTableArrayInput)(nil)).Elem(), SecurityMonitoringRuleReferenceTableArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleSignalQueryInput)(nil)).Elem(), SecurityMonitoringRuleSignalQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleSignalQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleSignalQueryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleThirdPartyCaseInput)(nil)).Elem(), SecurityMonitoringRuleThirdPartyCaseArgs{}) @@ -18281,6 +18992,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleQueryArrayInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleQueryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleQueryAgentRuleInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleQueryAgentRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleQueryAgentRuleArrayInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleQueryAgentRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleReferenceTableInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleReferenceTableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleReferenceTableArrayInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleReferenceTableArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleSignalQueryInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleSignalQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleSignalQueryArrayInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleSignalQueryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityMonitoringRulesRuleThirdPartyCaseInput)(nil)).Elem(), GetSecurityMonitoringRulesRuleThirdPartyCaseArgs{}) @@ -18295,6 +19008,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetTeamMembershipsTeamMembershipArrayInput)(nil)).Elem(), GetTeamMembershipsTeamMembershipArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserInput)(nil)).Elem(), GetUsersUserArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserArrayInput)(nil)).Elem(), GetUsersUserArray{}) + pulumi.RegisterOutputType(RestrictionPolicyBindingOutput{}) + pulumi.RegisterOutputType(RestrictionPolicyBindingArrayOutput{}) + pulumi.RegisterOutputType(RolePermissionOutput{}) + pulumi.RegisterOutputType(RolePermissionArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleCaseOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleCaseArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleFilterOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleFilterArrayOutput{}) pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleOptionsOutput{}) pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleOptionsPtrOutput{}) pulumi.RegisterOutputType(SecurityMonitoringFilterExclusionFilterOutput{}) @@ -18317,6 +19038,8 @@ func init() { pulumi.RegisterOutputType(SecurityMonitoringRuleQueryArrayOutput{}) pulumi.RegisterOutputType(SecurityMonitoringRuleQueryAgentRuleOutput{}) pulumi.RegisterOutputType(SecurityMonitoringRuleQueryAgentRuleArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleReferenceTableOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleReferenceTableArrayOutput{}) pulumi.RegisterOutputType(SecurityMonitoringRuleSignalQueryOutput{}) pulumi.RegisterOutputType(SecurityMonitoringRuleSignalQueryArrayOutput{}) pulumi.RegisterOutputType(SecurityMonitoringRuleThirdPartyCaseOutput{}) @@ -18504,6 +19227,8 @@ func init() { pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleQueryArrayOutput{}) pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleQueryAgentRuleOutput{}) pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleQueryAgentRuleArrayOutput{}) + pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleReferenceTableOutput{}) + pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleReferenceTableArrayOutput{}) pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleSignalQueryOutput{}) pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleSignalQueryArrayOutput{}) pulumi.RegisterOutputType(GetSecurityMonitoringRulesRuleThirdPartyCaseOutput{}) diff --git a/sdk/go/datadog/securityMonitoringRule.go b/sdk/go/datadog/securityMonitoringRule.go index 50b5517a5..6b46f3232 100644 --- a/sdk/go/datadog/securityMonitoringRule.go +++ b/sdk/go/datadog/securityMonitoringRule.go @@ -103,6 +103,8 @@ type SecurityMonitoringRule struct { Options SecurityMonitoringRuleOptionsPtrOutput `pulumi:"options"` // Queries for selecting logs which are part of the rule. Queries SecurityMonitoringRuleQueryArrayOutput `pulumi:"queries"` + // Reference tables for filtering query results. + ReferenceTables SecurityMonitoringRuleReferenceTableArrayOutput `pulumi:"referenceTables"` // Queries for selecting logs which are part of the rule. SignalQueries SecurityMonitoringRuleSignalQueryArrayOutput `pulumi:"signalQueries"` // Tags for generated signals. @@ -167,6 +169,8 @@ type securityMonitoringRuleState struct { Options *SecurityMonitoringRuleOptions `pulumi:"options"` // Queries for selecting logs which are part of the rule. Queries []SecurityMonitoringRuleQuery `pulumi:"queries"` + // Reference tables for filtering query results. + ReferenceTables []SecurityMonitoringRuleReferenceTable `pulumi:"referenceTables"` // Queries for selecting logs which are part of the rule. SignalQueries []SecurityMonitoringRuleSignalQuery `pulumi:"signalQueries"` // Tags for generated signals. @@ -196,6 +200,8 @@ type SecurityMonitoringRuleState struct { Options SecurityMonitoringRuleOptionsPtrInput // Queries for selecting logs which are part of the rule. Queries SecurityMonitoringRuleQueryArrayInput + // Reference tables for filtering query results. + ReferenceTables SecurityMonitoringRuleReferenceTableArrayInput // Queries for selecting logs which are part of the rule. SignalQueries SecurityMonitoringRuleSignalQueryArrayInput // Tags for generated signals. @@ -229,6 +235,8 @@ type securityMonitoringRuleArgs struct { Options *SecurityMonitoringRuleOptions `pulumi:"options"` // Queries for selecting logs which are part of the rule. Queries []SecurityMonitoringRuleQuery `pulumi:"queries"` + // Reference tables for filtering query results. + ReferenceTables []SecurityMonitoringRuleReferenceTable `pulumi:"referenceTables"` // Queries for selecting logs which are part of the rule. SignalQueries []SecurityMonitoringRuleSignalQuery `pulumi:"signalQueries"` // Tags for generated signals. @@ -259,6 +267,8 @@ type SecurityMonitoringRuleArgs struct { Options SecurityMonitoringRuleOptionsPtrInput // Queries for selecting logs which are part of the rule. Queries SecurityMonitoringRuleQueryArrayInput + // Reference tables for filtering query results. + ReferenceTables SecurityMonitoringRuleReferenceTableArrayInput // Queries for selecting logs which are part of the rule. SignalQueries SecurityMonitoringRuleSignalQueryArrayInput // Tags for generated signals. @@ -398,6 +408,13 @@ func (o SecurityMonitoringRuleOutput) Queries() SecurityMonitoringRuleQueryArray return o.ApplyT(func(v *SecurityMonitoringRule) SecurityMonitoringRuleQueryArrayOutput { return v.Queries }).(SecurityMonitoringRuleQueryArrayOutput) } +// Reference tables for filtering query results. +func (o SecurityMonitoringRuleOutput) ReferenceTables() SecurityMonitoringRuleReferenceTableArrayOutput { + return o.ApplyT(func(v *SecurityMonitoringRule) SecurityMonitoringRuleReferenceTableArrayOutput { + return v.ReferenceTables + }).(SecurityMonitoringRuleReferenceTableArrayOutput) +} + // Queries for selecting logs which are part of the rule. func (o SecurityMonitoringRuleOutput) SignalQueries() SecurityMonitoringRuleSignalQueryArrayOutput { return o.ApplyT(func(v *SecurityMonitoringRule) SecurityMonitoringRuleSignalQueryArrayOutput { return v.SignalQueries }).(SecurityMonitoringRuleSignalQueryArrayOutput) diff --git a/sdk/go/datadog/syntheticsTest.go b/sdk/go/datadog/syntheticsTest.go index 9fe3fa98e..ef05f574b 100644 --- a/sdk/go/datadog/syntheticsTest.go +++ b/sdk/go/datadog/syntheticsTest.go @@ -623,7 +623,7 @@ type SyntheticsTest struct { Subtype pulumi.StringPtrOutput `pulumi:"subtype"` // A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). Tags pulumi.StringArrayOutput `pulumi:"tags"` - // Synthetics test type. Valid values are `api`, `browser`. + // Synthetics test type. Valid values are `api`, `browser`, `mobile`. Type pulumi.StringOutput `pulumi:"type"` // Variables defined from JavaScript code for API HTTP tests. VariablesFromScript pulumi.StringPtrOutput `pulumi:"variablesFromScript"` @@ -718,7 +718,7 @@ type syntheticsTestState struct { Subtype *string `pulumi:"subtype"` // A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). Tags []string `pulumi:"tags"` - // Synthetics test type. Valid values are `api`, `browser`. + // Synthetics test type. Valid values are `api`, `browser`, `mobile`. Type *string `pulumi:"type"` // Variables defined from JavaScript code for API HTTP tests. VariablesFromScript *string `pulumi:"variablesFromScript"` @@ -772,7 +772,7 @@ type SyntheticsTestState struct { Subtype pulumi.StringPtrInput // A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). Tags pulumi.StringArrayInput - // Synthetics test type. Valid values are `api`, `browser`. + // Synthetics test type. Valid values are `api`, `browser`, `mobile`. Type pulumi.StringPtrInput // Variables defined from JavaScript code for API HTTP tests. VariablesFromScript pulumi.StringPtrInput @@ -828,7 +828,7 @@ type syntheticsTestArgs struct { Subtype *string `pulumi:"subtype"` // A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). Tags []string `pulumi:"tags"` - // Synthetics test type. Valid values are `api`, `browser`. + // Synthetics test type. Valid values are `api`, `browser`, `mobile`. Type string `pulumi:"type"` // Variables defined from JavaScript code for API HTTP tests. VariablesFromScript *string `pulumi:"variablesFromScript"` @@ -881,7 +881,7 @@ type SyntheticsTestArgs struct { Subtype pulumi.StringPtrInput // A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). Tags pulumi.StringArrayInput - // Synthetics test type. Valid values are `api`, `browser`. + // Synthetics test type. Valid values are `api`, `browser`, `mobile`. Type pulumi.StringInput // Variables defined from JavaScript code for API HTTP tests. VariablesFromScript pulumi.StringPtrInput @@ -1095,7 +1095,7 @@ func (o SyntheticsTestOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *SyntheticsTest) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } -// Synthetics test type. Valid values are `api`, `browser`. +// Synthetics test type. Valid values are `api`, `browser`, `mobile`. func (o SyntheticsTestOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *SyntheticsTest) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index f814e3d5d..9c3580e26 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.16.1") + implementation("com.pulumi:pulumi:0.17.0") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRule.java b/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRule.java index 8d00bb752..5d82919bf 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRule.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRule.java @@ -14,6 +14,7 @@ import com.pulumi.datadog.outputs.SecurityMonitoringRuleFilter; import com.pulumi.datadog.outputs.SecurityMonitoringRuleOptions; import com.pulumi.datadog.outputs.SecurityMonitoringRuleQuery; +import com.pulumi.datadog.outputs.SecurityMonitoringRuleReferenceTable; import com.pulumi.datadog.outputs.SecurityMonitoringRuleSignalQuery; import com.pulumi.datadog.outputs.SecurityMonitoringRuleThirdPartyCase; import java.lang.Boolean; @@ -212,6 +213,20 @@ public Output> options() { public Output>> queries() { return Codegen.optional(this.queries); } + /** + * Reference tables for filtering query results. + * + */ + @Export(name="referenceTables", refs={List.class,SecurityMonitoringRuleReferenceTable.class}, tree="[0,1]") + private Output> referenceTables; + + /** + * @return Reference tables for filtering query results. + * + */ + public Output>> referenceTables() { + return Codegen.optional(this.referenceTables); + } /** * Queries for selecting logs which are part of the rule. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRuleArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRuleArgs.java index bf55b5e83..a4f5ed763 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRuleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/SecurityMonitoringRuleArgs.java @@ -9,6 +9,7 @@ import com.pulumi.datadog.inputs.SecurityMonitoringRuleFilterArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleOptionsArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleQueryArgs; +import com.pulumi.datadog.inputs.SecurityMonitoringRuleReferenceTableArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleSignalQueryArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleThirdPartyCaseArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -144,6 +145,21 @@ public Optional>> queries() { return Optional.ofNullable(this.queries); } + /** + * Reference tables for filtering query results. + * + */ + @Import(name="referenceTables") + private @Nullable Output> referenceTables; + + /** + * @return Reference tables for filtering query results. + * + */ + public Optional>> referenceTables() { + return Optional.ofNullable(this.referenceTables); + } + /** * Queries for selecting logs which are part of the rule. * @@ -230,6 +246,7 @@ private SecurityMonitoringRuleArgs(SecurityMonitoringRuleArgs $) { this.name = $.name; this.options = $.options; this.queries = $.queries; + this.referenceTables = $.referenceTables; this.signalQueries = $.signalQueries; this.tags = $.tags; this.thirdPartyCases = $.thirdPartyCases; @@ -453,6 +470,37 @@ public Builder queries(SecurityMonitoringRuleQueryArgs... queries) { return queries(List.of(queries)); } + /** + * @param referenceTables Reference tables for filtering query results. + * + * @return builder + * + */ + public Builder referenceTables(@Nullable Output> referenceTables) { + $.referenceTables = referenceTables; + return this; + } + + /** + * @param referenceTables Reference tables for filtering query results. + * + * @return builder + * + */ + public Builder referenceTables(List referenceTables) { + return referenceTables(Output.of(referenceTables)); + } + + /** + * @param referenceTables Reference tables for filtering query results. + * + * @return builder + * + */ + public Builder referenceTables(SecurityMonitoringRuleReferenceTableArgs... referenceTables) { + return referenceTables(List.of(referenceTables)); + } + /** * @param signalQueries Queries for selecting logs which are part of the rule. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTest.java b/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTest.java index 49892df64..c0886432c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTest.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTest.java @@ -858,14 +858,14 @@ public Output>> tags() { return Codegen.optional(this.tags); } /** - * Synthetics test type. Valid values are `api`, `browser`. + * Synthetics test type. Valid values are `api`, `browser`, `mobile`. * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** - * @return Synthetics test type. Valid values are `api`, `browser`. + * @return Synthetics test type. Valid values are `api`, `browser`, `mobile`. * */ public Output type() { diff --git a/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTestArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTestArgs.java index 873d8e139..7c8dc77eb 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTestArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/SyntheticsTestArgs.java @@ -368,14 +368,14 @@ public Optional>> tags() { } /** - * Synthetics test type. Valid values are `api`, `browser`. + * Synthetics test type. Valid values are `api`, `browser`, `mobile`. * */ @Import(name="type", required=true) private Output type; /** - * @return Synthetics test type. Valid values are `api`, `browser`. + * @return Synthetics test type. Valid values are `api`, `browser`, `mobile`. * */ public Output type() { @@ -1007,7 +1007,7 @@ public Builder tags(String... tags) { } /** - * @param type Synthetics test type. Valid values are `api`, `browser`. + * @param type Synthetics test type. Valid values are `api`, `browser`, `mobile`. * * @return builder * @@ -1018,7 +1018,7 @@ public Builder type(Output type) { } /** - * @param type Synthetics test type. Valid values are `api`, `browser`. + * @param type Synthetics test type. Valid values are `api`, `browser`, `mobile`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccount.java b/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccount.java index 647835571..f04bed4cb 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccount.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccount.java @@ -107,6 +107,20 @@ public Output> email() { public Output name() { return this.name; } + /** + * An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + */ + @Export(name="resources", refs={List.class,String.class}, tree="[0,1]") + private Output> resources; + + /** + * @return An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + */ + public Output> resources() { + return this.resources; + } /** * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccountArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccountArgs.java index 8ab27c91c..6005c9200 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccountArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/IntegrationAccountArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -61,12 +62,28 @@ public Output name() { return this.name; } + /** + * An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + */ + @Import(name="resources") + private @Nullable Output> resources; + + /** + * @return An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + */ + public Optional>> resources() { + return Optional.ofNullable(this.resources); + } + private IntegrationAccountArgs() {} private IntegrationAccountArgs(IntegrationAccountArgs $) { this.apiKey = $.apiKey; this.email = $.email; this.name = $.name; + this.resources = $.resources; } public static Builder builder() { @@ -150,6 +167,37 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param resources An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + * @return builder + * + */ + public Builder resources(@Nullable Output> resources) { + $.resources = resources; + return this; + } + + /** + * @param resources An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + * @return builder + * + */ + public Builder resources(List resources) { + return resources(Output.of(resources)); + } + + /** + * @param resources An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + * @return builder + * + */ + public Builder resources(String... resources) { + return resources(List.of(resources)); + } + public IntegrationAccountArgs build() { if ($.apiKey == null) { throw new MissingRequiredPropertyException("IntegrationAccountArgs", "apiKey"); diff --git a/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/inputs/IntegrationAccountState.java b/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/inputs/IntegrationAccountState.java index 89200d145..3e556975a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/inputs/IntegrationAccountState.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/cloudflare/inputs/IntegrationAccountState.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -60,12 +61,28 @@ public Optional> name() { return Optional.ofNullable(this.name); } + /** + * An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + */ + @Import(name="resources") + private @Nullable Output> resources; + + /** + * @return An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + */ + public Optional>> resources() { + return Optional.ofNullable(this.resources); + } + private IntegrationAccountState() {} private IntegrationAccountState(IntegrationAccountState $) { this.apiKey = $.apiKey; this.email = $.email; this.name = $.name; + this.resources = $.resources; } public static Builder builder() { @@ -149,6 +166,37 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param resources An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + * @return builder + * + */ + public Builder resources(@Nullable Output> resources) { + $.resources = resources; + return this; + } + + /** + * @param resources An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + * @return builder + * + */ + public Builder resources(List resources) { + return resources(Output.of(resources)); + } + + /** + * @param resources An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + * + * @return builder + * + */ + public Builder resources(String... resources) { + return resources(List.of(resources)); + } + public IntegrationAccountState build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/Integration.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/Integration.java index f4999b84d..1652fd0d9 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/gcp/Integration.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/Integration.java @@ -13,6 +13,7 @@ import java.lang.Boolean; import java.lang.String; import java.util.List; +import java.util.Optional; import javax.annotation.Nullable; /** @@ -71,6 +72,20 @@ public Output clientEmail() { public Output clientId() { return this.clientId; } + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + @Export(name="cloudRunRevisionFilters", refs={List.class,String.class}, tree="[0,1]") + private Output> cloudRunRevisionFilters; + + /** + * @return Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + public Output>> cloudRunRevisionFilters() { + return Codegen.optional(this.cloudRunRevisionFilters); + } /** * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. * @@ -99,6 +114,20 @@ public Output cspmResourceCollectionEnabled() { public Output hostFilters() { return this.hostFilters; } + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + @Export(name="isResourceChangeCollectionEnabled", refs={Boolean.class}, tree="[0]") + private Output isResourceChangeCollectionEnabled; + + /** + * @return When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + public Output isResourceChangeCollectionEnabled() { + return this.isResourceChangeCollectionEnabled; + } /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationArgs.java index d104aed7e..6630fd791 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationArgs.java @@ -8,6 +8,7 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -62,6 +63,21 @@ public Output clientId() { return this.clientId; } + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + @Import(name="cloudRunRevisionFilters") + private @Nullable Output> cloudRunRevisionFilters; + + /** + * @return Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + public Optional>> cloudRunRevisionFilters() { + return Optional.ofNullable(this.cloudRunRevisionFilters); + } + /** * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. * @@ -92,6 +108,21 @@ public Optional> hostFilters() { return Optional.ofNullable(this.hostFilters); } + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + @Import(name="isResourceChangeCollectionEnabled") + private @Nullable Output isResourceChangeCollectionEnabled; + + /** + * @return When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + public Optional> isResourceChangeCollectionEnabled() { + return Optional.ofNullable(this.isResourceChangeCollectionEnabled); + } + /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * @@ -173,8 +204,10 @@ private IntegrationArgs(IntegrationArgs $) { this.automute = $.automute; this.clientEmail = $.clientEmail; this.clientId = $.clientId; + this.cloudRunRevisionFilters = $.cloudRunRevisionFilters; this.cspmResourceCollectionEnabled = $.cspmResourceCollectionEnabled; this.hostFilters = $.hostFilters; + this.isResourceChangeCollectionEnabled = $.isResourceChangeCollectionEnabled; this.isSecurityCommandCenterEnabled = $.isSecurityCommandCenterEnabled; this.privateKey = $.privateKey; this.privateKeyId = $.privateKeyId; @@ -263,6 +296,37 @@ public Builder clientId(String clientId) { return clientId(Output.of(clientId)); } + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(@Nullable Output> cloudRunRevisionFilters) { + $.cloudRunRevisionFilters = cloudRunRevisionFilters; + return this; + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(List cloudRunRevisionFilters) { + return cloudRunRevisionFilters(Output.of(cloudRunRevisionFilters)); + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(String... cloudRunRevisionFilters) { + return cloudRunRevisionFilters(List.of(cloudRunRevisionFilters)); + } + /** * @param cspmResourceCollectionEnabled Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. * @@ -305,6 +369,27 @@ public Builder hostFilters(String hostFilters) { return hostFilters(Output.of(hostFilters)); } + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(@Nullable Output isResourceChangeCollectionEnabled) { + $.isResourceChangeCollectionEnabled = isResourceChangeCollectionEnabled; + return this; + } + + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled) { + return isResourceChangeCollectionEnabled(Output.of(isResourceChangeCollectionEnabled)); + } + /** * @param isSecurityCommandCenterEnabled When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationSts.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationSts.java index 2e4dda62a..692f02f91 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationSts.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationSts.java @@ -10,6 +10,7 @@ import com.pulumi.datadog.Utilities; import com.pulumi.datadog.gcp.IntegrationStsArgs; import com.pulumi.datadog.gcp.inputs.IntegrationStsState; +import com.pulumi.datadog.gcp.outputs.IntegrationStsMetricNamespaceConfig; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -70,6 +71,20 @@ public Output automute() { public Output clientEmail() { return this.clientEmail; } + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + @Export(name="cloudRunRevisionFilters", refs={List.class,String.class}, tree="[0,1]") + private Output> cloudRunRevisionFilters; + + /** + * @return Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + public Output>> cloudRunRevisionFilters() { + return Codegen.optional(this.cloudRunRevisionFilters); + } /** * Datadog's STS Delegate Email. * @@ -112,6 +127,20 @@ public Output>> hostFilters() { public Output isCspmEnabled() { return this.isCspmEnabled; } + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + @Export(name="isResourceChangeCollectionEnabled", refs={Boolean.class}, tree="[0]") + private Output isResourceChangeCollectionEnabled; + + /** + * @return When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + public Output isResourceChangeCollectionEnabled() { + return this.isResourceChangeCollectionEnabled; + } /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * @@ -126,6 +155,20 @@ public Output isCspmEnabled() { public Output isSecurityCommandCenterEnabled() { return this.isSecurityCommandCenterEnabled; } + /** + * Configuration for a GCP metric namespace. + * + */ + @Export(name="metricNamespaceConfigs", refs={List.class,IntegrationStsMetricNamespaceConfig.class}, tree="[0,1]") + private Output> metricNamespaceConfigs; + + /** + * @return Configuration for a GCP metric namespace. + * + */ + public Output>> metricNamespaceConfigs() { + return Codegen.optional(this.metricNamespaceConfigs); + } /** * When enabled, Datadog scans for all resources in your GCP environment. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationStsArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationStsArgs.java index f8613ff56..b8a83e1ee 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationStsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/IntegrationStsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.gcp.inputs.IntegrationStsMetricNamespaceConfigArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; @@ -63,6 +64,21 @@ public Output clientEmail() { return this.clientEmail; } + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + @Import(name="cloudRunRevisionFilters") + private @Nullable Output> cloudRunRevisionFilters; + + /** + * @return Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + public Optional>> cloudRunRevisionFilters() { + return Optional.ofNullable(this.cloudRunRevisionFilters); + } + /** * Your Host Filters. * @@ -93,6 +109,21 @@ public Optional> isCspmEnabled() { return Optional.ofNullable(this.isCspmEnabled); } + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + @Import(name="isResourceChangeCollectionEnabled") + private @Nullable Output isResourceChangeCollectionEnabled; + + /** + * @return When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + public Optional> isResourceChangeCollectionEnabled() { + return Optional.ofNullable(this.isResourceChangeCollectionEnabled); + } + /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * @@ -108,6 +139,21 @@ public Optional> isSecurityCommandCenterEnabled() { return Optional.ofNullable(this.isSecurityCommandCenterEnabled); } + /** + * Configuration for a GCP metric namespace. + * + */ + @Import(name="metricNamespaceConfigs") + private @Nullable Output> metricNamespaceConfigs; + + /** + * @return Configuration for a GCP metric namespace. + * + */ + public Optional>> metricNamespaceConfigs() { + return Optional.ofNullable(this.metricNamespaceConfigs); + } + /** * When enabled, Datadog scans for all resources in your GCP environment. * @@ -129,9 +175,12 @@ private IntegrationStsArgs(IntegrationStsArgs $) { this.accountTags = $.accountTags; this.automute = $.automute; this.clientEmail = $.clientEmail; + this.cloudRunRevisionFilters = $.cloudRunRevisionFilters; this.hostFilters = $.hostFilters; this.isCspmEnabled = $.isCspmEnabled; + this.isResourceChangeCollectionEnabled = $.isResourceChangeCollectionEnabled; this.isSecurityCommandCenterEnabled = $.isSecurityCommandCenterEnabled; + this.metricNamespaceConfigs = $.metricNamespaceConfigs; this.resourceCollectionEnabled = $.resourceCollectionEnabled; } @@ -226,6 +275,37 @@ public Builder clientEmail(String clientEmail) { return clientEmail(Output.of(clientEmail)); } + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(@Nullable Output> cloudRunRevisionFilters) { + $.cloudRunRevisionFilters = cloudRunRevisionFilters; + return this; + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(List cloudRunRevisionFilters) { + return cloudRunRevisionFilters(Output.of(cloudRunRevisionFilters)); + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(String... cloudRunRevisionFilters) { + return cloudRunRevisionFilters(List.of(cloudRunRevisionFilters)); + } + /** * @param hostFilters Your Host Filters. * @@ -278,6 +358,27 @@ public Builder isCspmEnabled(Boolean isCspmEnabled) { return isCspmEnabled(Output.of(isCspmEnabled)); } + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(@Nullable Output isResourceChangeCollectionEnabled) { + $.isResourceChangeCollectionEnabled = isResourceChangeCollectionEnabled; + return this; + } + + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled) { + return isResourceChangeCollectionEnabled(Output.of(isResourceChangeCollectionEnabled)); + } + /** * @param isSecurityCommandCenterEnabled When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * @@ -299,6 +400,37 @@ public Builder isSecurityCommandCenterEnabled(Boolean isSecurityCommandCenterEna return isSecurityCommandCenterEnabled(Output.of(isSecurityCommandCenterEnabled)); } + /** + * @param metricNamespaceConfigs Configuration for a GCP metric namespace. + * + * @return builder + * + */ + public Builder metricNamespaceConfigs(@Nullable Output> metricNamespaceConfigs) { + $.metricNamespaceConfigs = metricNamespaceConfigs; + return this; + } + + /** + * @param metricNamespaceConfigs Configuration for a GCP metric namespace. + * + * @return builder + * + */ + public Builder metricNamespaceConfigs(List metricNamespaceConfigs) { + return metricNamespaceConfigs(Output.of(metricNamespaceConfigs)); + } + + /** + * @param metricNamespaceConfigs Configuration for a GCP metric namespace. + * + * @return builder + * + */ + public Builder metricNamespaceConfigs(IntegrationStsMetricNamespaceConfigArgs... metricNamespaceConfigs) { + return metricNamespaceConfigs(List.of(metricNamespaceConfigs)); + } + /** * @param resourceCollectionEnabled When enabled, Datadog scans for all resources in your GCP environment. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationState.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationState.java index 16022bacd..e4a592821 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationState.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationState.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import java.lang.Boolean; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -61,6 +62,21 @@ public Optional> clientId() { return Optional.ofNullable(this.clientId); } + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + @Import(name="cloudRunRevisionFilters") + private @Nullable Output> cloudRunRevisionFilters; + + /** + * @return Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + public Optional>> cloudRunRevisionFilters() { + return Optional.ofNullable(this.cloudRunRevisionFilters); + } + /** * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. * @@ -91,6 +107,21 @@ public Optional> hostFilters() { return Optional.ofNullable(this.hostFilters); } + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + @Import(name="isResourceChangeCollectionEnabled") + private @Nullable Output isResourceChangeCollectionEnabled; + + /** + * @return When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + public Optional> isResourceChangeCollectionEnabled() { + return Optional.ofNullable(this.isResourceChangeCollectionEnabled); + } + /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * @@ -172,8 +203,10 @@ private IntegrationState(IntegrationState $) { this.automute = $.automute; this.clientEmail = $.clientEmail; this.clientId = $.clientId; + this.cloudRunRevisionFilters = $.cloudRunRevisionFilters; this.cspmResourceCollectionEnabled = $.cspmResourceCollectionEnabled; this.hostFilters = $.hostFilters; + this.isResourceChangeCollectionEnabled = $.isResourceChangeCollectionEnabled; this.isSecurityCommandCenterEnabled = $.isSecurityCommandCenterEnabled; this.privateKey = $.privateKey; this.privateKeyId = $.privateKeyId; @@ -262,6 +295,37 @@ public Builder clientId(String clientId) { return clientId(Output.of(clientId)); } + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(@Nullable Output> cloudRunRevisionFilters) { + $.cloudRunRevisionFilters = cloudRunRevisionFilters; + return this; + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(List cloudRunRevisionFilters) { + return cloudRunRevisionFilters(Output.of(cloudRunRevisionFilters)); + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(String... cloudRunRevisionFilters) { + return cloudRunRevisionFilters(List.of(cloudRunRevisionFilters)); + } + /** * @param cspmResourceCollectionEnabled Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. * @@ -304,6 +368,27 @@ public Builder hostFilters(String hostFilters) { return hostFilters(Output.of(hostFilters)); } + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(@Nullable Output isResourceChangeCollectionEnabled) { + $.isResourceChangeCollectionEnabled = isResourceChangeCollectionEnabled; + return this; + } + + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled) { + return isResourceChangeCollectionEnabled(Output.of(isResourceChangeCollectionEnabled)); + } + /** * @param isSecurityCommandCenterEnabled When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsMetricNamespaceConfigArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsMetricNamespaceConfigArgs.java new file mode 100644 index 000000000..a93eb5f1e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsMetricNamespaceConfigArgs.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.gcp.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + + +public final class IntegrationStsMetricNamespaceConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final IntegrationStsMetricNamespaceConfigArgs Empty = new IntegrationStsMetricNamespaceConfigArgs(); + + @Import(name="disabled", required=true) + private Output disabled; + + public Output disabled() { + return this.disabled; + } + + @Import(name="id", required=true) + private Output id; + + public Output id() { + return this.id; + } + + private IntegrationStsMetricNamespaceConfigArgs() {} + + private IntegrationStsMetricNamespaceConfigArgs(IntegrationStsMetricNamespaceConfigArgs $) { + this.disabled = $.disabled; + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IntegrationStsMetricNamespaceConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IntegrationStsMetricNamespaceConfigArgs $; + + public Builder() { + $ = new IntegrationStsMetricNamespaceConfigArgs(); + } + + public Builder(IntegrationStsMetricNamespaceConfigArgs defaults) { + $ = new IntegrationStsMetricNamespaceConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder disabled(Output disabled) { + $.disabled = disabled; + return this; + } + + public Builder disabled(Boolean disabled) { + return disabled(Output.of(disabled)); + } + + public Builder id(Output id) { + $.id = id; + return this; + } + + public Builder id(String id) { + return id(Output.of(id)); + } + + public IntegrationStsMetricNamespaceConfigArgs build() { + if ($.disabled == null) { + throw new MissingRequiredPropertyException("IntegrationStsMetricNamespaceConfigArgs", "disabled"); + } + if ($.id == null) { + throw new MissingRequiredPropertyException("IntegrationStsMetricNamespaceConfigArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsState.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsState.java index 41459eeee..6a2f6e01f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsState.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/inputs/IntegrationStsState.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.gcp.inputs.IntegrationStsMetricNamespaceConfigArgs; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -62,6 +63,21 @@ public Optional> clientEmail() { return Optional.ofNullable(this.clientEmail); } + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + @Import(name="cloudRunRevisionFilters") + private @Nullable Output> cloudRunRevisionFilters; + + /** + * @return Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + */ + public Optional>> cloudRunRevisionFilters() { + return Optional.ofNullable(this.cloudRunRevisionFilters); + } + /** * Datadog's STS Delegate Email. * @@ -107,6 +123,21 @@ public Optional> isCspmEnabled() { return Optional.ofNullable(this.isCspmEnabled); } + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + @Import(name="isResourceChangeCollectionEnabled") + private @Nullable Output isResourceChangeCollectionEnabled; + + /** + * @return When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + */ + public Optional> isResourceChangeCollectionEnabled() { + return Optional.ofNullable(this.isResourceChangeCollectionEnabled); + } + /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * @@ -122,6 +153,21 @@ public Optional> isSecurityCommandCenterEnabled() { return Optional.ofNullable(this.isSecurityCommandCenterEnabled); } + /** + * Configuration for a GCP metric namespace. + * + */ + @Import(name="metricNamespaceConfigs") + private @Nullable Output> metricNamespaceConfigs; + + /** + * @return Configuration for a GCP metric namespace. + * + */ + public Optional>> metricNamespaceConfigs() { + return Optional.ofNullable(this.metricNamespaceConfigs); + } + /** * When enabled, Datadog scans for all resources in your GCP environment. * @@ -143,10 +189,13 @@ private IntegrationStsState(IntegrationStsState $) { this.accountTags = $.accountTags; this.automute = $.automute; this.clientEmail = $.clientEmail; + this.cloudRunRevisionFilters = $.cloudRunRevisionFilters; this.delegateAccountEmail = $.delegateAccountEmail; this.hostFilters = $.hostFilters; this.isCspmEnabled = $.isCspmEnabled; + this.isResourceChangeCollectionEnabled = $.isResourceChangeCollectionEnabled; this.isSecurityCommandCenterEnabled = $.isSecurityCommandCenterEnabled; + this.metricNamespaceConfigs = $.metricNamespaceConfigs; this.resourceCollectionEnabled = $.resourceCollectionEnabled; } @@ -241,6 +290,37 @@ public Builder clientEmail(String clientEmail) { return clientEmail(Output.of(clientEmail)); } + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(@Nullable Output> cloudRunRevisionFilters) { + $.cloudRunRevisionFilters = cloudRunRevisionFilters; + return this; + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(List cloudRunRevisionFilters) { + return cloudRunRevisionFilters(Output.of(cloudRunRevisionFilters)); + } + + /** + * @param cloudRunRevisionFilters Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + * + * @return builder + * + */ + public Builder cloudRunRevisionFilters(String... cloudRunRevisionFilters) { + return cloudRunRevisionFilters(List.of(cloudRunRevisionFilters)); + } + /** * @param delegateAccountEmail Datadog's STS Delegate Email. * @@ -314,6 +394,27 @@ public Builder isCspmEnabled(Boolean isCspmEnabled) { return isCspmEnabled(Output.of(isCspmEnabled)); } + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(@Nullable Output isResourceChangeCollectionEnabled) { + $.isResourceChangeCollectionEnabled = isResourceChangeCollectionEnabled; + return this; + } + + /** + * @param isResourceChangeCollectionEnabled When enabled, Datadog scans for all resource change data in your Google Cloud environment. + * + * @return builder + * + */ + public Builder isResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled) { + return isResourceChangeCollectionEnabled(Output.of(isResourceChangeCollectionEnabled)); + } + /** * @param isSecurityCommandCenterEnabled When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. * @@ -335,6 +436,37 @@ public Builder isSecurityCommandCenterEnabled(Boolean isSecurityCommandCenterEna return isSecurityCommandCenterEnabled(Output.of(isSecurityCommandCenterEnabled)); } + /** + * @param metricNamespaceConfigs Configuration for a GCP metric namespace. + * + * @return builder + * + */ + public Builder metricNamespaceConfigs(@Nullable Output> metricNamespaceConfigs) { + $.metricNamespaceConfigs = metricNamespaceConfigs; + return this; + } + + /** + * @param metricNamespaceConfigs Configuration for a GCP metric namespace. + * + * @return builder + * + */ + public Builder metricNamespaceConfigs(List metricNamespaceConfigs) { + return metricNamespaceConfigs(Output.of(metricNamespaceConfigs)); + } + + /** + * @param metricNamespaceConfigs Configuration for a GCP metric namespace. + * + * @return builder + * + */ + public Builder metricNamespaceConfigs(IntegrationStsMetricNamespaceConfigArgs... metricNamespaceConfigs) { + return metricNamespaceConfigs(List.of(metricNamespaceConfigs)); + } + /** * @param resourceCollectionEnabled When enabled, Datadog scans for all resources in your GCP environment. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/gcp/outputs/IntegrationStsMetricNamespaceConfig.java b/sdk/java/src/main/java/com/pulumi/datadog/gcp/outputs/IntegrationStsMetricNamespaceConfig.java new file mode 100644 index 000000000..a77ba9513 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/gcp/outputs/IntegrationStsMetricNamespaceConfig.java @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.gcp.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class IntegrationStsMetricNamespaceConfig { + private Boolean disabled; + private String id; + + private IntegrationStsMetricNamespaceConfig() {} + public Boolean disabled() { + return this.disabled; + } + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IntegrationStsMetricNamespaceConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean disabled; + private String id; + public Builder() {} + public Builder(IntegrationStsMetricNamespaceConfig defaults) { + Objects.requireNonNull(defaults); + this.disabled = defaults.disabled; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder disabled(Boolean disabled) { + if (disabled == null) { + throw new MissingRequiredPropertyException("IntegrationStsMetricNamespaceConfig", "disabled"); + } + this.disabled = disabled; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("IntegrationStsMetricNamespaceConfig", "id"); + } + this.id = id; + return this; + } + public IntegrationStsMetricNamespaceConfig build() { + final var _resultValue = new IntegrationStsMetricNamespaceConfig(); + _resultValue.disabled = disabled; + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionArgs.java index 03c5c17a7..b597755ae 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionArgs.java @@ -6,6 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestArgs; +import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionXaxisArgs; +import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionYaxisArgs; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,6 +125,36 @@ public Optional> titleSize() { return Optional.ofNullable(this.titleSize); } + /** + * A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + @Import(name="xaxis") + private @Nullable Output xaxis; + + /** + * @return A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional> xaxis() { + return Optional.ofNullable(this.xaxis); + } + + /** + * A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + @Import(name="yaxis") + private @Nullable Output yaxis; + + /** + * @return A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional> yaxis() { + return Optional.ofNullable(this.yaxis); + } + private DashboardWidgetDistributionDefinitionArgs() {} private DashboardWidgetDistributionDefinitionArgs(DashboardWidgetDistributionDefinitionArgs $) { @@ -133,6 +165,8 @@ private DashboardWidgetDistributionDefinitionArgs(DashboardWidgetDistributionDef this.title = $.title; this.titleAlign = $.titleAlign; this.titleSize = $.titleSize; + this.xaxis = $.xaxis; + this.yaxis = $.yaxis; } public static Builder builder() { @@ -310,6 +344,48 @@ public Builder titleSize(String titleSize) { return titleSize(Output.of(titleSize)); } + /** + * @param xaxis A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder xaxis(@Nullable Output xaxis) { + $.xaxis = xaxis; + return this; + } + + /** + * @param xaxis A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder xaxis(DashboardWidgetDistributionDefinitionXaxisArgs xaxis) { + return xaxis(Output.of(xaxis)); + } + + /** + * @param yaxis A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder yaxis(@Nullable Output yaxis) { + $.yaxis = yaxis; + return this; + } + + /** + * @param yaxis A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder yaxis(DashboardWidgetDistributionDefinitionYaxisArgs yaxis) { + return yaxis(Output.of(yaxis)); + } + public DashboardWidgetDistributionDefinitionArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionXaxisArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionXaxisArgs.java new file mode 100644 index 000000000..a33d19123 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionXaxisArgs.java @@ -0,0 +1,195 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DashboardWidgetDistributionDefinitionXaxisArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetDistributionDefinitionXaxisArgs Empty = new DashboardWidgetDistributionDefinitionXaxisArgs(); + + /** + * Always include zero or fit the axis to the data range. + * + */ + @Import(name="includeZero") + private @Nullable Output includeZero; + + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional> includeZero() { + return Optional.ofNullable(this.includeZero); + } + + /** + * Specify the maximum value to show on the Y-axis. + * + */ + @Import(name="max") + private @Nullable Output max; + + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional> max() { + return Optional.ofNullable(this.max); + } + + /** + * Specify the minimum value to show on the Y-axis. + * + */ + @Import(name="min") + private @Nullable Output min; + + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional> min() { + return Optional.ofNullable(this.min); + } + + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + @Import(name="scale") + private @Nullable Output scale; + + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional> scale() { + return Optional.ofNullable(this.scale); + } + + private DashboardWidgetDistributionDefinitionXaxisArgs() {} + + private DashboardWidgetDistributionDefinitionXaxisArgs(DashboardWidgetDistributionDefinitionXaxisArgs $) { + this.includeZero = $.includeZero; + this.max = $.max; + this.min = $.min; + this.scale = $.scale; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetDistributionDefinitionXaxisArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetDistributionDefinitionXaxisArgs $; + + public Builder() { + $ = new DashboardWidgetDistributionDefinitionXaxisArgs(); + } + + public Builder(DashboardWidgetDistributionDefinitionXaxisArgs defaults) { + $ = new DashboardWidgetDistributionDefinitionXaxisArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(@Nullable Output includeZero) { + $.includeZero = includeZero; + return this; + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(Boolean includeZero) { + return includeZero(Output.of(includeZero)); + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(@Nullable Output max) { + $.max = max; + return this; + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(String max) { + return max(Output.of(max)); + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(@Nullable Output min) { + $.min = min; + return this; + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(String min) { + return min(Output.of(min)); + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(@Nullable Output scale) { + $.scale = scale; + return this; + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(String scale) { + return scale(Output.of(scale)); + } + + public DashboardWidgetDistributionDefinitionXaxisArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionYaxisArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionYaxisArgs.java new file mode 100644 index 000000000..fe6276c9f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionYaxisArgs.java @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DashboardWidgetDistributionDefinitionYaxisArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetDistributionDefinitionYaxisArgs Empty = new DashboardWidgetDistributionDefinitionYaxisArgs(); + + /** + * Always include zero or fit the axis to the data range. + * + */ + @Import(name="includeZero") + private @Nullable Output includeZero; + + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional> includeZero() { + return Optional.ofNullable(this.includeZero); + } + + /** + * The label of the axis to display on the graph. + * + */ + @Import(name="label") + private @Nullable Output label; + + /** + * @return The label of the axis to display on the graph. + * + */ + public Optional> label() { + return Optional.ofNullable(this.label); + } + + /** + * Specify the maximum value to show on the Y-axis. + * + */ + @Import(name="max") + private @Nullable Output max; + + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional> max() { + return Optional.ofNullable(this.max); + } + + /** + * Specify the minimum value to show on the Y-axis. + * + */ + @Import(name="min") + private @Nullable Output min; + + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional> min() { + return Optional.ofNullable(this.min); + } + + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + @Import(name="scale") + private @Nullable Output scale; + + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional> scale() { + return Optional.ofNullable(this.scale); + } + + private DashboardWidgetDistributionDefinitionYaxisArgs() {} + + private DashboardWidgetDistributionDefinitionYaxisArgs(DashboardWidgetDistributionDefinitionYaxisArgs $) { + this.includeZero = $.includeZero; + this.label = $.label; + this.max = $.max; + this.min = $.min; + this.scale = $.scale; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetDistributionDefinitionYaxisArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetDistributionDefinitionYaxisArgs $; + + public Builder() { + $ = new DashboardWidgetDistributionDefinitionYaxisArgs(); + } + + public Builder(DashboardWidgetDistributionDefinitionYaxisArgs defaults) { + $ = new DashboardWidgetDistributionDefinitionYaxisArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(@Nullable Output includeZero) { + $.includeZero = includeZero; + return this; + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(Boolean includeZero) { + return includeZero(Output.of(includeZero)); + } + + /** + * @param label The label of the axis to display on the graph. + * + * @return builder + * + */ + public Builder label(@Nullable Output label) { + $.label = label; + return this; + } + + /** + * @param label The label of the axis to display on the graph. + * + * @return builder + * + */ + public Builder label(String label) { + return label(Output.of(label)); + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(@Nullable Output max) { + $.max = max; + return this; + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(String max) { + return max(Output.of(max)); + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(@Nullable Output min) { + $.min = min; + return this; + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(String min) { + return min(Output.of(min)); + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(@Nullable Output scale) { + $.scale = scale; + return this; + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(String scale) { + return scale(Output.of(scale)); + } + + public DashboardWidgetDistributionDefinitionYaxisArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.java index 104871587..bef22a06c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetListStreamDefinitionRequestQueryArgs.java @@ -19,14 +19,14 @@ public final class DashboardWidgetListStreamDefinitionRequestQueryArgs extends c public static final DashboardWidgetListStreamDefinitionRequestQueryArgs Empty = new DashboardWidgetListStreamDefinitionRequestQueryArgs(); /** - * Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ @Import(name="dataSource", required=true) private Output dataSource; /** - * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ public Output dataSource() { @@ -138,7 +138,7 @@ public Builder(DashboardWidgetListStreamDefinitionRequestQueryArgs defaults) { } /** - * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * * @return builder * @@ -149,7 +149,7 @@ public Builder dataSource(Output dataSource) { } /** - * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionArgs.java index 4c6c0087f..dbee9b54a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionArgs.java @@ -6,6 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.PowerpackWidgetDistributionDefinitionRequestArgs; +import com.pulumi.datadog.inputs.PowerpackWidgetDistributionDefinitionXaxisArgs; +import com.pulumi.datadog.inputs.PowerpackWidgetDistributionDefinitionYaxisArgs; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,6 +125,36 @@ public Optional> titleSize() { return Optional.ofNullable(this.titleSize); } + /** + * A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + @Import(name="xaxis") + private @Nullable Output xaxis; + + /** + * @return A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional> xaxis() { + return Optional.ofNullable(this.xaxis); + } + + /** + * A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + @Import(name="yaxis") + private @Nullable Output yaxis; + + /** + * @return A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional> yaxis() { + return Optional.ofNullable(this.yaxis); + } + private PowerpackWidgetDistributionDefinitionArgs() {} private PowerpackWidgetDistributionDefinitionArgs(PowerpackWidgetDistributionDefinitionArgs $) { @@ -133,6 +165,8 @@ private PowerpackWidgetDistributionDefinitionArgs(PowerpackWidgetDistributionDef this.title = $.title; this.titleAlign = $.titleAlign; this.titleSize = $.titleSize; + this.xaxis = $.xaxis; + this.yaxis = $.yaxis; } public static Builder builder() { @@ -310,6 +344,48 @@ public Builder titleSize(String titleSize) { return titleSize(Output.of(titleSize)); } + /** + * @param xaxis A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder xaxis(@Nullable Output xaxis) { + $.xaxis = xaxis; + return this; + } + + /** + * @param xaxis A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder xaxis(PowerpackWidgetDistributionDefinitionXaxisArgs xaxis) { + return xaxis(Output.of(xaxis)); + } + + /** + * @param yaxis A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder yaxis(@Nullable Output yaxis) { + $.yaxis = yaxis; + return this; + } + + /** + * @param yaxis A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + * @return builder + * + */ + public Builder yaxis(PowerpackWidgetDistributionDefinitionYaxisArgs yaxis) { + return yaxis(Output.of(yaxis)); + } + public PowerpackWidgetDistributionDefinitionArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.java new file mode 100644 index 000000000..0bb6674d0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionXaxisArgs.java @@ -0,0 +1,195 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PowerpackWidgetDistributionDefinitionXaxisArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetDistributionDefinitionXaxisArgs Empty = new PowerpackWidgetDistributionDefinitionXaxisArgs(); + + /** + * Always include zero or fit the axis to the data range. + * + */ + @Import(name="includeZero") + private @Nullable Output includeZero; + + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional> includeZero() { + return Optional.ofNullable(this.includeZero); + } + + /** + * Specify the maximum value to show on the Y-axis. + * + */ + @Import(name="max") + private @Nullable Output max; + + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional> max() { + return Optional.ofNullable(this.max); + } + + /** + * Specify the minimum value to show on the Y-axis. + * + */ + @Import(name="min") + private @Nullable Output min; + + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional> min() { + return Optional.ofNullable(this.min); + } + + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + @Import(name="scale") + private @Nullable Output scale; + + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional> scale() { + return Optional.ofNullable(this.scale); + } + + private PowerpackWidgetDistributionDefinitionXaxisArgs() {} + + private PowerpackWidgetDistributionDefinitionXaxisArgs(PowerpackWidgetDistributionDefinitionXaxisArgs $) { + this.includeZero = $.includeZero; + this.max = $.max; + this.min = $.min; + this.scale = $.scale; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetDistributionDefinitionXaxisArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetDistributionDefinitionXaxisArgs $; + + public Builder() { + $ = new PowerpackWidgetDistributionDefinitionXaxisArgs(); + } + + public Builder(PowerpackWidgetDistributionDefinitionXaxisArgs defaults) { + $ = new PowerpackWidgetDistributionDefinitionXaxisArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(@Nullable Output includeZero) { + $.includeZero = includeZero; + return this; + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(Boolean includeZero) { + return includeZero(Output.of(includeZero)); + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(@Nullable Output max) { + $.max = max; + return this; + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(String max) { + return max(Output.of(max)); + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(@Nullable Output min) { + $.min = min; + return this; + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(String min) { + return min(Output.of(min)); + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(@Nullable Output scale) { + $.scale = scale; + return this; + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(String scale) { + return scale(Output.of(scale)); + } + + public PowerpackWidgetDistributionDefinitionXaxisArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.java new file mode 100644 index 000000000..c697f3538 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetDistributionDefinitionYaxisArgs.java @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PowerpackWidgetDistributionDefinitionYaxisArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetDistributionDefinitionYaxisArgs Empty = new PowerpackWidgetDistributionDefinitionYaxisArgs(); + + /** + * Always include zero or fit the axis to the data range. + * + */ + @Import(name="includeZero") + private @Nullable Output includeZero; + + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional> includeZero() { + return Optional.ofNullable(this.includeZero); + } + + /** + * The label of the axis to display on the graph. + * + */ + @Import(name="label") + private @Nullable Output label; + + /** + * @return The label of the axis to display on the graph. + * + */ + public Optional> label() { + return Optional.ofNullable(this.label); + } + + /** + * Specify the maximum value to show on the Y-axis. + * + */ + @Import(name="max") + private @Nullable Output max; + + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional> max() { + return Optional.ofNullable(this.max); + } + + /** + * Specify the minimum value to show on the Y-axis. + * + */ + @Import(name="min") + private @Nullable Output min; + + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional> min() { + return Optional.ofNullable(this.min); + } + + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + @Import(name="scale") + private @Nullable Output scale; + + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional> scale() { + return Optional.ofNullable(this.scale); + } + + private PowerpackWidgetDistributionDefinitionYaxisArgs() {} + + private PowerpackWidgetDistributionDefinitionYaxisArgs(PowerpackWidgetDistributionDefinitionYaxisArgs $) { + this.includeZero = $.includeZero; + this.label = $.label; + this.max = $.max; + this.min = $.min; + this.scale = $.scale; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetDistributionDefinitionYaxisArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetDistributionDefinitionYaxisArgs $; + + public Builder() { + $ = new PowerpackWidgetDistributionDefinitionYaxisArgs(); + } + + public Builder(PowerpackWidgetDistributionDefinitionYaxisArgs defaults) { + $ = new PowerpackWidgetDistributionDefinitionYaxisArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(@Nullable Output includeZero) { + $.includeZero = includeZero; + return this; + } + + /** + * @param includeZero Always include zero or fit the axis to the data range. + * + * @return builder + * + */ + public Builder includeZero(Boolean includeZero) { + return includeZero(Output.of(includeZero)); + } + + /** + * @param label The label of the axis to display on the graph. + * + * @return builder + * + */ + public Builder label(@Nullable Output label) { + $.label = label; + return this; + } + + /** + * @param label The label of the axis to display on the graph. + * + * @return builder + * + */ + public Builder label(String label) { + return label(Output.of(label)); + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(@Nullable Output max) { + $.max = max; + return this; + } + + /** + * @param max Specify the maximum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder max(String max) { + return max(Output.of(max)); + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(@Nullable Output min) { + $.min = min; + return this; + } + + /** + * @param min Specify the minimum value to show on the Y-axis. + * + * @return builder + * + */ + public Builder min(String min) { + return min(Output.of(min)); + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(@Nullable Output scale) { + $.scale = scale; + return this; + } + + /** + * @param scale Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + * @return builder + * + */ + public Builder scale(String scale) { + return scale(Output.of(scale)); + } + + public PowerpackWidgetDistributionDefinitionYaxisArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.java index d580d3eec..46581bfe1 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetListStreamDefinitionRequestQueryArgs.java @@ -19,14 +19,14 @@ public final class PowerpackWidgetListStreamDefinitionRequestQueryArgs extends c public static final PowerpackWidgetListStreamDefinitionRequestQueryArgs Empty = new PowerpackWidgetListStreamDefinitionRequestQueryArgs(); /** - * Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ @Import(name="dataSource", required=true) private Output dataSource; /** - * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ public Output dataSource() { @@ -138,7 +138,7 @@ public Builder(PowerpackWidgetListStreamDefinitionRequestQueryArgs defaults) { } /** - * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * * @return builder * @@ -149,7 +149,7 @@ public Builder dataSource(Output dataSource) { } /** - * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @param dataSource Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/RestrictionPolicyBindingArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/RestrictionPolicyBindingArgs.java index 6e32c8e4e..4d1a04f33 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/RestrictionPolicyBindingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/RestrictionPolicyBindingArgs.java @@ -16,14 +16,14 @@ public final class RestrictionPolicyBindingArgs extends com.pulumi.resources.Res public static final RestrictionPolicyBindingArgs Empty = new RestrictionPolicyBindingArgs(); /** - * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. * */ @Import(name="principals", required=true) private Output> principals; /** - * @return An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * @return An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. * */ public Output> principals() { @@ -71,7 +71,7 @@ public Builder(RestrictionPolicyBindingArgs defaults) { } /** - * @param principals An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * @param principals An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. * * @return builder * @@ -82,7 +82,7 @@ public Builder principals(Output> principals) { } /** - * @param principals An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * @param principals An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. * * @return builder * @@ -92,7 +92,7 @@ public Builder principals(List principals) { } /** - * @param principals An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * @param principals An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleReferenceTableArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleReferenceTableArgs.java new file mode 100644 index 000000000..27b382a68 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleReferenceTableArgs.java @@ -0,0 +1,246 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + + +public final class SecurityMonitoringRuleReferenceTableArgs extends com.pulumi.resources.ResourceArgs { + + public static final SecurityMonitoringRuleReferenceTableArgs Empty = new SecurityMonitoringRuleReferenceTableArgs(); + + /** + * Whether to include or exclude logs that match the reference table. + * + */ + @Import(name="checkPresence", required=true) + private Output checkPresence; + + /** + * @return Whether to include or exclude logs that match the reference table. + * + */ + public Output checkPresence() { + return this.checkPresence; + } + + /** + * The name of the column in the reference table. + * + */ + @Import(name="columnName", required=true) + private Output columnName; + + /** + * @return The name of the column in the reference table. + * + */ + public Output columnName() { + return this.columnName; + } + + /** + * The field in the log that should be matched against the reference table. + * + */ + @Import(name="logFieldPath", required=true) + private Output logFieldPath; + + /** + * @return The field in the log that should be matched against the reference table. + * + */ + public Output logFieldPath() { + return this.logFieldPath; + } + + /** + * The name of the query to filter. + * + */ + @Import(name="ruleQueryName", required=true) + private Output ruleQueryName; + + /** + * @return The name of the query to filter. + * + */ + public Output ruleQueryName() { + return this.ruleQueryName; + } + + /** + * The name of the reference table. + * + */ + @Import(name="tableName", required=true) + private Output tableName; + + /** + * @return The name of the reference table. + * + */ + public Output tableName() { + return this.tableName; + } + + private SecurityMonitoringRuleReferenceTableArgs() {} + + private SecurityMonitoringRuleReferenceTableArgs(SecurityMonitoringRuleReferenceTableArgs $) { + this.checkPresence = $.checkPresence; + this.columnName = $.columnName; + this.logFieldPath = $.logFieldPath; + this.ruleQueryName = $.ruleQueryName; + this.tableName = $.tableName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SecurityMonitoringRuleReferenceTableArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SecurityMonitoringRuleReferenceTableArgs $; + + public Builder() { + $ = new SecurityMonitoringRuleReferenceTableArgs(); + } + + public Builder(SecurityMonitoringRuleReferenceTableArgs defaults) { + $ = new SecurityMonitoringRuleReferenceTableArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param checkPresence Whether to include or exclude logs that match the reference table. + * + * @return builder + * + */ + public Builder checkPresence(Output checkPresence) { + $.checkPresence = checkPresence; + return this; + } + + /** + * @param checkPresence Whether to include or exclude logs that match the reference table. + * + * @return builder + * + */ + public Builder checkPresence(Boolean checkPresence) { + return checkPresence(Output.of(checkPresence)); + } + + /** + * @param columnName The name of the column in the reference table. + * + * @return builder + * + */ + public Builder columnName(Output columnName) { + $.columnName = columnName; + return this; + } + + /** + * @param columnName The name of the column in the reference table. + * + * @return builder + * + */ + public Builder columnName(String columnName) { + return columnName(Output.of(columnName)); + } + + /** + * @param logFieldPath The field in the log that should be matched against the reference table. + * + * @return builder + * + */ + public Builder logFieldPath(Output logFieldPath) { + $.logFieldPath = logFieldPath; + return this; + } + + /** + * @param logFieldPath The field in the log that should be matched against the reference table. + * + * @return builder + * + */ + public Builder logFieldPath(String logFieldPath) { + return logFieldPath(Output.of(logFieldPath)); + } + + /** + * @param ruleQueryName The name of the query to filter. + * + * @return builder + * + */ + public Builder ruleQueryName(Output ruleQueryName) { + $.ruleQueryName = ruleQueryName; + return this; + } + + /** + * @param ruleQueryName The name of the query to filter. + * + * @return builder + * + */ + public Builder ruleQueryName(String ruleQueryName) { + return ruleQueryName(Output.of(ruleQueryName)); + } + + /** + * @param tableName The name of the reference table. + * + * @return builder + * + */ + public Builder tableName(Output tableName) { + $.tableName = tableName; + return this; + } + + /** + * @param tableName The name of the reference table. + * + * @return builder + * + */ + public Builder tableName(String tableName) { + return tableName(Output.of(tableName)); + } + + public SecurityMonitoringRuleReferenceTableArgs build() { + if ($.checkPresence == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTableArgs", "checkPresence"); + } + if ($.columnName == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTableArgs", "columnName"); + } + if ($.logFieldPath == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTableArgs", "logFieldPath"); + } + if ($.ruleQueryName == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTableArgs", "ruleQueryName"); + } + if ($.tableName == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTableArgs", "tableName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleState.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleState.java index de29a5103..b5bc4d16a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleState.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SecurityMonitoringRuleState.java @@ -9,6 +9,7 @@ import com.pulumi.datadog.inputs.SecurityMonitoringRuleFilterArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleOptionsArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleQueryArgs; +import com.pulumi.datadog.inputs.SecurityMonitoringRuleReferenceTableArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleSignalQueryArgs; import com.pulumi.datadog.inputs.SecurityMonitoringRuleThirdPartyCaseArgs; import java.lang.Boolean; @@ -143,6 +144,21 @@ public Optional>> queries() { return Optional.ofNullable(this.queries); } + /** + * Reference tables for filtering query results. + * + */ + @Import(name="referenceTables") + private @Nullable Output> referenceTables; + + /** + * @return Reference tables for filtering query results. + * + */ + public Optional>> referenceTables() { + return Optional.ofNullable(this.referenceTables); + } + /** * Queries for selecting logs which are part of the rule. * @@ -229,6 +245,7 @@ private SecurityMonitoringRuleState(SecurityMonitoringRuleState $) { this.name = $.name; this.options = $.options; this.queries = $.queries; + this.referenceTables = $.referenceTables; this.signalQueries = $.signalQueries; this.tags = $.tags; this.thirdPartyCases = $.thirdPartyCases; @@ -452,6 +469,37 @@ public Builder queries(SecurityMonitoringRuleQueryArgs... queries) { return queries(List.of(queries)); } + /** + * @param referenceTables Reference tables for filtering query results. + * + * @return builder + * + */ + public Builder referenceTables(@Nullable Output> referenceTables) { + $.referenceTables = referenceTables; + return this; + } + + /** + * @param referenceTables Reference tables for filtering query results. + * + * @return builder + * + */ + public Builder referenceTables(List referenceTables) { + return referenceTables(Output.of(referenceTables)); + } + + /** + * @param referenceTables Reference tables for filtering query results. + * + * @return builder + * + */ + public Builder referenceTables(SecurityMonitoringRuleReferenceTableArgs... referenceTables) { + return referenceTables(List.of(referenceTables)); + } + /** * @param signalQueries Queries for selecting logs which are part of the rule. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestState.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestState.java index 1248df965..4b35d6e75 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestState.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestState.java @@ -383,14 +383,14 @@ public Optional>> tags() { } /** - * Synthetics test type. Valid values are `api`, `browser`. + * Synthetics test type. Valid values are `api`, `browser`, `mobile`. * */ @Import(name="type") private @Nullable Output type; /** - * @return Synthetics test type. Valid values are `api`, `browser`. + * @return Synthetics test type. Valid values are `api`, `browser`, `mobile`. * */ public Optional> type() { @@ -1044,7 +1044,7 @@ public Builder tags(String... tags) { } /** - * @param type Synthetics test type. Valid values are `api`, `browser`. + * @param type Synthetics test type. Valid values are `api`, `browser`, `mobile`. * * @return builder * @@ -1055,7 +1055,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Synthetics test type. Valid values are `api`, `browser`. + * @param type Synthetics test type. Valid values are `api`, `browser`, `mobile`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinition.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinition.java index cc01d8a10..2a3e3d260 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinition.java @@ -5,6 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequest; +import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionXaxis; +import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionYaxis; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -49,6 +51,16 @@ public final class DashboardWidgetDistributionDefinition { * */ private @Nullable String titleSize; + /** + * @return A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + private @Nullable DashboardWidgetDistributionDefinitionXaxis xaxis; + /** + * @return A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + private @Nullable DashboardWidgetDistributionDefinitionYaxis yaxis; private DashboardWidgetDistributionDefinition() {} /** @@ -100,6 +112,20 @@ public Optional titleAlign() { public Optional titleSize() { return Optional.ofNullable(this.titleSize); } + /** + * @return A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional xaxis() { + return Optional.ofNullable(this.xaxis); + } + /** + * @return A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional yaxis() { + return Optional.ofNullable(this.yaxis); + } public static Builder builder() { return new Builder(); @@ -117,6 +143,8 @@ public static final class Builder { private @Nullable String title; private @Nullable String titleAlign; private @Nullable String titleSize; + private @Nullable DashboardWidgetDistributionDefinitionXaxis xaxis; + private @Nullable DashboardWidgetDistributionDefinitionYaxis yaxis; public Builder() {} public Builder(DashboardWidgetDistributionDefinition defaults) { Objects.requireNonNull(defaults); @@ -127,6 +155,8 @@ public Builder(DashboardWidgetDistributionDefinition defaults) { this.title = defaults.title; this.titleAlign = defaults.titleAlign; this.titleSize = defaults.titleSize; + this.xaxis = defaults.xaxis; + this.yaxis = defaults.yaxis; } @CustomType.Setter @@ -174,6 +204,18 @@ public Builder titleSize(@Nullable String titleSize) { this.titleSize = titleSize; return this; } + @CustomType.Setter + public Builder xaxis(@Nullable DashboardWidgetDistributionDefinitionXaxis xaxis) { + + this.xaxis = xaxis; + return this; + } + @CustomType.Setter + public Builder yaxis(@Nullable DashboardWidgetDistributionDefinitionYaxis yaxis) { + + this.yaxis = yaxis; + return this; + } public DashboardWidgetDistributionDefinition build() { final var _resultValue = new DashboardWidgetDistributionDefinition(); _resultValue.legendSize = legendSize; @@ -183,6 +225,8 @@ public DashboardWidgetDistributionDefinition build() { _resultValue.title = title; _resultValue.titleAlign = titleAlign; _resultValue.titleSize = titleSize; + _resultValue.xaxis = xaxis; + _resultValue.yaxis = yaxis; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionXaxis.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionXaxis.java new file mode 100644 index 000000000..1da1be956 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionXaxis.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class DashboardWidgetDistributionDefinitionXaxis { + /** + * @return Always include zero or fit the axis to the data range. + * + */ + private @Nullable Boolean includeZero; + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + private @Nullable String max; + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + private @Nullable String min; + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + private @Nullable String scale; + + private DashboardWidgetDistributionDefinitionXaxis() {} + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional includeZero() { + return Optional.ofNullable(this.includeZero); + } + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional max() { + return Optional.ofNullable(this.max); + } + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional min() { + return Optional.ofNullable(this.min); + } + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional scale() { + return Optional.ofNullable(this.scale); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetDistributionDefinitionXaxis defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean includeZero; + private @Nullable String max; + private @Nullable String min; + private @Nullable String scale; + public Builder() {} + public Builder(DashboardWidgetDistributionDefinitionXaxis defaults) { + Objects.requireNonNull(defaults); + this.includeZero = defaults.includeZero; + this.max = defaults.max; + this.min = defaults.min; + this.scale = defaults.scale; + } + + @CustomType.Setter + public Builder includeZero(@Nullable Boolean includeZero) { + + this.includeZero = includeZero; + return this; + } + @CustomType.Setter + public Builder max(@Nullable String max) { + + this.max = max; + return this; + } + @CustomType.Setter + public Builder min(@Nullable String min) { + + this.min = min; + return this; + } + @CustomType.Setter + public Builder scale(@Nullable String scale) { + + this.scale = scale; + return this; + } + public DashboardWidgetDistributionDefinitionXaxis build() { + final var _resultValue = new DashboardWidgetDistributionDefinitionXaxis(); + _resultValue.includeZero = includeZero; + _resultValue.max = max; + _resultValue.min = min; + _resultValue.scale = scale; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionYaxis.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionYaxis.java new file mode 100644 index 000000000..09b99f7ae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionYaxis.java @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class DashboardWidgetDistributionDefinitionYaxis { + /** + * @return Always include zero or fit the axis to the data range. + * + */ + private @Nullable Boolean includeZero; + /** + * @return The label of the axis to display on the graph. + * + */ + private @Nullable String label; + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + private @Nullable String max; + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + private @Nullable String min; + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + private @Nullable String scale; + + private DashboardWidgetDistributionDefinitionYaxis() {} + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional includeZero() { + return Optional.ofNullable(this.includeZero); + } + /** + * @return The label of the axis to display on the graph. + * + */ + public Optional label() { + return Optional.ofNullable(this.label); + } + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional max() { + return Optional.ofNullable(this.max); + } + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional min() { + return Optional.ofNullable(this.min); + } + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional scale() { + return Optional.ofNullable(this.scale); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetDistributionDefinitionYaxis defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean includeZero; + private @Nullable String label; + private @Nullable String max; + private @Nullable String min; + private @Nullable String scale; + public Builder() {} + public Builder(DashboardWidgetDistributionDefinitionYaxis defaults) { + Objects.requireNonNull(defaults); + this.includeZero = defaults.includeZero; + this.label = defaults.label; + this.max = defaults.max; + this.min = defaults.min; + this.scale = defaults.scale; + } + + @CustomType.Setter + public Builder includeZero(@Nullable Boolean includeZero) { + + this.includeZero = includeZero; + return this; + } + @CustomType.Setter + public Builder label(@Nullable String label) { + + this.label = label; + return this; + } + @CustomType.Setter + public Builder max(@Nullable String max) { + + this.max = max; + return this; + } + @CustomType.Setter + public Builder min(@Nullable String min) { + + this.min = min; + return this; + } + @CustomType.Setter + public Builder scale(@Nullable String scale) { + + this.scale = scale; + return this; + } + public DashboardWidgetDistributionDefinitionYaxis build() { + final var _resultValue = new DashboardWidgetDistributionDefinitionYaxis(); + _resultValue.includeZero = includeZero; + _resultValue.label = label; + _resultValue.max = max; + _resultValue.min = min; + _resultValue.scale = scale; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetListStreamDefinitionRequestQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetListStreamDefinitionRequestQuery.java index e8080b1bc..b5eb6116c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetListStreamDefinitionRequestQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetListStreamDefinitionRequestQuery.java @@ -15,7 +15,7 @@ @CustomType public final class DashboardWidgetListStreamDefinitionRequestQuery { /** - * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ private String dataSource; @@ -47,7 +47,7 @@ public final class DashboardWidgetListStreamDefinitionRequestQuery { private DashboardWidgetListStreamDefinitionRequestQuery() {} /** - * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ public String dataSource() { diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRule.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRule.java index fe2f24e06..169d6b793 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRule.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRule.java @@ -8,6 +8,7 @@ import com.pulumi.datadog.outputs.GetSecurityMonitoringRulesRuleFilter; import com.pulumi.datadog.outputs.GetSecurityMonitoringRulesRuleOptions; import com.pulumi.datadog.outputs.GetSecurityMonitoringRulesRuleQuery; +import com.pulumi.datadog.outputs.GetSecurityMonitoringRulesRuleReferenceTable; import com.pulumi.datadog.outputs.GetSecurityMonitoringRulesRuleSignalQuery; import com.pulumi.datadog.outputs.GetSecurityMonitoringRulesRuleThirdPartyCase; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -60,6 +61,11 @@ public final class GetSecurityMonitoringRulesRule { * */ private @Nullable List queries; + /** + * @return Reference tables for filtering query results. + * + */ + private @Nullable List referenceTables; /** * @return Queries for selecting logs which are part of the rule. * @@ -138,6 +144,13 @@ public Optional options() { public List queries() { return this.queries == null ? List.of() : this.queries; } + /** + * @return Reference tables for filtering query results. + * + */ + public List referenceTables() { + return this.referenceTables == null ? List.of() : this.referenceTables; + } /** * @return Queries for selecting logs which are part of the rule. * @@ -184,6 +197,7 @@ public static final class Builder { private String name; private @Nullable GetSecurityMonitoringRulesRuleOptions options; private @Nullable List queries; + private @Nullable List referenceTables; private @Nullable List signalQueries; private @Nullable List tags; private @Nullable List thirdPartyCases; @@ -199,6 +213,7 @@ public Builder(GetSecurityMonitoringRulesRule defaults) { this.name = defaults.name; this.options = defaults.options; this.queries = defaults.queries; + this.referenceTables = defaults.referenceTables; this.signalQueries = defaults.signalQueries; this.tags = defaults.tags; this.thirdPartyCases = defaults.thirdPartyCases; @@ -267,6 +282,15 @@ public Builder queries(GetSecurityMonitoringRulesRuleQuery... queries) { return queries(List.of(queries)); } @CustomType.Setter + public Builder referenceTables(@Nullable List referenceTables) { + + this.referenceTables = referenceTables; + return this; + } + public Builder referenceTables(GetSecurityMonitoringRulesRuleReferenceTable... referenceTables) { + return referenceTables(List.of(referenceTables)); + } + @CustomType.Setter public Builder signalQueries(@Nullable List signalQueries) { this.signalQueries = signalQueries; @@ -309,6 +333,7 @@ public GetSecurityMonitoringRulesRule build() { _resultValue.name = name; _resultValue.options = options; _resultValue.queries = queries; + _resultValue.referenceTables = referenceTables; _resultValue.signalQueries = signalQueries; _resultValue.tags = tags; _resultValue.thirdPartyCases = thirdPartyCases; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRuleReferenceTable.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRuleReferenceTable.java new file mode 100644 index 000000000..a8ce1d2b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetSecurityMonitoringRulesRuleReferenceTable.java @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSecurityMonitoringRulesRuleReferenceTable { + /** + * @return Whether to include or exclude logs that match the reference table. + * + */ + private Boolean checkPresence; + /** + * @return The name of the column in the reference table. + * + */ + private String columnName; + /** + * @return The field in the log that should be matched against the reference table. + * + */ + private String logFieldPath; + /** + * @return The name of the query to filter. + * + */ + private String ruleQueryName; + /** + * @return The name of the reference table. + * + */ + private String tableName; + + private GetSecurityMonitoringRulesRuleReferenceTable() {} + /** + * @return Whether to include or exclude logs that match the reference table. + * + */ + public Boolean checkPresence() { + return this.checkPresence; + } + /** + * @return The name of the column in the reference table. + * + */ + public String columnName() { + return this.columnName; + } + /** + * @return The field in the log that should be matched against the reference table. + * + */ + public String logFieldPath() { + return this.logFieldPath; + } + /** + * @return The name of the query to filter. + * + */ + public String ruleQueryName() { + return this.ruleQueryName; + } + /** + * @return The name of the reference table. + * + */ + public String tableName() { + return this.tableName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSecurityMonitoringRulesRuleReferenceTable defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean checkPresence; + private String columnName; + private String logFieldPath; + private String ruleQueryName; + private String tableName; + public Builder() {} + public Builder(GetSecurityMonitoringRulesRuleReferenceTable defaults) { + Objects.requireNonNull(defaults); + this.checkPresence = defaults.checkPresence; + this.columnName = defaults.columnName; + this.logFieldPath = defaults.logFieldPath; + this.ruleQueryName = defaults.ruleQueryName; + this.tableName = defaults.tableName; + } + + @CustomType.Setter + public Builder checkPresence(Boolean checkPresence) { + if (checkPresence == null) { + throw new MissingRequiredPropertyException("GetSecurityMonitoringRulesRuleReferenceTable", "checkPresence"); + } + this.checkPresence = checkPresence; + return this; + } + @CustomType.Setter + public Builder columnName(String columnName) { + if (columnName == null) { + throw new MissingRequiredPropertyException("GetSecurityMonitoringRulesRuleReferenceTable", "columnName"); + } + this.columnName = columnName; + return this; + } + @CustomType.Setter + public Builder logFieldPath(String logFieldPath) { + if (logFieldPath == null) { + throw new MissingRequiredPropertyException("GetSecurityMonitoringRulesRuleReferenceTable", "logFieldPath"); + } + this.logFieldPath = logFieldPath; + return this; + } + @CustomType.Setter + public Builder ruleQueryName(String ruleQueryName) { + if (ruleQueryName == null) { + throw new MissingRequiredPropertyException("GetSecurityMonitoringRulesRuleReferenceTable", "ruleQueryName"); + } + this.ruleQueryName = ruleQueryName; + return this; + } + @CustomType.Setter + public Builder tableName(String tableName) { + if (tableName == null) { + throw new MissingRequiredPropertyException("GetSecurityMonitoringRulesRuleReferenceTable", "tableName"); + } + this.tableName = tableName; + return this; + } + public GetSecurityMonitoringRulesRuleReferenceTable build() { + final var _resultValue = new GetSecurityMonitoringRulesRuleReferenceTable(); + _resultValue.checkPresence = checkPresence; + _resultValue.columnName = columnName; + _resultValue.logFieldPath = logFieldPath; + _resultValue.ruleQueryName = ruleQueryName; + _resultValue.tableName = tableName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinition.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinition.java index db014bbfe..fd71a148a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinition.java @@ -5,6 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.PowerpackWidgetDistributionDefinitionRequest; +import com.pulumi.datadog.outputs.PowerpackWidgetDistributionDefinitionXaxis; +import com.pulumi.datadog.outputs.PowerpackWidgetDistributionDefinitionYaxis; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -49,6 +51,16 @@ public final class PowerpackWidgetDistributionDefinition { * */ private @Nullable String titleSize; + /** + * @return A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + private @Nullable PowerpackWidgetDistributionDefinitionXaxis xaxis; + /** + * @return A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + private @Nullable PowerpackWidgetDistributionDefinitionYaxis yaxis; private PowerpackWidgetDistributionDefinition() {} /** @@ -100,6 +112,20 @@ public Optional titleAlign() { public Optional titleSize() { return Optional.ofNullable(this.titleSize); } + /** + * @return A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional xaxis() { + return Optional.ofNullable(this.xaxis); + } + /** + * @return A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + * + */ + public Optional yaxis() { + return Optional.ofNullable(this.yaxis); + } public static Builder builder() { return new Builder(); @@ -117,6 +143,8 @@ public static final class Builder { private @Nullable String title; private @Nullable String titleAlign; private @Nullable String titleSize; + private @Nullable PowerpackWidgetDistributionDefinitionXaxis xaxis; + private @Nullable PowerpackWidgetDistributionDefinitionYaxis yaxis; public Builder() {} public Builder(PowerpackWidgetDistributionDefinition defaults) { Objects.requireNonNull(defaults); @@ -127,6 +155,8 @@ public Builder(PowerpackWidgetDistributionDefinition defaults) { this.title = defaults.title; this.titleAlign = defaults.titleAlign; this.titleSize = defaults.titleSize; + this.xaxis = defaults.xaxis; + this.yaxis = defaults.yaxis; } @CustomType.Setter @@ -174,6 +204,18 @@ public Builder titleSize(@Nullable String titleSize) { this.titleSize = titleSize; return this; } + @CustomType.Setter + public Builder xaxis(@Nullable PowerpackWidgetDistributionDefinitionXaxis xaxis) { + + this.xaxis = xaxis; + return this; + } + @CustomType.Setter + public Builder yaxis(@Nullable PowerpackWidgetDistributionDefinitionYaxis yaxis) { + + this.yaxis = yaxis; + return this; + } public PowerpackWidgetDistributionDefinition build() { final var _resultValue = new PowerpackWidgetDistributionDefinition(); _resultValue.legendSize = legendSize; @@ -183,6 +225,8 @@ public PowerpackWidgetDistributionDefinition build() { _resultValue.title = title; _resultValue.titleAlign = titleAlign; _resultValue.titleSize = titleSize; + _resultValue.xaxis = xaxis; + _resultValue.yaxis = yaxis; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionXaxis.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionXaxis.java new file mode 100644 index 000000000..ba58ec156 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionXaxis.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PowerpackWidgetDistributionDefinitionXaxis { + /** + * @return Always include zero or fit the axis to the data range. + * + */ + private @Nullable Boolean includeZero; + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + private @Nullable String max; + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + private @Nullable String min; + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + private @Nullable String scale; + + private PowerpackWidgetDistributionDefinitionXaxis() {} + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional includeZero() { + return Optional.ofNullable(this.includeZero); + } + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional max() { + return Optional.ofNullable(this.max); + } + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional min() { + return Optional.ofNullable(this.min); + } + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional scale() { + return Optional.ofNullable(this.scale); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetDistributionDefinitionXaxis defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean includeZero; + private @Nullable String max; + private @Nullable String min; + private @Nullable String scale; + public Builder() {} + public Builder(PowerpackWidgetDistributionDefinitionXaxis defaults) { + Objects.requireNonNull(defaults); + this.includeZero = defaults.includeZero; + this.max = defaults.max; + this.min = defaults.min; + this.scale = defaults.scale; + } + + @CustomType.Setter + public Builder includeZero(@Nullable Boolean includeZero) { + + this.includeZero = includeZero; + return this; + } + @CustomType.Setter + public Builder max(@Nullable String max) { + + this.max = max; + return this; + } + @CustomType.Setter + public Builder min(@Nullable String min) { + + this.min = min; + return this; + } + @CustomType.Setter + public Builder scale(@Nullable String scale) { + + this.scale = scale; + return this; + } + public PowerpackWidgetDistributionDefinitionXaxis build() { + final var _resultValue = new PowerpackWidgetDistributionDefinitionXaxis(); + _resultValue.includeZero = includeZero; + _resultValue.max = max; + _resultValue.min = min; + _resultValue.scale = scale; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionYaxis.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionYaxis.java new file mode 100644 index 000000000..3852dd24d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetDistributionDefinitionYaxis.java @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PowerpackWidgetDistributionDefinitionYaxis { + /** + * @return Always include zero or fit the axis to the data range. + * + */ + private @Nullable Boolean includeZero; + /** + * @return The label of the axis to display on the graph. + * + */ + private @Nullable String label; + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + private @Nullable String max; + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + private @Nullable String min; + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + private @Nullable String scale; + + private PowerpackWidgetDistributionDefinitionYaxis() {} + /** + * @return Always include zero or fit the axis to the data range. + * + */ + public Optional includeZero() { + return Optional.ofNullable(this.includeZero); + } + /** + * @return The label of the axis to display on the graph. + * + */ + public Optional label() { + return Optional.ofNullable(this.label); + } + /** + * @return Specify the maximum value to show on the Y-axis. + * + */ + public Optional max() { + return Optional.ofNullable(this.max); + } + /** + * @return Specify the minimum value to show on the Y-axis. + * + */ + public Optional min() { + return Optional.ofNullable(this.min); + } + /** + * @return Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + * + */ + public Optional scale() { + return Optional.ofNullable(this.scale); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetDistributionDefinitionYaxis defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean includeZero; + private @Nullable String label; + private @Nullable String max; + private @Nullable String min; + private @Nullable String scale; + public Builder() {} + public Builder(PowerpackWidgetDistributionDefinitionYaxis defaults) { + Objects.requireNonNull(defaults); + this.includeZero = defaults.includeZero; + this.label = defaults.label; + this.max = defaults.max; + this.min = defaults.min; + this.scale = defaults.scale; + } + + @CustomType.Setter + public Builder includeZero(@Nullable Boolean includeZero) { + + this.includeZero = includeZero; + return this; + } + @CustomType.Setter + public Builder label(@Nullable String label) { + + this.label = label; + return this; + } + @CustomType.Setter + public Builder max(@Nullable String max) { + + this.max = max; + return this; + } + @CustomType.Setter + public Builder min(@Nullable String min) { + + this.min = min; + return this; + } + @CustomType.Setter + public Builder scale(@Nullable String scale) { + + this.scale = scale; + return this; + } + public PowerpackWidgetDistributionDefinitionYaxis build() { + final var _resultValue = new PowerpackWidgetDistributionDefinitionYaxis(); + _resultValue.includeZero = includeZero; + _resultValue.label = label; + _resultValue.max = max; + _resultValue.min = min; + _resultValue.scale = scale; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetListStreamDefinitionRequestQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetListStreamDefinitionRequestQuery.java index f6955910a..58b20e318 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetListStreamDefinitionRequestQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetListStreamDefinitionRequestQuery.java @@ -15,7 +15,7 @@ @CustomType public final class PowerpackWidgetListStreamDefinitionRequestQuery { /** - * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ private String dataSource; @@ -47,7 +47,7 @@ public final class PowerpackWidgetListStreamDefinitionRequestQuery { private PowerpackWidgetListStreamDefinitionRequestQuery() {} /** - * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + * @return Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. * */ public String dataSource() { diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/RestrictionPolicyBinding.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/RestrictionPolicyBinding.java index 5b2759f64..5b3171a89 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/RestrictionPolicyBinding.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/RestrictionPolicyBinding.java @@ -12,7 +12,7 @@ @CustomType public final class RestrictionPolicyBinding { /** - * @return An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * @return An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. * */ private List principals; @@ -24,7 +24,7 @@ public final class RestrictionPolicyBinding { private RestrictionPolicyBinding() {} /** - * @return An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * @return An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. * */ public List principals() { diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/SecurityMonitoringRuleReferenceTable.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SecurityMonitoringRuleReferenceTable.java new file mode 100644 index 000000000..fda5be6dd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SecurityMonitoringRuleReferenceTable.java @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.datadog.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SecurityMonitoringRuleReferenceTable { + /** + * @return Whether to include or exclude logs that match the reference table. + * + */ + private Boolean checkPresence; + /** + * @return The name of the column in the reference table. + * + */ + private String columnName; + /** + * @return The field in the log that should be matched against the reference table. + * + */ + private String logFieldPath; + /** + * @return The name of the query to filter. + * + */ + private String ruleQueryName; + /** + * @return The name of the reference table. + * + */ + private String tableName; + + private SecurityMonitoringRuleReferenceTable() {} + /** + * @return Whether to include or exclude logs that match the reference table. + * + */ + public Boolean checkPresence() { + return this.checkPresence; + } + /** + * @return The name of the column in the reference table. + * + */ + public String columnName() { + return this.columnName; + } + /** + * @return The field in the log that should be matched against the reference table. + * + */ + public String logFieldPath() { + return this.logFieldPath; + } + /** + * @return The name of the query to filter. + * + */ + public String ruleQueryName() { + return this.ruleQueryName; + } + /** + * @return The name of the reference table. + * + */ + public String tableName() { + return this.tableName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SecurityMonitoringRuleReferenceTable defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean checkPresence; + private String columnName; + private String logFieldPath; + private String ruleQueryName; + private String tableName; + public Builder() {} + public Builder(SecurityMonitoringRuleReferenceTable defaults) { + Objects.requireNonNull(defaults); + this.checkPresence = defaults.checkPresence; + this.columnName = defaults.columnName; + this.logFieldPath = defaults.logFieldPath; + this.ruleQueryName = defaults.ruleQueryName; + this.tableName = defaults.tableName; + } + + @CustomType.Setter + public Builder checkPresence(Boolean checkPresence) { + if (checkPresence == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTable", "checkPresence"); + } + this.checkPresence = checkPresence; + return this; + } + @CustomType.Setter + public Builder columnName(String columnName) { + if (columnName == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTable", "columnName"); + } + this.columnName = columnName; + return this; + } + @CustomType.Setter + public Builder logFieldPath(String logFieldPath) { + if (logFieldPath == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTable", "logFieldPath"); + } + this.logFieldPath = logFieldPath; + return this; + } + @CustomType.Setter + public Builder ruleQueryName(String ruleQueryName) { + if (ruleQueryName == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTable", "ruleQueryName"); + } + this.ruleQueryName = ruleQueryName; + return this; + } + @CustomType.Setter + public Builder tableName(String tableName) { + if (tableName == null) { + throw new MissingRequiredPropertyException("SecurityMonitoringRuleReferenceTable", "tableName"); + } + this.tableName = tableName; + return this; + } + public SecurityMonitoringRuleReferenceTable build() { + final var _resultValue = new SecurityMonitoringRuleReferenceTable(); + _resultValue.checkPresence = checkPresence; + _resultValue.columnName = columnName; + _resultValue.logFieldPath = logFieldPath; + _resultValue.ruleQueryName = ruleQueryName; + _resultValue.tableName = tableName; + return _resultValue; + } + } +} diff --git a/sdk/nodejs/cloudflare/integrationAccount.ts b/sdk/nodejs/cloudflare/integrationAccount.ts index fac43b031..04221470d 100644 --- a/sdk/nodejs/cloudflare/integrationAccount.ts +++ b/sdk/nodejs/cloudflare/integrationAccount.ts @@ -67,6 +67,10 @@ export class IntegrationAccount extends pulumi.CustomResource { * The name of the Cloudflare account. */ public readonly name!: pulumi.Output; + /** + * An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + */ + public readonly resources!: pulumi.Output; /** * Create a IntegrationAccount resource with the given unique name, arguments, and options. @@ -84,6 +88,7 @@ export class IntegrationAccount extends pulumi.CustomResource { resourceInputs["apiKey"] = state ? state.apiKey : undefined; resourceInputs["email"] = state ? state.email : undefined; resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["resources"] = state ? state.resources : undefined; } else { const args = argsOrState as IntegrationAccountArgs | undefined; if ((!args || args.apiKey === undefined) && !opts.urn) { @@ -95,6 +100,7 @@ export class IntegrationAccount extends pulumi.CustomResource { resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined; resourceInputs["email"] = args ? args.email : undefined; resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["resources"] = args ? args.resources : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); const secretOpts = { additionalSecretOutputs: ["apiKey"] }; @@ -119,6 +125,10 @@ export interface IntegrationAccountState { * The name of the Cloudflare account. */ name?: pulumi.Input; + /** + * An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + */ + resources?: pulumi.Input[]>; } /** @@ -137,4 +147,8 @@ export interface IntegrationAccountArgs { * The name of the Cloudflare account. */ name: pulumi.Input; + /** + * An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + */ + resources?: pulumi.Input[]>; } diff --git a/sdk/nodejs/gcp/integration.ts b/sdk/nodejs/gcp/integration.ts index b3209e4ca..8dcf275df 100644 --- a/sdk/nodejs/gcp/integration.ts +++ b/sdk/nodejs/gcp/integration.ts @@ -55,6 +55,10 @@ export class Integration extends pulumi.CustomResource { * Your ID found in your JSON service account key. */ public readonly clientId!: pulumi.Output; + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + */ + public readonly cloudRunRevisionFilters!: pulumi.Output; /** * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. */ @@ -63,6 +67,10 @@ export class Integration extends pulumi.CustomResource { * Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. */ public readonly hostFilters!: pulumi.Output; + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + */ + public readonly isResourceChangeCollectionEnabled!: pulumi.Output; /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. */ @@ -100,8 +108,10 @@ export class Integration extends pulumi.CustomResource { resourceInputs["automute"] = state ? state.automute : undefined; resourceInputs["clientEmail"] = state ? state.clientEmail : undefined; resourceInputs["clientId"] = state ? state.clientId : undefined; + resourceInputs["cloudRunRevisionFilters"] = state ? state.cloudRunRevisionFilters : undefined; resourceInputs["cspmResourceCollectionEnabled"] = state ? state.cspmResourceCollectionEnabled : undefined; resourceInputs["hostFilters"] = state ? state.hostFilters : undefined; + resourceInputs["isResourceChangeCollectionEnabled"] = state ? state.isResourceChangeCollectionEnabled : undefined; resourceInputs["isSecurityCommandCenterEnabled"] = state ? state.isSecurityCommandCenterEnabled : undefined; resourceInputs["privateKey"] = state ? state.privateKey : undefined; resourceInputs["privateKeyId"] = state ? state.privateKeyId : undefined; @@ -127,8 +137,10 @@ export class Integration extends pulumi.CustomResource { resourceInputs["automute"] = args ? args.automute : undefined; resourceInputs["clientEmail"] = args ? args.clientEmail : undefined; resourceInputs["clientId"] = args ? args.clientId : undefined; + resourceInputs["cloudRunRevisionFilters"] = args ? args.cloudRunRevisionFilters : undefined; resourceInputs["cspmResourceCollectionEnabled"] = args ? args.cspmResourceCollectionEnabled : undefined; resourceInputs["hostFilters"] = args ? args.hostFilters : undefined; + resourceInputs["isResourceChangeCollectionEnabled"] = args ? args.isResourceChangeCollectionEnabled : undefined; resourceInputs["isSecurityCommandCenterEnabled"] = args ? args.isSecurityCommandCenterEnabled : undefined; resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined; resourceInputs["privateKeyId"] = args ? args.privateKeyId : undefined; @@ -158,6 +170,10 @@ export interface IntegrationState { * Your ID found in your JSON service account key. */ clientId?: pulumi.Input; + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + */ + cloudRunRevisionFilters?: pulumi.Input[]>; /** * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. */ @@ -166,6 +182,10 @@ export interface IntegrationState { * Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. */ hostFilters?: pulumi.Input; + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + */ + isResourceChangeCollectionEnabled?: pulumi.Input; /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. */ @@ -204,6 +224,10 @@ export interface IntegrationArgs { * Your ID found in your JSON service account key. */ clientId: pulumi.Input; + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + */ + cloudRunRevisionFilters?: pulumi.Input[]>; /** * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`. */ @@ -212,6 +236,10 @@ export interface IntegrationArgs { * Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. */ hostFilters?: pulumi.Input; + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + */ + isResourceChangeCollectionEnabled?: pulumi.Input; /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. */ diff --git a/sdk/nodejs/gcp/integrationSts.ts b/sdk/nodejs/gcp/integrationSts.ts index 052946d3c..9c0145fa0 100644 --- a/sdk/nodejs/gcp/integrationSts.ts +++ b/sdk/nodejs/gcp/integrationSts.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** @@ -53,6 +55,10 @@ export class IntegrationSts extends pulumi.CustomResource { * Your service account email address. */ public readonly clientEmail!: pulumi.Output; + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + */ + public readonly cloudRunRevisionFilters!: pulumi.Output; /** * Datadog's STS Delegate Email. */ @@ -65,10 +71,18 @@ export class IntegrationSts extends pulumi.CustomResource { * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. */ public readonly isCspmEnabled!: pulumi.Output; + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + */ + public readonly isResourceChangeCollectionEnabled!: pulumi.Output; /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. */ public readonly isSecurityCommandCenterEnabled!: pulumi.Output; + /** + * Configuration for a GCP metric namespace. + */ + public readonly metricNamespaceConfigs!: pulumi.Output; /** * When enabled, Datadog scans for all resources in your GCP environment. */ @@ -90,10 +104,13 @@ export class IntegrationSts extends pulumi.CustomResource { resourceInputs["accountTags"] = state ? state.accountTags : undefined; resourceInputs["automute"] = state ? state.automute : undefined; resourceInputs["clientEmail"] = state ? state.clientEmail : undefined; + resourceInputs["cloudRunRevisionFilters"] = state ? state.cloudRunRevisionFilters : undefined; resourceInputs["delegateAccountEmail"] = state ? state.delegateAccountEmail : undefined; resourceInputs["hostFilters"] = state ? state.hostFilters : undefined; resourceInputs["isCspmEnabled"] = state ? state.isCspmEnabled : undefined; + resourceInputs["isResourceChangeCollectionEnabled"] = state ? state.isResourceChangeCollectionEnabled : undefined; resourceInputs["isSecurityCommandCenterEnabled"] = state ? state.isSecurityCommandCenterEnabled : undefined; + resourceInputs["metricNamespaceConfigs"] = state ? state.metricNamespaceConfigs : undefined; resourceInputs["resourceCollectionEnabled"] = state ? state.resourceCollectionEnabled : undefined; } else { const args = argsOrState as IntegrationStsArgs | undefined; @@ -103,9 +120,12 @@ export class IntegrationSts extends pulumi.CustomResource { resourceInputs["accountTags"] = args ? args.accountTags : undefined; resourceInputs["automute"] = args ? args.automute : undefined; resourceInputs["clientEmail"] = args ? args.clientEmail : undefined; + resourceInputs["cloudRunRevisionFilters"] = args ? args.cloudRunRevisionFilters : undefined; resourceInputs["hostFilters"] = args ? args.hostFilters : undefined; resourceInputs["isCspmEnabled"] = args ? args.isCspmEnabled : undefined; + resourceInputs["isResourceChangeCollectionEnabled"] = args ? args.isResourceChangeCollectionEnabled : undefined; resourceInputs["isSecurityCommandCenterEnabled"] = args ? args.isSecurityCommandCenterEnabled : undefined; + resourceInputs["metricNamespaceConfigs"] = args ? args.metricNamespaceConfigs : undefined; resourceInputs["resourceCollectionEnabled"] = args ? args.resourceCollectionEnabled : undefined; resourceInputs["delegateAccountEmail"] = undefined /*out*/; } @@ -130,6 +150,10 @@ export interface IntegrationStsState { * Your service account email address. */ clientEmail?: pulumi.Input; + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + */ + cloudRunRevisionFilters?: pulumi.Input[]>; /** * Datadog's STS Delegate Email. */ @@ -142,10 +166,18 @@ export interface IntegrationStsState { * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. */ isCspmEnabled?: pulumi.Input; + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + */ + isResourceChangeCollectionEnabled?: pulumi.Input; /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. */ isSecurityCommandCenterEnabled?: pulumi.Input; + /** + * Configuration for a GCP metric namespace. + */ + metricNamespaceConfigs?: pulumi.Input[]>; /** * When enabled, Datadog scans for all resources in your GCP environment. */ @@ -168,6 +200,10 @@ export interface IntegrationStsArgs { * Your service account email address. */ clientEmail: pulumi.Input; + /** + * Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + */ + cloudRunRevisionFilters?: pulumi.Input[]>; /** * Your Host Filters. */ @@ -176,10 +212,18 @@ export interface IntegrationStsArgs { * Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. */ isCspmEnabled?: pulumi.Input; + /** + * When enabled, Datadog scans for all resource change data in your Google Cloud environment. + */ + isResourceChangeCollectionEnabled?: pulumi.Input; /** * When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. */ isSecurityCommandCenterEnabled?: pulumi.Input; + /** + * Configuration for a GCP metric namespace. + */ + metricNamespaceConfigs?: pulumi.Input[]>; /** * When enabled, Datadog scans for all resources in your GCP environment. */ diff --git a/sdk/nodejs/securityMonitoringRule.ts b/sdk/nodejs/securityMonitoringRule.ts index 93461d445..654f0e1be 100644 --- a/sdk/nodejs/securityMonitoringRule.ts +++ b/sdk/nodejs/securityMonitoringRule.ts @@ -115,6 +115,10 @@ export class SecurityMonitoringRule extends pulumi.CustomResource { * Queries for selecting logs which are part of the rule. */ public readonly queries!: pulumi.Output; + /** + * Reference tables for filtering query results. + */ + public readonly referenceTables!: pulumi.Output; /** * Queries for selecting logs which are part of the rule. */ @@ -157,6 +161,7 @@ export class SecurityMonitoringRule extends pulumi.CustomResource { resourceInputs["name"] = state ? state.name : undefined; resourceInputs["options"] = state ? state.options : undefined; resourceInputs["queries"] = state ? state.queries : undefined; + resourceInputs["referenceTables"] = state ? state.referenceTables : undefined; resourceInputs["signalQueries"] = state ? state.signalQueries : undefined; resourceInputs["tags"] = state ? state.tags : undefined; resourceInputs["thirdPartyCases"] = state ? state.thirdPartyCases : undefined; @@ -178,6 +183,7 @@ export class SecurityMonitoringRule extends pulumi.CustomResource { resourceInputs["name"] = args ? args.name : undefined; resourceInputs["options"] = args ? args.options : undefined; resourceInputs["queries"] = args ? args.queries : undefined; + resourceInputs["referenceTables"] = args ? args.referenceTables : undefined; resourceInputs["signalQueries"] = args ? args.signalQueries : undefined; resourceInputs["tags"] = args ? args.tags : undefined; resourceInputs["thirdPartyCases"] = args ? args.thirdPartyCases : undefined; @@ -225,6 +231,10 @@ export interface SecurityMonitoringRuleState { * Queries for selecting logs which are part of the rule. */ queries?: pulumi.Input[]>; + /** + * Reference tables for filtering query results. + */ + referenceTables?: pulumi.Input[]>; /** * Queries for selecting logs which are part of the rule. */ @@ -283,6 +293,10 @@ export interface SecurityMonitoringRuleArgs { * Queries for selecting logs which are part of the rule. */ queries?: pulumi.Input[]>; + /** + * Reference tables for filtering query results. + */ + referenceTables?: pulumi.Input[]>; /** * Queries for selecting logs which are part of the rule. */ diff --git a/sdk/nodejs/syntheticsTest.ts b/sdk/nodejs/syntheticsTest.ts index bb55aa43b..eabd300ab 100644 --- a/sdk/nodejs/syntheticsTest.ts +++ b/sdk/nodejs/syntheticsTest.ts @@ -595,7 +595,7 @@ export class SyntheticsTest extends pulumi.CustomResource { */ public readonly tags!: pulumi.Output; /** - * Synthetics test type. Valid values are `api`, `browser`. + * Synthetics test type. Valid values are `api`, `browser`, `mobile`. */ public readonly type!: pulumi.Output; /** @@ -786,7 +786,7 @@ export interface SyntheticsTestState { */ tags?: pulumi.Input[]>; /** - * Synthetics test type. Valid values are `api`, `browser`. + * Synthetics test type. Valid values are `api`, `browser`, `mobile`. */ type?: pulumi.Input; /** @@ -889,7 +889,7 @@ export interface SyntheticsTestArgs { */ tags?: pulumi.Input[]>; /** - * Synthetics test type. Valid values are `api`, `browser`. + * Synthetics test type. Valid values are `api`, `browser`, `mobile`. */ type: pulumi.Input; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index b14e1358a..9e08873a3 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -1097,6 +1097,14 @@ export interface DashboardWidgetDistributionDefinition { * The size of the widget's title (defaults to 16). */ titleSize?: pulumi.Input; + /** + * A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + xaxis?: pulumi.Input; + /** + * A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + yaxis?: pulumi.Input; } export interface DashboardWidgetDistributionDefinitionRequest { @@ -1207,6 +1215,48 @@ export interface DashboardWidgetDistributionDefinitionRequestStyle { palette?: pulumi.Input; } +export interface DashboardWidgetDistributionDefinitionXaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: pulumi.Input; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: pulumi.Input; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: pulumi.Input; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: pulumi.Input; +} + +export interface DashboardWidgetDistributionDefinitionYaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: pulumi.Input; + /** + * The label of the axis to display on the graph. + */ + label?: pulumi.Input; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: pulumi.Input; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: pulumi.Input; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: pulumi.Input; +} + export interface DashboardWidgetEventStreamDefinition { /** * The size to use to display an event. Valid values are `s`, `l`. @@ -2842,7 +2892,7 @@ export interface DashboardWidgetListStreamDefinitionRequestColumn { export interface DashboardWidgetListStreamDefinitionRequestQuery { /** - * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. */ dataSource: pulumi.Input; /** @@ -11058,6 +11108,14 @@ export interface PowerpackWidgetDistributionDefinition { * The size of the widget's title (defaults to 16). */ titleSize?: pulumi.Input; + /** + * A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + xaxis?: pulumi.Input; + /** + * A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + yaxis?: pulumi.Input; } export interface PowerpackWidgetDistributionDefinitionRequest { @@ -11500,6 +11558,48 @@ export interface PowerpackWidgetDistributionDefinitionRequestStyle { palette?: pulumi.Input; } +export interface PowerpackWidgetDistributionDefinitionXaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: pulumi.Input; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: pulumi.Input; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: pulumi.Input; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: pulumi.Input; +} + +export interface PowerpackWidgetDistributionDefinitionYaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: pulumi.Input; + /** + * The label of the axis to display on the graph. + */ + label?: pulumi.Input; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: pulumi.Input; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: pulumi.Input; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: pulumi.Input; +} + export interface PowerpackWidgetEventStreamDefinition { /** * The size to use to display an event. Valid values are `s`, `l`. @@ -14108,7 +14208,7 @@ export interface PowerpackWidgetListStreamDefinitionRequestColumn { export interface PowerpackWidgetListStreamDefinitionRequestQuery { /** - * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. */ dataSource: pulumi.Input; /** @@ -21654,7 +21754,7 @@ export interface ProviderDefaultTags { export interface RestrictionPolicyBinding { /** - * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. */ principals: pulumi.Input[]>; /** @@ -21885,6 +21985,29 @@ export interface SecurityMonitoringRuleQueryAgentRule { expression: pulumi.Input; } +export interface SecurityMonitoringRuleReferenceTable { + /** + * Whether to include or exclude logs that match the reference table. + */ + checkPresence: pulumi.Input; + /** + * The name of the column in the reference table. + */ + columnName: pulumi.Input; + /** + * The field in the log that should be matched against the reference table. + */ + logFieldPath: pulumi.Input; + /** + * The name of the query to filter. + */ + ruleQueryName: pulumi.Input; + /** + * The name of the reference table. + */ + tableName: pulumi.Input; +} + export interface SecurityMonitoringRuleSignalQuery { /** * The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. @@ -23218,6 +23341,13 @@ export namespace aws { export namespace config { } +export namespace gcp { + export interface IntegrationStsMetricNamespaceConfig { + disabled: pulumi.Input; + id: pulumi.Input; + } +} + export namespace slack { export interface ChannelDisplay { /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 24d52a91b..23f955014 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -1097,6 +1097,14 @@ export interface DashboardWidgetDistributionDefinition { * The size of the widget's title (defaults to 16). */ titleSize?: string; + /** + * A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + xaxis?: outputs.DashboardWidgetDistributionDefinitionXaxis; + /** + * A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + yaxis?: outputs.DashboardWidgetDistributionDefinitionYaxis; } export interface DashboardWidgetDistributionDefinitionRequest { @@ -1207,6 +1215,48 @@ export interface DashboardWidgetDistributionDefinitionRequestStyle { palette?: string; } +export interface DashboardWidgetDistributionDefinitionXaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: boolean; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: string; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: string; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: string; +} + +export interface DashboardWidgetDistributionDefinitionYaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: boolean; + /** + * The label of the axis to display on the graph. + */ + label?: string; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: string; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: string; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: string; +} + export interface DashboardWidgetEventStreamDefinition { /** * The size to use to display an event. Valid values are `s`, `l`. @@ -2842,7 +2892,7 @@ export interface DashboardWidgetListStreamDefinitionRequestColumn { export interface DashboardWidgetListStreamDefinitionRequestQuery { /** - * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. */ dataSource: string; /** @@ -8944,6 +8994,10 @@ export interface GetSecurityMonitoringRulesRule { * Queries for selecting logs which are part of the rule. */ queries?: outputs.GetSecurityMonitoringRulesRuleQuery[]; + /** + * Reference tables for filtering query results. + */ + referenceTables?: outputs.GetSecurityMonitoringRulesRuleReferenceTable[]; /** * Queries for selecting logs which are part of the rule. */ @@ -9133,6 +9187,29 @@ export interface GetSecurityMonitoringRulesRuleQueryAgentRule { expression: string; } +export interface GetSecurityMonitoringRulesRuleReferenceTable { + /** + * Whether to include or exclude logs that match the reference table. + */ + checkPresence: boolean; + /** + * The name of the column in the reference table. + */ + columnName: string; + /** + * The field in the log that should be matched against the reference table. + */ + logFieldPath: string; + /** + * The name of the query to filter. + */ + ruleQueryName: string; + /** + * The name of the reference table. + */ + tableName: string; +} + export interface GetSecurityMonitoringRulesRuleSignalQuery { /** * The aggregation type. For Signal Correlation rules, it must be event_count. @@ -11717,6 +11794,14 @@ export interface PowerpackWidgetDistributionDefinition { * The size of the widget's title (defaults to 16). */ titleSize?: string; + /** + * A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + xaxis?: outputs.PowerpackWidgetDistributionDefinitionXaxis; + /** + * A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + */ + yaxis?: outputs.PowerpackWidgetDistributionDefinitionYaxis; } export interface PowerpackWidgetDistributionDefinitionRequest { @@ -12159,6 +12244,48 @@ export interface PowerpackWidgetDistributionDefinitionRequestStyle { palette?: string; } +export interface PowerpackWidgetDistributionDefinitionXaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: boolean; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: string; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: string; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: string; +} + +export interface PowerpackWidgetDistributionDefinitionYaxis { + /** + * Always include zero or fit the axis to the data range. + */ + includeZero?: boolean; + /** + * The label of the axis to display on the graph. + */ + label?: string; + /** + * Specify the maximum value to show on the Y-axis. + */ + max?: string; + /** + * Specify the minimum value to show on the Y-axis. + */ + min?: string; + /** + * Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + */ + scale?: string; +} + export interface PowerpackWidgetEventStreamDefinition { /** * The size to use to display an event. Valid values are `s`, `l`. @@ -14767,7 +14894,7 @@ export interface PowerpackWidgetListStreamDefinitionRequestColumn { export interface PowerpackWidgetListStreamDefinitionRequestQuery { /** - * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + * Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`, `llmObservabilityStream`. */ dataSource: string; /** @@ -22306,7 +22433,7 @@ export interface PowerpackWidgetWidgetLayout { export interface RestrictionPolicyBinding { /** - * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. */ principals: string[]; /** @@ -22537,6 +22664,29 @@ export interface SecurityMonitoringRuleQueryAgentRule { expression: string; } +export interface SecurityMonitoringRuleReferenceTable { + /** + * Whether to include or exclude logs that match the reference table. + */ + checkPresence: boolean; + /** + * The name of the column in the reference table. + */ + columnName: string; + /** + * The field in the log that should be matched against the reference table. + */ + logFieldPath: string; + /** + * The name of the query to filter. + */ + ruleQueryName: string; + /** + * The name of the reference table. + */ + tableName: string; +} + export interface SecurityMonitoringRuleSignalQuery { /** * The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. @@ -23889,6 +24039,14 @@ export namespace config { } +export namespace gcp { + export interface IntegrationStsMetricNamespaceConfig { + disabled: boolean; + id: string; + } + +} + export namespace slack { export interface ChannelDisplay { /** diff --git a/sdk/python/pulumi_datadog/_inputs.py b/sdk/python/pulumi_datadog/_inputs.py index 3553cf72f..4b2f6aa44 100644 --- a/sdk/python/pulumi_datadog/_inputs.py +++ b/sdk/python/pulumi_datadog/_inputs.py @@ -113,6 +113,10 @@ 'DashboardWidgetDistributionDefinitionRequestProcessQueryArgsDict', 'DashboardWidgetDistributionDefinitionRequestStyleArgs', 'DashboardWidgetDistributionDefinitionRequestStyleArgsDict', + 'DashboardWidgetDistributionDefinitionXaxisArgs', + 'DashboardWidgetDistributionDefinitionXaxisArgsDict', + 'DashboardWidgetDistributionDefinitionYaxisArgs', + 'DashboardWidgetDistributionDefinitionYaxisArgsDict', 'DashboardWidgetEventStreamDefinitionArgs', 'DashboardWidgetEventStreamDefinitionArgsDict', 'DashboardWidgetEventTimelineDefinitionArgs', @@ -1033,6 +1037,10 @@ 'PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgsDict', 'PowerpackWidgetDistributionDefinitionRequestStyleArgs', 'PowerpackWidgetDistributionDefinitionRequestStyleArgsDict', + 'PowerpackWidgetDistributionDefinitionXaxisArgs', + 'PowerpackWidgetDistributionDefinitionXaxisArgsDict', + 'PowerpackWidgetDistributionDefinitionYaxisArgs', + 'PowerpackWidgetDistributionDefinitionYaxisArgsDict', 'PowerpackWidgetEventStreamDefinitionArgs', 'PowerpackWidgetEventStreamDefinitionArgsDict', 'PowerpackWidgetEventTimelineDefinitionArgs', @@ -2037,6 +2045,8 @@ 'SecurityMonitoringRuleQueryArgsDict', 'SecurityMonitoringRuleQueryAgentRuleArgs', 'SecurityMonitoringRuleQueryAgentRuleArgsDict', + 'SecurityMonitoringRuleReferenceTableArgs', + 'SecurityMonitoringRuleReferenceTableArgsDict', 'SecurityMonitoringRuleSignalQueryArgs', 'SecurityMonitoringRuleSignalQueryArgsDict', 'SecurityMonitoringRuleThirdPartyCaseArgs', @@ -7333,6 +7343,14 @@ class DashboardWidgetDistributionDefinitionArgsDict(TypedDict): """ The size of the widget's title (defaults to 16). """ + xaxis: NotRequired[pulumi.Input['DashboardWidgetDistributionDefinitionXaxisArgsDict']] + """ + A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + yaxis: NotRequired[pulumi.Input['DashboardWidgetDistributionDefinitionYaxisArgsDict']] + """ + A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + """ elif False: DashboardWidgetDistributionDefinitionArgsDict: TypeAlias = Mapping[str, Any] @@ -7345,7 +7363,9 @@ def __init__(__self__, *, show_legend: Optional[pulumi.Input[bool]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, - title_size: Optional[pulumi.Input[str]] = None): + title_size: Optional[pulumi.Input[str]] = None, + xaxis: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionXaxisArgs']] = None, + yaxis: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionYaxisArgs']] = None): """ :param pulumi.Input[str] legend_size: The size of the legend displayed in the widget. :param pulumi.Input[str] live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. @@ -7354,6 +7374,8 @@ def __init__(__self__, *, :param pulumi.Input[str] title: The title of the widget. :param pulumi.Input[str] title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param pulumi.Input[str] title_size: The size of the widget's title (defaults to 16). + :param pulumi.Input['DashboardWidgetDistributionDefinitionXaxisArgs'] xaxis: A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + :param pulumi.Input['DashboardWidgetDistributionDefinitionYaxisArgs'] yaxis: A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. """ if legend_size is not None: pulumi.set(__self__, "legend_size", legend_size) @@ -7369,6 +7391,10 @@ def __init__(__self__, *, pulumi.set(__self__, "title_align", title_align) if title_size is not None: pulumi.set(__self__, "title_size", title_size) + if xaxis is not None: + pulumi.set(__self__, "xaxis", xaxis) + if yaxis is not None: + pulumi.set(__self__, "yaxis", yaxis) @property @pulumi.getter(name="legendSize") @@ -7454,6 +7480,30 @@ def title_size(self) -> Optional[pulumi.Input[str]]: def title_size(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "title_size", value) + @property + @pulumi.getter + def xaxis(self) -> Optional[pulumi.Input['DashboardWidgetDistributionDefinitionXaxisArgs']]: + """ + A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "xaxis") + + @xaxis.setter + def xaxis(self, value: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionXaxisArgs']]): + pulumi.set(self, "xaxis", value) + + @property + @pulumi.getter + def yaxis(self) -> Optional[pulumi.Input['DashboardWidgetDistributionDefinitionYaxisArgs']]: + """ + A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "yaxis") + + @yaxis.setter + def yaxis(self, value: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionYaxisArgs']]): + pulumi.set(self, "yaxis", value) + if not MYPY: class DashboardWidgetDistributionDefinitionRequestArgsDict(TypedDict): @@ -7981,6 +8031,210 @@ def palette(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "palette", value) +if not MYPY: + class DashboardWidgetDistributionDefinitionXaxisArgsDict(TypedDict): + include_zero: NotRequired[pulumi.Input[bool]] + """ + Always include zero or fit the axis to the data range. + """ + max: NotRequired[pulumi.Input[str]] + """ + Specify the maximum value to show on the Y-axis. + """ + min: NotRequired[pulumi.Input[str]] + """ + Specify the minimum value to show on the Y-axis. + """ + scale: NotRequired[pulumi.Input[str]] + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ +elif False: + DashboardWidgetDistributionDefinitionXaxisArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DashboardWidgetDistributionDefinitionXaxisArgs: + def __init__(__self__, *, + include_zero: Optional[pulumi.Input[bool]] = None, + max: Optional[pulumi.Input[str]] = None, + min: Optional[pulumi.Input[str]] = None, + scale: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] include_zero: Always include zero or fit the axis to the data range. + :param pulumi.Input[str] max: Specify the maximum value to show on the Y-axis. + :param pulumi.Input[str] min: Specify the minimum value to show on the Y-axis. + :param pulumi.Input[str] scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[pulumi.Input[bool]]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @include_zero.setter + def include_zero(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "include_zero", value) + + @property + @pulumi.getter + def max(self) -> Optional[pulumi.Input[str]]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @max.setter + def max(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max", value) + + @property + @pulumi.getter + def min(self) -> Optional[pulumi.Input[str]]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @min.setter + def min(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "min", value) + + @property + @pulumi.getter + def scale(self) -> Optional[pulumi.Input[str]]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + @scale.setter + def scale(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale", value) + + +if not MYPY: + class DashboardWidgetDistributionDefinitionYaxisArgsDict(TypedDict): + include_zero: NotRequired[pulumi.Input[bool]] + """ + Always include zero or fit the axis to the data range. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the axis to display on the graph. + """ + max: NotRequired[pulumi.Input[str]] + """ + Specify the maximum value to show on the Y-axis. + """ + min: NotRequired[pulumi.Input[str]] + """ + Specify the minimum value to show on the Y-axis. + """ + scale: NotRequired[pulumi.Input[str]] + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ +elif False: + DashboardWidgetDistributionDefinitionYaxisArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DashboardWidgetDistributionDefinitionYaxisArgs: + def __init__(__self__, *, + include_zero: Optional[pulumi.Input[bool]] = None, + label: Optional[pulumi.Input[str]] = None, + max: Optional[pulumi.Input[str]] = None, + min: Optional[pulumi.Input[str]] = None, + scale: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] include_zero: Always include zero or fit the axis to the data range. + :param pulumi.Input[str] label: The label of the axis to display on the graph. + :param pulumi.Input[str] max: Specify the maximum value to show on the Y-axis. + :param pulumi.Input[str] min: Specify the minimum value to show on the Y-axis. + :param pulumi.Input[str] scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if label is not None: + pulumi.set(__self__, "label", label) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[pulumi.Input[bool]]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @include_zero.setter + def include_zero(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "include_zero", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + The label of the axis to display on the graph. + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def max(self) -> Optional[pulumi.Input[str]]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @max.setter + def max(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max", value) + + @property + @pulumi.getter + def min(self) -> Optional[pulumi.Input[str]]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @min.setter + def min(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "min", value) + + @property + @pulumi.getter + def scale(self) -> Optional[pulumi.Input[str]]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + @scale.setter + def scale(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale", value) + + if not MYPY: class DashboardWidgetEventStreamDefinitionArgsDict(TypedDict): query: pulumi.Input[str] @@ -15901,7 +16155,7 @@ def width(self, value: pulumi.Input[str]): class DashboardWidgetListStreamDefinitionRequestQueryArgsDict(TypedDict): data_source: pulumi.Input[str] """ - Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. """ event_size: NotRequired[pulumi.Input[str]] """ @@ -15936,7 +16190,7 @@ def __init__(__self__, *, sort: Optional[pulumi.Input['DashboardWidgetListStreamDefinitionRequestQuerySortArgs']] = None, storage: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + :param pulumi.Input[str] data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. :param pulumi.Input[str] event_size: Size of events displayed in widget. Required if `data_source` is `event_stream`. Valid values are `s`, `l`. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: List of indexes. :param pulumi.Input[str] query_string: Widget query. @@ -15959,7 +16213,7 @@ def __init__(__self__, *, @pulumi.getter(name="dataSource") def data_source(self) -> pulumi.Input[str]: """ - Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. """ return pulumi.get(self, "data_source") @@ -55437,6 +55691,14 @@ class PowerpackWidgetDistributionDefinitionArgsDict(TypedDict): """ The size of the widget's title (defaults to 16). """ + xaxis: NotRequired[pulumi.Input['PowerpackWidgetDistributionDefinitionXaxisArgsDict']] + """ + A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + yaxis: NotRequired[pulumi.Input['PowerpackWidgetDistributionDefinitionYaxisArgsDict']] + """ + A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + """ elif False: PowerpackWidgetDistributionDefinitionArgsDict: TypeAlias = Mapping[str, Any] @@ -55449,7 +55711,9 @@ def __init__(__self__, *, show_legend: Optional[pulumi.Input[bool]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, - title_size: Optional[pulumi.Input[str]] = None): + title_size: Optional[pulumi.Input[str]] = None, + xaxis: Optional[pulumi.Input['PowerpackWidgetDistributionDefinitionXaxisArgs']] = None, + yaxis: Optional[pulumi.Input['PowerpackWidgetDistributionDefinitionYaxisArgs']] = None): """ :param pulumi.Input[str] legend_size: The size of the legend displayed in the widget. :param pulumi.Input[str] live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. @@ -55458,6 +55722,8 @@ def __init__(__self__, *, :param pulumi.Input[str] title: The title of the widget. :param pulumi.Input[str] title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param pulumi.Input[str] title_size: The size of the widget's title (defaults to 16). + :param pulumi.Input['PowerpackWidgetDistributionDefinitionXaxisArgs'] xaxis: A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + :param pulumi.Input['PowerpackWidgetDistributionDefinitionYaxisArgs'] yaxis: A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. """ if legend_size is not None: pulumi.set(__self__, "legend_size", legend_size) @@ -55473,6 +55739,10 @@ def __init__(__self__, *, pulumi.set(__self__, "title_align", title_align) if title_size is not None: pulumi.set(__self__, "title_size", title_size) + if xaxis is not None: + pulumi.set(__self__, "xaxis", xaxis) + if yaxis is not None: + pulumi.set(__self__, "yaxis", yaxis) @property @pulumi.getter(name="legendSize") @@ -55558,6 +55828,30 @@ def title_size(self) -> Optional[pulumi.Input[str]]: def title_size(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "title_size", value) + @property + @pulumi.getter + def xaxis(self) -> Optional[pulumi.Input['PowerpackWidgetDistributionDefinitionXaxisArgs']]: + """ + A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "xaxis") + + @xaxis.setter + def xaxis(self, value: Optional[pulumi.Input['PowerpackWidgetDistributionDefinitionXaxisArgs']]): + pulumi.set(self, "xaxis", value) + + @property + @pulumi.getter + def yaxis(self) -> Optional[pulumi.Input['PowerpackWidgetDistributionDefinitionYaxisArgs']]: + """ + A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "yaxis") + + @yaxis.setter + def yaxis(self, value: Optional[pulumi.Input['PowerpackWidgetDistributionDefinitionYaxisArgs']]): + pulumi.set(self, "yaxis", value) + if not MYPY: class PowerpackWidgetDistributionDefinitionRequestArgsDict(TypedDict): @@ -57665,6 +57959,210 @@ def palette(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "palette", value) +if not MYPY: + class PowerpackWidgetDistributionDefinitionXaxisArgsDict(TypedDict): + include_zero: NotRequired[pulumi.Input[bool]] + """ + Always include zero or fit the axis to the data range. + """ + max: NotRequired[pulumi.Input[str]] + """ + Specify the maximum value to show on the Y-axis. + """ + min: NotRequired[pulumi.Input[str]] + """ + Specify the minimum value to show on the Y-axis. + """ + scale: NotRequired[pulumi.Input[str]] + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ +elif False: + PowerpackWidgetDistributionDefinitionXaxisArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PowerpackWidgetDistributionDefinitionXaxisArgs: + def __init__(__self__, *, + include_zero: Optional[pulumi.Input[bool]] = None, + max: Optional[pulumi.Input[str]] = None, + min: Optional[pulumi.Input[str]] = None, + scale: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] include_zero: Always include zero or fit the axis to the data range. + :param pulumi.Input[str] max: Specify the maximum value to show on the Y-axis. + :param pulumi.Input[str] min: Specify the minimum value to show on the Y-axis. + :param pulumi.Input[str] scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[pulumi.Input[bool]]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @include_zero.setter + def include_zero(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "include_zero", value) + + @property + @pulumi.getter + def max(self) -> Optional[pulumi.Input[str]]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @max.setter + def max(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max", value) + + @property + @pulumi.getter + def min(self) -> Optional[pulumi.Input[str]]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @min.setter + def min(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "min", value) + + @property + @pulumi.getter + def scale(self) -> Optional[pulumi.Input[str]]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + @scale.setter + def scale(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale", value) + + +if not MYPY: + class PowerpackWidgetDistributionDefinitionYaxisArgsDict(TypedDict): + include_zero: NotRequired[pulumi.Input[bool]] + """ + Always include zero or fit the axis to the data range. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the axis to display on the graph. + """ + max: NotRequired[pulumi.Input[str]] + """ + Specify the maximum value to show on the Y-axis. + """ + min: NotRequired[pulumi.Input[str]] + """ + Specify the minimum value to show on the Y-axis. + """ + scale: NotRequired[pulumi.Input[str]] + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ +elif False: + PowerpackWidgetDistributionDefinitionYaxisArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PowerpackWidgetDistributionDefinitionYaxisArgs: + def __init__(__self__, *, + include_zero: Optional[pulumi.Input[bool]] = None, + label: Optional[pulumi.Input[str]] = None, + max: Optional[pulumi.Input[str]] = None, + min: Optional[pulumi.Input[str]] = None, + scale: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] include_zero: Always include zero or fit the axis to the data range. + :param pulumi.Input[str] label: The label of the axis to display on the graph. + :param pulumi.Input[str] max: Specify the maximum value to show on the Y-axis. + :param pulumi.Input[str] min: Specify the minimum value to show on the Y-axis. + :param pulumi.Input[str] scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if label is not None: + pulumi.set(__self__, "label", label) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[pulumi.Input[bool]]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @include_zero.setter + def include_zero(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "include_zero", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + The label of the axis to display on the graph. + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def max(self) -> Optional[pulumi.Input[str]]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @max.setter + def max(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max", value) + + @property + @pulumi.getter + def min(self) -> Optional[pulumi.Input[str]]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @min.setter + def min(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "min", value) + + @property + @pulumi.getter + def scale(self) -> Optional[pulumi.Input[str]]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + @scale.setter + def scale(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale", value) + + if not MYPY: class PowerpackWidgetEventStreamDefinitionArgsDict(TypedDict): query: pulumi.Input[str] @@ -70184,7 +70682,7 @@ def width(self, value: pulumi.Input[str]): class PowerpackWidgetListStreamDefinitionRequestQueryArgsDict(TypedDict): data_source: pulumi.Input[str] """ - Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. """ event_size: NotRequired[pulumi.Input[str]] """ @@ -70219,7 +70717,7 @@ def __init__(__self__, *, sort: Optional[pulumi.Input['PowerpackWidgetListStreamDefinitionRequestQuerySortArgs']] = None, storage: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + :param pulumi.Input[str] data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. :param pulumi.Input[str] event_size: Size of events displayed in widget. Required if `data_source` is `event_stream`. Valid values are `s`, `l`. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: List of indexes. :param pulumi.Input[str] query_string: Widget query. @@ -70242,7 +70740,7 @@ def __init__(__self__, *, @pulumi.getter(name="dataSource") def data_source(self) -> pulumi.Input[str]: """ - Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. """ return pulumi.get(self, "data_source") @@ -106485,7 +106983,7 @@ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): class RestrictionPolicyBindingArgsDict(TypedDict): principals: pulumi.Input[Sequence[pulumi.Input[str]]] """ - An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. """ relation: pulumi.Input[str] """ @@ -106500,7 +106998,7 @@ def __init__(__self__, *, principals: pulumi.Input[Sequence[pulumi.Input[str]]], relation: pulumi.Input[str]): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. :param pulumi.Input[str] relation: The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources """ pulumi.set(__self__, "principals", principals) @@ -106510,7 +107008,7 @@ def __init__(__self__, *, @pulumi.getter def principals(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. """ return pulumi.get(self, "principals") @@ -107570,6 +108068,113 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class SecurityMonitoringRuleReferenceTableArgsDict(TypedDict): + check_presence: pulumi.Input[bool] + """ + Whether to include or exclude logs that match the reference table. + """ + column_name: pulumi.Input[str] + """ + The name of the column in the reference table. + """ + log_field_path: pulumi.Input[str] + """ + The field in the log that should be matched against the reference table. + """ + rule_query_name: pulumi.Input[str] + """ + The name of the query to filter. + """ + table_name: pulumi.Input[str] + """ + The name of the reference table. + """ +elif False: + SecurityMonitoringRuleReferenceTableArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SecurityMonitoringRuleReferenceTableArgs: + def __init__(__self__, *, + check_presence: pulumi.Input[bool], + column_name: pulumi.Input[str], + log_field_path: pulumi.Input[str], + rule_query_name: pulumi.Input[str], + table_name: pulumi.Input[str]): + """ + :param pulumi.Input[bool] check_presence: Whether to include or exclude logs that match the reference table. + :param pulumi.Input[str] column_name: The name of the column in the reference table. + :param pulumi.Input[str] log_field_path: The field in the log that should be matched against the reference table. + :param pulumi.Input[str] rule_query_name: The name of the query to filter. + :param pulumi.Input[str] table_name: The name of the reference table. + """ + pulumi.set(__self__, "check_presence", check_presence) + pulumi.set(__self__, "column_name", column_name) + pulumi.set(__self__, "log_field_path", log_field_path) + pulumi.set(__self__, "rule_query_name", rule_query_name) + pulumi.set(__self__, "table_name", table_name) + + @property + @pulumi.getter(name="checkPresence") + def check_presence(self) -> pulumi.Input[bool]: + """ + Whether to include or exclude logs that match the reference table. + """ + return pulumi.get(self, "check_presence") + + @check_presence.setter + def check_presence(self, value: pulumi.Input[bool]): + pulumi.set(self, "check_presence", value) + + @property + @pulumi.getter(name="columnName") + def column_name(self) -> pulumi.Input[str]: + """ + The name of the column in the reference table. + """ + return pulumi.get(self, "column_name") + + @column_name.setter + def column_name(self, value: pulumi.Input[str]): + pulumi.set(self, "column_name", value) + + @property + @pulumi.getter(name="logFieldPath") + def log_field_path(self) -> pulumi.Input[str]: + """ + The field in the log that should be matched against the reference table. + """ + return pulumi.get(self, "log_field_path") + + @log_field_path.setter + def log_field_path(self, value: pulumi.Input[str]): + pulumi.set(self, "log_field_path", value) + + @property + @pulumi.getter(name="ruleQueryName") + def rule_query_name(self) -> pulumi.Input[str]: + """ + The name of the query to filter. + """ + return pulumi.get(self, "rule_query_name") + + @rule_query_name.setter + def rule_query_name(self, value: pulumi.Input[str]): + pulumi.set(self, "rule_query_name", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> pulumi.Input[str]: + """ + The name of the reference table. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: pulumi.Input[str]): + pulumi.set(self, "table_name", value) + + if not MYPY: class SecurityMonitoringRuleSignalQueryArgsDict(TypedDict): rule_id: pulumi.Input[str] diff --git a/sdk/python/pulumi_datadog/cloudflare/integration_account.py b/sdk/python/pulumi_datadog/cloudflare/integration_account.py index c675b0326..15b633289 100644 --- a/sdk/python/pulumi_datadog/cloudflare/integration_account.py +++ b/sdk/python/pulumi_datadog/cloudflare/integration_account.py @@ -21,17 +21,21 @@ class IntegrationAccountArgs: def __init__(__self__, *, api_key: pulumi.Input[str], name: pulumi.Input[str], - email: Optional[pulumi.Input[str]] = None): + email: Optional[pulumi.Input[str]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ The set of arguments for constructing a IntegrationAccount resource. :param pulumi.Input[str] api_key: The API key (or token) for the Cloudflare account. :param pulumi.Input[str] name: The name of the Cloudflare account. :param pulumi.Input[str] email: The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) """ pulumi.set(__self__, "api_key", api_key) pulumi.set(__self__, "name", name) if email is not None: pulumi.set(__self__, "email", email) + if resources is not None: + pulumi.set(__self__, "resources", resources) @property @pulumi.getter(name="apiKey") @@ -69,18 +73,32 @@ def email(self) -> Optional[pulumi.Input[str]]: def email(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "email", value) + @property + @pulumi.getter + def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + """ + return pulumi.get(self, "resources") + + @resources.setter + def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "resources", value) + @pulumi.input_type class _IntegrationAccountState: def __init__(__self__, *, api_key: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): + name: Optional[pulumi.Input[str]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ Input properties used for looking up and filtering IntegrationAccount resources. :param pulumi.Input[str] api_key: The API key (or token) for the Cloudflare account. :param pulumi.Input[str] email: The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required. :param pulumi.Input[str] name: The name of the Cloudflare account. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) """ if api_key is not None: pulumi.set(__self__, "api_key", api_key) @@ -88,6 +106,8 @@ def __init__(__self__, *, pulumi.set(__self__, "email", email) if name is not None: pulumi.set(__self__, "name", name) + if resources is not None: + pulumi.set(__self__, "resources", resources) @property @pulumi.getter(name="apiKey") @@ -125,6 +145,18 @@ def name(self) -> Optional[pulumi.Input[str]]: def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) + @property + @pulumi.getter + def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + """ + return pulumi.get(self, "resources") + + @resources.setter + def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "resources", value) + class IntegrationAccount(pulumi.CustomResource): @overload @@ -134,6 +166,7 @@ def __init__(__self__, api_key: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): """ Provides a Datadog IntegrationCloudflareAccount resource. This can be used to create and manage Datadog integration_cloudflare_account. @@ -162,6 +195,7 @@ def __init__(__self__, :param pulumi.Input[str] api_key: The API key (or token) for the Cloudflare account. :param pulumi.Input[str] email: The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required. :param pulumi.Input[str] name: The name of the Cloudflare account. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) """ ... @overload @@ -209,6 +243,7 @@ def _internal_init(__self__, api_key: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + resources: 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): @@ -225,6 +260,7 @@ def _internal_init(__self__, if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__.__dict__["name"] = name + __props__.__dict__["resources"] = resources secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey"]) opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IntegrationAccount, __self__).__init__( @@ -239,7 +275,8 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, api_key: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None) -> 'IntegrationAccount': + name: Optional[pulumi.Input[str]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'IntegrationAccount': """ Get an existing IntegrationAccount resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -250,6 +287,7 @@ def get(resource_name: str, :param pulumi.Input[str] api_key: The API key (or token) for the Cloudflare account. :param pulumi.Input[str] email: The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required. :param pulumi.Input[str] name: The name of the Cloudflare account. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -258,6 +296,7 @@ def get(resource_name: str, __props__.__dict__["api_key"] = api_key __props__.__dict__["email"] = email __props__.__dict__["name"] = name + __props__.__dict__["resources"] = resources return IntegrationAccount(resource_name, opts=opts, __props__=__props__) @property @@ -284,3 +323,11 @@ def name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "name") + @property + @pulumi.getter + def resources(self) -> pulumi.Output[Sequence[str]]: + """ + An allowlist of resources to restrict pulling metrics for including `web`, `dns`, `lb` (load balancer), `worker`) + """ + return pulumi.get(self, "resources") + diff --git a/sdk/python/pulumi_datadog/gcp/__init__.py b/sdk/python/pulumi_datadog/gcp/__init__.py index 782dfde9a..15c35a7ec 100644 --- a/sdk/python/pulumi_datadog/gcp/__init__.py +++ b/sdk/python/pulumi_datadog/gcp/__init__.py @@ -7,3 +7,5 @@ # Export this package's modules as members: from .integration import * from .integration_sts import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_datadog/gcp/_inputs.py b/sdk/python/pulumi_datadog/gcp/_inputs.py new file mode 100644 index 000000000..285eb7a3e --- /dev/null +++ b/sdk/python/pulumi_datadog/gcp/_inputs.py @@ -0,0 +1,57 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'IntegrationStsMetricNamespaceConfigArgs', + 'IntegrationStsMetricNamespaceConfigArgsDict', +] + +MYPY = False + +if not MYPY: + class IntegrationStsMetricNamespaceConfigArgsDict(TypedDict): + disabled: pulumi.Input[bool] + id: pulumi.Input[str] +elif False: + IntegrationStsMetricNamespaceConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class IntegrationStsMetricNamespaceConfigArgs: + def __init__(__self__, *, + disabled: pulumi.Input[bool], + id: pulumi.Input[str]): + pulumi.set(__self__, "disabled", disabled) + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def disabled(self) -> pulumi.Input[bool]: + return pulumi.get(self, "disabled") + + @disabled.setter + def disabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "disabled", value) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + diff --git a/sdk/python/pulumi_datadog/gcp/integration.py b/sdk/python/pulumi_datadog/gcp/integration.py index eac8a9fc8..f0be38fff 100644 --- a/sdk/python/pulumi_datadog/gcp/integration.py +++ b/sdk/python/pulumi_datadog/gcp/integration.py @@ -25,8 +25,10 @@ def __init__(__self__, *, private_key_id: pulumi.Input[str], project_id: pulumi.Input[str], automute: Optional[pulumi.Input[bool]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, cspm_resource_collection_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, resource_collection_enabled: Optional[pulumi.Input[bool]] = None): """ @@ -37,8 +39,10 @@ def __init__(__self__, *, :param pulumi.Input[str] private_key_id: Your private key ID found in your JSON service account key. :param pulumi.Input[str] project_id: Your Google Cloud project ID found in your JSON service account key. :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. Defaults to `false`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[bool] cspm_resource_collection_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. :param pulumi.Input[str] host_filters: Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. :param pulumi.Input[bool] resource_collection_enabled: When enabled, Datadog scans for all resources in your GCP environment. """ @@ -49,10 +53,14 @@ def __init__(__self__, *, pulumi.set(__self__, "project_id", project_id) if automute is not None: pulumi.set(__self__, "automute", automute) + if cloud_run_revision_filters is not None: + pulumi.set(__self__, "cloud_run_revision_filters", cloud_run_revision_filters) if cspm_resource_collection_enabled is not None: pulumi.set(__self__, "cspm_resource_collection_enabled", cspm_resource_collection_enabled) if host_filters is not None: pulumi.set(__self__, "host_filters", host_filters) + if is_resource_change_collection_enabled is not None: + pulumi.set(__self__, "is_resource_change_collection_enabled", is_resource_change_collection_enabled) if is_security_command_center_enabled is not None: pulumi.set(__self__, "is_security_command_center_enabled", is_security_command_center_enabled) if resource_collection_enabled is not None: @@ -130,6 +138,18 @@ def automute(self) -> Optional[pulumi.Input[bool]]: def automute(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "automute", value) + @property + @pulumi.getter(name="cloudRunRevisionFilters") + def cloud_run_revision_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + """ + return pulumi.get(self, "cloud_run_revision_filters") + + @cloud_run_revision_filters.setter + def cloud_run_revision_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "cloud_run_revision_filters", value) + @property @pulumi.getter(name="cspmResourceCollectionEnabled") def cspm_resource_collection_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -154,6 +174,18 @@ def host_filters(self) -> Optional[pulumi.Input[str]]: def host_filters(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "host_filters", value) + @property + @pulumi.getter(name="isResourceChangeCollectionEnabled") + def is_resource_change_collection_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + When enabled, Datadog scans for all resource change data in your Google Cloud environment. + """ + return pulumi.get(self, "is_resource_change_collection_enabled") + + @is_resource_change_collection_enabled.setter + def is_resource_change_collection_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_resource_change_collection_enabled", value) + @property @pulumi.getter(name="isSecurityCommandCenterEnabled") def is_security_command_center_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -185,8 +217,10 @@ def __init__(__self__, *, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, client_id: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, cspm_resource_collection_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, private_key: Optional[pulumi.Input[str]] = None, private_key_id: Optional[pulumi.Input[str]] = None, @@ -197,8 +231,10 @@ def __init__(__self__, *, :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. Defaults to `false`. :param pulumi.Input[str] client_email: Your email found in your JSON service account key. :param pulumi.Input[str] client_id: Your ID found in your JSON service account key. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[bool] cspm_resource_collection_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. :param pulumi.Input[str] host_filters: Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. :param pulumi.Input[str] private_key: Your private key name found in your JSON service account key. :param pulumi.Input[str] private_key_id: Your private key ID found in your JSON service account key. @@ -211,10 +247,14 @@ def __init__(__self__, *, pulumi.set(__self__, "client_email", client_email) if client_id is not None: pulumi.set(__self__, "client_id", client_id) + if cloud_run_revision_filters is not None: + pulumi.set(__self__, "cloud_run_revision_filters", cloud_run_revision_filters) if cspm_resource_collection_enabled is not None: pulumi.set(__self__, "cspm_resource_collection_enabled", cspm_resource_collection_enabled) if host_filters is not None: pulumi.set(__self__, "host_filters", host_filters) + if is_resource_change_collection_enabled is not None: + pulumi.set(__self__, "is_resource_change_collection_enabled", is_resource_change_collection_enabled) if is_security_command_center_enabled is not None: pulumi.set(__self__, "is_security_command_center_enabled", is_security_command_center_enabled) if private_key is not None: @@ -262,6 +302,18 @@ def client_id(self) -> Optional[pulumi.Input[str]]: def client_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "client_id", value) + @property + @pulumi.getter(name="cloudRunRevisionFilters") + def cloud_run_revision_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + """ + return pulumi.get(self, "cloud_run_revision_filters") + + @cloud_run_revision_filters.setter + def cloud_run_revision_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "cloud_run_revision_filters", value) + @property @pulumi.getter(name="cspmResourceCollectionEnabled") def cspm_resource_collection_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -286,6 +338,18 @@ def host_filters(self) -> Optional[pulumi.Input[str]]: def host_filters(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "host_filters", value) + @property + @pulumi.getter(name="isResourceChangeCollectionEnabled") + def is_resource_change_collection_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + When enabled, Datadog scans for all resource change data in your Google Cloud environment. + """ + return pulumi.get(self, "is_resource_change_collection_enabled") + + @is_resource_change_collection_enabled.setter + def is_resource_change_collection_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_resource_change_collection_enabled", value) + @property @pulumi.getter(name="isSecurityCommandCenterEnabled") def is_security_command_center_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -355,8 +419,10 @@ def __init__(__self__, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, client_id: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, cspm_resource_collection_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, private_key: Optional[pulumi.Input[str]] = None, private_key_id: Optional[pulumi.Input[str]] = None, @@ -379,8 +445,10 @@ def __init__(__self__, :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. Defaults to `false`. :param pulumi.Input[str] client_email: Your email found in your JSON service account key. :param pulumi.Input[str] client_id: Your ID found in your JSON service account key. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[bool] cspm_resource_collection_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. :param pulumi.Input[str] host_filters: Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. :param pulumi.Input[str] private_key: Your private key name found in your JSON service account key. :param pulumi.Input[str] private_key_id: Your private key ID found in your JSON service account key. @@ -422,8 +490,10 @@ def _internal_init(__self__, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, client_id: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, cspm_resource_collection_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, private_key: Optional[pulumi.Input[str]] = None, private_key_id: Optional[pulumi.Input[str]] = None, @@ -445,8 +515,10 @@ def _internal_init(__self__, if client_id is None and not opts.urn: raise TypeError("Missing required property 'client_id'") __props__.__dict__["client_id"] = client_id + __props__.__dict__["cloud_run_revision_filters"] = cloud_run_revision_filters __props__.__dict__["cspm_resource_collection_enabled"] = cspm_resource_collection_enabled __props__.__dict__["host_filters"] = host_filters + __props__.__dict__["is_resource_change_collection_enabled"] = is_resource_change_collection_enabled __props__.__dict__["is_security_command_center_enabled"] = is_security_command_center_enabled if private_key is None and not opts.urn: raise TypeError("Missing required property 'private_key'") @@ -473,8 +545,10 @@ def get(resource_name: str, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, client_id: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, cspm_resource_collection_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, private_key: Optional[pulumi.Input[str]] = None, private_key_id: Optional[pulumi.Input[str]] = None, @@ -490,8 +564,10 @@ def get(resource_name: str, :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. Defaults to `false`. :param pulumi.Input[str] client_email: Your email found in your JSON service account key. :param pulumi.Input[str] client_id: Your ID found in your JSON service account key. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[bool] cspm_resource_collection_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. Defaults to `false`. :param pulumi.Input[str] host_filters: Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. Defaults to `""`. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. :param pulumi.Input[str] private_key: Your private key name found in your JSON service account key. :param pulumi.Input[str] private_key_id: Your private key ID found in your JSON service account key. @@ -505,8 +581,10 @@ def get(resource_name: str, __props__.__dict__["automute"] = automute __props__.__dict__["client_email"] = client_email __props__.__dict__["client_id"] = client_id + __props__.__dict__["cloud_run_revision_filters"] = cloud_run_revision_filters __props__.__dict__["cspm_resource_collection_enabled"] = cspm_resource_collection_enabled __props__.__dict__["host_filters"] = host_filters + __props__.__dict__["is_resource_change_collection_enabled"] = is_resource_change_collection_enabled __props__.__dict__["is_security_command_center_enabled"] = is_security_command_center_enabled __props__.__dict__["private_key"] = private_key __props__.__dict__["private_key_id"] = private_key_id @@ -538,6 +616,14 @@ def client_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "client_id") + @property + @pulumi.getter(name="cloudRunRevisionFilters") + def cloud_run_revision_filters(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + """ + return pulumi.get(self, "cloud_run_revision_filters") + @property @pulumi.getter(name="cspmResourceCollectionEnabled") def cspm_resource_collection_enabled(self) -> pulumi.Output[bool]: @@ -554,6 +640,14 @@ def host_filters(self) -> pulumi.Output[str]: """ return pulumi.get(self, "host_filters") + @property + @pulumi.getter(name="isResourceChangeCollectionEnabled") + def is_resource_change_collection_enabled(self) -> pulumi.Output[bool]: + """ + When enabled, Datadog scans for all resource change data in your Google Cloud environment. + """ + return pulumi.get(self, "is_resource_change_collection_enabled") + @property @pulumi.getter(name="isSecurityCommandCenterEnabled") def is_security_command_center_enabled(self) -> pulumi.Output[bool]: diff --git a/sdk/python/pulumi_datadog/gcp/integration_sts.py b/sdk/python/pulumi_datadog/gcp/integration_sts.py index 039f00508..7824032cf 100644 --- a/sdk/python/pulumi_datadog/gcp/integration_sts.py +++ b/sdk/python/pulumi_datadog/gcp/integration_sts.py @@ -13,6 +13,8 @@ else: from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities +from . import outputs +from ._inputs import * __all__ = ['IntegrationStsArgs', 'IntegrationSts'] @@ -22,18 +24,24 @@ def __init__(__self__, *, client_email: pulumi.Input[str], account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, automute: Optional[pulumi.Input[bool]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, host_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cspm_enabled: Optional[pulumi.Input[bool]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, + metric_namespace_configs: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]]] = None, resource_collection_enabled: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a IntegrationSts resource. :param pulumi.Input[str] client_email: Your service account email address. :param pulumi.Input[Sequence[pulumi.Input[str]]] account_tags: Tags to be associated with GCP metrics and service checks from your account. :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[Sequence[pulumi.Input[str]]] host_filters: Your Host Filters. :param pulumi.Input[bool] is_cspm_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. + :param pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]] metric_namespace_configs: Configuration for a GCP metric namespace. :param pulumi.Input[bool] resource_collection_enabled: When enabled, Datadog scans for all resources in your GCP environment. """ pulumi.set(__self__, "client_email", client_email) @@ -41,12 +49,18 @@ def __init__(__self__, *, pulumi.set(__self__, "account_tags", account_tags) if automute is not None: pulumi.set(__self__, "automute", automute) + if cloud_run_revision_filters is not None: + pulumi.set(__self__, "cloud_run_revision_filters", cloud_run_revision_filters) if host_filters is not None: pulumi.set(__self__, "host_filters", host_filters) if is_cspm_enabled is not None: pulumi.set(__self__, "is_cspm_enabled", is_cspm_enabled) + if is_resource_change_collection_enabled is not None: + pulumi.set(__self__, "is_resource_change_collection_enabled", is_resource_change_collection_enabled) if is_security_command_center_enabled is not None: pulumi.set(__self__, "is_security_command_center_enabled", is_security_command_center_enabled) + if metric_namespace_configs is not None: + pulumi.set(__self__, "metric_namespace_configs", metric_namespace_configs) if resource_collection_enabled is not None: pulumi.set(__self__, "resource_collection_enabled", resource_collection_enabled) @@ -86,6 +100,18 @@ def automute(self) -> Optional[pulumi.Input[bool]]: def automute(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "automute", value) + @property + @pulumi.getter(name="cloudRunRevisionFilters") + def cloud_run_revision_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + """ + return pulumi.get(self, "cloud_run_revision_filters") + + @cloud_run_revision_filters.setter + def cloud_run_revision_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "cloud_run_revision_filters", value) + @property @pulumi.getter(name="hostFilters") def host_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -110,6 +136,18 @@ def is_cspm_enabled(self) -> Optional[pulumi.Input[bool]]: def is_cspm_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_cspm_enabled", value) + @property + @pulumi.getter(name="isResourceChangeCollectionEnabled") + def is_resource_change_collection_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + When enabled, Datadog scans for all resource change data in your Google Cloud environment. + """ + return pulumi.get(self, "is_resource_change_collection_enabled") + + @is_resource_change_collection_enabled.setter + def is_resource_change_collection_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_resource_change_collection_enabled", value) + @property @pulumi.getter(name="isSecurityCommandCenterEnabled") def is_security_command_center_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -122,6 +160,18 @@ def is_security_command_center_enabled(self) -> Optional[pulumi.Input[bool]]: def is_security_command_center_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_security_command_center_enabled", value) + @property + @pulumi.getter(name="metricNamespaceConfigs") + def metric_namespace_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]]]: + """ + Configuration for a GCP metric namespace. + """ + return pulumi.get(self, "metric_namespace_configs") + + @metric_namespace_configs.setter + def metric_namespace_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]]]): + pulumi.set(self, "metric_namespace_configs", value) + @property @pulumi.getter(name="resourceCollectionEnabled") def resource_collection_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -141,20 +191,26 @@ def __init__(__self__, *, account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, delegate_account_email: Optional[pulumi.Input[str]] = None, host_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cspm_enabled: Optional[pulumi.Input[bool]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, + metric_namespace_configs: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]]] = None, resource_collection_enabled: Optional[pulumi.Input[bool]] = None): """ Input properties used for looking up and filtering IntegrationSts resources. :param pulumi.Input[Sequence[pulumi.Input[str]]] account_tags: Tags to be associated with GCP metrics and service checks from your account. :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. :param pulumi.Input[str] client_email: Your service account email address. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[str] delegate_account_email: Datadog's STS Delegate Email. :param pulumi.Input[Sequence[pulumi.Input[str]]] host_filters: Your Host Filters. :param pulumi.Input[bool] is_cspm_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. + :param pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]] metric_namespace_configs: Configuration for a GCP metric namespace. :param pulumi.Input[bool] resource_collection_enabled: When enabled, Datadog scans for all resources in your GCP environment. """ if account_tags is not None: @@ -163,14 +219,20 @@ def __init__(__self__, *, pulumi.set(__self__, "automute", automute) if client_email is not None: pulumi.set(__self__, "client_email", client_email) + if cloud_run_revision_filters is not None: + pulumi.set(__self__, "cloud_run_revision_filters", cloud_run_revision_filters) if delegate_account_email is not None: pulumi.set(__self__, "delegate_account_email", delegate_account_email) if host_filters is not None: pulumi.set(__self__, "host_filters", host_filters) if is_cspm_enabled is not None: pulumi.set(__self__, "is_cspm_enabled", is_cspm_enabled) + if is_resource_change_collection_enabled is not None: + pulumi.set(__self__, "is_resource_change_collection_enabled", is_resource_change_collection_enabled) if is_security_command_center_enabled is not None: pulumi.set(__self__, "is_security_command_center_enabled", is_security_command_center_enabled) + if metric_namespace_configs is not None: + pulumi.set(__self__, "metric_namespace_configs", metric_namespace_configs) if resource_collection_enabled is not None: pulumi.set(__self__, "resource_collection_enabled", resource_collection_enabled) @@ -210,6 +272,18 @@ def client_email(self) -> Optional[pulumi.Input[str]]: def client_email(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "client_email", value) + @property + @pulumi.getter(name="cloudRunRevisionFilters") + def cloud_run_revision_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + """ + return pulumi.get(self, "cloud_run_revision_filters") + + @cloud_run_revision_filters.setter + def cloud_run_revision_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "cloud_run_revision_filters", value) + @property @pulumi.getter(name="delegateAccountEmail") def delegate_account_email(self) -> Optional[pulumi.Input[str]]: @@ -246,6 +320,18 @@ def is_cspm_enabled(self) -> Optional[pulumi.Input[bool]]: def is_cspm_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_cspm_enabled", value) + @property + @pulumi.getter(name="isResourceChangeCollectionEnabled") + def is_resource_change_collection_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + When enabled, Datadog scans for all resource change data in your Google Cloud environment. + """ + return pulumi.get(self, "is_resource_change_collection_enabled") + + @is_resource_change_collection_enabled.setter + def is_resource_change_collection_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_resource_change_collection_enabled", value) + @property @pulumi.getter(name="isSecurityCommandCenterEnabled") def is_security_command_center_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -258,6 +344,18 @@ def is_security_command_center_enabled(self) -> Optional[pulumi.Input[bool]]: def is_security_command_center_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_security_command_center_enabled", value) + @property + @pulumi.getter(name="metricNamespaceConfigs") + def metric_namespace_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]]]: + """ + Configuration for a GCP metric namespace. + """ + return pulumi.get(self, "metric_namespace_configs") + + @metric_namespace_configs.setter + def metric_namespace_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationStsMetricNamespaceConfigArgs']]]]): + pulumi.set(self, "metric_namespace_configs", value) + @property @pulumi.getter(name="resourceCollectionEnabled") def resource_collection_enabled(self) -> Optional[pulumi.Input[bool]]: @@ -279,9 +377,12 @@ def __init__(__self__, account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, host_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cspm_enabled: Optional[pulumi.Input[bool]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, + metric_namespace_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationStsMetricNamespaceConfigArgs', 'IntegrationStsMetricNamespaceConfigArgsDict']]]]] = None, resource_collection_enabled: Optional[pulumi.Input[bool]] = None, __props__=None): """ @@ -298,9 +399,12 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[str]]] account_tags: Tags to be associated with GCP metrics and service checks from your account. :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. :param pulumi.Input[str] client_email: Your service account email address. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[Sequence[pulumi.Input[str]]] host_filters: Your Host Filters. :param pulumi.Input[bool] is_cspm_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. + :param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationStsMetricNamespaceConfigArgs', 'IntegrationStsMetricNamespaceConfigArgsDict']]]] metric_namespace_configs: Configuration for a GCP metric namespace. :param pulumi.Input[bool] resource_collection_enabled: When enabled, Datadog scans for all resources in your GCP environment. """ ... @@ -336,9 +440,12 @@ def _internal_init(__self__, account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, host_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cspm_enabled: Optional[pulumi.Input[bool]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, + metric_namespace_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationStsMetricNamespaceConfigArgs', 'IntegrationStsMetricNamespaceConfigArgsDict']]]]] = None, resource_collection_enabled: Optional[pulumi.Input[bool]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -354,9 +461,12 @@ def _internal_init(__self__, if client_email is None and not opts.urn: raise TypeError("Missing required property 'client_email'") __props__.__dict__["client_email"] = client_email + __props__.__dict__["cloud_run_revision_filters"] = cloud_run_revision_filters __props__.__dict__["host_filters"] = host_filters __props__.__dict__["is_cspm_enabled"] = is_cspm_enabled + __props__.__dict__["is_resource_change_collection_enabled"] = is_resource_change_collection_enabled __props__.__dict__["is_security_command_center_enabled"] = is_security_command_center_enabled + __props__.__dict__["metric_namespace_configs"] = metric_namespace_configs __props__.__dict__["resource_collection_enabled"] = resource_collection_enabled __props__.__dict__["delegate_account_email"] = None super(IntegrationSts, __self__).__init__( @@ -372,10 +482,13 @@ def get(resource_name: str, account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, automute: Optional[pulumi.Input[bool]] = None, client_email: Optional[pulumi.Input[str]] = None, + cloud_run_revision_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, delegate_account_email: Optional[pulumi.Input[str]] = None, host_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cspm_enabled: Optional[pulumi.Input[bool]] = None, + is_resource_change_collection_enabled: Optional[pulumi.Input[bool]] = None, is_security_command_center_enabled: Optional[pulumi.Input[bool]] = None, + metric_namespace_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationStsMetricNamespaceConfigArgs', 'IntegrationStsMetricNamespaceConfigArgsDict']]]]] = None, resource_collection_enabled: Optional[pulumi.Input[bool]] = None) -> 'IntegrationSts': """ Get an existing IntegrationSts resource's state with the given name, id, and optional extra @@ -387,10 +500,13 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[str]]] account_tags: Tags to be associated with GCP metrics and service checks from your account. :param pulumi.Input[bool] automute: Silence monitors for expected GCE instance shutdowns. :param pulumi.Input[str] client_email: Your service account email address. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cloud_run_revision_filters: Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. :param pulumi.Input[str] delegate_account_email: Datadog's STS Delegate Email. :param pulumi.Input[Sequence[pulumi.Input[str]]] host_filters: Your Host Filters. :param pulumi.Input[bool] is_cspm_enabled: Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resource_collection_enabled` to also be enabled. + :param pulumi.Input[bool] is_resource_change_collection_enabled: When enabled, Datadog scans for all resource change data in your Google Cloud environment. :param pulumi.Input[bool] is_security_command_center_enabled: When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`. + :param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationStsMetricNamespaceConfigArgs', 'IntegrationStsMetricNamespaceConfigArgsDict']]]] metric_namespace_configs: Configuration for a GCP metric namespace. :param pulumi.Input[bool] resource_collection_enabled: When enabled, Datadog scans for all resources in your GCP environment. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -400,10 +516,13 @@ def get(resource_name: str, __props__.__dict__["account_tags"] = account_tags __props__.__dict__["automute"] = automute __props__.__dict__["client_email"] = client_email + __props__.__dict__["cloud_run_revision_filters"] = cloud_run_revision_filters __props__.__dict__["delegate_account_email"] = delegate_account_email __props__.__dict__["host_filters"] = host_filters __props__.__dict__["is_cspm_enabled"] = is_cspm_enabled + __props__.__dict__["is_resource_change_collection_enabled"] = is_resource_change_collection_enabled __props__.__dict__["is_security_command_center_enabled"] = is_security_command_center_enabled + __props__.__dict__["metric_namespace_configs"] = metric_namespace_configs __props__.__dict__["resource_collection_enabled"] = resource_collection_enabled return IntegrationSts(resource_name, opts=opts, __props__=__props__) @@ -431,6 +550,14 @@ def client_email(self) -> pulumi.Output[str]: """ return pulumi.get(self, "client_email") + @property + @pulumi.getter(name="cloudRunRevisionFilters") + def cloud_run_revision_filters(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored. + """ + return pulumi.get(self, "cloud_run_revision_filters") + @property @pulumi.getter(name="delegateAccountEmail") def delegate_account_email(self) -> pulumi.Output[str]: @@ -455,6 +582,14 @@ def is_cspm_enabled(self) -> pulumi.Output[bool]: """ return pulumi.get(self, "is_cspm_enabled") + @property + @pulumi.getter(name="isResourceChangeCollectionEnabled") + def is_resource_change_collection_enabled(self) -> pulumi.Output[bool]: + """ + When enabled, Datadog scans for all resource change data in your Google Cloud environment. + """ + return pulumi.get(self, "is_resource_change_collection_enabled") + @property @pulumi.getter(name="isSecurityCommandCenterEnabled") def is_security_command_center_enabled(self) -> pulumi.Output[bool]: @@ -463,6 +598,14 @@ def is_security_command_center_enabled(self) -> pulumi.Output[bool]: """ return pulumi.get(self, "is_security_command_center_enabled") + @property + @pulumi.getter(name="metricNamespaceConfigs") + def metric_namespace_configs(self) -> pulumi.Output[Optional[Sequence['outputs.IntegrationStsMetricNamespaceConfig']]]: + """ + Configuration for a GCP metric namespace. + """ + return pulumi.get(self, "metric_namespace_configs") + @property @pulumi.getter(name="resourceCollectionEnabled") def resource_collection_enabled(self) -> pulumi.Output[bool]: diff --git a/sdk/python/pulumi_datadog/gcp/outputs.py b/sdk/python/pulumi_datadog/gcp/outputs.py new file mode 100644 index 000000000..a4b68dba9 --- /dev/null +++ b/sdk/python/pulumi_datadog/gcp/outputs.py @@ -0,0 +1,39 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'IntegrationStsMetricNamespaceConfig', +] + +@pulumi.output_type +class IntegrationStsMetricNamespaceConfig(dict): + def __init__(__self__, *, + disabled: bool, + id: str): + pulumi.set(__self__, "disabled", disabled) + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def disabled(self) -> bool: + return pulumi.get(self, "disabled") + + @property + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") + + diff --git a/sdk/python/pulumi_datadog/outputs.py b/sdk/python/pulumi_datadog/outputs.py index 49271d93c..9dbb78a18 100644 --- a/sdk/python/pulumi_datadog/outputs.py +++ b/sdk/python/pulumi_datadog/outputs.py @@ -65,6 +65,8 @@ 'DashboardWidgetDistributionDefinitionRequestApmStatsQueryColumn', 'DashboardWidgetDistributionDefinitionRequestProcessQuery', 'DashboardWidgetDistributionDefinitionRequestStyle', + 'DashboardWidgetDistributionDefinitionXaxis', + 'DashboardWidgetDistributionDefinitionYaxis', 'DashboardWidgetEventStreamDefinition', 'DashboardWidgetEventTimelineDefinition', 'DashboardWidgetFreeTextDefinition', @@ -525,6 +527,8 @@ 'PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery', 'PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute', 'PowerpackWidgetDistributionDefinitionRequestStyle', + 'PowerpackWidgetDistributionDefinitionXaxis', + 'PowerpackWidgetDistributionDefinitionYaxis', 'PowerpackWidgetEventStreamDefinition', 'PowerpackWidgetEventTimelineDefinition', 'PowerpackWidgetFreeTextDefinition', @@ -1026,6 +1030,7 @@ 'SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery', 'SecurityMonitoringRuleQuery', 'SecurityMonitoringRuleQueryAgentRule', + 'SecurityMonitoringRuleReferenceTable', 'SecurityMonitoringRuleSignalQuery', 'SecurityMonitoringRuleThirdPartyCase', 'SensitiveDataScannerGroupFilter', @@ -1122,6 +1127,7 @@ 'GetSecurityMonitoringRulesRuleOptionsThirdPartyRuleOptionsRootQueryResult', 'GetSecurityMonitoringRulesRuleQueryResult', 'GetSecurityMonitoringRulesRuleQueryAgentRuleResult', + 'GetSecurityMonitoringRulesRuleReferenceTableResult', 'GetSecurityMonitoringRulesRuleSignalQueryResult', 'GetSecurityMonitoringRulesRuleThirdPartyCaseResult', 'GetSecurityMonitoringSuppressionsSuppressionResult', @@ -4870,7 +4876,9 @@ def __init__(__self__, *, show_legend: Optional[bool] = None, title: Optional[str] = None, title_align: Optional[str] = None, - title_size: Optional[str] = None): + title_size: Optional[str] = None, + xaxis: Optional['outputs.DashboardWidgetDistributionDefinitionXaxis'] = None, + yaxis: Optional['outputs.DashboardWidgetDistributionDefinitionYaxis'] = None): """ :param str legend_size: The size of the legend displayed in the widget. :param str live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. @@ -4879,6 +4887,8 @@ def __init__(__self__, *, :param str title: The title of the widget. :param str title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param str title_size: The size of the widget's title (defaults to 16). + :param 'DashboardWidgetDistributionDefinitionXaxisArgs' xaxis: A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + :param 'DashboardWidgetDistributionDefinitionYaxisArgs' yaxis: A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. """ if legend_size is not None: pulumi.set(__self__, "legend_size", legend_size) @@ -4894,6 +4904,10 @@ def __init__(__self__, *, pulumi.set(__self__, "title_align", title_align) if title_size is not None: pulumi.set(__self__, "title_size", title_size) + if xaxis is not None: + pulumi.set(__self__, "xaxis", xaxis) + if yaxis is not None: + pulumi.set(__self__, "yaxis", yaxis) @property @pulumi.getter(name="legendSize") @@ -4951,6 +4965,22 @@ def title_size(self) -> Optional[str]: """ return pulumi.get(self, "title_size") + @property + @pulumi.getter + def xaxis(self) -> Optional['outputs.DashboardWidgetDistributionDefinitionXaxis']: + """ + A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "xaxis") + + @property + @pulumi.getter + def yaxis(self) -> Optional['outputs.DashboardWidgetDistributionDefinitionYaxis']: + """ + A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "yaxis") + @pulumi.output_type class DashboardWidgetDistributionDefinitionRequest(dict): @@ -5346,6 +5376,162 @@ def palette(self) -> Optional[str]: return pulumi.get(self, "palette") +@pulumi.output_type +class DashboardWidgetDistributionDefinitionXaxis(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "includeZero": + suggest = "include_zero" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetDistributionDefinitionXaxis. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetDistributionDefinitionXaxis.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetDistributionDefinitionXaxis.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + include_zero: Optional[bool] = None, + max: Optional[str] = None, + min: Optional[str] = None, + scale: Optional[str] = None): + """ + :param bool include_zero: Always include zero or fit the axis to the data range. + :param str max: Specify the maximum value to show on the Y-axis. + :param str min: Specify the minimum value to show on the Y-axis. + :param str scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[bool]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @property + @pulumi.getter + def max(self) -> Optional[str]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @property + @pulumi.getter + def min(self) -> Optional[str]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @property + @pulumi.getter + def scale(self) -> Optional[str]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + +@pulumi.output_type +class DashboardWidgetDistributionDefinitionYaxis(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "includeZero": + suggest = "include_zero" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetDistributionDefinitionYaxis. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetDistributionDefinitionYaxis.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetDistributionDefinitionYaxis.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + include_zero: Optional[bool] = None, + label: Optional[str] = None, + max: Optional[str] = None, + min: Optional[str] = None, + scale: Optional[str] = None): + """ + :param bool include_zero: Always include zero or fit the axis to the data range. + :param str label: The label of the axis to display on the graph. + :param str max: Specify the maximum value to show on the Y-axis. + :param str min: Specify the minimum value to show on the Y-axis. + :param str scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if label is not None: + pulumi.set(__self__, "label", label) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[bool]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + The label of the axis to display on the graph. + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def max(self) -> Optional[str]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @property + @pulumi.getter + def min(self) -> Optional[str]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @property + @pulumi.getter + def scale(self) -> Optional[str]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + @pulumi.output_type class DashboardWidgetEventStreamDefinition(dict): @staticmethod @@ -11202,7 +11388,7 @@ def __init__(__self__, *, sort: Optional['outputs.DashboardWidgetListStreamDefinitionRequestQuerySort'] = None, storage: Optional[str] = None): """ - :param str data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + :param str data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. :param str event_size: Size of events displayed in widget. Required if `data_source` is `event_stream`. Valid values are `s`, `l`. :param Sequence[str] indexes: List of indexes. :param str query_string: Widget query. @@ -11225,7 +11411,7 @@ def __init__(__self__, *, @pulumi.getter(name="dataSource") def data_source(self) -> str: """ - Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. """ return pulumi.get(self, "data_source") @@ -40111,7 +40297,9 @@ def __init__(__self__, *, show_legend: Optional[bool] = None, title: Optional[str] = None, title_align: Optional[str] = None, - title_size: Optional[str] = None): + title_size: Optional[str] = None, + xaxis: Optional['outputs.PowerpackWidgetDistributionDefinitionXaxis'] = None, + yaxis: Optional['outputs.PowerpackWidgetDistributionDefinitionYaxis'] = None): """ :param str legend_size: The size of the legend displayed in the widget. :param str live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. @@ -40120,6 +40308,8 @@ def __init__(__self__, *, :param str title: The title of the widget. :param str title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param str title_size: The size of the widget's title (defaults to 16). + :param 'PowerpackWidgetDistributionDefinitionXaxisArgs' xaxis: A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + :param 'PowerpackWidgetDistributionDefinitionYaxisArgs' yaxis: A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. """ if legend_size is not None: pulumi.set(__self__, "legend_size", legend_size) @@ -40135,6 +40325,10 @@ def __init__(__self__, *, pulumi.set(__self__, "title_align", title_align) if title_size is not None: pulumi.set(__self__, "title_size", title_size) + if xaxis is not None: + pulumi.set(__self__, "xaxis", xaxis) + if yaxis is not None: + pulumi.set(__self__, "yaxis", yaxis) @property @pulumi.getter(name="legendSize") @@ -40192,6 +40386,22 @@ def title_size(self) -> Optional[str]: """ return pulumi.get(self, "title_size") + @property + @pulumi.getter + def xaxis(self) -> Optional['outputs.PowerpackWidgetDistributionDefinitionXaxis']: + """ + A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "xaxis") + + @property + @pulumi.getter + def yaxis(self) -> Optional['outputs.PowerpackWidgetDistributionDefinitionYaxis']: + """ + A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + """ + return pulumi.get(self, "yaxis") + @pulumi.output_type class PowerpackWidgetDistributionDefinitionRequest(dict): @@ -41683,6 +41893,162 @@ def palette(self) -> Optional[str]: return pulumi.get(self, "palette") +@pulumi.output_type +class PowerpackWidgetDistributionDefinitionXaxis(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "includeZero": + suggest = "include_zero" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PowerpackWidgetDistributionDefinitionXaxis. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PowerpackWidgetDistributionDefinitionXaxis.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PowerpackWidgetDistributionDefinitionXaxis.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + include_zero: Optional[bool] = None, + max: Optional[str] = None, + min: Optional[str] = None, + scale: Optional[str] = None): + """ + :param bool include_zero: Always include zero or fit the axis to the data range. + :param str max: Specify the maximum value to show on the Y-axis. + :param str min: Specify the minimum value to show on the Y-axis. + :param str scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[bool]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @property + @pulumi.getter + def max(self) -> Optional[str]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @property + @pulumi.getter + def min(self) -> Optional[str]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @property + @pulumi.getter + def scale(self) -> Optional[str]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + +@pulumi.output_type +class PowerpackWidgetDistributionDefinitionYaxis(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "includeZero": + suggest = "include_zero" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PowerpackWidgetDistributionDefinitionYaxis. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PowerpackWidgetDistributionDefinitionYaxis.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PowerpackWidgetDistributionDefinitionYaxis.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + include_zero: Optional[bool] = None, + label: Optional[str] = None, + max: Optional[str] = None, + min: Optional[str] = None, + scale: Optional[str] = None): + """ + :param bool include_zero: Always include zero or fit the axis to the data range. + :param str label: The label of the axis to display on the graph. + :param str max: Specify the maximum value to show on the Y-axis. + :param str min: Specify the minimum value to show on the Y-axis. + :param str scale: Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + if include_zero is not None: + pulumi.set(__self__, "include_zero", include_zero) + if label is not None: + pulumi.set(__self__, "label", label) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if scale is not None: + pulumi.set(__self__, "scale", scale) + + @property + @pulumi.getter(name="includeZero") + def include_zero(self) -> Optional[bool]: + """ + Always include zero or fit the axis to the data range. + """ + return pulumi.get(self, "include_zero") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + The label of the axis to display on the graph. + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def max(self) -> Optional[str]: + """ + Specify the maximum value to show on the Y-axis. + """ + return pulumi.get(self, "max") + + @property + @pulumi.getter + def min(self) -> Optional[str]: + """ + Specify the minimum value to show on the Y-axis. + """ + return pulumi.get(self, "min") + + @property + @pulumi.getter + def scale(self) -> Optional[str]: + """ + Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. + """ + return pulumi.get(self, "scale") + + @pulumi.output_type class PowerpackWidgetEventStreamDefinition(dict): @staticmethod @@ -50698,7 +51064,7 @@ def __init__(__self__, *, sort: Optional['outputs.PowerpackWidgetListStreamDefinitionRequestQuerySort'] = None, storage: Optional[str] = None): """ - :param str data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + :param str data_source: Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. :param str event_size: Size of events displayed in widget. Required if `data_source` is `event_stream`. Valid values are `s`, `l`. :param Sequence[str] indexes: List of indexes. :param str query_string: Widget query. @@ -50721,7 +51087,7 @@ def __init__(__self__, *, @pulumi.getter(name="dataSource") def data_source(self) -> str: """ - Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`. + Source from which to query items to display in the stream. Valid values are `logs_stream`, `audit_stream`, `ci_pipeline_stream`, `ci_test_stream`, `rum_issue_stream`, `apm_issue_stream`, `trace_stream`, `logs_issue_stream`, `logs_pattern_stream`, `logs_transaction_stream`, `event_stream`, `rum_stream`, `llm_observability_stream`. """ return pulumi.get(self, "data_source") @@ -76677,7 +77043,7 @@ def __init__(__self__, *, principals: Sequence[str], relation: str): """ - :param Sequence[str] principals: An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + :param Sequence[str] principals: An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. :param str relation: The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources """ pulumi.set(__self__, "principals", principals) @@ -76687,7 +77053,7 @@ def __init__(__self__, *, @pulumi.getter def principals(self) -> Sequence[str]: """ - An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. Org ID can be obtained using a `GET /api/v2/current_user` API request. Find it in the `data.relationships.org.data.id` field. """ return pulumi.get(self, "principals") @@ -77477,6 +77843,93 @@ def expression(self) -> str: return pulumi.get(self, "expression") +@pulumi.output_type +class SecurityMonitoringRuleReferenceTable(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "checkPresence": + suggest = "check_presence" + elif key == "columnName": + suggest = "column_name" + elif key == "logFieldPath": + suggest = "log_field_path" + elif key == "ruleQueryName": + suggest = "rule_query_name" + elif key == "tableName": + suggest = "table_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecurityMonitoringRuleReferenceTable. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecurityMonitoringRuleReferenceTable.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecurityMonitoringRuleReferenceTable.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + check_presence: bool, + column_name: str, + log_field_path: str, + rule_query_name: str, + table_name: str): + """ + :param bool check_presence: Whether to include or exclude logs that match the reference table. + :param str column_name: The name of the column in the reference table. + :param str log_field_path: The field in the log that should be matched against the reference table. + :param str rule_query_name: The name of the query to filter. + :param str table_name: The name of the reference table. + """ + pulumi.set(__self__, "check_presence", check_presence) + pulumi.set(__self__, "column_name", column_name) + pulumi.set(__self__, "log_field_path", log_field_path) + pulumi.set(__self__, "rule_query_name", rule_query_name) + pulumi.set(__self__, "table_name", table_name) + + @property + @pulumi.getter(name="checkPresence") + def check_presence(self) -> bool: + """ + Whether to include or exclude logs that match the reference table. + """ + return pulumi.get(self, "check_presence") + + @property + @pulumi.getter(name="columnName") + def column_name(self) -> str: + """ + The name of the column in the reference table. + """ + return pulumi.get(self, "column_name") + + @property + @pulumi.getter(name="logFieldPath") + def log_field_path(self) -> str: + """ + The field in the log that should be matched against the reference table. + """ + return pulumi.get(self, "log_field_path") + + @property + @pulumi.getter(name="ruleQueryName") + def rule_query_name(self) -> str: + """ + The name of the query to filter. + """ + return pulumi.get(self, "rule_query_name") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> str: + """ + The name of the reference table. + """ + return pulumi.get(self, "table_name") + + @pulumi.output_type class SecurityMonitoringRuleSignalQuery(dict): @staticmethod @@ -83114,6 +83567,7 @@ def __init__(__self__, *, has_extended_title: Optional[bool] = None, options: Optional['outputs.GetSecurityMonitoringRulesRuleOptionsResult'] = None, queries: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleQueryResult']] = None, + reference_tables: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleReferenceTableResult']] = None, signal_queries: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleSignalQueryResult']] = None, tags: Optional[Sequence[str]] = None, third_party_cases: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleThirdPartyCaseResult']] = None, @@ -83127,6 +83581,7 @@ def __init__(__self__, *, :param bool has_extended_title: Whether the notifications include the triggering group-by values in their title. :param 'GetSecurityMonitoringRulesRuleOptionsArgs' options: Options on rules. :param Sequence['GetSecurityMonitoringRulesRuleQueryArgs'] queries: Queries for selecting logs which are part of the rule. + :param Sequence['GetSecurityMonitoringRulesRuleReferenceTableArgs'] reference_tables: Reference tables for filtering query results. :param Sequence['GetSecurityMonitoringRulesRuleSignalQueryArgs'] signal_queries: Queries for selecting logs which are part of the rule. :param Sequence[str] tags: Tags for generated signals. :param Sequence['GetSecurityMonitoringRulesRuleThirdPartyCaseArgs'] third_party_cases: Cases for generating signals for third-party rules. Only required and accepted for third-party rules @@ -83146,6 +83601,8 @@ def __init__(__self__, *, pulumi.set(__self__, "options", options) if queries is not None: pulumi.set(__self__, "queries", queries) + if reference_tables is not None: + pulumi.set(__self__, "reference_tables", reference_tables) if signal_queries is not None: pulumi.set(__self__, "signal_queries", signal_queries) if tags is not None: @@ -83219,6 +83676,14 @@ def queries(self) -> Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleQu """ return pulumi.get(self, "queries") + @property + @pulumi.getter(name="referenceTables") + def reference_tables(self) -> Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleReferenceTableResult']]: + """ + Reference tables for filtering query results. + """ + return pulumi.get(self, "reference_tables") + @property @pulumi.getter(name="signalQueries") def signal_queries(self) -> Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleSignalQueryResult']]: @@ -83726,6 +84191,68 @@ def expression(self) -> str: return pulumi.get(self, "expression") +@pulumi.output_type +class GetSecurityMonitoringRulesRuleReferenceTableResult(dict): + def __init__(__self__, *, + check_presence: bool, + column_name: str, + log_field_path: str, + rule_query_name: str, + table_name: str): + """ + :param bool check_presence: Whether to include or exclude logs that match the reference table. + :param str column_name: The name of the column in the reference table. + :param str log_field_path: The field in the log that should be matched against the reference table. + :param str rule_query_name: The name of the query to filter. + :param str table_name: The name of the reference table. + """ + pulumi.set(__self__, "check_presence", check_presence) + pulumi.set(__self__, "column_name", column_name) + pulumi.set(__self__, "log_field_path", log_field_path) + pulumi.set(__self__, "rule_query_name", rule_query_name) + pulumi.set(__self__, "table_name", table_name) + + @property + @pulumi.getter(name="checkPresence") + def check_presence(self) -> bool: + """ + Whether to include or exclude logs that match the reference table. + """ + return pulumi.get(self, "check_presence") + + @property + @pulumi.getter(name="columnName") + def column_name(self) -> str: + """ + The name of the column in the reference table. + """ + return pulumi.get(self, "column_name") + + @property + @pulumi.getter(name="logFieldPath") + def log_field_path(self) -> str: + """ + The field in the log that should be matched against the reference table. + """ + return pulumi.get(self, "log_field_path") + + @property + @pulumi.getter(name="ruleQueryName") + def rule_query_name(self) -> str: + """ + The name of the query to filter. + """ + return pulumi.get(self, "rule_query_name") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> str: + """ + The name of the reference table. + """ + return pulumi.get(self, "table_name") + + @pulumi.output_type class GetSecurityMonitoringRulesRuleSignalQueryResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_datadog/security_monitoring_rule.py b/sdk/python/pulumi_datadog/security_monitoring_rule.py index b75f51954..b1968e3f0 100644 --- a/sdk/python/pulumi_datadog/security_monitoring_rule.py +++ b/sdk/python/pulumi_datadog/security_monitoring_rule.py @@ -29,6 +29,7 @@ def __init__(__self__, *, has_extended_title: Optional[pulumi.Input[bool]] = None, options: Optional[pulumi.Input['SecurityMonitoringRuleOptionsArgs']] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleQueryArgs']]]] = None, + reference_tables: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]]] = None, signal_queries: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, third_party_cases: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleThirdPartyCaseArgs']]]] = None, @@ -44,6 +45,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] has_extended_title: Whether the notifications include the triggering group-by values in their title. Defaults to `false`. :param pulumi.Input['SecurityMonitoringRuleOptionsArgs'] options: Options on rules. :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleQueryArgs']]] queries: Queries for selecting logs which are part of the rule. + :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]] reference_tables: Reference tables for filtering query results. :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]] signal_queries: Queries for selecting logs which are part of the rule. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags for generated signals. :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleThirdPartyCaseArgs']]] third_party_cases: Cases for generating signals for third-party rules. Only required and accepted for third-party rules @@ -64,6 +66,8 @@ def __init__(__self__, *, pulumi.set(__self__, "options", options) if queries is not None: pulumi.set(__self__, "queries", queries) + if reference_tables is not None: + pulumi.set(__self__, "reference_tables", reference_tables) if signal_queries is not None: pulumi.set(__self__, "signal_queries", signal_queries) if tags is not None: @@ -171,6 +175,18 @@ def queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonito def queries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleQueryArgs']]]]): pulumi.set(self, "queries", value) + @property + @pulumi.getter(name="referenceTables") + def reference_tables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]]]: + """ + Reference tables for filtering query results. + """ + return pulumi.get(self, "reference_tables") + + @reference_tables.setter + def reference_tables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]]]): + pulumi.set(self, "reference_tables", value) + @property @pulumi.getter(name="signalQueries") def signal_queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]]]: @@ -243,6 +259,7 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input['SecurityMonitoringRuleOptionsArgs']] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleQueryArgs']]]] = None, + reference_tables: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]]] = None, signal_queries: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, third_party_cases: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleThirdPartyCaseArgs']]]] = None, @@ -258,6 +275,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the rule. :param pulumi.Input['SecurityMonitoringRuleOptionsArgs'] options: Options on rules. :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleQueryArgs']]] queries: Queries for selecting logs which are part of the rule. + :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]] reference_tables: Reference tables for filtering query results. :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]] signal_queries: Queries for selecting logs which are part of the rule. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags for generated signals. :param pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleThirdPartyCaseArgs']]] third_party_cases: Cases for generating signals for third-party rules. Only required and accepted for third-party rules @@ -280,6 +298,8 @@ def __init__(__self__, *, pulumi.set(__self__, "options", options) if queries is not None: pulumi.set(__self__, "queries", queries) + if reference_tables is not None: + pulumi.set(__self__, "reference_tables", reference_tables) if signal_queries is not None: pulumi.set(__self__, "signal_queries", signal_queries) if tags is not None: @@ -387,6 +407,18 @@ def queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonito def queries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleQueryArgs']]]]): pulumi.set(self, "queries", value) + @property + @pulumi.getter(name="referenceTables") + def reference_tables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]]]: + """ + Reference tables for filtering query results. + """ + return pulumi.get(self, "reference_tables") + + @reference_tables.setter + def reference_tables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleReferenceTableArgs']]]]): + pulumi.set(self, "reference_tables", value) + @property @pulumi.getter(name="signalQueries") def signal_queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]]]: @@ -461,6 +493,7 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Union['SecurityMonitoringRuleOptionsArgs', 'SecurityMonitoringRuleOptionsArgsDict']]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleQueryArgs', 'SecurityMonitoringRuleQueryArgsDict']]]]] = None, + reference_tables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleReferenceTableArgs', 'SecurityMonitoringRuleReferenceTableArgsDict']]]]] = None, signal_queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleSignalQueryArgs', 'SecurityMonitoringRuleSignalQueryArgsDict']]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, third_party_cases: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleThirdPartyCaseArgs', 'SecurityMonitoringRuleThirdPartyCaseArgsDict']]]]] = None, @@ -525,6 +558,7 @@ def __init__(__self__, :param pulumi.Input[str] name: The name of the rule. :param pulumi.Input[Union['SecurityMonitoringRuleOptionsArgs', 'SecurityMonitoringRuleOptionsArgsDict']] options: Options on rules. :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleQueryArgs', 'SecurityMonitoringRuleQueryArgsDict']]]] queries: Queries for selecting logs which are part of the rule. + :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleReferenceTableArgs', 'SecurityMonitoringRuleReferenceTableArgsDict']]]] reference_tables: Reference tables for filtering query results. :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleSignalQueryArgs', 'SecurityMonitoringRuleSignalQueryArgsDict']]]] signal_queries: Queries for selecting logs which are part of the rule. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags for generated signals. :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleThirdPartyCaseArgs', 'SecurityMonitoringRuleThirdPartyCaseArgsDict']]]] third_party_cases: Cases for generating signals for third-party rules. Only required and accepted for third-party rules @@ -608,6 +642,7 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Union['SecurityMonitoringRuleOptionsArgs', 'SecurityMonitoringRuleOptionsArgsDict']]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleQueryArgs', 'SecurityMonitoringRuleQueryArgsDict']]]]] = None, + reference_tables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleReferenceTableArgs', 'SecurityMonitoringRuleReferenceTableArgsDict']]]]] = None, signal_queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleSignalQueryArgs', 'SecurityMonitoringRuleSignalQueryArgsDict']]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, third_party_cases: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleThirdPartyCaseArgs', 'SecurityMonitoringRuleThirdPartyCaseArgsDict']]]]] = None, @@ -634,6 +669,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["options"] = options __props__.__dict__["queries"] = queries + __props__.__dict__["reference_tables"] = reference_tables __props__.__dict__["signal_queries"] = signal_queries __props__.__dict__["tags"] = tags __props__.__dict__["third_party_cases"] = third_party_cases @@ -657,6 +693,7 @@ def get(resource_name: str, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Union['SecurityMonitoringRuleOptionsArgs', 'SecurityMonitoringRuleOptionsArgsDict']]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleQueryArgs', 'SecurityMonitoringRuleQueryArgsDict']]]]] = None, + reference_tables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleReferenceTableArgs', 'SecurityMonitoringRuleReferenceTableArgsDict']]]]] = None, signal_queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleSignalQueryArgs', 'SecurityMonitoringRuleSignalQueryArgsDict']]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, third_party_cases: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleThirdPartyCaseArgs', 'SecurityMonitoringRuleThirdPartyCaseArgsDict']]]]] = None, @@ -677,6 +714,7 @@ def get(resource_name: str, :param pulumi.Input[str] name: The name of the rule. :param pulumi.Input[Union['SecurityMonitoringRuleOptionsArgs', 'SecurityMonitoringRuleOptionsArgsDict']] options: Options on rules. :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleQueryArgs', 'SecurityMonitoringRuleQueryArgsDict']]]] queries: Queries for selecting logs which are part of the rule. + :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleReferenceTableArgs', 'SecurityMonitoringRuleReferenceTableArgsDict']]]] reference_tables: Reference tables for filtering query results. :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleSignalQueryArgs', 'SecurityMonitoringRuleSignalQueryArgsDict']]]] signal_queries: Queries for selecting logs which are part of the rule. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags for generated signals. :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityMonitoringRuleThirdPartyCaseArgs', 'SecurityMonitoringRuleThirdPartyCaseArgsDict']]]] third_party_cases: Cases for generating signals for third-party rules. Only required and accepted for third-party rules @@ -695,6 +733,7 @@ def get(resource_name: str, __props__.__dict__["name"] = name __props__.__dict__["options"] = options __props__.__dict__["queries"] = queries + __props__.__dict__["reference_tables"] = reference_tables __props__.__dict__["signal_queries"] = signal_queries __props__.__dict__["tags"] = tags __props__.__dict__["third_party_cases"] = third_party_cases @@ -766,6 +805,14 @@ def queries(self) -> pulumi.Output[Optional[Sequence['outputs.SecurityMonitoring """ return pulumi.get(self, "queries") + @property + @pulumi.getter(name="referenceTables") + def reference_tables(self) -> pulumi.Output[Optional[Sequence['outputs.SecurityMonitoringRuleReferenceTable']]]: + """ + Reference tables for filtering query results. + """ + return pulumi.get(self, "reference_tables") + @property @pulumi.getter(name="signalQueries") def signal_queries(self) -> pulumi.Output[Optional[Sequence['outputs.SecurityMonitoringRuleSignalQuery']]]: diff --git a/sdk/python/pulumi_datadog/synthetics_test.py b/sdk/python/pulumi_datadog/synthetics_test.py index 0f0d887e6..8b199bcbb 100644 --- a/sdk/python/pulumi_datadog/synthetics_test.py +++ b/sdk/python/pulumi_datadog/synthetics_test.py @@ -51,7 +51,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] locations: Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations. :param pulumi.Input[str] name: Name of Datadog synthetics test. :param pulumi.Input[str] status: Define whether you want to start (`live`) or pause (`paused`) a Synthetic test. Valid values are `live`, `paused`. - :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`. + :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`, `mobile`. :param pulumi.Input[Sequence[pulumi.Input['SyntheticsTestApiStepArgs']]] api_steps: Steps for multi-step api tests :param pulumi.Input[Sequence[pulumi.Input['SyntheticsTestAssertionArgs']]] assertions: Assertions used for the test. Multiple `assertion` blocks are allowed with the structure below. :param pulumi.Input[Sequence[pulumi.Input['SyntheticsTestBrowserStepArgs']]] browser_steps: Steps for browser tests. @@ -160,7 +160,7 @@ def status(self, value: pulumi.Input[str]): @pulumi.getter def type(self) -> pulumi.Input[str]: """ - Synthetics test type. Valid values are `api`, `browser`. + Synthetics test type. Valid values are `api`, `browser`, `mobile`. """ return pulumi.get(self, "type") @@ -472,7 +472,7 @@ def __init__(__self__, *, :param pulumi.Input[str] status: Define whether you want to start (`live`) or pause (`paused`) a Synthetic test. Valid values are `live`, `paused`. :param pulumi.Input[str] subtype: The subtype of the Synthetic API test. Defaults to `http`. Valid values are `http`, `ssl`, `tcp`, `dns`, `multi`, `icmp`, `udp`, `websocket`, `grpc`. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). - :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`. + :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`, `mobile`. :param pulumi.Input[str] variables_from_script: Variables defined from JavaScript code for API HTTP tests. """ if api_steps is not None: @@ -817,7 +817,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - Synthetics test type. Valid values are `api`, `browser`. + Synthetics test type. Valid values are `api`, `browser`, `mobile`. """ return pulumi.get(self, "type") @@ -1352,7 +1352,7 @@ def __init__(__self__, :param pulumi.Input[str] status: Define whether you want to start (`live`) or pause (`paused`) a Synthetic test. Valid values are `live`, `paused`. :param pulumi.Input[str] subtype: The subtype of the Synthetic API test. Defaults to `http`. Valid values are `http`, `ssl`, `tcp`, `dns`, `multi`, `icmp`, `udp`, `websocket`, `grpc`. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). - :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`. + :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`, `mobile`. :param pulumi.Input[str] variables_from_script: Variables defined from JavaScript code for API HTTP tests. """ ... @@ -1969,7 +1969,7 @@ def get(resource_name: str, :param pulumi.Input[str] status: Define whether you want to start (`live`) or pause (`paused`) a Synthetic test. Valid values are `live`, `paused`. :param pulumi.Input[str] subtype: The subtype of the Synthetic API test. Defaults to `http`. Valid values are `http`, `ssl`, `tcp`, `dns`, `multi`, `icmp`, `udp`, `websocket`, `grpc`. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`). - :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`. + :param pulumi.Input[str] type: Synthetics test type. Valid values are `api`, `browser`, `mobile`. :param pulumi.Input[str] variables_from_script: Variables defined from JavaScript code for API HTTP tests. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -2197,7 +2197,7 @@ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - Synthetics test type. Valid values are `api`, `browser`. + Synthetics test type. Valid values are `api`, `browser`, `mobile`. """ return pulumi.get(self, "type")